All Versions
48
Latest Version
Avg Release Cycle
122 days
Latest Release
899 days ago

Changelog History
Page 1

  • v2.5.1 Changes

    October 07, 2022

    ⚡️ Updated

    • Dependencies: 774a164
      • debug: 4.3.3 ▶︎ 4.3.4
    • Clarified semver policy in README.md
    • ➕ Added SECURITY.md

    🛠 Fixed

    • 🛠 Fixes #373: do not crash when postinstall script fails in specific environments
  • v2.5.0 Changes

    June 10, 2022

    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 passing DEBUG and DEBUG_LOG amongst others. Sets CLI: 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 and Metalsmith#process) to dual callback-/ promise-based methods 16a91c5, faf6ab6, 6cb6229
    • ➕ Added org migration notification to postinstall script to encourage users to upgrade 3a11a24

    ✂ Removed

    • 👍 [#231] Dropped support for Node < 12 0a53007
    • Dependencies:
      • thunkify: replaced with promise-based implementation faf6ab6
      • unyield replaced with promise-based implementation faf6ab6
      • co-fs-extra: replaced with native Node.js methods faf6ab6
      • chalk: not necessary for the few colors used by Metalsmith CLI 1dae1cb
      • clone: see [#247] a871af6

    ⚡️ 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

    • #355 Proper path resolution for edge-cases using CLI, running metalsmith from outside or subfolder of metalsmith.directory()5d75539
  • v2.4.3 Changes

    May 16, 2022

    ⚡️ Updated

    • Dependencies: 774a164
      • micromatch: 4.0.4 ▶︎ 4.0.5
    • ⚡️ Updated README.md

    🛠 Fixed

  • v2.4.2 Changes

    February 13, 2022

    ⚡️ Updated

    • Dependencies: af9dec0
      • chalk: 3.0.0 ▶︎ 4.1.2
    • ⚡️ Updated README.md

    🛠 Fixed

    • 🛠 Fixed Metalsmith JSDoc type hints in VS code ebf82f4
    • ➕ Added package integrity test c539c67
  • v2.4.1 Changes

    January 31, 2022

    🛠 Fixed

    🛠 Bugfix: include index.js in package.json files

  • v2.4.0 Changes

    January 31, 2022

    ➕ Added

    • 🔌 #338 Added Metalsmith#match method. Plugins no longer need to require a matching library 705c4bb, f01c724
    • 💅 #358 Added TS-style JSdocs 828b17e
    • 👉 Use native fs.rm instead of rimraf when available (Node 14.4+) fcbb76e, 66e4376
    • #226 Allow passing a gray-matter options object to Metalsmith#frontmatter a6438d2
    • Modernized dev setup ef7b781
    • ➕ Added 8 new tests (match method, front-matter options, path & symbolic link handling)
    • Files object file paths are now guaranteed to be sorted aphabetically. 4eb1184
    • 🏗 #211 Metalsmith#build now returns a promise which you can attach a then/catch to or await. The build callback model is still available. 6d5a42d

    ✂ Removed

    • 👍 #231 Dropped support for Node < 8 2db47f5, 75e6878
    • Dependencies:
      • has-generators: obsolete in supported Node versions 2db47f5
      • absolute replaced with native Node path.isAbsolute c05f9e2 (@Zearin)
      • is replaced with own implementation 7eaac9e2, 54dba0c1 (@Zearin)
      • recursive-readdir: replaced with own implementation 4eb1184

    ⚡️ Updated

    • Dependencies: 75e6878

      • chalk: 1.1.3 ▶︎ 3.0.0
      • gray-matter: 2.0.0 ▶︎ 4.0.3
      • stat-mode: 0.2.0 ▶︎ 1.0.0
      • rimraf: 2.2.8 ▶︎ 3.0.2
      • ware: 1.2.0 ▶︎ 1.3.0
      • commander (used in CLI): 2.15.1 ▶︎ 6.2.1
      • win-fork (used in CLI): replaced with cross-spawn:7.0.3
    • ⚡️ Updated CHANGELOG.md format to follow “Keep A Changelog” (#266) (@Zearin)

    🛠 Fixed

    • 👀 #206 Metalsmith#ignore now only matches paths relative to Metalsmith#source (as it should). See linked issue for details 4eb1184
    • 🏗 #226 Metalsmith will no longer 'swallow' errors on invalid front-matter, they will be passed to Metalsmith#build a6438d2
    • 🛠 Fix test error on Windows [#158] (@moozzyk)
    • #281 Metalsmith now properly handles symbolic links (will throw an ENOENT error or they can be Metalsmith#ignore'd) 4eb1184
    • #178 Metalsmith#ignore now removes the matched files before they are statted for glob-based ignores (saving some perf & potential errors).
    • 🏗 #295 Metalsmith now catches all FS errors and passes them to the build callback/ thenable appropriately.

    🔒 Security

    • Replace all occurences of new Buffer with Buffer.from
    🛠 npm audit vulnerability fixes
    • Development Dependencies:
      • coveralls: 2.11.6 ▶︎ 3.0.1 (#308) (@Zearin) Fix 5 “Moderate” vulnerabilities
      • metalsmith-markdown: 0.2.1 ▶︎ 0.2.2 (#312) (@Zearin) Fix 1 “Low” vulnerability
  • v2.3.0 Changes

    October 28, 2016

    ➕ Added

    • ➕ Add packaging metadata to build the metalsmith snap (#249)

    ⚡️ Updated

    • ⚡️ Update dependencies (#246)

    ✂ Removed

    • ✂ Remove unused dependencies

    🛠 Fixed

    • 🛠 Fix error when reading a symbolic link to a dir (#229)

    🔒 Security

    • 🔒 Upgrade dependency to include security fix (#258)
  • v2.2.2 Changes

    October 28, 2016

    🚀 This version is the same as 2.2.0, and was released to counteract the accidental 🚀 release of 2.2.1. (See 2.2.1 for details.)

  • v2.2.1 Changes

    October 27, 2016

    🚀 This release is identical to 2.3.0, but was mistakenly released as a 🚀 SemVer-patch version when it should have been released as a SemVer-minor version. Please use versions <= 2.2.0 or >= 2.2.2 instead.

  • v2.2.0 Changes

    August 12, 2016

    ➕ Added

    • ➕ Add ability to use functions for ignore matchers (#179)
    • ➕ Add CLI option: ignore (#232)
    • ➕ Add process to process files and plugins without writing files (#244)

    🔄 Changed

    • 🚚 Only remove the contents of the destination directory (not the directory itself) when clean is true (#221)