arcus-azure / arcus

Azure development in a breeze
https://arcus-azure.net/
MIT License
22 stars 5 forks source link

fix(deps): update dependency next-mdx-remote to v5 #355

Open renovate[bot] opened 6 months ago

renovate[bot] commented 6 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
next-mdx-remote ^4.0.3 -> ^5.0.0 age adoption passing confidence

Release Notes

hashicorp/next-mdx-remote (next-mdx-remote) ### [`v5.0.0`](https://redirect.github.com/hashicorp/next-mdx-remote/blob/HEAD/CHANGELOG.md#500) [Compare Source](https://redirect.github.com/hashicorp/next-mdx-remote/compare/v4.4.1...v5.0.0) ##### Major Changes - [#​448](https://redirect.github.com/hashicorp/next-mdx-remote/pull/448) [`67a221f`](https://redirect.github.com/hashicorp/next-mdx-remote/commit/67a221fa59418af1289ea360ba42a2cdc3c2e5c1) Thanks [@​dstaley](https://redirect.github.com/dstaley)! - Update to MDX v3 and add support for React 19. Fix various TypeScript errors. Remove usage of Rollup. ### [`v4.4.1`](https://redirect.github.com/hashicorp/next-mdx-remote/releases/tag/v4.4.1) [Compare Source](https://redirect.github.com/hashicorp/next-mdx-remote/compare/v4.4.0...v4.4.1) #### What's Changed - chore(types): remove unused imports by [@​thiskevinwang](https://redirect.github.com/thiskevinwang) in [https://github.com/hashicorp/next-mdx-remote/pull/348](https://redirect.github.com/hashicorp/next-mdx-remote/pull/348) - fix: Make sure frontmatter types flow through to MDXRemote by [@​BRKalow](https://redirect.github.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/351](https://redirect.github.com/hashicorp/next-mdx-remote/pull/351) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.4.0...v4.4.1 ### [`v4.4.0`](https://redirect.github.com/hashicorp/next-mdx-remote/releases/tag/v4.4.0) [Compare Source](https://redirect.github.com/hashicorp/next-mdx-remote/compare/v4.3.0...v4.4.0) This release includes a few fixes for frontmatter types, as well as a way to provide a frontmatter type to `serialize` or `compileMDX` and have it propagate through to the returned `frontmatter` property. See the [documentation](https://redirect.github.com/hashicorp/next-mdx-remote#access-frontmatter-outside-of-mdx) for an example. `serialize`: ```ts import { serialize } from 'next-mdx-remote/serialize' interface Frontmatter { title: string published: string description?: string } // 👇 should have type Frontmatter const { frontmatter } = serialize, Frontmatter>(source) ``` `compileMDX`: ```tsx import { compileMDX } from 'next-mdx-remote/rsc' interface Frontmatter { title: string published: string description?: string } export default async function Page({ source }) { // 👇 should have type Frontmatter const { content, frontmatter } = await compileMDX(source) return ( <>

{frontmatter.title}

{content} ) } ``` #### What's Changed - docs: fix react server components example by [@​greyhere](https://redirect.github.com/greyhere) in [https://github.com/hashicorp/next-mdx-remote/pull/334](https://redirect.github.com/hashicorp/next-mdx-remote/pull/334) - fix(rsc): do not require compiledSource in types by [@​BRKalow](https://redirect.github.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/339](https://redirect.github.com/hashicorp/next-mdx-remote/pull/339) - fix: TFrontmatter type to unknown by [@​RebootGG](https://redirect.github.com/RebootGG) in [https://github.com/hashicorp/next-mdx-remote/pull/340](https://redirect.github.com/hashicorp/next-mdx-remote/pull/340) - remove newline from template literal by [@​chrisweb](https://redirect.github.com/chrisweb) in [https://github.com/hashicorp/next-mdx-remote/pull/346](https://redirect.github.com/hashicorp/next-mdx-remote/pull/346) - feat: Improve frontmatter types, pass generic TFrontmatter type through by [@​BRKalow](https://redirect.github.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/342](https://redirect.github.com/hashicorp/next-mdx-remote/pull/342) #### New Contributors - [@​greyhere](https://redirect.github.com/greyhere) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/334](https://redirect.github.com/hashicorp/next-mdx-remote/pull/334) - [@​RebootGG](https://redirect.github.com/RebootGG) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/340](https://redirect.github.com/hashicorp/next-mdx-remote/pull/340) - [@​chrisweb](https://redirect.github.com/chrisweb) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/346](https://redirect.github.com/hashicorp/next-mdx-remote/pull/346) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.3.0...v4.4.0 ### [`v4.3.0`](https://redirect.github.com/hashicorp/next-mdx-remote/releases/tag/v4.3.0): - Server Components Support (experimental) [Compare Source](https://redirect.github.com/hashicorp/next-mdx-remote/compare/v4.2.1...v4.3.0) `next-mdx-remote` now has experimental support for React Server Components! 🎉 Access the new API by importing from `next-mdx-remote/rsc`, and head to [the documentation](https://redirect.github.com/hashicorp/next-mdx-remote#react-server-components-rsc--nextjs-app-directory-support) for usage instructions and additional examples. ```tsx import { MDXRemote } from 'next-mdx-remote/rsc' export default async function Page() { const mdxSource = await getContent() return ( ) } ``` Big thanks to [@​timneutkens](https://redirect.github.com/timneutkens) for his contribution! *** #### What's Changed - Pass components directly to compiled MDX function by [@​timneutkens](https://redirect.github.com/timneutkens) in [https://github.com/hashicorp/next-mdx-remote/pull/330](https://redirect.github.com/hashicorp/next-mdx-remote/pull/330) - Add support for React Server Components by [@​timneutkens](https://redirect.github.com/timneutkens) in [https://github.com/hashicorp/next-mdx-remote/pull/331](https://redirect.github.com/hashicorp/next-mdx-remote/pull/331) - chore: run tests in isolation by [@​BRKalow](https://redirect.github.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/332](https://redirect.github.com/hashicorp/next-mdx-remote/pull/332) - chore: document new RSC API by [@​BRKalow](https://redirect.github.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/333](https://redirect.github.com/hashicorp/next-mdx-remote/pull/333) #### New Contributors - [@​timneutkens](https://redirect.github.com/timneutkens) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/330](https://redirect.github.com/hashicorp/next-mdx-remote/pull/330) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.2.1...v4.3.0 ### [`v4.2.1`](https://redirect.github.com/hashicorp/next-mdx-remote/releases/tag/v4.2.1) [Compare Source](https://redirect.github.com/hashicorp/next-mdx-remote/compare/v4.2.0...v4.2.1) #### What's Changed - Fix: export `jsx-dev-runtime` in development mode by [@​imtsuki](https://redirect.github.com/imtsuki) in [https://github.com/hashicorp/next-mdx-remote/pull/323](https://redirect.github.com/hashicorp/next-mdx-remote/pull/323) #### New Contributors - [@​imtsuki](https://redirect.github.com/imtsuki) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/323](https://redirect.github.com/hashicorp/next-mdx-remote/pull/323) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.2.0...v4.2.1 ### [`v4.2.0`](https://redirect.github.com/hashicorp/next-mdx-remote/releases/tag/v4.2.0) [Compare Source](https://redirect.github.com/hashicorp/next-mdx-remote/compare/v4.1.0...v4.2.0) #### What's Changed - Support serializing all VFile-compatible values by [@​nwalters512](https://redirect.github.com/nwalters512) in [https://github.com/hashicorp/next-mdx-remote/pull/311](https://redirect.github.com/hashicorp/next-mdx-remote/pull/311) #### New Contributors - [@​nwalters512](https://redirect.github.com/nwalters512) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/311](https://redirect.github.com/hashicorp/next-mdx-remote/pull/311) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.1.0...v4.2.0 ### [`v4.1.0`](https://redirect.github.com/hashicorp/next-mdx-remote/releases/tag/v4.1.0) [Compare Source](https://redirect.github.com/hashicorp/next-mdx-remote/compare/v4.0.3...v4.1.0) #### What's Changed - chore: update reference to MDX options by [@​BRKalow](https://redirect.github.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/280](https://redirect.github.com/hashicorp/next-mdx-remote/pull/280) - fix: loosen `frontmatter` type and make it configurable by [@​joemckenney](https://redirect.github.com/joemckenney) in [https://github.com/hashicorp/next-mdx-remote/pull/283](https://redirect.github.com/hashicorp/next-mdx-remote/pull/283) #### New Contributors - [@​joemckenney](https://redirect.github.com/joemckenney) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/283](https://redirect.github.com/hashicorp/next-mdx-remote/pull/283) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.0.3...v4.1.0

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 is behind base branch, or you tick the rebase/retry checkbox.

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



This PR was generated by Mend Renovate. View the repository job log.

netlify[bot] commented 6 months ago

Deploy Preview for arcus ready!

Name Link
Latest commit 096af14fcd89b28250b2c7cc8ec4d40cc2bb6d87
Latest deploy log https://app.netlify.com/sites/arcus/deploys/66cd77076b0f300008ef23a7
Deploy Preview https://deploy-preview-355--arcus.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.