Patch Changes
-
bigint()fromremix/data-schema/coercenow rejects strings longer than 4,096 UTF-16 code units, including surrounding whitespace, with anExpected bigint string of at most 4096 charactersissue. This bounds the workBigInt()does on untrusted input such as form fields and query parameters. (#12423) -
Fix TypeScript declaration emit (
declaration: true/composite: true) failing withTS2883andTS4023when exporting anobject()schema without an explicit type annotation.object()no longer leaks the unexportedschemaMetadatasymbol orSchemaMetadatatype into its inferred return type, andSchemais now aninterfaceso emitted declarations referenceSchemadirectly without expanding internal@standard-schema/spectypes. (#12501) -
Fix
object()andrecord()results missing keys that passed validation. Declared fields, passthrough fields, and keys produced by record key transforms are now always own properties of the result. (#12373)