Skip to content

Version Packages - #4

Merged
ryck merged 1 commit into
mainfrom
changeset-release/main
Aug 28, 2026
Merged

Version Packages#4
ryck merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm 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.

Releases

rtk-query-devtools@0.3.2

Patch Changes

  • 72a51dc: Fix a stale-codec hazard in usePersistentState, and ship unbundled type declarations.

    usePersistentState assigned to a ref during render to keep an inline codec
    object from retriggering its write effect. Writing a ref mid-render is
    observable when React renders without committing — under a concurrent
    re-render the persisted value could be serialised with a codec from a render
    that was thrown away. The assignment now happens in an effect declared ahead
    of the write effect, so the codec is current by the time the write reads it.
    No API change, and the read-on-mount / write-on-change behaviour is unchanged.

    The package now builds under TypeScript 7. Two consequences for the published
    artifact:

    • dist/ carries per-file .d.ts instead of a single bundled declaration.
      API Extractor, which bundleTypes relies on, cannot follow the declarations
      TS 7 emits (it fails on Record with "Unable to follow symbol"), and this
      is not fixed in its current release. types still points at
      dist/index.d.ts and the exported types are identical — there are simply
      more files in the tarball.
    • Building from source now needs @typescript/typescript6 alongside
      TypeScript 7, because TS 7 no longer ships the JavaScript Compiler API the
      declaration emitter uses. This is a devDependency and does not affect
      consumers.

@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rtk-query-devtools-web Ready Ready Preview Aug 28, 2026 12:28am

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from a7b973f to 1ff7531 Compare August 28, 2026 00:28
@ryck
ryck merged commit 3437de3 into main Aug 28, 2026
3 checks passed
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