axios/axios (axios)
### [`v1.7.2`](https://togithub.com/axios/axios/blob/HEAD/CHANGELOG.md#172-2024-05-21)
[Compare Source](https://togithub.com/axios/axios/compare/v1.7.1...v1.7.2)
##### Bug Fixes
- **fetch:** enhance fetch API detection; ([#6413](https://togithub.com/axios/axios/issues/6413)) ([4f79aef](https://togithub.com/axios/axios/commit/4f79aef81b7c4644328365bfc33acf0a9ef595bc))
##### Contributors to this release
- [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS "+3/-3 (#6413 )")
### [`v1.7.1`](https://togithub.com/axios/axios/blob/HEAD/CHANGELOG.md#171-2024-05-20)
[Compare Source](https://togithub.com/axios/axios/compare/v1.7.0...v1.7.1)
##### Bug Fixes
- **fetch:** fixed ReferenceError issue when TextEncoder is not available in the environment; ([#6410](https://togithub.com/axios/axios/issues/6410)) ([733f15f](https://togithub.com/axios/axios/commit/733f15fe5bd2d67e1fadaee82e7913b70d45dc5e))
##### Contributors to this release
- [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS "+14/-9 (#6410 )")
### [`v1.7.0`](https://togithub.com/axios/axios/blob/HEAD/CHANGELOG.md#170-2024-05-19)
[Compare Source](https://togithub.com/axios/axios/compare/v1.6.8...v1.7.0)
##### Features
- **adapter:** add fetch adapter; ([#6371](https://togithub.com/axios/axios/issues/6371)) ([a3ff99b](https://togithub.com/axios/axios/commit/a3ff99b59d8ec2ab5dd049e68c043617a4072e42))
##### Bug Fixes
- **core/axios:** handle un-writable error stack ([#6362](https://togithub.com/axios/axios/issues/6362)) ([81e0455](https://togithub.com/axios/axios/commit/81e0455b7b57fbaf2be16a73ebe0e6591cc6d8f9))
##### Contributors to this release
- [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS "+1015/-127 (#6371 )")
- [Jay](https://togithub.com/jasonsaayman "+30/-14 ()")
- [Alexandre ABRIOUX](https://togithub.com/alexandre-abrioux "+56/-6 (#6362 )")
### [`v1.6.8`](https://togithub.com/axios/axios/blob/HEAD/CHANGELOG.md#168-2024-03-15)
[Compare Source](https://togithub.com/axios/axios/compare/v1.6.7...v1.6.8)
##### Bug Fixes
- **AxiosHeaders:** fix AxiosHeaders conversion to an object during config merging ([#6243](https://togithub.com/axios/axios/issues/6243)) ([2656612](https://togithub.com/axios/axios/commit/2656612bc10fe2757e9832b708ed773ab340b5cb))
- **import:** use named export for EventEmitter; ([7320430](https://togithub.com/axios/axios/commit/7320430aef2e1ba2b89488a0eaf42681165498b1))
- **vulnerability:** update follow-redirects to 1.15.6 ([#6300](https://togithub.com/axios/axios/issues/6300)) ([8786e0f](https://togithub.com/axios/axios/commit/8786e0ff55a8c68d4ca989801ad26df924042e27))
##### Contributors to this release
- [Jay](https://togithub.com/jasonsaayman "+4572/-3446 (#6238 )")
- [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS "+30/-0 (#6231 )")
- [Mitchell](https://togithub.com/Creaous "+9/-9 (#6300 )")
- [Emmanuel](https://togithub.com/mannoeu "+2/-2 (#6196 )")
- [Lucas Keller](https://togithub.com/ljkeller "+3/-0 (#6194 )")
- [Aditya Mogili](https://togithub.com/ADITYA-176 "+1/-1 ()")
- [Miroslav Petrov](https://togithub.com/petrovmiroslav "+1/-1 (#6243 )")
winstonjs/winston (winston)
### [`v3.13.0`](https://togithub.com/winstonjs/winston/releases/tag/v3.13.0)
[Compare Source](https://togithub.com/winstonjs/winston/compare/v3.12.1...v3.13.0)
- fix(http): allow passing maximumDepth to prevent big object being stringified ([#2425](https://togithub.com/winstonjs/winston/issues/2425)) [`a237865`](https://togithub.com/winstonjs/winston/commit/a237865)
### [`v3.12.1`](https://togithub.com/winstonjs/winston/compare/v3.12.0...b5eecf02f27df645f10bdf2e8f1c205fa2d6681b)
[Compare Source](https://togithub.com/winstonjs/winston/compare/v3.12.0...v3.12.1)
### [`v3.12.0`](https://togithub.com/winstonjs/winston/releases/tag/v3.12.0)
[Compare Source](https://togithub.com/winstonjs/winston/compare/v3.11.0...v3.12.0)
- missing timestamp format in ready-to-use-pattern example ([#2421](https://togithub.com/winstonjs/winston/issues/2421)) [`9e5b407`](https://togithub.com/winstonjs/winston/commit/9e5b407)
- bump deps ([#2422](https://togithub.com/winstonjs/winston/issues/2422)) [`4a85e6b`](https://togithub.com/winstonjs/winston/commit/4a85e6b)
- \[chore] Run coveralls CI check on Node 20 not 16 ([#2418](https://togithub.com/winstonjs/winston/issues/2418)) [`e153c68`](https://togithub.com/winstonjs/winston/commit/e153c68)
- Bump [@types/node](https://togithub.com/types/node) from 20.8.6 to 20.11.19 ([#2413](https://togithub.com/winstonjs/winston/issues/2413)) [`587f40f`](https://togithub.com/winstonjs/winston/commit/587f40f)
- Update README.md ([#2417](https://togithub.com/winstonjs/winston/issues/2417)) [`8e99a00`](https://togithub.com/winstonjs/winston/commit/8e99a00)
- docs: fix anchor in transports docs ([#2416](https://togithub.com/winstonjs/winston/issues/2416)) [`0bde36b`](https://togithub.com/winstonjs/winston/commit/0bde36b)
- add winston-transport-vscode to transports docs ([#2411](https://togithub.com/winstonjs/winston/issues/2411)) [`8fb5b41`](https://togithub.com/winstonjs/winston/commit/8fb5b41)
- Bump [@babel/cli](https://togithub.com/babel/cli) from 7.23.0 to 7.23.9 ([#2406](https://togithub.com/winstonjs/winston/issues/2406)) [`a326743`](https://togithub.com/winstonjs/winston/commit/a326743)
- Add winston-newrelic-agent-transport to transport documentation ([#2382](https://togithub.com/winstonjs/winston/issues/2382)) [`cc731ef`](https://togithub.com/winstonjs/winston/commit/cc731ef)
- Remove newrelic-winston transport entry. ([#2405](https://togithub.com/winstonjs/winston/issues/2405)) [`f077f30`](https://togithub.com/winstonjs/winston/commit/f077f30)
- Bump eslint from 8.55.0 to 8.56.0 ([#2397](https://togithub.com/winstonjs/winston/issues/2397)) [`3943c41`](https://togithub.com/winstonjs/winston/commit/3943c41)
- Bump the npm_and_yarn group group with 1 update ([#2391](https://togithub.com/winstonjs/winston/issues/2391)) [`8260866`](https://togithub.com/winstonjs/winston/commit/8260866)
- Fix unhandled rejection handling ([#2390](https://togithub.com/winstonjs/winston/issues/2390)) [`333b763`](https://togithub.com/winstonjs/winston/commit/333b763)
- Fix all rimraf usages to the best of my ability; glob is not true by default in rimraf; file archive test only passed every other time using async rimraf, could use further investigation [`c3f3b5b`](https://togithub.com/winstonjs/winston/commit/c3f3b5b)
- Fix rimraf usage in new test [`8f3c653`](https://togithub.com/winstonjs/winston/commit/8f3c653)
- Fix rimraf import in test (why didn't this break in PR CI?) [`f3836aa`](https://togithub.com/winstonjs/winston/commit/f3836aa)
- Added functionality to long broken zippedArchive option ([#2337](https://togithub.com/winstonjs/winston/issues/2337)) [`02d4267`](https://togithub.com/winstonjs/winston/commit/02d4267)
- Bump async from 3.2.4 to 3.2.5 ([#2378](https://togithub.com/winstonjs/winston/issues/2378)) [`069a40d`](https://togithub.com/winstonjs/winston/commit/069a40d)
- Bump [@babel/preset-env](https://togithub.com/babel/preset-env) from 7.23.2 to 7.23.7 ([#2384](https://togithub.com/winstonjs/winston/issues/2384)) [`79282e1`](https://togithub.com/winstonjs/winston/commit/79282e1)
- Bump winston-transport; fix test issue ([#2386](https://togithub.com/winstonjs/winston/issues/2386)) [`05788b9`](https://togithub.com/winstonjs/winston/commit/05788b9)
- Bump eslint from 8.51.0 to 8.55.0 ([#2375](https://togithub.com/winstonjs/winston/issues/2375)) [`a7c2eec`](https://togithub.com/winstonjs/winston/commit/a7c2eec)
- Bump std-mocks from 1.0.1 to 2.0.0 ([#2361](https://togithub.com/winstonjs/winston/issues/2361)) [`85c336e`](https://togithub.com/winstonjs/winston/commit/85c336e)
- Bump actions/setup-node from 3 to 4 ([#2362](https://togithub.com/winstonjs/winston/issues/2362)) [`448d11c`](https://togithub.com/winstonjs/winston/commit/448d11c)
- chore(README.md): adds documentation around coloring json formatted logs [`91ec069`](https://togithub.com/winstonjs/winston/commit/91ec069)
- Remove nonexistent Logger methods from types [`c3c3911`](https://togithub.com/winstonjs/winston/commit/c3c3911)
- Update dependencies [`caf2df6`](https://togithub.com/winstonjs/winston/commit/caf2df6)
### [`v3.11.0`](https://togithub.com/winstonjs/winston/releases/tag/v3.11.0)
[Compare Source](https://togithub.com/winstonjs/winston/compare/v3.10.0...v3.11.0)
- Bump split2 from 4.1.0 to 4.2.0 ([#2336](https://togithub.com/winstonjs/winston/issues/2336)) [`37f4282`](https://togithub.com/winstonjs/winston/commit/37f4282)
- Bump actions/checkout from 3 to 4 ([#2346](https://togithub.com/winstonjs/winston/issues/2346)) [`fdcc893`](https://togithub.com/winstonjs/winston/commit/fdcc893)
- Bump [@colors/colors](https://togithub.com/colors/colors) packgae to 1.6.0 ([#2353](https://togithub.com/winstonjs/winston/issues/2353)) [`dcbec34`](https://togithub.com/winstonjs/winston/commit/dcbec34)
- Bump rimraf from 3.0.2 to 5.0.5 ([#2357](https://togithub.com/winstonjs/winston/issues/2357)) [`aaaa4c0`](https://togithub.com/winstonjs/winston/commit/aaaa4c0)
- feat: add guardrails to the instantiation of a Profiler ([#2226](https://togithub.com/winstonjs/winston/issues/2226)) [`914b846`](https://togithub.com/winstonjs/winston/commit/914b846)
- Bump [@types/node](https://togithub.com/types/node) from 20.3.1 to 20.4.2 ([#2329](https://togithub.com/winstonjs/winston/issues/2329)) [`23cb80c`](https://togithub.com/winstonjs/winston/commit/23cb80c)
- Bug Fix: FileTransportOptions type missing lazy:boolean option ([#2334](https://togithub.com/winstonjs/winston/issues/2334)) [`1c43f7b`](https://togithub.com/winstonjs/winston/commit/1c43f7b)
colinhacks/zod (zod)
### [`v3.23.8`](https://togithub.com/colinhacks/zod/releases/tag/v3.23.8)
[Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.7...v3.23.8)
#### Commits:
- [`0f4d403`](https://togithub.com/colinhacks/zod/commit/0f4d403558ae0490c711e4c2bfcf6c200bd14e11) Add Bronze logos ([#3470](https://togithub.com/colinhacks/zod/issues/3470))
- [`1968731`](https://togithub.com/colinhacks/zod/commit/19687315b5b24bbd1ff6c346bfc2975700221748) Tweak tiers ([#3471](https://togithub.com/colinhacks/zod/issues/3471))
- [`eda7df3`](https://togithub.com/colinhacks/zod/commit/eda7df314399929f7ed737423868a5a0780cd944) Change RefinementCtx to interface
- [`ca42965`](https://togithub.com/colinhacks/zod/commit/ca42965df46b2f7e2747db29c40a26bcb32a51d5) v3.23.8
### [`v3.23.7`](https://togithub.com/colinhacks/zod/compare/v3.23.6...f985b5b922cb357dbf4b25bb43814d19f838e046)
[Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.6...v3.23.7)
### [`v3.23.6`](https://togithub.com/colinhacks/zod/compare/v3.23.5...93b480b12ec3466cbd3b4182f7ce292e5c61528c)
[Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.5...v3.23.6)
### [`v3.23.5`](https://togithub.com/colinhacks/zod/compare/v3.23.4...541a862e978f96eb391849a6bf16be84231aa1b3)
[Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.4...v3.23.5)
### [`v3.23.4`](https://togithub.com/colinhacks/zod/releases/tag/v3.23.4)
[Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.3...v3.23.4)
#### Commits:
- [`157b18d`](https://togithub.com/colinhacks/zod/commit/157b18d742c86d85b26a8421af46ad6d6d6b6ea7) Add 3.23 announcement
- [`aedf93f`](https://togithub.com/colinhacks/zod/commit/aedf93f1435a29463d915c3be45b4dcbeefa8cc1) Revert change to default Input
- [`45107f7`](https://togithub.com/colinhacks/zod/commit/45107f7a7230fe48ee24dc37e621422c9dc64ec4) v3.23.4
### [`v3.23.3`](https://togithub.com/colinhacks/zod/compare/v3.23.2...103d2436f85872ca0e0e6247652989cc93d46a39)
[Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.2...v3.23.3)
### [`v3.23.2`](https://togithub.com/colinhacks/zod/releases/tag/v3.23.2)
[Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.1...v3.23.2)
#### Commits:
- [`c340558`](https://togithub.com/colinhacks/zod/commit/c340558d14f5222a2ca177e0591463c06cc5edc3) Update protocol
- [`ef588d0`](https://togithub.com/colinhacks/zod/commit/ef588d036f3e98b832796e9a681dbaf097631ea0) Fix t3env
- [`9df70dd`](https://togithub.com/colinhacks/zod/commit/9df70dd71195df951c43f180fbe5e64ea1f835df) 3.23.2
### [`v3.23.1`](https://togithub.com/colinhacks/zod/compare/v3.23.0...2ff5ceb428634de0ea4501495039c05a8e95b60a)
[Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.0...v3.23.1)
### [`v3.23.0`](https://togithub.com/colinhacks/zod/releases/tag/v3.23.0)
[Compare Source](https://togithub.com/colinhacks/zod/compare/e7a9b9b3033991be6b4225f1be21da39c250bbb0...v3.23.0)
Zod 3.23 is now available. This is the final `3.x` release before Zod 4.0. To try it out:
```sh
npm install zod
```
#### Features
##### `z.string().date()`
Zod can now validate ISO 8601 date strings. Thanks [@igalklebanov](https://togithub.com/igalklebanov)! [https://github.com/colinhacks/zod/pull/1766](https://togithub.com/colinhacks/zod/pull/1766)
```ts
const schema = z.string().date();
schema.parse("2022-01-01"); // OK
```
##### `z.string().time()`
Zod can now validate ISO 8601 time strings. Thanks [@igalklebanov](https://togithub.com/igalklebanov)! [https://github.com/colinhacks/zod/pull/1766](https://togithub.com/colinhacks/zod/pull/1766)
```ts
const schema = z.string().time();
schema.parse("12:00:00"); // OK
```
You can specify sub-second precision using the `precision` option:
```ts
const schema = z.string().time({ precision: 3 });
schema.parse("12:00:00.123"); // OK
schema.parse("12:00:00.123456"); // Error
schema.parse("12:00:00"); // Error
```
##### `z.string().duration()`
Zod can now validate ISO 8601 duration strings. Thanks [@mastermatt](https://togithub.com/mastermatt)! [https://github.com/colinhacks/zod/pull/3265](https://togithub.com/colinhacks/zod/pull/3265)
```ts
const schema = z.string().duration();
schema.parse("P3Y6M4DT12H30M5S"); // OK
```
##### Improvements to `z.string().datetime()`
Thanks [@bchrobot](https://togithub.com/bchrobot) [https://github.com/colinhacks/zod/pull/2522](https://togithub.com/colinhacks/zod/pull/2522)
You can now allow *unqualified* (timezone-less) datetimes using the `local: true` flag.
```ts
const schema = z.string().datetime({ local: true });
schema.parse("2022-01-01T12:00:00"); // OK
```
Plus, Zod now validates the day-of-month correctly to ensure no invalid dates (e.g. February 30th) pass validation. Thanks [@szamanr](https://togithub.com/szamanr)! [https://github.com/colinhacks/zod/pull/3391](https://togithub.com/colinhacks/zod/pull/3391)
##### `z.string().base64()`
Zod can now validate base64 strings. Thanks [@StefanTerdell](https://togithub.com/StefanTerdell)! [https://github.com/colinhacks/zod/pull/3047](https://togithub.com/colinhacks/zod/pull/3047)
```ts
const schema = z.string().base64();
schema.parse("SGVsbG8gV29ybGQ="); // OK
```
##### Improved discriminated unions
The following can now be used as discriminator keys in `z.discriminatedUnion()`:
- `ZodOptional`
- `ZodNullable`
- `ZodReadonly`
- `ZodBranded`
- `ZodCatch`
```ts
const schema = z.discriminatedUnion("type", [
z.object({ type: z.literal("A").optional(), value: z.number() }),
z.object({ type: z.literal("B").nullable(), value: z.string() }),
z.object({ type: z.literal("C").readonly(), value: z.boolean() }),
z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }),
z.object({ type: z.literal("E").catch("E"), value: z.unknown() }),
]);
```
##### Misc
- feature: allow falsy error message by [@fernandollisboa](https://togithub.com/fernandollisboa) in [https://github.com/colinhacks/zod/pull/3178](https://togithub.com/colinhacks/zod/pull/3178)
- feature: add attribute message to enum validatiion by [@fernandollisboa](https://togithub.com/fernandollisboa) in [https://github.com/colinhacks/zod/pull/3169](https://togithub.com/colinhacks/zod/pull/3169)
#### 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. [https://github.com/colinhacks/zod/pull/3247](https://togithub.com/colinhacks/zod/pull/3247)
```diff
+ | ZodPipeline
+ | ZodReadonly
+ | ZodSymbol;
```
##### Default generics in `ZodType`
The third argument of the `ZodType` base class now defaults to `unknown`. This makes it easier to define recursive schemas and write generic functions that accept Zod schemas.
```diff
- class ZodType
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^2.3.0
->^2.3.2
^1.6.7
->^1.7.2
^3.10.0
->^3.13.0
^3.22.4
->^3.23.8
Release Notes
axios/axios (axios)
### [`v1.7.2`](https://togithub.com/axios/axios/blob/HEAD/CHANGELOG.md#172-2024-05-21) [Compare Source](https://togithub.com/axios/axios/compare/v1.7.1...v1.7.2) ##### Bug Fixes - **fetch:** enhance fetch API detection; ([#6413](https://togithub.com/axios/axios/issues/6413)) ([4f79aef](https://togithub.com/axios/axios/commit/4f79aef81b7c4644328365bfc33acf0a9ef595bc)) ##### Contributors to this release -winstonjs/winston (winston)
### [`v3.13.0`](https://togithub.com/winstonjs/winston/releases/tag/v3.13.0) [Compare Source](https://togithub.com/winstonjs/winston/compare/v3.12.1...v3.13.0) - fix(http): allow passing maximumDepth to prevent big object being stringified ([#2425](https://togithub.com/winstonjs/winston/issues/2425)) [`a237865`](https://togithub.com/winstonjs/winston/commit/a237865) ### [`v3.12.1`](https://togithub.com/winstonjs/winston/compare/v3.12.0...b5eecf02f27df645f10bdf2e8f1c205fa2d6681b) [Compare Source](https://togithub.com/winstonjs/winston/compare/v3.12.0...v3.12.1) ### [`v3.12.0`](https://togithub.com/winstonjs/winston/releases/tag/v3.12.0) [Compare Source](https://togithub.com/winstonjs/winston/compare/v3.11.0...v3.12.0) - missing timestamp format in ready-to-use-pattern example ([#2421](https://togithub.com/winstonjs/winston/issues/2421)) [`9e5b407`](https://togithub.com/winstonjs/winston/commit/9e5b407) - bump deps ([#2422](https://togithub.com/winstonjs/winston/issues/2422)) [`4a85e6b`](https://togithub.com/winstonjs/winston/commit/4a85e6b) - \[chore] Run coveralls CI check on Node 20 not 16 ([#2418](https://togithub.com/winstonjs/winston/issues/2418)) [`e153c68`](https://togithub.com/winstonjs/winston/commit/e153c68) - Bump [@types/node](https://togithub.com/types/node) from 20.8.6 to 20.11.19 ([#2413](https://togithub.com/winstonjs/winston/issues/2413)) [`587f40f`](https://togithub.com/winstonjs/winston/commit/587f40f) - Update README.md ([#2417](https://togithub.com/winstonjs/winston/issues/2417)) [`8e99a00`](https://togithub.com/winstonjs/winston/commit/8e99a00) - docs: fix anchor in transports docs ([#2416](https://togithub.com/winstonjs/winston/issues/2416)) [`0bde36b`](https://togithub.com/winstonjs/winston/commit/0bde36b) - add winston-transport-vscode to transports docs ([#2411](https://togithub.com/winstonjs/winston/issues/2411)) [`8fb5b41`](https://togithub.com/winstonjs/winston/commit/8fb5b41) - Bump [@babel/cli](https://togithub.com/babel/cli) from 7.23.0 to 7.23.9 ([#2406](https://togithub.com/winstonjs/winston/issues/2406)) [`a326743`](https://togithub.com/winstonjs/winston/commit/a326743) - Add winston-newrelic-agent-transport to transport documentation ([#2382](https://togithub.com/winstonjs/winston/issues/2382)) [`cc731ef`](https://togithub.com/winstonjs/winston/commit/cc731ef) - Remove newrelic-winston transport entry. ([#2405](https://togithub.com/winstonjs/winston/issues/2405)) [`f077f30`](https://togithub.com/winstonjs/winston/commit/f077f30) - Bump eslint from 8.55.0 to 8.56.0 ([#2397](https://togithub.com/winstonjs/winston/issues/2397)) [`3943c41`](https://togithub.com/winstonjs/winston/commit/3943c41) - Bump the npm_and_yarn group group with 1 update ([#2391](https://togithub.com/winstonjs/winston/issues/2391)) [`8260866`](https://togithub.com/winstonjs/winston/commit/8260866) - Fix unhandled rejection handling ([#2390](https://togithub.com/winstonjs/winston/issues/2390)) [`333b763`](https://togithub.com/winstonjs/winston/commit/333b763) - Fix all rimraf usages to the best of my ability; glob is not true by default in rimraf; file archive test only passed every other time using async rimraf, could use further investigation [`c3f3b5b`](https://togithub.com/winstonjs/winston/commit/c3f3b5b) - Fix rimraf usage in new test [`8f3c653`](https://togithub.com/winstonjs/winston/commit/8f3c653) - Fix rimraf import in test (why didn't this break in PR CI?) [`f3836aa`](https://togithub.com/winstonjs/winston/commit/f3836aa) - Added functionality to long broken zippedArchive option ([#2337](https://togithub.com/winstonjs/winston/issues/2337)) [`02d4267`](https://togithub.com/winstonjs/winston/commit/02d4267) - Bump async from 3.2.4 to 3.2.5 ([#2378](https://togithub.com/winstonjs/winston/issues/2378)) [`069a40d`](https://togithub.com/winstonjs/winston/commit/069a40d) - Bump [@babel/preset-env](https://togithub.com/babel/preset-env) from 7.23.2 to 7.23.7 ([#2384](https://togithub.com/winstonjs/winston/issues/2384)) [`79282e1`](https://togithub.com/winstonjs/winston/commit/79282e1) - Bump winston-transport; fix test issue ([#2386](https://togithub.com/winstonjs/winston/issues/2386)) [`05788b9`](https://togithub.com/winstonjs/winston/commit/05788b9) - Bump eslint from 8.51.0 to 8.55.0 ([#2375](https://togithub.com/winstonjs/winston/issues/2375)) [`a7c2eec`](https://togithub.com/winstonjs/winston/commit/a7c2eec) - Bump std-mocks from 1.0.1 to 2.0.0 ([#2361](https://togithub.com/winstonjs/winston/issues/2361)) [`85c336e`](https://togithub.com/winstonjs/winston/commit/85c336e) - Bump actions/setup-node from 3 to 4 ([#2362](https://togithub.com/winstonjs/winston/issues/2362)) [`448d11c`](https://togithub.com/winstonjs/winston/commit/448d11c) - chore(README.md): adds documentation around coloring json formatted logs [`91ec069`](https://togithub.com/winstonjs/winston/commit/91ec069) - Remove nonexistent Logger methods from types [`c3c3911`](https://togithub.com/winstonjs/winston/commit/c3c3911) - Update dependencies [`caf2df6`](https://togithub.com/winstonjs/winston/commit/caf2df6) ### [`v3.11.0`](https://togithub.com/winstonjs/winston/releases/tag/v3.11.0) [Compare Source](https://togithub.com/winstonjs/winston/compare/v3.10.0...v3.11.0) - Bump split2 from 4.1.0 to 4.2.0 ([#2336](https://togithub.com/winstonjs/winston/issues/2336)) [`37f4282`](https://togithub.com/winstonjs/winston/commit/37f4282) - Bump actions/checkout from 3 to 4 ([#2346](https://togithub.com/winstonjs/winston/issues/2346)) [`fdcc893`](https://togithub.com/winstonjs/winston/commit/fdcc893) - Bump [@colors/colors](https://togithub.com/colors/colors) packgae to 1.6.0 ([#2353](https://togithub.com/winstonjs/winston/issues/2353)) [`dcbec34`](https://togithub.com/winstonjs/winston/commit/dcbec34) - Bump rimraf from 3.0.2 to 5.0.5 ([#2357](https://togithub.com/winstonjs/winston/issues/2357)) [`aaaa4c0`](https://togithub.com/winstonjs/winston/commit/aaaa4c0) - feat: add guardrails to the instantiation of a Profiler ([#2226](https://togithub.com/winstonjs/winston/issues/2226)) [`914b846`](https://togithub.com/winstonjs/winston/commit/914b846) - Bump [@types/node](https://togithub.com/types/node) from 20.3.1 to 20.4.2 ([#2329](https://togithub.com/winstonjs/winston/issues/2329)) [`23cb80c`](https://togithub.com/winstonjs/winston/commit/23cb80c) - Bug Fix: FileTransportOptions type missing lazy:boolean option ([#2334](https://togithub.com/winstonjs/winston/issues/2334)) [`1c43f7b`](https://togithub.com/winstonjs/winston/commit/1c43f7b)colinhacks/zod (zod)
### [`v3.23.8`](https://togithub.com/colinhacks/zod/releases/tag/v3.23.8) [Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.7...v3.23.8) #### Commits: - [`0f4d403`](https://togithub.com/colinhacks/zod/commit/0f4d403558ae0490c711e4c2bfcf6c200bd14e11) Add Bronze logos ([#3470](https://togithub.com/colinhacks/zod/issues/3470)) - [`1968731`](https://togithub.com/colinhacks/zod/commit/19687315b5b24bbd1ff6c346bfc2975700221748) Tweak tiers ([#3471](https://togithub.com/colinhacks/zod/issues/3471)) - [`eda7df3`](https://togithub.com/colinhacks/zod/commit/eda7df314399929f7ed737423868a5a0780cd944) Change RefinementCtx to interface - [`ca42965`](https://togithub.com/colinhacks/zod/commit/ca42965df46b2f7e2747db29c40a26bcb32a51d5) v3.23.8 ### [`v3.23.7`](https://togithub.com/colinhacks/zod/compare/v3.23.6...f985b5b922cb357dbf4b25bb43814d19f838e046) [Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.6...v3.23.7) ### [`v3.23.6`](https://togithub.com/colinhacks/zod/compare/v3.23.5...93b480b12ec3466cbd3b4182f7ce292e5c61528c) [Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.5...v3.23.6) ### [`v3.23.5`](https://togithub.com/colinhacks/zod/compare/v3.23.4...541a862e978f96eb391849a6bf16be84231aa1b3) [Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.4...v3.23.5) ### [`v3.23.4`](https://togithub.com/colinhacks/zod/releases/tag/v3.23.4) [Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.3...v3.23.4) #### Commits: - [`157b18d`](https://togithub.com/colinhacks/zod/commit/157b18d742c86d85b26a8421af46ad6d6d6b6ea7) Add 3.23 announcement - [`aedf93f`](https://togithub.com/colinhacks/zod/commit/aedf93f1435a29463d915c3be45b4dcbeefa8cc1) Revert change to default Input - [`45107f7`](https://togithub.com/colinhacks/zod/commit/45107f7a7230fe48ee24dc37e621422c9dc64ec4) v3.23.4 ### [`v3.23.3`](https://togithub.com/colinhacks/zod/compare/v3.23.2...103d2436f85872ca0e0e6247652989cc93d46a39) [Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.2...v3.23.3) ### [`v3.23.2`](https://togithub.com/colinhacks/zod/releases/tag/v3.23.2) [Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.1...v3.23.2) #### Commits: - [`c340558`](https://togithub.com/colinhacks/zod/commit/c340558d14f5222a2ca177e0591463c06cc5edc3) Update protocol - [`ef588d0`](https://togithub.com/colinhacks/zod/commit/ef588d036f3e98b832796e9a681dbaf097631ea0) Fix t3env - [`9df70dd`](https://togithub.com/colinhacks/zod/commit/9df70dd71195df951c43f180fbe5e64ea1f835df) 3.23.2 ### [`v3.23.1`](https://togithub.com/colinhacks/zod/compare/v3.23.0...2ff5ceb428634de0ea4501495039c05a8e95b60a) [Compare Source](https://togithub.com/colinhacks/zod/compare/v3.23.0...v3.23.1) ### [`v3.23.0`](https://togithub.com/colinhacks/zod/releases/tag/v3.23.0) [Compare Source](https://togithub.com/colinhacks/zod/compare/e7a9b9b3033991be6b4225f1be21da39c250bbb0...v3.23.0) Zod 3.23 is now available. This is the final `3.x` release before Zod 4.0. To try it out: ```sh npm install zod ``` #### Features ##### `z.string().date()` Zod can now validate ISO 8601 date strings. Thanks [@igalklebanov](https://togithub.com/igalklebanov)! [https://github.com/colinhacks/zod/pull/1766](https://togithub.com/colinhacks/zod/pull/1766) ```ts const schema = z.string().date(); schema.parse("2022-01-01"); // OK ``` ##### `z.string().time()` Zod can now validate ISO 8601 time strings. Thanks [@igalklebanov](https://togithub.com/igalklebanov)! [https://github.com/colinhacks/zod/pull/1766](https://togithub.com/colinhacks/zod/pull/1766) ```ts const schema = z.string().time(); schema.parse("12:00:00"); // OK ``` You can specify sub-second precision using the `precision` option: ```ts const schema = z.string().time({ precision: 3 }); schema.parse("12:00:00.123"); // OK schema.parse("12:00:00.123456"); // Error schema.parse("12:00:00"); // Error ``` ##### `z.string().duration()` Zod can now validate ISO 8601 duration strings. Thanks [@mastermatt](https://togithub.com/mastermatt)! [https://github.com/colinhacks/zod/pull/3265](https://togithub.com/colinhacks/zod/pull/3265) ```ts const schema = z.string().duration(); schema.parse("P3Y6M4DT12H30M5S"); // OK ``` ##### Improvements to `z.string().datetime()` Thanks [@bchrobot](https://togithub.com/bchrobot) [https://github.com/colinhacks/zod/pull/2522](https://togithub.com/colinhacks/zod/pull/2522) You can now allow *unqualified* (timezone-less) datetimes using the `local: true` flag. ```ts const schema = z.string().datetime({ local: true }); schema.parse("2022-01-01T12:00:00"); // OK ``` Plus, Zod now validates the day-of-month correctly to ensure no invalid dates (e.g. February 30th) pass validation. Thanks [@szamanr](https://togithub.com/szamanr)! [https://github.com/colinhacks/zod/pull/3391](https://togithub.com/colinhacks/zod/pull/3391) ##### `z.string().base64()` Zod can now validate base64 strings. Thanks [@StefanTerdell](https://togithub.com/StefanTerdell)! [https://github.com/colinhacks/zod/pull/3047](https://togithub.com/colinhacks/zod/pull/3047) ```ts const schema = z.string().base64(); schema.parse("SGVsbG8gV29ybGQ="); // OK ``` ##### Improved discriminated unions The following can now be used as discriminator keys in `z.discriminatedUnion()`: - `ZodOptional` - `ZodNullable` - `ZodReadonly` - `ZodBranded` - `ZodCatch` ```ts const schema = z.discriminatedUnion("type", [ z.object({ type: z.literal("A").optional(), value: z.number() }), z.object({ type: z.literal("B").nullable(), value: z.string() }), z.object({ type: z.literal("C").readonly(), value: z.boolean() }), z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }), z.object({ type: z.literal("E").catch("E"), value: z.unknown() }), ]); ``` ##### Misc - feature: allow falsy error message by [@fernandollisboa](https://togithub.com/fernandollisboa) in [https://github.com/colinhacks/zod/pull/3178](https://togithub.com/colinhacks/zod/pull/3178) - feature: add attribute message to enum validatiion by [@fernandollisboa](https://togithub.com/fernandollisboa) in [https://github.com/colinhacks/zod/pull/3169](https://togithub.com/colinhacks/zod/pull/3169) #### 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. [https://github.com/colinhacks/zod/pull/3247](https://togithub.com/colinhacks/zod/pull/3247) ```diff + | ZodPipelineConfiguration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.