From e50528bc4f531fbbe98d4aef31ceac79d5d49ee2 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 21 Mar 2022 14:48:17 +0100 Subject: [PATCH] chore(release): 6.0.0 --- CHANGELOG.md | 21 +++++++++++++++++++++ package.json | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec02e2b..7528418 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,27 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [6.0.0](https://github.com/unjs/defu/compare/v5.0.1...v6.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](https://github.com/unjs/defu/commit/f6df314c26540591c3ac6534c6942edc3b06384f)) +* use named exports ([4a8fc52](https://github.com/unjs/defu/commit/4a8fc52c228d82949384a50efe8f0052e9eaba68)) + + +### Bug Fixes + +* workaround for [#32](https://github.com/unjs/defu/issues/32) ([7b1f284](https://github.com/unjs/defu/commit/7b1f284b76d2a4706b37adbdb99c49ec9d2d35aa)) + ### [5.0.1](https://github.com/unjs/defu/compare/v5.0.0...v5.0.1) (2022-01-13) ## [5.0.0](https://github.com/unjs/defu/compare/v4.0.1...v5.0.0) (2021-05-12) diff --git a/package.json b/package.json index 4a01ab3..07abe54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "defu", - "version": "5.0.2-alpha", + "version": "6.0.0", "description": "Recursively assign default properties. Lightweight and Fast!", "repository": "unjs/defu", "license": "MIT",