Packages

arktype

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

Upgrading arktype from 0.6.0 to 2.2.9

44 releases in betweennotes for 21

Reading releases, release notes and advisories…

The note of 2.0.0 lists no breaking change or deprecation, which is rare for a major.
?
changes to make
0
advisories fixed
12+
new
2+
fixes

Counted from 21 of 44 release notes. Advisories are counted from the advisory database, in full.

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.0.0 – 2.1.2733 releases, nothing new or fixed; 23 without a note

9 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
  • "assert": accept unknown, throw if none of the cases match

    2.1.0
  • "never": accept an input based on inferred cases, throw if none match

    2.1.0
  • "reject": accept unknown, return ArkErrors if none of the cases match

    2.1.0
  • (data: In) => unknown: handle data not matching other cases directly

    2.1.0
  • Initial stable release 🎉

    2.0.0