Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deepmergets/CHANGELOG.md

Deeply merge 2 or more objects respecting type information.
Latest
File

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

7.0.3 (2024-06-06)

Bug Fixes

  • merge functions’ types (ca94270)

7.0.2 (2024-06-03)

Bug Fixes

  • support older module resolutions (063675e), closes #480

7.0.1 (2024-05-21)

Bug Fixes

7.0.0 (2024-05-20)

Code Refactoring

  • rename DeepMergeFunctionUtils to DeepMergeUtils (e821255)
  • rename DeepMergeMerge* to DeepMerge* (fd4d2d4)

Features

  • allow filtering out values before merging them (0784f63), closes #460

BREAKING CHANGES

  • rename DeepMergeFunctionUtils to DeepMergeUtils
  • rename DeepMergeMerge* to DeepMerge*
  • allow filtering out values before merging them

6.0.3 (2024-05-20)

Bug Fixes

  • deepmergeInto unsafe key value assignment (6b04863)

6.0.2 (2024-05-20)

Bug Fixes

  • return type when using empty records (6b4ff3f), closes #465

6.0.1 (2024-05-20)

Bug Fixes

  • type when merging index signatures (5e8b9b6), closes #459

6.0.0 (2024-05-19)

Bug Fixes

  • type when merging optional properties of a record (fa9ace2)

Build System

  • remove typing support for typescript<4.7 (f2f5956)

Features

  • allow restricting what types can be passed in as parameters (69e9ba3), closes #305
  • remove deprecated type DeepMergeLeafHKT (1982e56)
  • undefined will no longer replace defined values by default (9c86605)

Performance Improvements

  • remove BlacklistedRecordProps (19d4944)

BREAKING CHANGES

  • remove deprecated type DeepMergeLeafHKT
  • undefined will no longer replace defined values by default
  • The order of the generics of deepmergeCustom and deepmergeIntoCustom have changed. If you are passing generics to these functions you need to update them.
  • remove typing support for typescript<4.7

5.1.0 (2023-04-04)

Features

  • expose some of the internal utils (a11a03d)

5.0.0 (2023-03-18)

Bug Fixes

chore

  • drop support for node 12 and 14 (77016f7)

BREAKING CHANGES

  • drop support for node 12 and 14

5.0.0-next.4 (2023-03-18)

Bug Fixes

5.0.0-next.3 (2023-03-18)

Bug Fixes

5.0.0-next.2 (2023-02-06)

Features

  • create deepmergeInto function (9c350a0), closes #51

5.0.0-next.1 (2023-02-02)

chore

  • drop support for node 12 and 14 (77016f7)

BREAKING CHANGES

  • drop support for node 12 and 14

4.3.0 (2023-02-06)

Features

  • create deepmergeInto function (9c350a0), closes #51

4.2.2 (2022-09-19)

4.2.1 (2022-06-15)

Bug Fixes

4.2.0 (2022-06-15)

Features

  • export types for module resolution node 16 (20241c5)

Performance Improvements

  • ts: add variance annotations (cecc9db)
  • ts: use extends constraints on infer (f053e76)

4.1.0 (2022-06-13)

Features

  • treat module imports as records (20c0dfb), closes #133

4.0.4 (2022-06-13)

Bug Fixes

  • drop keys that have no enumerable properties (3363570)

4.0.3 (2022-04-06)

Bug Fixes

  • use explict return types for function that return a HKT (eb4183e), closes #94

4.0.2 (2022-03-31)

Bug Fixes

  • protect against prototype pollution (d637db7)

4.0.1 (2022-03-14)

Bug Fixes

  • deno: fix broken import in deno dist files (#85) (86faf2a)

4.0.0 (2022-02-26)

Bug Fixes

Features

  • allow for default merging via a special return value (658d1fd)
  • allow for implicit default merging (1d5e617)
  • allow for skipping properties completely via a special return value (#64) (676f2f6)

BREAKING CHANGES

  • MetaMetaData now must extends DeepMergeBuiltInMetaData

3.0.1 (2022-02-22)

Bug Fixes

  • allows readonly records in DeepMergeRecordsDefaultHKTInternalPropValueHelper (#60) (fc85dfa)

3.0.0 (2022-02-19)

Code Refactoring

  • unrequire unused types and values (c78e373)

Features

  • lone values will now be passed to mergeOthers rather than just returned (#57) (9c24584)
  • provide customizable meta data to custom merge functions (3d96692), closes #33

BREAKING CHANGES

  • some types have changed for deepmergeCustom

2.0.1 (2021-12-22)

2.0.0 (2021-11-22)

Bug Fixes

  • add better support for readonly types (#17) (ee59064)

BREAKING CHANGES

  • interface DeepMergeMergeFunctionURItoKind’s signature has changed

1.1.7 (2021-11-22)

Bug Fixes

  • incorrect resulting type when merging 3+ readonly tuples (#20) (696a1b2)

1.1.6 (2021-11-22)

Performance Improvements

  • convert recursive types to tail-recursive versions (#15) (4401ac2)

1.1.5 (2021-10-18)

Bug Fixes

  • deno: deno release fixup (4b8ca98)

1.1.4 (2021-10-18)

1.1.3 (2021-09-21)

Bug Fixes

1.1.2 (2021-09-17)

Bug Fixes

  • current and legacy types trying to using the same file resulting in one being overridden (#10) (a5f334b)

Performance Improvements

  • add early escapes to loos when merging unknown types (17a92e1)
  • directly request enumerable keys so that they don’t need to then be filtered (04a2a5f)
  • use imperative loops when building merged result of records (b36f7bc)

1.1.1 (2021-09-16)

Bug Fixes

  • add legacy type information (#6) (c7e1019)
  • only merge enumerable properties (#8) (0967070)

1.1.0 (2021-09-13)

Features

  • add support for custom merging (#4) (5413b81)

1.0.1 (2021-08-25)

Bug Fixes

  • husky install no longer runs on postinstall (7102229)

1.0.0 (2021-08-25)

Features

  • add “module” property to package.json (168747d)
  • add basic functionality (8e3ba66)