github nuxt/content 2.0.1

latest releases: v3.0.0-alpha.6, v3.0.0-alpha.5, v3.0.0-alpha.4...
2 years ago

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

Don't miss a new content release

NewReleases is sending notifications on new releases.