Skip to content

Conversation

@github-actions
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@openapi-qraft/cli@2.15.0-beta.1

Patch Changes

  • Updated dependencies [7074f50]
    • @openapi-qraft/tanstack-query-react-plugin@2.15.0-beta.1
    • @openapi-qraft/plugin@2.15.0-beta.1
    • @openapi-qraft/openapi-typescript-plugin@2.15.0-beta.1

@openapi-qraft/openapi-typescript-plugin@2.15.0-beta.1

Patch Changes

  • @openapi-qraft/plugin@2.15.0-beta.1

@openapi-qraft/react@2.15.0-beta.1

Patch Changes

  • Updated dependencies [7074f50]
    • @openapi-qraft/tanstack-query-react-types@2.15.0-beta.1

@openapi-qraft/tanstack-query-react-plugin@2.15.0-beta.1

Patch Changes

  • 7074f50: Fix incorrect overload order in ServiceOperationUseQuery and ServiceOperationUseInfiniteQuery interfaces. The overloads were swapped, causing TypeScript to incorrectly infer return types. Now the first overload correctly handles cases with initialData (returns DefinedUseQueryResult), and the second handles cases without it (returns UseQueryResult).
    • @openapi-qraft/plugin@2.15.0-beta.1

@openapi-qraft/tanstack-query-react-types@2.15.0-beta.1

Patch Changes

  • 7074f50: Fix incorrect overload order in ServiceOperationUseQuery and ServiceOperationUseInfiniteQuery interfaces. The overloads were swapped, causing TypeScript to incorrectly infer return types. Now the first overload correctly handles cases with initialData (returns DefinedUseQueryResult), and the second handles cases without it (returns UseQueryResult).

@openapi-qraft/eslint-plugin-query@2.15.0-beta.1

@openapi-qraft/plugin@2.15.0-beta.1

@greptile-apps
Copy link

greptile-apps bot commented Jan 19, 2026

Greptile Summary

This PR bumps 7 packages from version 2.15.0-beta.0 to 2.15.0-beta.1 as part of the automated Changesets release workflow. The version bump includes a TypeScript type inference fix in @openapi-qraft/tanstack-query-react-types and @openapi-qraft/tanstack-query-react-plugin that corrects the overload order for ServiceOperationUseQuery and ServiceOperationUseInfiniteQuery interfaces.

Key Changes:

  • Fixed TypeScript return type inference by swapping overload order in query interfaces (commit 7074f50)
  • Bumped versions for all 7 packages: cli, eslint-plugin-query, openapi-typescript-plugin, plugin, react, tanstack-query-react-plugin, and tanstack-query-react-types
  • Updated CHANGELOG.md files with appropriate version entries and dependency references
  • Updated .changeset/pre.json to track the deep-boxes-tan changeset

The repository is in pre-release mode (beta), so this creates beta versions rather than stable releases.

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • This is an automated version bump PR generated by the Changesets GitHub Action. All changes follow the expected patterns for a Changesets release: consistent version bumping across all packages (2.15.0-beta.0 to 2.15.0-beta.1), properly formatted CHANGELOG entries with commit references, and correct tracking in pre.json. The underlying code fix (overload order correction) was already merged in commit 7074f50, and this PR only updates version metadata.
  • No files require special attention

Important Files Changed

Filename Overview
.changeset/pre.json Added deep-boxes-tan changeset to track the TypeScript return type fix
packages/cli/package.json Bumped version from 2.15.0-beta.0 to 2.15.0-beta.1
packages/react-client/package.json Bumped version from 2.15.0-beta.0 to 2.15.0-beta.1
packages/tanstack-query-react-plugin/CHANGELOG.md Added 2.15.0-beta.1 changelog entry documenting the overload order fix for useQuery and useInfiniteQuery interfaces
packages/tanstack-query-react-types/CHANGELOG.md Added 2.15.0-beta.1 changelog entry documenting the overload order fix for useQuery and useInfiniteQuery interfaces

Sequence Diagram

sequenceDiagram
    participant GHA as GitHub Actions
    participant CS as Changesets
    participant Packages as 7 Packages
    participant Registry as npm Registry
    
    Note over GHA,CS: Automated Release Process
    
    GHA->>CS: Detect changesets in main branch
    CS->>CS: Read deep-boxes-tan.md changeset
    Note over CS: Changeset affects:<br/>tanstack-query-react-types<br/>tanstack-query-react-plugin
    
    CS->>Packages: Bump versions to 2.15.0-beta.1
    Note over Packages: All 7 packages bumped<br/>(including transitive deps)
    
    CS->>Packages: Update CHANGELOG.md files
    Note over Packages: Add commit 7074f50 reference<br/>Document overload order fix
    
    CS->>CS: Update pre.json
    Note over CS: Add deep-boxes-tan to changesets array
    
    CS->>GHA: Create PR #397
    Note over GHA: Awaiting manual merge approval
    
    alt After PR Merge
        GHA->>Registry: Publish 7 packages@2.15.0-beta.1
        Note over Registry: Beta release to npm
    end
Loading

Releases:
  @openapi-qraft/tanstack-query-react-types@2.15.0-beta.1
  @openapi-qraft/tanstack-query-react-plugin@2.15.0-beta.1
  @openapi-qraft/react@2.15.0-beta.1
  @openapi-qraft/cli@2.15.0-beta.1
  @openapi-qraft/plugin@2.15.0-beta.1
  @openapi-qraft/openapi-typescript-plugin@2.15.0-beta.1
  @openapi-qraft/eslint-plugin-query@2.15.0-beta.1
@github-actions github-actions bot force-pushed the changeset-release/main branch from 72eb349 to 606a684 Compare January 22, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant