ascorbic / unpic-img

Multi-framework responsive image component
https://unpic.pics
1.34k stars 44 forks source link

chore(deps): update dependency @astrojs/mdx to v3 #652

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@astrojs/mdx (source) ^2.3.1 -> ^3.1.2 age adoption passing confidence

Release Notes

withastro/astro (@​astrojs/mdx) ### [`v3.1.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#312) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@3.1.1...@astrojs/mdx@3.1.2) ##### Patch Changes - Updated dependencies \[[`b6afe6a`](https://togithub.com/withastro/astro/commit/b6afe6a782f68f4a279463a144baaf99cb96b6dc)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​5](https://togithub.com/5).1.1 ### [`v3.1.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#311) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@3.1.0...@astrojs/mdx@3.1.1) ##### Patch Changes - [#​11263](https://togithub.com/withastro/astro/pull/11263) [`7d59750`](https://togithub.com/withastro/astro/commit/7d597506615fa5a34327304e8321be7b9c4b799d) Thanks [@​wackbyte](https://togithub.com/wackbyte)! - Refactor to use Astro's integration logger for logging ### [`v3.1.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#310) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@3.0.1...@astrojs/mdx@3.1.0) ##### Minor Changes - [#​11144](https://togithub.com/withastro/astro/pull/11144) [`803dd80`](https://togithub.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7) Thanks [@​ematipico](https://togithub.com/ematipico)! - The integration now exposes a function called `getContainerRenderer`, that can be used inside the Container APIs to load the relative renderer. ```js import { experimental_AstroContainer as AstroContainer } from 'astro/container'; import ReactWrapper from '../src/components/ReactWrapper.astro'; import { loadRenderers } from 'astro:container'; import { getContainerRenderer } from '@​astrojs/react'; test('ReactWrapper with react renderer', async () => { const renderers = await loadRenderers([getContainerRenderer()]); const container = await AstroContainer.create({ renderers, }); const result = await container.renderToString(ReactWrapper); expect(result).toContain('Counter'); expect(result).toContain('Count: 5'); }); ``` ### [`v3.0.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#301) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@3.0.0...@astrojs/mdx@3.0.1) ##### Patch Changes - [#​10813](https://togithub.com/withastro/astro/pull/10813) [`3cc3e2c`](https://togithub.com/withastro/astro/commit/3cc3e2ccba062749a6bd8469bc88ff797bea0abc) Thanks [@​Xetera](https://togithub.com/Xetera)! - Omitting compiler-internal symbol from user components to fix breaking error messages ### [`v3.0.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#300) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.3.1...@astrojs/mdx@3.0.0) ##### Major Changes - [#​10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@​bluwy](https://togithub.com/bluwy)! - Refactors the MDX transformation to rely only on the unified pipeline. Babel and esbuild transformations are removed, which should result in faster build times. The refactor requires using Astro v4.8.0 but no other changes are necessary. - [#​10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@​bluwy](https://togithub.com/bluwy)! - Allows integrations after the MDX integration to update `markdown.remarkPlugins` and `markdown.rehypePlugins`, and have the plugins work in MDX too. If your integration relies on Astro's previous behavior that prevents integrations from adding remark/rehype plugins for MDX, you will now need to configure `@astrojs/mdx` with `extendMarkdownConfig: false` and explicitly specify any `remarkPlugins` and `rehypePlugins` options instead. - [#​10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@​bluwy](https://togithub.com/bluwy)! - Renames the `optimize.customComponentNames` option to `optimize.ignoreElementNames` to better reflect its usecase. Its behaviour is not changed and should continue to work as before. - [#​10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@​bluwy](https://togithub.com/bluwy)! - Replaces the internal `remark-images-to-component` plugin with `rehype-images-to-component` to let users use additional rehype plugins for images ##### Patch Changes - [#​10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@​bluwy](https://togithub.com/bluwy)! - Simplifies plain MDX components as hast element nodes to further improve HTML string inlining for the `optimize` option - [#​10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@​bluwy](https://togithub.com/bluwy)! - Allows Vite plugins to transform `.mdx` files before the MDX plugin transforms it - [#​10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@​bluwy](https://togithub.com/bluwy)! - Updates the `optimize` option to group static sibling nodes as a ``. This reduces the number of AST nodes and simplifies runtime rendering of MDX pages. - [#​10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@​bluwy](https://togithub.com/bluwy)! - Tags the MDX component export for quicker component checks while rendering - [#​10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@​bluwy](https://togithub.com/bluwy)! - Fixes `export const components` keys detection for the `optimize` option - [#​10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@​bluwy](https://togithub.com/bluwy)! - Improves `optimize` handling for MDX components with attributes and inline MDX components

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.

netlify[bot] commented 4 months ago

Deploy Preview for unpic-next ready!

Name Link
Latest commit 8bb25f592e14e27fa9685c3579ec95ed0cb0e3a0
Latest deploy log https://app.netlify.com/sites/unpic-next/deploys/66839d37f6b9b70008708e8c
Deploy Preview https://deploy-preview-652--unpic-next.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.

netlify[bot] commented 4 months ago

Deploy Preview for unpic-angular ready!

Name Link
Latest commit 8bb25f592e14e27fa9685c3579ec95ed0cb0e3a0
Latest deploy log https://app.netlify.com/sites/unpic-angular/deploys/66839d3701ddb200085dfa97
Deploy Preview https://deploy-preview-652--unpic-angular.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.

netlify[bot] commented 4 months ago

Deploy Preview for unpic-docs ready!

Name Link
Latest commit 8bb25f592e14e27fa9685c3579ec95ed0cb0e3a0
Latest deploy log https://app.netlify.com/sites/unpic-docs/deploys/66839d38a17e0b00071188c8
Deploy Preview https://deploy-preview-652.preview.unpic.pics
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 99 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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