Packages

exact-mirror

1.2.6 · 6 Sep 2026MIT1.2M / weekRepositorynpmAtom feed

Upgrading exact-mirror from 0.2.1 to 1.2.6

18 releases in betweennotes for 11

Other targets from 0.2.1Newest 0.x0.2.7
1.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
?
changes to make
0
advisories fixed
2+
new
1+
fix

Counted from 11 of 18 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 1.2.1 – 1.2.66 releases, nothing new or fixed in the notes

  2. 1.2.0

    15 Jun 20261 new
    • new

      Add decode / encode codec transform mode. A drop in replacement for TypeBox Value.Decode

  3. 1.1.1nothing new or fixed in the note

  4. 1.1.0

    9 Jun 20261 new · 1 fix
    • new

      Support cyclic schema (~kind: 'Cyclic'): each $defs definition compiles to its own mirror function and recursion happens between functions at runtime — unbounded depth, no recursionLimit truncation, no exponential ref inlining, modules option no longer required

    • fixed

      Handle array schema without items and object schema without properties, eg. elysia t.ArrayString() inside a union crashed codegen

  5. 0.2.2 – 1.0.29 releases, nothing new or fixed; 7 without a note

20 other lines we could not sort, mostly version bumps
  • Encode an union member (or array element)

    1.2.6
  • A decoded value that no sibling matches (e.g. a JSON array next to an object member) is returned as-is

    1.2.6
  • sanitize still applies inside a container-shaped codec

    1.2.6
  • Scalar codecs (Numeric, Date) no longer re-enter their union on decode

    1.2.6
  • decode stop dropping optional fields of a container produced by a codec

    1.2.5
  • sanitize now not applied to a codec decoded value

    1.2.5
  • Codec missing field is sometime lossy

    1.2.4
  • A __proto__ key in a record value no longer hijacks the cleaned output's prototype

    1.2.3
  • Building a mirror over a union no longer throws on a frozen union member (e.g. Elysia's Object.freezed coercion singletons)

    1.2.2
  • A plain Ref used as a union member is now resolved against definitions before the union's Compile gate, so the ref branch validates and decodes instead of falling through undecoded

    1.2.2