Skip to content

Version Packages - #46

Merged
CatOfJupit3r merged 1 commit into
mainfrom
changeset-release/main
Oct 15, 2026
Merged

CatOfJupit3r 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

enumwaii@2.0.0

Major Changes

  • #39 40a2adc - emToZodSchema now returns a native Zod z.enum built from the declaration's member object instead of a z.custom schema. Its output is still the branded member union, and it now converts with z.toJSONSchema, so it works in MCP and model tool definitions without casting a rebuilt z.enum.

    Breaking changes for consumers:

    • The zod peer range is now ^4.0.0. Zod 3 is no longer supported by enumwaii/zod.
    • The return type is z.ZodEnum<...> instead of z.ZodType<...>. It is still assignable to z.ZodType of the branded union, and it adds .enum, .options, .extract() and .exclude().
    • An invalid value now fails with an invalid_value issue (with values) instead of a custom issue. The message stays Expected one of: ....

    prefer-native-schema-adapters now says in its report that the adapter keeps the branded output type.

Patch Changes

  • #45 047f8a7 - Drop Deno from the documented runtime support. The ESM entry is no longer tested under Deno, so the README lists only Node.js, Bun, and Cloudflare Workers.

eslint-plugin-enumwaii@1.2.1

Patch Changes

  • #39 40a2adc - emToZodSchema now returns a native Zod z.enum built from the declaration's member object instead of a z.custom schema. Its output is still the branded member union, and it now converts with z.toJSONSchema, so it works in MCP and model tool definitions without casting a rebuilt z.enum.

    Breaking changes for consumers:

    • The zod peer range is now ^4.0.0. Zod 3 is no longer supported by enumwaii/zod.
    • The return type is z.ZodEnum<...> instead of z.ZodType<...>. It is still assignable to z.ZodType of the branded union, and it adds .enum, .options, .extract() and .exclude().
    • An invalid value now fails with an invalid_value issue (with values) instead of a custom issue. The message stays Expected one of: ....

    prefer-native-schema-adapters now says in its report that the adapter keeps the branded output type.

  • #34 9e29667 - Require @typescript-eslint/utils 8.71.2 or newer within the 8.x line, matching the version the rules are now built and tested against.

@CatOfJupit3r
CatOfJupit3r merged commit 217e60d into main Oct 15, 2026
3 checks passed
@CatOfJupit3r
CatOfJupit3r deleted the changeset-release/main branch October 15, 2026 21:02
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