Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency next-contentlayer to v0.3.4 #53

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 18, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

contentlayerdev/contentlayer (next-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/next-contentlayer-0.x branch from cdb80a5 to e021243 Compare January 18, 2023 23:23
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from e021243 to 70e6eab Compare January 30, 2023 00:10
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 70e6eab to 15a6199 Compare January 31, 2023 06:48
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 15a6199 to d201277 Compare February 1, 2023 20:59
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from d201277 to 018fcf8 Compare February 10, 2023 19:33
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 018fcf8 to 0eaf7bd Compare February 12, 2023 23:36
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 0eaf7bd to fc9cf94 Compare February 13, 2023 19:52
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from fc9cf94 to ef42e21 Compare February 26, 2023 20:56
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from ef42e21 to af3d132 Compare March 2, 2023 21:12
@renovate renovate bot changed the title Update dependency next-contentlayer to v0.3.0 Update dependency next-contentlayer to v0.3.1 Mar 28, 2023
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from af3d132 to 3355f94 Compare March 28, 2023 07:27
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 3355f94 to f5ef345 Compare April 21, 2023 12:07
@renovate renovate bot changed the title Update dependency next-contentlayer to v0.3.1 Update dependency next-contentlayer to v0.3.2 Apr 25, 2023
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from f5ef345 to b8d1b01 Compare April 25, 2023 03:49
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from b8d1b01 to 596a4ef Compare May 14, 2023 23:33
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 596a4ef to 1cba752 Compare May 22, 2023 07:24
@renovate renovate bot changed the title Update dependency next-contentlayer to v0.3.2 Update dependency next-contentlayer to v0.3.3 May 31, 2023
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 1cba752 to 74a53f3 Compare May 31, 2023 16:56
@renovate renovate bot changed the title Update dependency next-contentlayer to v0.3.3 Update dependency next-contentlayer to v0.3.4 Jun 29, 2023
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 74a53f3 to 9afb82a Compare June 29, 2023 11:54
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 9afb82a to 1a549fa Compare July 19, 2023 14:47
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 1a549fa to 0db2fe2 Compare August 19, 2023 00:07
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 0db2fe2 to 37d5dc7 Compare October 23, 2023 21:06
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from 37d5dc7 to e2937f6 Compare October 26, 2023 17:40
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from e2937f6 to fe69aca Compare October 26, 2023 17:44
@renovate renovate bot force-pushed the renovate/next-contentlayer-0.x branch from fe69aca to 9c8fc32 Compare October 26, 2023 17:50
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.

0 participants