Metalsmith v2.5.1 Release Notes
Release Date: 2022-10-07 // over 2 years agoPrevious changes from v2.5.0
-
Important note to metalsmith-watch users: 🚀 Although 2.5.0 is a semver-minor release, it breaks compatibility with metalsmith-watch, which relies on the Metalsmith < 2.4.x private method signature using the outdated unyield package. See issue #374 for more details.
➕ Added
- 👍 #354 Added
Metalsmith#env
method. Supports passingDEBUG
andDEBUG_LOG
amongst others. SetsCLI: true
when run from the metalsmith CLI.b42df8c
,446c676
,33d936b
,4c483a3
- 🔌 #356 Added
Metalsmith#debug
method for creating plugin debuggers - ⬆️ #362 Upgraded all generator-based methods (
Metalsmith#read
,Metalsmith#readFile
,Metalsmith#write
,Metalsmith#writeFile
,Metalsmith#run
andMetalsmith#process
) to dual callback-/ promise-based methods16a91c5
,faf6ab6
,6cb6229
- ➕ Added org migration notification to postinstall script to encourage users to upgrade
3a11a24
✂ Removed
- 👍 [#231] Dropped support for Node < 12
0a53007
- Dependencies:
⚡️ Updated
- ⚡️ Restructured and updated
README.md
0da0c4d
- 📇 #247 Calling
Metalsmith#metadata
no longer clones the object passed to it, overwriting the previous metadata, but merges it into existing metadata.
🛠 Fixed
- 👍 #354 Added