Skip to content

Releases: OpenAPI-Qraft/openapi-qraft

@openapi-qraft/tanstack-query-react-types@2.11.0

05 Jul 17:16
66e48f3

Choose a tag to compare

Minor Changes

  • 56f4ae9: Added getMutationCache() method to query client operations.

@openapi-qraft/tanstack-query-react-plugin@2.11.0

05 Jul 17:16
66e48f3

Choose a tag to compare

Minor Changes

  • 56f4ae9: Added getMutationCache() method to query client operations.

Patch Changes

  • @openapi-qraft/plugin@2.11.0

@openapi-qraft/react@2.11.0

05 Jul 17:16
66e48f3

Choose a tag to compare

Minor Changes

  • 56f4ae9: Added getMutationCache() method to query client operations.

  • 7f63c73: getMutationCache() auto-sets exact: false for base filters

    When calling getMutationCache().find() or getMutationCache().findAll() without providing parameters or
    mutationKey filters, the exact option is now automatically set to false.

    Why this change?

    TanStack Query sets exact: true by default for mutation filters. Without this automatic override,
    no mutations would match when using only predicate functions or no filters at all,
    since the base mutation key wouldn't match exactly against specific mutation instances.

    Example:

    // Returns all mutations for the endpoint due to auto-set exact: false
    const mutations = qraft.entities.postEntitiesIdDocuments
      .getMutationCache()
      .findAll();

    This ensures that predicate-based filtering and endpoint-wide mutation searches work as expected.

Patch Changes

  • Updated dependencies [56f4ae9]
    • @openapi-qraft/tanstack-query-react-types@2.11.0

@openapi-qraft/plugin@2.11.0

05 Jul 17:16
66e48f3

Choose a tag to compare

@openapi-qraft/plugin@2.11.0

@openapi-qraft/openapi-typescript-plugin@1.2.29

05 Jul 17:16
66e48f3

Choose a tag to compare

Patch Changes

  • @openapi-qraft/plugin@2.11.0

@openapi-qraft/cli@2.11.0

05 Jul 17:16
66e48f3

Choose a tag to compare

Patch Changes

  • Updated dependencies [56f4ae9]
    • @openapi-qraft/tanstack-query-react-plugin@2.11.0
    • @openapi-qraft/plugin@2.11.0
    • @openapi-qraft/openapi-typescript-plugin@1.2.29

@openapi-qraft/tanstack-query-react-types@2.10.2

23 Jun 23:04
bc596c5

Choose a tag to compare

@openapi-qraft/tanstack-query-react-types@2.10.2

@openapi-qraft/tanstack-query-react-plugin@2.10.2

23 Jun 23:05
bc596c5

Choose a tag to compare

Patch Changes

  • @openapi-qraft/plugin@2.10.2

@openapi-qraft/react@2.10.2

23 Jun 23:04
bc596c5

Choose a tag to compare

Patch Changes

  • 2a4db33: Refactored parameter preparation logic for queryable write operations to correctly handle body parameters in both regular and infinite queries. The update extracts shared logic into a reusable utility and ensures consistent parameter handling across all affected query methods.
    • @openapi-qraft/tanstack-query-react-types@2.10.2

@openapi-qraft/plugin@2.10.2

23 Jun 23:05
bc596c5

Choose a tag to compare

@openapi-qraft/plugin@2.10.2