|
7 | 7 | - Supported `http-errors` versions: `^2.0.1`; |
8 | 8 | - Supported `zod` versions: `^4.1.13`: |
9 | 9 | - This Zod patch contains an [important fix](https://github.com/colinhacks/zod/pull/5452) that makes the |
10 | | - `globalRegistry` really global across both CJS and ESM bundles of Zod distribution; |
| 10 | + `globalRegistry` truly global across both CJS and ESM bundles of the Zod distribution; |
11 | 11 | - The issue was found and reported by [@shadone](https://github.com/shadone); |
12 | | -- New version of Zod plugin now also extends the CJS exports of Zod: |
13 | | - - This fixes the "TypeError: example is not a function" in CJS and removes the requirement to use ESM environment; |
14 | | - - The issue reported by [@squishykid](https://github.com/squishykid), and addressed earlier in [v25.5.3](#v2553); |
| 12 | +- The new version of the Zod plugin now also extends the CJS exports of Zod: |
| 13 | + - This fixes the "TypeError: example is not a function" in CJS and removes the requirement to use an ESM environment; |
| 14 | + - The issue was reported by [@squishykid](https://github.com/squishykid) and addressed earlier in [v25.5.3](#v2553); |
15 | 15 | - `DependsOnMethod` removed: |
16 | 16 | - You can now specify methods as direct keys of an assigned object in `Routing`; |
17 | 17 | - That object can still contain nested paths as before; |
18 | | - - The keys matching lowercase HTTP methods are treated according to the new config setting `methodLikeRouteBehavior`: |
19 | | - - `method` — when assigned with an Endpoint the key is treated as method of its parent path (default); |
| 18 | + - Keys matching lowercase HTTP methods are treated according to the new config setting `methodLikeRouteBehavior`: |
| 19 | + - `method` — when assigned with an Endpoint, the key is treated as a method of its parent path (default); |
20 | 20 | - `path` — the key is always treated as a nested path segment; |
21 | | -- `options` property renamed to `ctx` in argument of: |
| 21 | +- The `options` property has been renamed to `ctx` in the argument of: |
22 | 22 | - `Middleware::handler()`, |
23 | 23 | - `ResultHandler::handler()`, |
24 | | - - `handler` of `EndpointsFactory::build()` argument, |
| 24 | + - The `handler` of the `EndpointsFactory::build()` argument, |
25 | 25 | - `testMiddleware()`; |
26 | 26 | - `EndpointsFactory::addOptions()` renamed to `addContext()`; |
27 | | -- The `Integration::constructor()` argument object now requires `config` property, similar to `Documentation`; |
| 27 | +- The `Integration::constructor()` argument object now requires a `config` property, similar to `Documentation`. |
28 | 28 |
|
29 | 29 | ```patch |
30 | 30 | const routing: Routing = { |
|
0 commit comments