diff --git a/README.md b/README.md index 6874a0a8b..b6b1a8102 100644 --- a/README.md +++ b/README.md @@ -193,7 +193,7 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
speakeasyapi.dev
-

SDKs, Terraform, Docs. Your API made enterprise-ready.

+

SDKs, Terraform, Docs.
Your API made enterprise-ready.

@@ -311,8 +311,6 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
seasoned.cc - - Bamboo Creative logo diff --git a/deno/lib/README.md b/deno/lib/README.md index fc114a3cb..b6b1a8102 100644 --- a/deno/lib/README.md +++ b/deno/lib/README.md @@ -193,7 +193,7 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
speakeasyapi.dev
-

SDKs, Terraform, Docs. Your API made enterprise-ready.

+

SDKs, Terraform, Docs.
Your API made enterprise-ready.

@@ -311,8 +311,6 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
seasoned.cc - - Bamboo Creative logo @@ -709,7 +707,7 @@ z.string().regex(regex); z.string().includes(string); z.string().startsWith(string); z.string().endsWith(string); -z.string().datetime(); // defaults to UTC, see below for options +z.string().datetime(); // ISO 8601; default is without UTC offset, see below for options z.string().ip(); // defaults to IPv4 and IPv6, see below for options // transformations @@ -748,7 +746,7 @@ z.string().ip({ message: "Invalid IP address" }); ### ISO datetimes -The `z.string().datetime()` method defaults to UTC validation: no timezone offsets with arbitrary sub-second decimal precision. +The `z.string().datetime()` method enforces ISO 8601; default is no timezone offsets and arbitrary sub-second decimal precision. ```ts const datetime = z.string().datetime(); @@ -2813,10 +2811,9 @@ This more declarative API makes schema definitions vastly more concise. [https://github.com/pelotom/runtypes](https://github.com/pelotom/runtypes) -Good type inference support. They DO support readonly types, which Zod does not. +Good type inference support. - Supports "pattern matching": computed properties that distribute over unions -- Supports readonly types - Missing object methods: (deepPartial, merge) - Missing nonempty arrays with proper typing (`[T, ...T[]]`) - Missing promise schemas