Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: jhnnsrs/turms

v0.10.1

29 Oct 20:12

Choose a tag to compare

v0.10.1 (2025-10-29)

This release is published under the MIT License.

Bug Fixes

  • Ensure deterministic output by sorting (1035bbb)

Detailed Changes: v0.10.0...v0.10.1

v0.10.0

22 Aug 13:31

Choose a tag to compare

v0.10.0 (2025-08-22)

This release is published under the MIT License.

Features

  • Add abbility to omit graphql validation rules if unessaary (78dffa7)

Detailed Changes: v0.9.2...v0.10.0

v0.9.2

30 Jul 06:47

Choose a tag to compare

v0.9.2 (2025-07-30)

This release is published under the MIT License.

Bug Fixes

  • Add suport for deterministic output order (957d152)

Sort document files to produce deterministict output order.

  • Add support for topological ordering (768ffa3)

Detailed Changes: v0.9.1...v0.9.2

v0.9.1

30 Jul 06:33

Choose a tag to compare

v0.9.1 (2025-07-30)

This release is published under the MIT License.

Bug Fixes


Detailed Changes: v0.9.0...v0.9.1

v0.9.0

15 May 16:39

Choose a tag to compare

v0.9.0 (2025-05-15)

This release is published under the MIT License.

Features

  • Added in "coercible types" that allow for the funcs plugin to provide a union typealis for all values that are coercible through the pydantic serialization. (7fb38d4)

Detailed Changes: v0.8.7...v0.9.0

v0.8.7

12 May 09:04

Choose a tag to compare

v0.8.7 (2025-05-12)

This release is published under the MIT License.

Bug Fixes

  • Add requests dependency to project and update version in lock file (7df85d4)

Detailed Changes: v0.8.6...v0.8.7

v0.8.6

12 May 09:00

Choose a tag to compare

v0.8.6 (2025-05-12)

This release is published under the MIT License.

Bug Fixes

  • Add Python 3.10 to CI workflow matrix and clean up test command (b828fc3)

  • Update installation instructions in README (f7e30ca)

  • Update semantic release (442e2d3)


Detailed Changes: v0.8.5...v0.8.6

v0.8.4

15 Dec 21:16
bfd253c

Choose a tag to compare

This is finally only a bug fix release!
Thanks to @emosenkis for making these awesome contributions

What's Changed

Full Changelog: v0.8.3...v0.8.4

v0.8.3

15 Nov 12:16

Choose a tag to compare

Major Documentation Reimplementation and Input Expansion

Funcs Plugin

Until now documentation in the funcs plugin was rather bad, in this version we updated the
style to more closely inspect documentation:

query DetailImage($id: ID!, $filters: ViewFilter) {
  image(id: $id) {
    id
    store {
      id
      key
      bucket
    }
    views(filters: $filters) {
      ... on RGBView {
        id
      }
    }
  }
}

will now create

def detail_image(
    id: ID, filters: Optional[ViewFilter] = None, rath: Optional[MikroNextRath] = None
) -> DetailImageQueryImage:
    """DetailImage

    Returns a single image by ID

    Arguments:
        id (ID): The unique identifier of an object
        filters (Optional[ViewFilter], optional): A filter to selected the subset of views.
        rath (mikro_next.rath.MikroNextRath, optional): The mikro rath client

    Returns:
        DetailImageQueryImage
    """
    return execute(DetailImageQuery, {"id": id, "filters": filters}, rath=rath).image

Correctly using the query docstring and estimating variable description by inspecting their
respective use in the query tree.

Expand input types

The funcs plugin also now allows for an "input" type approach that automatically expands
the input types (by self defined names) to function arguments.

mutation CreateROI($input: RoiInput!) {
  createRoi(input: $input) {
    id
  }
}

when setting

turms:
  pugins:
   -  type: turms.plugins.funcs.FuncsPlugin
      expand_input_types:
        - input
def create_roi(
    image: ID,
    vectors: Iterable[FiveDVector],
    kind: RoiKind,
    rath: Optional[MikroNextRath] = None,
) -> CreateROIMutationCreateroi:
    """CreateROI

    Create a new region of interest

    Arguments:
        image: The image this ROI belongs to
        vectors: The vector coordinates defining the ROI
        kind: The type/kind of ROI
        rath (mikro_next.rath.MikroNextRath, optional): The mikro rath client

    Returns:
        CreateROIMutationCreateroi
    """
    return execute(
        CreateROIMutation,
        {"input": {"image": image, "vectors": vectors, "kind": kind}},
        rath=rath,
    ).create_roi

Thanks a lot for all the contributions and suggestion!

What's Changed

  • Loosen version constraint on dependency 'rich'. by @emosenkis in #82
  • adds ability to add list_fields to directives by @jhnnsrs in #85

New Contributors

Full Changelog: v0.7.0...v0.8.1

v0.7.0

12 Nov 16:16
f8bc710

Choose a tag to compare

Following the pydantic v2 upgrade this now includes some upgrades to
Fragments, which allow automatic __typename based matching using
descriminators. While changes are kept to a minimal the generated code
now differs in some naming of Fragments.

What's Changed

Full Changelog: v0.6.0...v0.7.0