-
-
Notifications
You must be signed in to change notification settings - Fork 35
v24 is for Ashley Burton #2546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
v24 is for Ashley Burton #2546
Changes from all commits
Commits
Show all changes
225 commits
Select commit
Hold shift + click to select a range
4cfc102
Adjusting CI triggers.
RobinTail 0d9382b
Migration to Zod 4 (#2537)
RobinTail c526776
Upgrading zod, core 0.7.1.
RobinTail c42bbd0
Migrating previously faulty shorthands.
RobinTail b60b449
Moving `deprecated` to the top level of global registry (#2549)
RobinTail 08f4a13
Merge branch 'master' into make-v24
RobinTail 6a21ef2
Merge branch 'master' into make-v24
RobinTail 11f5bc3
Updating zod, core 0.8.0, external issue with circular ZodLazy, worke…
RobinTail 8a68f01
Merge branch 'master' into make-v24
RobinTail 43ff8f2
Fix example test.
RobinTail 67ea7a0
FIX lazy: avoiding .extend on objects.
RobinTail eb9ce42
Updating zod, core 0.8.1, oneOf changed to anyOf in some places.
RobinTail 16d8501
Changelog: initial entry for v24.
RobinTail a0345ae
Delegating depiction to Zod 4 (#2547)
RobinTail 1bba5f1
Helper to ensure valid `type` (#2553)
RobinTail afd4737
Merge branch 'master' into make-v24
RobinTail 694aa3e
Removing overrides for enums and literals (#2557)
RobinTail de75df6
Merge branch 'master' into make-v24
RobinTail e3984ed
Removing overrides for `any` (#2559)
RobinTail 45c34f0
Tests for overriders and minor adjustments (#2556)
RobinTail 1a7b502
Support `ZodInterface` (#2560)
RobinTail 81724af
Drop `optionalPropStyle` from `Integration` (#2561)
RobinTail 32283c6
Env test on transformation output examples missing.
RobinTail cde792d
env test for behaviour of .meta() that does not merge but overrides.
RobinTail ef841e9
Todo for examples.
RobinTail 6bc1fa9
Brand is the only the metadata that withstands refinements (#2564)
RobinTail fa1a3a6
Todo regarding copyMeta() fn.
RobinTail 3a6e17f
Metadata preservation fix (#2565)
RobinTail bce730f
Add explicit assertion to metadata test.
RobinTail 6a2d236
Merge branch 'master' into make-v24
RobinTail 3b4566e
Switching ReqResHandlingProps to core type argument.
RobinTail eac5c94
Ref: reusing BrandHandling type.
RobinTail a4928e4
Removing todo that didn't work.
RobinTail 6711a1f
Avoiding root references by wrapping the delegation subject (#2572)
RobinTail cd1b15e
Changing the type of internal examples to `z.$input` symbol (#2567)
RobinTail 67bb005
Test for the brand withstanding describing.
RobinTail 0f6b451
minor: renaming internal method.
RobinTail 4988336
rm redundant argument in onPipeline.
RobinTail 83dfadd
a couple todos.
RobinTail 0c2b400
Improve handling of `ZodError` by `ensureError` (#2573)
RobinTail 7bb39cb
Improving coverage for onIntersection.
RobinTail 5e790de
Switching circular schema example to z.interface().
RobinTail 26a1ab9
Also demonstrating optional reference.
RobinTail 372e3ac
Fixed snapshots.
RobinTail 8d00dc7
Removing arguments from schema types (#2575)
RobinTail b849e9e
Updatign Zod, core 0.9.0, several issues fix, _ref added to JSONSchema.
RobinTail 836e4e1
rm todo that i fixed.
RobinTail db4a988
Removing description and deprecation settets in onEach - fixed in core.
RobinTail cc525a0
Removing explicit registry in depict().
RobinTail 19933ba
Adjusting the reason on env test.
RobinTail c1f502a
Migrating deprecated methods to shorthands in dateIn schema, with a f…
RobinTail 3689d52
Moving try..catch from intersect() to onIntersection.
RobinTail bf5350e
Merge branch 'master' into make-v24
RobinTail 2c5635a
Removing deprecated alias `ZodTypeAny` (#2578)
RobinTail a527948
Using shorthand z.base64() for the corresponding ez.file().
RobinTail e15e2fe
Migrating traverse related methods to core types (#2579)
RobinTail c825246
Replacing `instanceof` in traverse (#2580)
RobinTail ab4ec0d
Implementing `unref()` helper (#2581)
RobinTail 3829416
Schema compliance adjustment (#2582)
RobinTail 154627f
Restoring immutable depicters (#2583)
RobinTail 4740d8c
Coerce became safer (#2584)
RobinTail 4125ba5
Readme: updating technologies article for Zod version.
RobinTail fabc796
Reset migration for v24 (#2585)
RobinTail ae37bcf
v24 is dedicated to Ashley Burton.
RobinTail ded0e04
Security: planning for june.
RobinTail 1f29f14
v24.0.0-beta.0
RobinTail 104c7c1
Restoring original testing for changed/unchanged brand handling.
RobinTail 852db85
Migration rules for v24 (#2586)
RobinTail a4d71c8
Update README.md
RobinTail 34b2c12
Readme: fix type name.
RobinTail 7b4ab5c
Migration for Depicter.
RobinTail ce66a31
Ref: DNRY: extracting propRemover.
RobinTail 9d4baaa
Applying two correction from code review to Documentation.
RobinTail fa64656
Ref: using references size in makeRef.
RobinTail 64c883d
Fix EmptySchema type to ensure correct intersections for EndpointsFac…
RobinTail 53fe3b5
Restoring .and() instead of z.intersection - turned out to be recovered.
RobinTail a9ca7d5
Ref: DNRY isObject in depictExamples and depictParamExamples.
RobinTail 010bc85
Restoring original naming for depicters.
RobinTail 0226777
Revert "Ref: DNRY isObject in depictExamples and depictParamExamples."
RobinTail ef468e3
Ref: DNRY isObject in depictExamples and depictParamExamples.
RobinTail b308d7c
Reusing isObject for intersect().
RobinTail ef3ddf2
Ref: depictIntersection using R.tryCatch.
RobinTail 7c3520c
Ref: DNRY for ensureCompliance().
RobinTail 8379da4
Ref: simpler type for makeRef in ZTS context.
RobinTail 34313f0
Ref: brand extraction in hasNestedSchema.
RobinTail c8283da
FIX: handling interfaces incl. circular ones by deep checks.
RobinTail daa87c2
Merge branch 'master' into make-v24
RobinTail df75b15
Merge branch 'master' into make-v24
RobinTail 9051ed4
Deep checks using `toJSONSchema` (#2589)
RobinTail 0331a8e
Merge branch 'master' into make-v24
RobinTail 42414ab
Merge branch 'master' into make-v24
RobinTail d3158f5
Fix nullable literals and enums (#2593)
RobinTail 02167a9
Fix: exclude ZodSuccess, ZodError and ZodFunction from the plugin.
RobinTail 6cb2907
Plugin: rm redundant type coercion for remap.
RobinTail 1c23ad1
Discriminating `ResultHandler::handler()` params (#2594)
RobinTail 0f27d2b
Smoothing type coercion throu IOSchema instead of unknown in Middlewa…
RobinTail b9ff6e0
Add env test for the found external issue.
RobinTail 86c5665
Diagnostics to handle error thrown from extractObjectSchema.
RobinTail 92a4211
Upgrading zod, core 0.10, base64 no extends string, int().max fn fixe…
RobinTail 5b38f5b
Merge branch 'master' into make-v24
RobinTail f78a1c3
z.number().int() -> z.int().
RobinTail fb39add
Replace `extractObjectSchema` with JSON Schema flattening (#2595)
RobinTail ab19eb6
Ref: Unify flatten and intersect (#2598)
RobinTail e7edc01
Ref: switching stack of flattenIO to tuples.
RobinTail efd7d58
Merge branch 'master' into make-v24
RobinTail 5a4d1c6
Replacing `R.union()` (#2599)
RobinTail 6f80512
Updating zod, core 0.10.1, no significant fixes.
RobinTail 07c76a9
Ref: moving unref() into JSON Schema helpers.
RobinTail 1ad76b7
Another bug test for env.spec.ts.
RobinTail 642744e
minor: link to the zod issue.
RobinTail a60c123
Ref: no Omit<> in OpenAPIContext.
RobinTail aab3814
v24: upgrading core to 0.11 (#2600)
RobinTail 54d841b
v24: Utilize `optionality` (#2604)
RobinTail 93db34c
Merge branch 'master' into make-v24
RobinTail 0bd7afa
Merge branch 'master' into make-v24
RobinTail d0581ca
Updating zod, core 0.11.6, no significant changes.
RobinTail fc990b8
Optionals: Restore `undefined`, but depending on `optionality` (#2607)
RobinTail 6f2da48
Merge branch 'master' into make-v24
RobinTail 9d47186
Merge branch 'master' into make-v24
RobinTail f41be6e
Merge branch 'master' into make-v24
RobinTail a9cc212
Merge branch 'master' into make-v24
RobinTail 3d85114
Merge branch 'master' into make-v24
RobinTail b62e51b
changelog: minor, grammar.
RobinTail 5e9460d
Fix validations CI - using zod 4 version instead of dist tag next.
RobinTail f723fa4
Merge branch 'master' into make-v24
RobinTail c2ba561
Merge branch 'master' into make-v24
RobinTail 017728a
Merge branch 'master' into make-v24
RobinTail c375c65
Using v4 from 3.25 (#2631)
RobinTail b27afd3
A couple more assertions on ZodError.
RobinTail 04c9b6c
rm 3 from zod installation command.
RobinTail 6248795
Changelog: add migration sample, explaining breaking change.
RobinTail 46adaf2
Changes to optionality (#2633)
RobinTail 95b19d6
rev: using looseObject again, after 4320 fixed.
RobinTail a95326e
Merge branch 'master' into make-v24
RobinTail 6c7aa0d
beta update.
RobinTail ba97100
beta update,
RobinTail c86572f
Using stable 3.25.
RobinTail a7c37f4
Branding: no altering refinements (#2637)
RobinTail 8d67cce
Merge branch 'master' into make-v24
RobinTail ef2bbdf
Merge branch 'master' into make-v24
RobinTail 482de64
Merge branch 'master' into make-v24
RobinTail 38cc4c1
v24.0.0-beta.1
github-actions[bot] be7dc37
Using native storage for default label (#2643)
RobinTail e0e3b5a
Using native storage for examples (#2632)
RobinTail ecb5b3f
Ref: no reassigning meta (#2644)
RobinTail b1c7f08
zod 3.25.13.
RobinTail d9625e6
v24.0.0-beta.2
github-actions[bot] c95c8c8
Cleanup: rm `depictObject` (#2645)
RobinTail 99601a7
Ref: mv isOptional into zts::onObject.
RobinTail f8aefc1
Add test for top level examples of a flattened intersection.
RobinTail 67cf26c
Ref: combining tests (using each).
RobinTail b7fe51f
Merge branch 'master' into make-v24
RobinTail f1db181
rm todo that is ok.
RobinTail c1e111c
rm taking examples from flattened request in depictBody() because mix…
RobinTail 9bcc366
Adjusting env test to ensure no conflict between .meta() and .describ…
RobinTail 62ba8a4
Fix: Workaround for branded examples in updateUserEndpoint.
RobinTail 7db698e
additional test for examples of individual prop in a depicted body.
RobinTail 0030d2b
Ref: Move mixing and pulling request examples to postprocessing (#2651)
RobinTail d035ac1
feat(v24): metadata argument for `ez.dateIn()` and `ez.dateOut()` (#2…
RobinTail f60db9e
v24.0.0-beta.3
github-actions[bot] b024989
feat(v24): descriptions proprietary date schemas (#2652)
RobinTail ad0ece5
restore zod installation command in validations CI
RobinTail b8d8908
Ref: restore examples of createAt.
RobinTail b34d632
Env assertions for ZodError and clarifications for ensureError.
RobinTail 29160e5
more details.
RobinTail 1a36e9c
minor: jsdoc
RobinTail 42dbaa7
Merge branch 'master' into make-v24
RobinTail ac2a076
Removing unused exports and correcting RawSchema type.
RobinTail 18d48be
Readme: changing deprecated refinements to the new shorthand methods.
RobinTail 1ccffa0
Merge branch 'master' into make-v24
RobinTail 87431be
Addressing `ZodError` does not extend Error (#2656)
RobinTail a5e5740
Ref: DNRY for raw schema.
RobinTail 5c20f21
Fix imports
RobinTail 992b712
restore using z.intersection in one test
RobinTail fb56219
rm redundant import
RobinTail 4cd77e1
rm redundant import
RobinTail efd9aa9
restore original assertions in io schema test
RobinTail 160e621
restore using z.intersection in one test
RobinTail 9f7cba8
Ref: avoiding ZodError::message in snapshots.
RobinTail fbbe8d3
changelog: minor, adjusting example.
RobinTail 4a642b1
Changelog: mentioning discriminated argument for result handler.
RobinTail 9de50b8
v24.0.0-beta.4
github-actions[bot] 253ad29
Changelog: minor, clarity.
RobinTail ddf9402
Changelog: shortening.
RobinTail 6dfb8f1
Merge branch 'master' into make-v24
RobinTail ddab0a9
Updating snapshots.
RobinTail ff75f79
Ref: traverse consistency: using stack.unshift() everywhere.
RobinTail 9612080
Revert "Ref: traverse consistency: using stack.unshift() everywhere."
RobinTail 0166b88
Merge branch 'master' into make-v24
RobinTail dbd1bb0
Updating snapshots and allow flattening with additionalProperties prop.
RobinTail 2b71a58
v24.0.0-beta.5
github-actions[bot] c3b07a4
Merge branch 'master' into make-v24
RobinTail 6b4c69a
Merge branch 'master' into make-v24
RobinTail e81470e
fix(v24): Definitions deduplication (#2664)
RobinTail 57d08c9
FIX(fix): rm serialization because ref changes.
RobinTail 67a580c
Using serialization in depictRequestParams() for makeRef() call.
RobinTail 3121496
v24.0.0-beta.6
github-actions[bot] dd66081
Adjust error message format in response (#2665)
RobinTail 2993824
Sharing the response examples pulling (#2666)
RobinTail d7695dc
v24.0.0-beta.7
github-actions[bot] 3f7e02e
Merge branch 'master' into make-v24
RobinTail 83bf134
Remove `ez.file()`, expose `ez.buffer()` (#2668)
RobinTail 12b1063
Merge branch 'master' into make-v24
RobinTail 5930fca
Readme: moving and renaming the section: Non-JSON response.
RobinTail 7cfdb08
Merge branch 'master' into make-v24
RobinTail 5fa05c1
v24.0.0-beta.8
github-actions[bot] 88cf6c6
minor: naming.
RobinTail 808d01b
Ref: better constraints for branded examples as per suggestion from @…
RobinTail 40ba21a
AI: nullish assignment instead of deleting bag.brand prop.
RobinTail a6e352e
minor: comment for clarity.
RobinTail 1815c5a
AI: simpler prop definition in Zod Plugin.
RobinTail 01418fd
AI: fix inconsistent import.
RobinTail 510c7ed
AI: rm snapshot for clarity.
RobinTail 0781730
AI: improving context on throwing from JSON schema helper propsMerger().
RobinTail cba3933
Minimizing `any` in client types (#2670)
RobinTail a947e57
AI: casting fallback types via unknown for clarity.
RobinTail c2d9d03
Minor: explaining why EmptySchema is ZodRecord, but default assignmen…
RobinTail 1e59081
ESLint: ensure consistent imports.
RobinTail 959db2e
Changelog: reflecting changes to Integration.
RobinTail 9ad9663
Changelog: minor, formatting.
RobinTail a867eef
AI: Changelog: wrapping bare links.
RobinTail c1d875b
v24.0.0-beta.9
github-actions[bot] 89093f0
Merge branch 'master' into make-v24
RobinTail e976eb5
Updating snapshots.
RobinTail 0f771eb
CI: rm temporary trigger, no more PRs to this branch
RobinTail File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.