Skip to content

Latest commit

 

History

History
88 lines (42 loc) · 3.41 KB

CHANGELOG.md

File metadata and controls

88 lines (42 loc) · 3.41 KB

Changelog

6.0.0 (2024-12-06)

⚠ BREAKING CHANGES

  • Split Schema type definition into two separate types:
    • SchemaItem: represents a single transformation rule
    • Schema: represents an array of SchemaItems

Code Refactoring

  • split Schema type into SchemaItem and Schema (08a9ac5)

5.0.0 (2024-12-06)

⚠ BREAKING CHANGES

  • The extra parameter in transmute() and related types has been renamed to context to better reflect its purpose in providing contextual data for transmutations. This change affects the public API including type definitions, function parameters, and documentation.

Code Refactoring

  • rename extra parameter to context (b8ca220)

4.0.0 (2024-11-01)

⚠ BREAKING CHANGES

  • types: Changed Extra type parameter default from unknown to undefined for better type inference and runtime behavior alignment.

Code Refactoring

  • types: switch Extra type parameter default to undefined (83c5a56)

3.1.0 (2024-10-31)

Features

  • transmute: infer transmuter context param based on transmute call (c83b1c0)

3.0.0 (2024-10-31)

⚠ BREAKING CHANGES

  • 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.

Features

  • enforce type compatibility in schema mappings (cc26b94)

2.1.0 (2024-10-30)

Features

  • enforce strict return types in transmuter functions (bb575df)

2.0.0 (2024-10-28)

⚠ BREAKING CHANGES

  • made the usage of fn or to exclusive. So they can't used both at the same time now.

Features

  • improved type safety for context param (f8247b1)

1.0.1 (2024-10-27)

Bug Fixes

1.0.0 (2024-10-27)

Features