Skip to content

Version Packages - #446

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#446
github-actions[bot] wants to merge 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

@toapi/client@1.2.1

Patch Changes

  • b4e2f92: Constrain TResponse.json to only accept JSON-serializable values (JSONValue). This prevents non-JSON types such as Date, Map, Set, bigint, undefined, functions, or symbols from being passed as structured response data, which would otherwise be silently coerced to strings by JSON.stringify and break the type contract the client relies on. Form-data mocks that echoed Object.fromEntries(formData) (which can contain File values) were updated to return only string entries.

@toapi/common@1.2.1

Patch Changes

  • b4e2f92: Constrain TResponse.json to only accept JSON-serializable values (JSONValue). This prevents non-JSON types such as Date, Map, Set, bigint, undefined, functions, or symbols from being passed as structured response data, which would otherwise be silently coerced to strings by JSON.stringify and break the type contract the client relies on. Form-data mocks that echoed Object.fromEntries(formData) (which can contain File values) were updated to return only string entries.

@toapi/server@1.2.1

Patch Changes

  • b4e2f92: Constrain TResponse.json to only accept JSON-serializable values (JSONValue). This prevents non-JSON types such as Date, Map, Set, bigint, undefined, functions, or symbols from being passed as structured response data, which would otherwise be silently coerced to strings by JSON.stringify and break the type contract the client relies on. Form-data mocks that echoed Object.fromEntries(formData) (which can contain File values) were updated to return only string entries.

@toapi/react@1.2.1

@toapi/worker@1.2.1

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.

0 participants