Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 18, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
contentlayer 0.3.1 -> 0.3.4 age adoption passing confidence

Release Notes

contentlayerdev/contentlayer (contentlayer)

v0.3.4: 0.3.4

Compare Source

ℹ️ [TLDR] Many smaller bug fixes, improvements and updated dependencies

Improvements
  • Added aspectRatio property to ImageFieldData for type: image fields
  • Added images example
  • Support for esbuild 0.18 (closes #​496)
  • Upgraded various dependencies (incl. yaml package - closes #​488)
  • Added MIT license to all sub packages in the Contentlayer mono repo (closes #​482)
  • next-contentlayer should have contentlayer as peerDependency #​447
Bug fixes
  • Fix Bug in calculation of "_raw.flattenedPath" (closes #​487)

v0.3.3: 0.3.3

Compare Source

ℹ️ [TLDR] New onSuccess callback that runs after completing a build successfully

onSuccess Callback

A new callback will now be called when a successful build has completed.

The callback function receives a single argument that is an asynchronous function from which you can access data objects processed and generated by Contentlayer.

import { makeSource } from '@​contentlayer/source-files'

export default makeSource({
  onSuccess: async (importData) => {
    const { allDocuments } = await importData()
    console.log('allDocuments', allDocuments.length)
  }
})

Running a build with the above configuration would yield something like the following on the console.

allDocuments 3

Closes #​473

Better Non-Latin Character Support

Support has improved for characters in non-Latin languages. Fixes #​337.

🙌 Thanks to @​huanfe1 for help!

Other Improvements

Here are the other improvements shipped with this version.

Fix Body Field Handling for MDX

@​stefanprobst resolved the discrepancy in handling a body field in frontmatter. Now, both Markdown and MDX files behave in the same way, supporting a body field in the frontmatter. See #​451 for details.

Upgraded Dependencies

Dependencies have been upgraded to avoid warning messages. Fixes #​360.

v0.3.2: 0.3.2

Compare Source

ℹ️ [TLDR] Bug fixes for next dev, Support for next export, bug fixes and updated dependencies

Improved next-contentlayer integration

As part of 0.3.2 we've overhauled the next-contentlayer integration with the goal of making it more stable and less dependent on implementation details of Next.js. This fixes #​415 and #​416 (thanks @​kamto7).

As part of this effort (and by no longer relying on the redirects workaround) Contentlayer now also works with next export. (closes #​426)

Other Improvements
  • Fix: Opentelemetry version incompatibility with next 13.2 (closes #​407 - thanks @​jgillich)
  • Fix: Type resolution when using modern TypeScript module resolution (closes #​373 - thanks @​jrolfs)
  • Fix: Korean file names are not supported (closes #​431 - thanks @​mi-reu)
  • Fix: contentDirInclude didn't work in some cases (closes #​383 - thanks to @​teobler)
Note about state of the project

Please also take a look at #​429 to read about the current state of the project. 💜


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Jan 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
personal ❌ Failed (Inspect) Oct 26, 2023 8:10pm

@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from d216e11 to e3e407b Compare January 30, 2023 00:07
@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from e3e407b to 798a4a8 Compare January 31, 2023 06:45
@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from 798a4a8 to 052a930 Compare February 10, 2023 19:32
@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from 052a930 to f175e6f Compare February 12, 2023 23:34
@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from f175e6f to 2c7ba38 Compare February 13, 2023 19:51
@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from 2c7ba38 to 618939c Compare March 28, 2023 07:27
@renovate renovate bot changed the title Update dependency contentlayer to v0.3.0 Update dependency contentlayer to v0.3.1 Mar 28, 2023
@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from 618939c to a0951bd Compare April 21, 2023 12:05
@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from a0951bd to 4da5cf9 Compare April 25, 2023 03:48
@renovate renovate bot changed the title Update dependency contentlayer to v0.3.1 Update dependency contentlayer to v0.3.2 Apr 25, 2023
@renovate renovate bot changed the title Update dependency contentlayer to v0.3.2 Update dependency contentlayer to v0.3.3 May 31, 2023
@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from 4da5cf9 to ddf5c92 Compare May 31, 2023 16:56
@renovate renovate bot changed the title Update dependency contentlayer to v0.3.3 Update dependency contentlayer to v0.3.4 Jun 29, 2023
@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from ddf5c92 to ee5fe4d Compare June 29, 2023 11:54
@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from ee5fe4d to 773a8bd Compare July 19, 2023 14:46
@renovate renovate bot force-pushed the renovate/contentlayer-0.x branch from 773a8bd to 4bcaaa8 Compare October 23, 2023 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant