netlify-templates / nextjs-blog-theme

A customizable Next.js and Tailwind blog starter with visual editing and Git Content Source. Designed by the Bejamas agency.
https://bejamas-nextjs-blog.netlify.app
MIT License
528 stars 233 forks source link

fix(deps): update dependency next-mdx-remote to v4.4.1 #145

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
next-mdx-remote 4.3.0 -> 4.4.1 age adoption passing confidence

Release Notes

hashicorp/next-mdx-remote ### [`v4.4.1`](https://togithub.com/hashicorp/next-mdx-remote/releases/tag/v4.4.1) [Compare Source](https://togithub.com/hashicorp/next-mdx-remote/compare/v4.4.0...v4.4.1) #### What's Changed - chore(types): remove unused imports by [@​thiskevinwang](https://togithub.com/thiskevinwang) in [https://github.com/hashicorp/next-mdx-remote/pull/348](https://togithub.com/hashicorp/next-mdx-remote/pull/348) - fix: Make sure frontmatter types flow through to MDXRemote by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/351](https://togithub.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://togithub.com/hashicorp/next-mdx-remote/releases/tag/v4.4.0) [Compare Source](https://togithub.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://togithub.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://togithub.com/greyhere) in [https://github.com/hashicorp/next-mdx-remote/pull/334](https://togithub.com/hashicorp/next-mdx-remote/pull/334) - fix(rsc): do not require compiledSource in types by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/339](https://togithub.com/hashicorp/next-mdx-remote/pull/339) - fix: TFrontmatter type to unknown by [@​RebootGG](https://togithub.com/RebootGG) in [https://github.com/hashicorp/next-mdx-remote/pull/340](https://togithub.com/hashicorp/next-mdx-remote/pull/340) - remove newline from template literal by [@​chrisweb](https://togithub.com/chrisweb) in [https://github.com/hashicorp/next-mdx-remote/pull/346](https://togithub.com/hashicorp/next-mdx-remote/pull/346) - feat: Improve frontmatter types, pass generic TFrontmatter type through by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/342](https://togithub.com/hashicorp/next-mdx-remote/pull/342) #### New Contributors - [@​greyhere](https://togithub.com/greyhere) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/334](https://togithub.com/hashicorp/next-mdx-remote/pull/334) - [@​RebootGG](https://togithub.com/RebootGG) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/340](https://togithub.com/hashicorp/next-mdx-remote/pull/340) - [@​chrisweb](https://togithub.com/chrisweb) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/346](https://togithub.com/hashicorp/next-mdx-remote/pull/346) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.3.0...v4.4.0

Configuration

šŸ“… Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Enabled.

ā™» 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.

netlify[bot] commented 1 year ago

Deploy Preview for bejamas-nextjs-blog ready!

Name Link
Latest commit ce3d58bee839321979d29cbd9ef413d78e120275
Latest deploy log https://app.netlify.com/sites/bejamas-nextjs-blog/deploys/6417c3d7382051000891b221
Deploy Preview https://deploy-preview-145--bejamas-nextjs-blog.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 settings.