Packages

arktype

2.2.9 · 20 Oct 2026MIT3.4M / weekRepositoryHomepagenpmAtom feed

Upgrading arktype from 2.1.26 to 2.2.9

12 releases in betweenevery note read

0
changes to make
0
advisories fixed
12
new
2
fixes

Release by release

  1. 2.2.8 – 2.2.92 releases, nothing new or fixed in the notes

  2. 2.2.7

    1 Oct 20262 fixes
    • fixed

      Unions of objects disjoint at a key no longer throw undefined is not a function on Hermes (Expo, React Native), which doesn't preserve Array subclasses through map.

    • fixed

      scope.module no longer references this from a static arrow function, which Turbopack could compile to undefined.

  3. 2.2.1 – 2.2.65 releases, nothing new or fixed in the notes

  4. 2.2.0

    4 Mar 202610 new
    • new

      |> string-embeddable pipe operator

    • new

      type.valueOf for TS enums

    • new

      string.hex + string.regex keywords

    • new

      Serializable ArkErrors (flatByPath, flatProblemsByPath, toJSON)

  5. 2.1.29nothing new or fixed in the note

  6. 2.1.28

    3 Dec 20252 new
    • new

      Adds support for the new Standard JSON Schema interface (see standardschema.dev)

    • new

      Now accepts a target option and can generate draft-07 in addition to draft-2020-12

  7. 2.1.27nothing new or fixed in the note

4 other lines we could not sort, mostly version bumps
  • A predicate, a second pattern, a Date bound or an array's non-index props is dropped from the schema it constrains

    2.2.9
  • bigint, symbol, a non-JSON unit like undefined and any prototype other than Array become {}

    2.2.9
  • A variadic tuple with postfix elements keeps its prefix and minItems, but not its items

    2.2.9
  • A default that isn't JSON is omitted

    2.2.9