Skip to content

Releases: metalsmith/layouts

@metalsmith/layouts 3.0.0

11 Mar 01:02
v3.0.0
aba58c2
Compare
Choose a tag to compare
  • test: swap nyc for c8 for test coverage, migrate tests to ESM, update dotfiles 9855386
  • BREAKING: solves #179, loosen dependency on jstransformers: Adds required transform option to support custom transformers, no longer supports multiple transformers per instantiation c1f7c4c
  • BREAKING: defaults pattern to '**/*.{${inputFormats.join(',')}', reworks file filtering. Allows omitting .ext from layout property ec1c288
  • Updates README.md for layouts 3.x 89af28b
  • BREAKING: remove suppressNoFilesError in favor of debug.warn message 29c3b96
  • feat: adds extname option, as aligned with metalsmith/in-place 8d998ad
  • Fix TS & JSDoc descriptions, add defaults & example 0a77660
  • Drops Node < v14.18.0 support, use node: namespaced imports 4cf3c1d
  • Fix: only log rename when actual rename occurs 5a25943
  • BREAKING: default export no longer exposes getTransformer d7c523a
  • Drops support for Node < 14.14.0 6d4dbd8

@metalsmith/layouts 2.7.0

03 Apr 21:23
v2.7.0
ea30bb9
Compare
Choose a tag to compare
  • Fix docs for pattern option #188
  • Swaps out debug for metalsmith.debug & enhances debug log output f8cd111
  • Renames default export to layouts for better intellisense 10eaa0c

@metalsmith/layouts 2.6.0

04 Sep 11:01
v2.6.0
43394b2
Compare
Choose a tag to compare
  • feat: dual bundling ESM/CJS 771212c
  • feat: added Typescript support 507bb47

Breaking change for uncommon use case:
If you previously imported/required the get-transformer.js module directly from @metalsmith/layouts/lib/get-transformer.js, you should now require it like so: require('@metalsmith/layouts').getTransformer or import it like so import layouts from '@metalsmith/layouts'; layouts.getTransformer...

@metalsmith/layouts 2.5.1

16 May 20:00
v2.5.1
664900c
Compare
Choose a tag to compare
  • Resolves #183: pass the transformed list of files to metalsmith.match… #184
  • Merge pull request #184 from doteco/master #183
  • Resolves #183: pass the transformed list of files to metalsmith.match so that renamed files can be matched #183

@metalsmith/layouts 2.5.0

02 May 21:28
v2.5.0
0b0f797
Compare
Choose a tag to compare
  • Resolves #181, use metalsmith.match instead of multimatch #181
  • Remove semicolons, run formatting. Remove devDependencies 605559a
  • feat: add JSdocs, named plugin function 30411dd
  • Dependencies: updates debug to 4.3.4 1a33ff2
  • Drop Node < 12 support 4cd7c4d

@metalsmith/layouts 2.4.0

21 Dec 22:10
v2.4.0
4702a92
Compare
Choose a tag to compare
  • Update dependencies and health files and fix linter problems #177
  • Return when done #173
  • Improve readme #172
  • Resolves #180: Align dotfiles, repo with core plugin setup #180
  • deps: update dependencies and fix prefer-object-spread b10b175

2.3.1

07 Apr 12:30
Compare
Choose a tag to compare
  • Prepare 2.3.1 cdc12fa
  • Add test for filename prefix on rendering error message (#171) 69a3f52
  • Prepend the current filename to the transformer error message. (#169) 6604a57
  • Update readme (#170) 0b71788

v2.3.0...v2.3.1

2.1.0

25 Jan 10:27
128b5ab
Compare
Choose a tag to compare
  • add a documentation link to the error messages
  • add debug for better debugging

2.0.0

11 Jan 10:54
1c547d9
Compare
Choose a tag to compare
  • moved to jstransformers (and dropped consolidate)
  • breaking: dropped node 0.12 and node 4 support
  • breaking: removed options:
    • engine: inferred automatically from the layout extension by jstransformer
    • partials: use metalsmith-register-partials instead
    • partialExtension: no longer necessary
    • rename: use metalsmith-rename instead
    • exposeConsolidate: no longer necessary

1.8.1

20 Apr 08:17
Compare
Choose a tag to compare
  • fix "too many opened files" error