6.0.0 (2024-12-06)
- Split Schema type definition into two separate types:
- SchemaItem: represents a single transformation rule
- Schema: represents an array of SchemaItems
- split Schema type into SchemaItem and Schema (08a9ac5)
5.0.0 (2024-12-06)
- The
extra
parameter in transmute() and related types has been renamed tocontext
to better reflect its purpose in providing contextual data for transmutations. This change affects the public API including type definitions, function parameters, and documentation.
- rename extra parameter to context (b8ca220)
4.0.0 (2024-11-01)
- types: Changed Extra type parameter default from unknown to undefined for better type inference and runtime behavior alignment.
- types: switch Extra type parameter default to undefined (83c5a56)
3.1.0 (2024-10-31)
- transmute: infer transmuter context param based on transmute call (c83b1c0)
3.0.0 (2024-10-31)
- Schema type now enforces strict type compatibility between source and target properties. Code with mismatched types in direct property mappings will need to be updated to use Transmuter for type conversion or fix the type mismatch.
- enforce type compatibility in schema mappings (cc26b94)
2.1.0 (2024-10-30)
- enforce strict return types in transmuter functions (bb575df)
2.0.0 (2024-10-28)
- made the usage of fn or
to
exclusive. So they can't used both at the same time now.
- improved type safety for context param (f8247b1)
1.0.1 (2024-10-27)
- trigger release (2872d9f)