Skip to content

2.0.1

Compare
Choose a tag to compare
@Tahul Tahul released this 31 May 17:58
· 709 commits to main since this release

Important notes

Since #1176, we've modified the descending sorting behavior to be -1 instead of 0 to stick with Mongo sort syntax.

- queryContent('/my-directory').sort({ createdAt: 0 })
+ queryContent('/my-directory').sort({ createdAt: -1 }) 

Features

We added content:file:beforeParse and content:file:afterParse hooks to manipulate the data before and after its transformation, you can read more in the advanced section of the documentation. PR #1160 by @farnabaz

Fixes

Docs

Misc

  • chore(deps): update devdependency lint-staged to ^12.4.3 by @renovate in #1173
  • chore(deps): update all non-major dependencies by @renovate in #1134
  • chore(deps): lock file maintenance by @renovate in #1172
  • chore(deps): update devdependency lint-staged to ^12.5.0 by @renovate in #1186

New Contributors

Full Changelog: 2.0.0...2.0.1