@@ -193,7 +193,7 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
193
193
<br />
194
194
<a href="https://speakeasyapi.dev/">speakeasyapi.dev</a>
195
195
<br />
196
- <p width="200px">SDKs, Terraform, Docs. Your API made enterprise-ready.</p>
196
+ <p width="200px">SDKs, Terraform, Docs.<br/> Your API made enterprise-ready.</p>
197
197
</td>
198
198
<td align="center">
199
199
<a href="https://glow.app/">
@@ -311,8 +311,6 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
311
311
<br />
312
312
<a href="https://seasoned.cc">seasoned.cc</a>
313
313
</td>
314
- </tr >
315
- <tr >
316
314
<td align="center">
317
315
<a href="https://www.bamboocreative.nz/">
318
316
<img src="https://avatars.githubusercontent.com/u/41406870?v=4" width="150px;" alt="Bamboo Creative logo" />
@@ -709,7 +707,7 @@ z.string().regex(regex);
709
707
z .string ().includes (string );
710
708
z .string ().startsWith (string );
711
709
z .string ().endsWith (string );
712
- z .string ().datetime (); // defaults to UTC, see below for options
710
+ z .string ().datetime (); // ISO 8601; default is without UTC offset , see below for options
713
711
z .string ().ip (); // defaults to IPv4 and IPv6, see below for options
714
712
715
713
// transformations
@@ -748,7 +746,7 @@ z.string().ip({ message: "Invalid IP address" });
748
746
749
747
### ISO datetimes
750
748
751
- The ` z.string().datetime() ` method defaults to UTC validation: no timezone offsets with arbitrary sub-second decimal precision.
749
+ The ` z.string().datetime() ` method enforces ISO 8601; default is no timezone offsets and arbitrary sub-second decimal precision.
752
750
753
751
``` ts
754
752
const datetime = z .string ().datetime ();
@@ -2813,10 +2811,9 @@ This more declarative API makes schema definitions vastly more concise.
2813
2811
2814
2812
[ https://github.com/pelotom/runtypes ] ( https://github.com/pelotom/runtypes )
2815
2813
2816
- Good type inference support. They DO support readonly types, which Zod does not.
2814
+ Good type inference support.
2817
2815
2818
2816
- Supports "pattern matching": computed properties that distribute over unions
2819
- - Supports readonly types
2820
2817
- Missing object methods: (deepPartial, merge)
2821
2818
- Missing nonempty arrays with proper typing (` [T, ...T[]] ` )
2822
2819
- Missing promise schemas
0 commit comments