Skip to content

Latest commit

 

History

History
160 lines (76 loc) · 5.32 KB

CHANGELOG.md

File metadata and controls

160 lines (76 loc) · 5.32 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

6.0.0 (2022-03-21)

⚠ BREAKING CHANGES

  • Use named exports:
  • import defu from 'defu' => import { defu } from 'defu'
  • defu.fn => import { defuFn }
  • defu.arrayFn => import { defuArrayFn }
  • When merging input value with defaults with an array, order is reversed

Features

  • concat array defaults to the last (f6df314)
  • use named exports (4a8fc52)

Bug Fixes

5.0.1 (2022-01-13)

5.0.0 (2021-05-12)

⚠ BREAKING CHANGES

  • undefined values will be bypassed and not consistent behavior with defaults-deep anymore.

Features

4.0.1 (2021-04-23)

4.0.0 (2021-04-23)

⚠ BREAKING CHANGES

  • module exports

Features

3.2.2 (2020-11-10)

Bug Fixes

  • switch back to bili for es5 support till fixing in siroc (07786c2)

3.2.1 (2020-11-09)

Bug Fixes

  • types: correct type inference where merged types are same (#26) (f322607)

3.2.0 (2020-11-09)

Features

  • add type inference for defu result (#24) (934d736)
  • pass namespace to custom merger (#25) (6bd7ef5)

3.1.0 (2020-08-04)

Features

3.0.1 (2020-07-29)

Bug Fixes

  • recursively pass merger (ec09394)

3.0.0 (2020-07-28)

⚠ BREAKING CHANGES

  • defau will merge arrays too (#18)

Features

2.0.4 (2020-05-22)

Bug Fixes

2.0.3 (2020-05-22)

Bug Fixes

  • specify type declaration file more precisely (#15) (6aa47d4)

2.0.2 (2020-04-19)

2.0.1 (2020-04-19)

Docs

  • Add note about null

2.0.0 (2020-04-19)

Features

  • Support passing multiple defaults (89ef702)
  • Typescript rewrite (9c906e6)

1.0.0 (2020-02-02)

0.0.4 (2020-01-01)

Bug Fixes

0.0.3 (2019-05-25)

0.0.2 (2019-05-25)

0.0.1 (2019-02-07)

Bug Fixes

  • imrpove non-object handlers (f89fa28)