v1.3.0 / 2022-09-27
- Provides dual ESM/CJS bundle
61430d4
- Adds Typescript types support
9f9b36c
- Replaced debug with
metalsmith.debug
8df9e65
(by @leviwheatcroft)
v1.2.2 / 2022-07-28
- Resolves
#102
: removes multimatch dependency, uses metalsmith.match instead - Drops support for Metalsmith < 2.4.1
- Drops support for Node < 12
v1.2.1 / 2022-02-03
- Fixes
#99
: collection key on file metadata - no dupes, no nested arrays - Fixes regression: incorrect previous & next refs when reverse: true
- Fixes typo's in README
v1.2.0 / 2022-01-29
- Feature: sortBy now also understands nested metadata properties, e.g.
sortBy: 'meta.display.order'
- Fixed JSDoc typo that made type hints unavailable
- Documented limit & refer options
- Improved README.md with more elaborate examples
- Refactored to cleaner code
- Removed dependencies:
extend
,uniq
- Added dependency
lodash.get
- Added core-plugin tests
- Updated devDependencies release-it, prettier, eslint
v1.1.0 / 2021-15-12
- Added standardised code formatting and QA
#86
- Updated History with v1 PRs
#85
- Added better JSDoc types, return named plugin function
3aa3443
- Updated multimatch to 4.0.0, debug to 4.3.3
71d6f65
- Fixed API and merged many PRs
- Allow metadata-based filtering with
filterBy
option - removed unused module
- Add documentation:
sortBy
can be a function - display only matching files when debugging
- assign data.path where undefined
- Clear collections
- Added multiple collections syntax to Readme.md
- Allow front matter and pattern collections.
- Added the ability to limit the size of a collection
- Allow collections through metadata alone
- add ability to disable next/previous references
- Added the ability to set multiple collections
- Fixed bug with require statement
- Added the ability to add metadata to collections
- fix empty collections
- add option for
sortBy
to be a sorting function
- add
collection
property to each file for pattern matches
- add collections dictionary to global metadata
- add matching by pattern
- add shorthand for pattern matching
- add previous and next references
- add debug statements
- swap to
extend
fromdefaults
to avoid cloning
- swap to
merge
to not act on clones
✨