Releases: metalsmith/layouts
Releases · metalsmith/layouts
@metalsmith/layouts 3.0.0
- 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
@metalsmith/layouts 2.6.0
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
@metalsmith/layouts 2.5.0
@metalsmith/layouts 2.4.0
2.3.1
2.1.0
2.0.0
- 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 jstransformerpartials: use metalsmith-register-partials insteadpartialExtension: no longer necessaryrename: use metalsmith-rename insteadexposeConsolidate: no longer necessary