From d027abbaf156d81bdb636d2d8c59def6ec22653e Mon Sep 17 00:00:00 2001 From: Kevin Van Lierde Date: Thu, 7 Nov 2024 01:00:15 +0100 Subject: [PATCH] Release 3.1.0 --- CHANGELOG.md | 12 ++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f05a05..396a7c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,20 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [v3.1.0](https://github.com/metalsmith/permalinks/compare/v3.0.1...v3.1.0) + +- Improves debugging by preventing `dateFormatter` function from returning an anonymous function. Fix #143. [`#143`](https://github.com/metalsmith/permalinks/issues/143) +- Documents 'hidden' feature for custom date formatting function, adds date-fn test [`26203cc`](https://github.com/metalsmith/permalinks/commit/26203ccf5218ef32978be2df166a89b072fde23a) +- refactor: simplify date formatting logic and enhance dateFormatter function [`dffe27b`](https://github.com/metalsmith/permalinks/commit/dffe27b521438add56e5be382a917f94db5326b0) +- Improve debug & error message clarity [`3b754ab`](https://github.com/metalsmith/permalinks/commit/3b754ab9e04065227f14f2dc6e6618d2d2c96314) +- Drops support for Node < 14.18.0 to enable node:-prefixed imports [`c01345f`](https://github.com/metalsmith/permalinks/commit/c01345f1f2e5c269daa6b97c40baefc69577c547) +- refactor: update test case to match the scenario [`2484713`](https://github.com/metalsmith/permalinks/commit/248471342fec48b1a74a0a5a61182b1e4be1cad1) +- Adds README info about placeholder substitution for booleans/ arrays [`76a1349`](https://github.com/metalsmith/permalinks/commit/76a1349cbe5ed026665dfc17f5c6a76d09e941e2) + #### [v3.0.1](https://github.com/metalsmith/permalinks/compare/v3.0.0...v3.0.1) +> 19 January 2024 + - Fixes #139: don't slugify dirname, add nested file test, document default slug options in types [`#139`](https://github.com/metalsmith/permalinks/issues/139) - fix: slug options to defaultLinkset.slug, correct date jsdoc [`4b60c50`](https://github.com/metalsmith/permalinks/commit/4b60c5054c26daf591013dd63ba77fc0b9ac170b) - fix: accept simple quotes in permalinks as even Windows accepts it [`5af7d5d`](https://github.com/metalsmith/permalinks/commit/5af7d5d1552182aeeff145ce25a2afcc63fe207a) diff --git a/package-lock.json b/package-lock.json index 9884926..141c5ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@metalsmith/permalinks", - "version": "3.0.1", + "version": "3.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@metalsmith/permalinks", - "version": "3.0.1", + "version": "3.1.0", "license": "MIT", "dependencies": { "dlv": "^1.1.3", diff --git a/package.json b/package.json index 4bea77e..adeed19 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "type": "git", "url": "https://github.com/metalsmith/permalinks.git" }, - "version": "3.0.1", + "version": "3.1.0", "license": "MIT", "source": "src/index.js", "main": "lib/index.cjs",