Skip to content

Ack 2.0.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@leoafarias leoafarias released this 05 Nov 20:56
· 8 commits to main since this release
9d62844
  • Breaking: Object defaults fill omitted keys; explicit JSON null requires
    a nullable property. Missing or null defaulted fields encode as the default.
  • Breaking: Generated models follow the same null/default rules. Keep
    @Validate.*, regenerate model parts, and upgrade all five packages together.
  • Include the fixes documented in each package's beta.2 changelog.

Fixed

  • Validate internationalized hostnames and email domains against the IDNA2008
    repertoire pinned to Unicode 12.0.0, with RFC 5892 ContextJ and ContextO and
    RFC 5893 Bidi rules, and validate plain ASCII hostnames under RFC 1123.
  • Tighten URI, IRI, and relative JSON pointer formats: reject a second fragment
    delimiter, accept colons where relative references allow them, enforce
    RFC 3987 code point ranges, and accept line terminators in relative JSON
    pointer tokens.
  • Preserve nested resource dialects for JSON pointers into extension
    containers.
  • Interpolate field values in generated schema-first toString() output.
  • Generate runtime-validated value models for custom or caller-supplied
    dialects, honor dialect resources under alias URIs, keep unknown properties
    through preserve-mode widening for any JSON map key type, and preserve exact
    integer bounds beyond 2^53.

Package changelogs