Skip to content

@metalsmith/collections 2.0.0

Latest

Choose a tag to compare

@webketje webketje released this 11 Jan 18:23
· 1 commit to main since this release
v2.0.0
acc86a4
  • Closes #98: adds 'first' & 'last' references when refer:true #98
  • BREAKING: Closes #101: condenses sortBy, reverse into sort option. Renames filterBy option to filter. #101
  • Updates README.md, fixes ESLint issues, versions build to allow npm installing from repo f9da8e4
  • BREAKING: references (previous, next,..) are set on file.collection[name][previous/next] as arrays 8c7d9d6
  • BREAKING: collections are only available via metalsmith.metadata().collections e8e2760
  • Require metalsmith > 2.6.0 & use metalsmith.matter instead of removed dependency read-metadata c0748fa
  • BREAKING: collection metadata can only be added from in-source files df507d6
  • BREAKING: Make metadata accessible from Collection array instead of '.metadata' property 42f45c8
  • BREAKING: Adds 'path' property to sorting context, and changes the default sorting to path:asc 64b5f72
  • Drops support for Node < 14.14.0, updates CI, drops Gitter notification 36eb59d
  • BREAKING: no longer sets 'file.path' property df26510
  • Better documentation for sorting + typescript 1d3f81e