chvndler / chvndler.ch

Personal.
https://chvndler.ch
MIT License
5 stars 0 forks source link

fix(deps): update dependency contentlayer to v0.3.4 #83

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

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`](https://togithub.com/contentlayerdev/contentlayer/releases/tag/v0.3.4): 0.3.4 [Compare Source](https://togithub.com/contentlayerdev/contentlayer/compare/v0.3.3...v0.3.4) ℹ️ **\[TLDR]** Many smaller bug fixes, improvements and updated dependencies ##### Improvements - Added `aspectRatio` property to `ImageFieldData` for `type: image` fields - Added [images example](https://togithub.com/contentlayerdev/contentlayer/tree/main/examples/next-images) - Support for esbuild 0.18 (closes [#​496](https://togithub.com/contentlayerdev/contentlayer/issues/496)) - Upgraded various dependencies (incl. `yaml` package - closes [#​488](https://togithub.com/contentlayerdev/contentlayer/issues/488)) - Added MIT license to all sub packages in the Contentlayer mono repo (closes [#​482](https://togithub.com/contentlayerdev/contentlayer/issues/482)) - next-contentlayer should have contentlayer as peerDependency [#​447](https://togithub.com/contentlayerdev/contentlayer/issues/447) ##### Bug fixes - Fix Bug in calculation of "\_raw.flattenedPath" (closes [#​487](https://togithub.com/contentlayerdev/contentlayer/issues/487)) ### [`v0.3.3`](https://togithub.com/contentlayerdev/contentlayer/releases/tag/v0.3.3): 0.3.3 [Compare Source](https://togithub.com/contentlayerdev/contentlayer/compare/v0.3.2...v0.3.3) ℹ️ **\[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. ```ts 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](https://togithub.com/contentlayerdev/contentlayer/issues/473) #### Better Non-Latin Character Support Support has improved for characters in non-Latin languages. Fixes [#​337](https://togithub.com/contentlayerdev/contentlayer/issues/337). 🙌 Thanks to [@​huanfe1](https://togithub.com/huanfe1) for help! #### Other Improvements Here are the other improvements shipped with this version. ##### Fix Body Field Handling for MDX [@​stefanprobst](https://togithub.com/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](https://togithub.com/contentlayerdev/contentlayer/issues/451) for details. ##### Upgraded Dependencies Dependencies have been upgraded to avoid warning messages. Fixes [#​360](https://togithub.com/contentlayerdev/contentlayer/issues/360). ### [`v0.3.2`](https://togithub.com/contentlayerdev/contentlayer/releases/tag/v0.3.2): 0.3.2 [Compare Source](https://togithub.com/contentlayerdev/contentlayer/compare/v0.3.1...v0.3.2) ℹ️ **\[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](https://togithub.com/contentlayerdev/contentlayer/issues/415) and [#​416](https://togithub.com/contentlayerdev/contentlayer/issues/416) (thanks [@​kamto7](https://togithub.com/kamto7)). As part of this effort (and by no longer relying on the `redirects` workaround) Contentlayer now also works with `next export`. (closes [#​426](https://togithub.com/contentlayerdev/contentlayer/issues/426)) ##### Other Improvements - Fix: Opentelemetry version incompatibility with next 13.2 (closes [#​407](https://togithub.com/contentlayerdev/contentlayer/issues/407) - thanks [@​jgillich](https://togithub.com/jgillich)) - Fix: Type resolution when using modern TypeScript module resolution (closes [#​373](https://togithub.com/contentlayerdev/contentlayer/issues/373) - thanks [@​jrolfs](https://togithub.com/jrolfs)) - Fix: Korean file names are not supported (closes [#​431](https://togithub.com/contentlayerdev/contentlayer/issues/431) - thanks [@​mi-reu](https://togithub.com/mi-reu)) - Fix: `contentDirInclude` didn't work in some cases (closes [#​383](https://togithub.com/contentlayerdev/contentlayer/issues/383) - thanks to [@​teobler](https://togithub.com/teobler)) ##### Note about state of the project Please also take a look at [#​429](https://togithub.com/contentlayerdev/contentlayer/issues/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.



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

height[bot] commented 1 year ago

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: ed478e26ffe8391f6db308573799d3d6881df352

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 1 year ago

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

Name Status Preview Comments Updated (UTC)
chvndler-ch ❌ Failed (Inspect) Jul 10, 2023 2:43pm
chvndler commented 1 year ago

Same as next-contentlayer issue.

renovate[bot] commented 1 year ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.3.4). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.