Open-source, warehouse-first Customer Data Pipeline and Segment-alternative. Collects and routes clickstream data and builds your customer data lake on your data warehouse.
Snyk has created this PR to upgrade zod from 3.22.4 to 3.23.8.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 65 versions ahead of your current version.
The recommended version was released on 5 months ago.
This version fixes a bug where unknown keys were accidentally accepted in .pick() and omit(). This has been fixed, which could cause compiler errors in some user code. #3255
z.object({name: z.string()}).pick({notAKey: true// no longer allowed})
Bugfixes and performance
Bugfix: Enum.extract/exclude should not remove error mapping by @ shaharke in #3240
Added latest stable Node and TypeScript versions to test matrix for up-to-date testing. by @ m10rten in #3278
Snyk has created this PR to upgrade zod from 3.22.4 to 3.23.8.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 65 versions ahead of your current version.
The recommended version was released on 5 months ago.
Release notes
Package name: zod
Commits:
Commits:
Commits:
Commits:
Commits:
Commits:
Commits:
This changes the default generics back to
any
to prevent breakages with common packager like@ hookform/resolvers
:Commits:
Zod 3.23 is now available. This is the final
3.x
release before Zod 4.0. To try it out:Features
z.string().date()
Zod can now validate ISO 8601 date strings. Thanks @ igalklebanov! #1766
z.string().time()
Zod can now validate ISO 8601 time strings. Thanks @ igalklebanov! #1766
You can specify sub-second precision using the
precision
option:z.string().duration()
Zod can now validate ISO 8601 duration strings. Thanks @ mastermatt! #3265
Improvements to
z.string().datetime()
Thanks @ bchrobot #2522
You can now allow unqualified (timezone-less) datetimes using the
local: true
flag.Plus, Zod now validates the day-of-month correctly to ensure no invalid dates (e.g. February 30th) pass validation. Thanks @ szamanr! #3391
z.string().base64()
Zod can now validate base64 strings. Thanks @ StefanTerdell! #3047
Improved discriminated unions
The following can now be used as discriminator keys in
z.discriminatedUnion()
:ZodOptional
ZodNullable
ZodReadonly
ZodBranded
ZodCatch
Misc
Breaking changes
There are no breaking changes to the public API of Zod. However some changes can impact ecosystem tools that rely on Zod internals.
ZodFirstPartySchemaTypes
Three new types have been added to the
ZodFirstPartySchemaTypes
union. This may impact some codegen libraries. #3247Unrecognized keys in
.pick()
and.omit()
This version fixes a bug where unknown keys were accidentally accepted in
.pick()
andomit()
. This has been fixed, which could cause compiler errors in some user code. #3255Bugfixes and performance
ZodFirstPartySchemaTypes
by @ MatthijsMud in #3247input
of.required()
readonly by @ KATT in #3301addQuestionMarks
, fix #2184 by @ colinhacks in #3352src
forbun test
by @ rotu in #3038Docs and ecosystem
zod-dev
utility to eco-system section by @ schalkventer in #3113orval
to "X to Zod" ecosystems by @ soartec-lab in #3397New Contributors
Test report for this run is available at: https://test-integrations-dev.s3.amazonaws.com/integrations-test-reports/rudder-transformer/3779/test-report.html
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Additional details and impacted files
```diff @@ Coverage Diff @@ ## develop #3779 +/- ## ======================================== Coverage 88.94% 88.94% ======================================== Files 599 599 Lines 32574 32574 Branches 7741 7743 +2 ======================================== Hits 28972 28972 + Misses 3325 3295 -30 - Partials 277 307 +30 ```:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Quality Gate passed
Issues
12 New issues
1 Accepted issue
Measures
0 Security Hotspots
93.0% Coverage on New Code
0.0% Duplication on New Code
See analysis details on SonarCloud