Repository navigation
revert(zod-openapi): export local z binding - #2084
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 1f33a27 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
kamaal111
marked this pull request as ready for review
August 13, 2026 05:41
3 tasks done
kamaal111
force-pushed
the
revert-zod-openapi-z-reexport
branch
from
August 13, 2026 05:44
2f78a94 to
29d283e
Compare
Fixes #2078 This reverts commit fc0377c. Original commit title that has been reverted: fix(zod-openapi): export local z binding so OpenAPI patch is not tree-shaken (#2069) This commit is being reverted because its use-case is not yet supported by `rolldown-plugin-dts` which is a subdependency of `tsdown` in this project. Its impact is that the zod types have decraded and is resulting in types resulting in `any` which causes the typescript compiler to error in strict mode Signed-off-by: Kamaal Farah <[email protected]>
**Summary** Prepare a patch release for the reverted local z binding export. **Changes** Record the zod-openapi revert for a patch release because the local binding degrades zod types to any when tsdown builds the package. Signed-off-by: Kamaal Farah <[email protected]>
kamaal111
force-pushed
the
revert-zod-openapi-z-reexport
branch
from
August 13, 2026 05:49
29d283e to
1f33a27
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2084 +/- ##
==========================================
- Coverage 92.23% 92.22% -0.01%
==========================================
Files 116 116
Lines 4119 4118 -1
Branches 1076 1076
==========================================
- Hits 3799 3798 -1
Misses 285 285
Partials 35 35
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
|
@kamaal111 Thank you for the quick fix! |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2078
This reverts commit https://github.com/kamaal111/hono-middleware/commit/fc0377c5595bde3147d181e5013a3fc710175e40.
Original commit title that has been reverted:
fix(zod-openapi): export local z binding so OpenAPI patch is not tree-shaken (#2069)
This commit is being reverted because its use-case is not yet supported
by
rolldown-plugin-dtswhich is a subdependency oftsdownin thisproject. Its impact is that the zod types have decraded and is resulting
in types resulting in
anywhich causes the typescript compiler toerror in strict mode
The author should do the following, if applicable
Add testsnot relevantpnpm changesetat the top of this repo and push the changeset