cloudnativedaysjp / website

Website for CloudNative Days a.k.a Dreamkast-Archives
1 stars 0 forks source link

Update astro monorepo (major) #230

Open renovate[bot] opened 5 months ago

renovate[bot] commented 5 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@astrojs/mdx (source) ^0.19.0 -> ^3.0.0 age adoption passing confidence
@astrojs/partytown (source) ^1.2.0 -> ^2.0.0 age adoption passing confidence
@astrojs/react (source) ^2.0.0 -> ^3.0.0 age adoption passing confidence
@astrojs/rss (source) ^2.0.0 -> ^4.0.0 age adoption passing confidence
@astrojs/tailwind (source) ^3.0.1 -> ^5.0.0 age adoption passing confidence
astro (source) ^2.8.2 -> ^4.0.0 age adoption passing confidence

Release Notes

withastro/astro (@​astrojs/mdx) ### [`v3.1.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#315) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@3.1.4...@astrojs/mdx@3.1.5) ##### Patch Changes - [#​11818](https://togithub.com/withastro/astro/pull/11818) [`88ef1d0`](https://togithub.com/withastro/astro/commit/88ef1d0e774e8ab8798b9912da1b069f97736623) Thanks [@​bluwy](https://togithub.com/bluwy)! - Fixes CSS in the layout component to be ordered first before any other components in the MDX file ### [`v3.1.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#314) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@3.1.3...@astrojs/mdx@3.1.4) ##### Patch Changes - [#​11717](https://togithub.com/withastro/astro/pull/11717) [`423614e`](https://togithub.com/withastro/astro/commit/423614ebb6ddb76cc8d11f3e3b6ae111a4a82662) Thanks [@​bluwy](https://togithub.com/bluwy)! - Fixes stack trace location when failed to parse an MDX file with frontmatter ### [`v3.1.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#313) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@3.1.2...@astrojs/mdx@3.1.3) ##### Patch Changes - Updated dependencies \[[`49b5145`](https://togithub.com/withastro/astro/commit/49b5145158a603b9bb951bf914a6a9780c218704)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​5](https://togithub.com/5).2.0 ### [`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 ### [`v2.3.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#231) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.3.0...@astrojs/mdx@2.3.1) ##### Patch Changes - [#​10754](https://togithub.com/withastro/astro/pull/10754) [`3e7a12c8532411e580fcfdb8445cad8fc8499291`](https://togithub.com/withastro/astro/commit/3e7a12c8532411e580fcfdb8445cad8fc8499291) Thanks [@​rishi-raj-jain](https://togithub.com/rishi-raj-jain)! - Fixes an issue where images in MDX required a relative specifier (e.g. `./`) Now, you can use the standard `![](img.png)` syntax in MDX files for images colocated in the same folder: no relative specifier required! There is no need to update your project; your existing images will still continue to work. However, you may wish to remove any relative specifiers from these MDX images as they are no longer necessary: ```diff - ![A cute dog](./dog.jpg) + ![A cute dog](dog.jpg) ``` - [#​10770](https://togithub.com/withastro/astro/pull/10770) [`88ee63a3ba4488c60348cb821034e6d4a057efd0`](https://togithub.com/withastro/astro/commit/88ee63a3ba4488c60348cb821034e6d4a057efd0) Thanks [@​bluwy](https://togithub.com/bluwy)! - Removes internal MDX processor on `buildEnd` to free up memory ### [`v2.3.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#230) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.2.4...@astrojs/mdx@2.3.0) ##### Minor Changes - [#​10689](https://togithub.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://togithub.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@​ematipico](https://togithub.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). ##### Patch Changes - Updated dependencies \[[`ccafa8d230f65c9302421a0ce0a0adc5824bfd55`](https://togithub.com/withastro/astro/commit/ccafa8d230f65c9302421a0ce0a0adc5824bfd55)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​5](https://togithub.com/5).1.0 ### [`v2.2.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#224) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.2.3...@astrojs/mdx@2.2.4) ##### Patch Changes - [#​10673](https://togithub.com/withastro/astro/pull/10673) [`db7f9c87035a0de780536d95cdd9facff00c3c08`](https://togithub.com/withastro/astro/commit/db7f9c87035a0de780536d95cdd9facff00c3c08) Thanks [@​bluwy](https://togithub.com/bluwy)! - Removes unnecessary internal `recmaInjectImportMetaEnv` plugin ### [`v2.2.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#223) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.2.2...@astrojs/mdx@2.2.3) ##### Patch Changes - Updated dependencies \[[`2cf116f80cb5e421ab5cc5eb4a654e7b78c1b8de`](https://togithub.com/withastro/astro/commit/2cf116f80cb5e421ab5cc5eb4a654e7b78c1b8de), [`374efcdff9625ca43309d89e3b9cfc9174351512`](https://togithub.com/withastro/astro/commit/374efcdff9625ca43309d89e3b9cfc9174351512)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​5](https://togithub.com/5).0.0 ### [`v2.2.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#222) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.2.1...@astrojs/mdx@2.2.2) ##### Patch Changes - Updated dependencies \[[`c585528f446ccca3d4c643f4af5d550b93c18902`](https://togithub.com/withastro/astro/commit/c585528f446ccca3d4c643f4af5d550b93c18902)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​4](https://togithub.com/4).3.2 ### [`v2.2.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#221) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.2.0...@astrojs/mdx@2.2.1) ##### Patch Changes - Updated dependencies \[[`19e42c368184013fc30d1e46753b9e9383bb2bdf`](https://togithub.com/withastro/astro/commit/19e42c368184013fc30d1e46753b9e9383bb2bdf)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​4](https://togithub.com/4).3.1 ### [`v2.2.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#220) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.1.1...@astrojs/mdx@2.2.0) ##### Minor Changes - [#​10104](https://togithub.com/withastro/astro/pull/10104) [`a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18`](https://togithub.com/withastro/astro/commit/a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18) Thanks [@​remcohaszing](https://togithub.com/remcohaszing)! - Changes Astro's internal syntax highlighting to use rehype plugins instead of remark plugins. This provides better interoperability with other [rehype plugins](https://togithub.com/rehypejs/rehype/blob/main/doc/plugins.md#list-of-plugins) that deal with code blocks, in particular with third party syntax highlighting plugins and [`rehype-mermaid`](https://togithub.com/remcohaszing/rehype-mermaid). This may be a breaking change if you are currently using: - a remark plugin that relies on nodes of type `html` - a rehype plugin that depends on nodes of type `raw`. Please review your rendered code samples carefully, and if necessary, consider using a rehype plugin that deals with the generated `element` nodes instead. You can transform the AST of raw HTML strings, or alternatively use [`hast-util-to-html`](https://togithub.com/syntax-tree/hast-util-to-html) to get a string from a `raw` node. ##### Patch Changes - Updated dependencies \[[`c081adf998d30419fed97d8fccc11340cdc512e0`](https://togithub.com/withastro/astro/commit/c081adf998d30419fed97d8fccc11340cdc512e0), [`5a9528741fa98d017b269c7e4f013058028bdc5d`](https://togithub.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d), [`a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18`](https://togithub.com/withastro/astro/commit/a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​4](https://togithub.com/4).3.0 ### [`v2.1.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#211) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.1.0...@astrojs/mdx@2.1.1) ##### Patch Changes - Updated dependencies \[[`44c957f893c6bf5f5b7c78301de7b21c5975584d`](https://togithub.com/withastro/astro/commit/44c957f893c6bf5f5b7c78301de7b21c5975584d)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​4](https://togithub.com/4).2.1 ### [`v2.1.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#210) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.0.6...@astrojs/mdx@2.1.0) ##### Minor Changes - [#​9753](https://togithub.com/withastro/astro/pull/9753) [`df37366556d46f7abdf82b09e33b08bd94e631b3`](https://togithub.com/withastro/astro/commit/df37366556d46f7abdf82b09e33b08bd94e631b3) Thanks [@​OliverSpeir](https://togithub.com/OliverSpeir)! - Allows remark plugins to pass options specifying how images in .mdx files will be optimized ### [`v2.0.6`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#206) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.0.5...@astrojs/mdx@2.0.6) ##### Patch Changes - Updated dependencies \[[`53c69dcc82cdf4000aff13a6c11fffe19096cf45`](https://togithub.com/withastro/astro/commit/53c69dcc82cdf4000aff13a6c11fffe19096cf45), [`2f81cffa9da9db0e2802d303f94feaee8d2f54ec`](https://togithub.com/withastro/astro/commit/2f81cffa9da9db0e2802d303f94feaee8d2f54ec), [`a505190933365268d48139a5f197a3cfb5570870`](https://togithub.com/withastro/astro/commit/a505190933365268d48139a5f197a3cfb5570870)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​4](https://togithub.com/4).2.0 ### [`v2.0.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#205) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.0.4...@astrojs/mdx@2.0.5) ##### Patch Changes - [#​9706](https://togithub.com/withastro/astro/pull/9706) [`1539e04a8e5865027b3a8718c6f142885e7c8d88`](https://togithub.com/withastro/astro/commit/1539e04a8e5865027b3a8718c6f142885e7c8d88) Thanks [@​bluwy](https://togithub.com/bluwy)! - Removes redundant HMR handling code - Updated dependencies \[[`165cfc154be477337037185c32b308616d1ed6fa`](https://togithub.com/withastro/astro/commit/165cfc154be477337037185c32b308616d1ed6fa), [`e9a72d9a91a3741566866bcaab11172cb0dc7d31`](https://togithub.com/withastro/astro/commit/e9a72d9a91a3741566866bcaab11172cb0dc7d31)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​4](https://togithub.com/4).1.0 ### [`v2.0.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#204) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.0.3...@astrojs/mdx@2.0.4) ##### Patch Changes - [#​9652](https://togithub.com/withastro/astro/pull/9652) [`e72efd6a9a1e2a70488fd225529617ffd8418534`](https://togithub.com/withastro/astro/commit/e72efd6a9a1e2a70488fd225529617ffd8418534) Thanks [@​bluwy](https://togithub.com/bluwy)! - Removes environment variables workaround that broke project builds with sourcemaps ### [`v2.0.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#203) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.0.2...@astrojs/mdx@2.0.3) ##### Patch Changes - [#​9479](https://togithub.com/withastro/astro/pull/9479) [`1baf0b0d3cbd0564954c2366a7278794fad6726e`](https://togithub.com/withastro/astro/commit/1baf0b0d3cbd0564954c2366a7278794fad6726e) Thanks [@​sarah11918](https://togithub.com/sarah11918)! - Updates README ### [`v2.0.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#202) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.0.1...@astrojs/mdx@2.0.2) ##### Patch Changes - [#​9452](https://togithub.com/withastro/astro/pull/9452) [`e83b5095f`](https://togithub.com/withastro/astro/commit/e83b5095f164f48ba40fc715a805fc66a3e39dcf) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Upgrades vite to latest ### [`v2.0.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#201) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.0.0...@astrojs/mdx@2.0.1) ##### Patch Changes - [#​9366](https://togithub.com/withastro/astro/pull/9366) [`1b4e91898`](https://togithub.com/withastro/astro/commit/1b4e91898116f75b02b66ec402385cf44e559118) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Updates NPM package to refer to the stable Astro version instead of a beta. - Updated dependencies \[[`270c6cc27`](https://togithub.com/withastro/astro/commit/270c6cc27f20995883fcdabbff9b56d7f041f9e4)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​4](https://togithub.com/4).0.1 ### [`v2.0.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#200) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@1.1.5...@astrojs/mdx@2.0.0) ##### Major Changes - [#​9138](https://togithub.com/withastro/astro/pull/9138) [`abf601233`](https://togithub.com/withastro/astro/commit/abf601233f8188d118a8cb063c777478d8d9f1a3) Thanks [@​bluwy](https://togithub.com/bluwy)! - Updates the unified, remark, and rehype dependencies to latest. Make sure to update your custom remark and rehype plugins as well to be compatible with the latest versions. **Potentially breaking change:** The default value of `markdown.remarkRehype.footnoteBackLabel` is changed from `"Back to content"` to `"Back to reference 1"`. See the `mdast-util-to-hast` [commit](https://togithub.com/syntax-tree/mdast-util-to-hast/commit/56c88e45690be138fad9f0bf367b939d09816863) for more information. ##### Patch Changes - Updated dependencies \[[`abf601233`](https://togithub.com/withastro/astro/commit/abf601233f8188d118a8cb063c777478d8d9f1a3), [`addb57c8e`](https://togithub.com/withastro/astro/commit/addb57c8e80b7b67ec61224666f3a1db5c44410c), [`c7953645e`](https://togithub.com/withastro/astro/commit/c7953645eeaaf9e87c6db4494b0023d2c1878ff0)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​4](https://togithub.com/4).0.0 ### [`v1.1.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#115) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@1.1.4...@astrojs/mdx@1.1.5) ##### Patch Changes - Updated dependencies \[[`4537ecf0d`](https://togithub.com/withastro/astro/commit/4537ecf0d060f89cb8c000338a7fc5f4197a88c8)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​3](https://togithub.com/3).5.0 ### [`v1.1.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#114) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@1.1.3...@astrojs/mdx@1.1.4) ##### Patch Changes - Updated dependencies \[[`c5010aad3`](https://togithub.com/withastro/astro/commit/c5010aad3475669648dc939e00f88bbb52489d0d)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​3](https://togithub.com/3).4.0 ### [`v1.1.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#113) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@1.1.2...@astrojs/mdx@1.1.3) ##### Patch Changes - [#​8897](https://togithub.com/withastro/astro/pull/8897) [`5a3d46da1`](https://togithub.com/withastro/astro/commit/5a3d46da1e80f62a29eaf464eeb87c626cc5593f) Thanks [@​remcohaszing](https://togithub.com/remcohaszing)! - Update the README to suggest that users install the [official MDX extension](https://marketplace.visualstudio.com/items?itemName=unifiedjs.vscode-mdx) for [VS Code](https://code.visualstudio.com/). - Updated dependencies \[[`26b77b8fe`](https://togithub.com/withastro/astro/commit/26b77b8fef0e03bfc5550aecaa1f56a4fc1cd297)]: - astro@3.3.4 ### [`v1.1.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#112) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@1.1.1...@astrojs/mdx@1.1.2) ##### Patch Changes - Updated dependencies \[[`2993055be`](https://togithub.com/withastro/astro/commit/2993055bed2764c31ff4b4f55b81ab6b1ae6b401), [`c4270e476`](https://togithub.com/withastro/astro/commit/c4270e47681ee2453f3fea07fed7b238645fd6ea), [`bd5aa1cd3`](https://togithub.com/withastro/astro/commit/bd5aa1cd35ecbd2784f30dd836ff814684fee02b), [`f369fa250`](https://togithub.com/withastro/astro/commit/f369fa25055a3497ebaf61c88fb0e8af56c73212), [`391729686`](https://togithub.com/withastro/astro/commit/391729686bcc8404a7dd48c5987ee380daf3200f), [`f999365b8`](https://togithub.com/withastro/astro/commit/f999365b8248b8b14f3743e68a42d450d06acff3), [`b2ae9ee0c`](https://togithub.com/withastro/astro/commit/b2ae9ee0c42b11ffc1d3f070d1d5ac881aef84ed), [`0abff97fe`](https://togithub.com/withastro/astro/commit/0abff97fed3db14be3c75ff9ece3aab67c4ba783), [`3bef32f81`](https://togithub.com/withastro/astro/commit/3bef32f81c56bc600ca307f1bd40787e23e625a5)]: - astro@3.3.0 - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​3](https://togithub.com/3).3.0 ### [`v1.1.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#111) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@1.1.0...@astrojs/mdx@1.1.1) ##### Patch Changes - [#​8737](https://togithub.com/withastro/astro/pull/8737) [`6f60da805`](https://togithub.com/withastro/astro/commit/6f60da805e0014bc50dd07bef972e91c73560c3c) Thanks [@​ematipico](https://togithub.com/ematipico)! - Add provenance statement when publishing the library from CI - Updated dependencies \[[`21f482657`](https://togithub.com/withastro/astro/commit/21f4826576c2c812a1604e18717799da3470decd), [`6f60da805`](https://togithub.com/withastro/astro/commit/6f60da805e0014bc50dd07bef972e91c73560c3c), [`d78806dfe`](https://togithub.com/withastro/astro/commit/d78806dfe0301ea7ffe6c7c1f783bd415ac7cda9), [`d1c75fe15`](https://togithub.com/withastro/astro/commit/d1c75fe158839699c59728cf3a83888e8c72a459), [`aa265d730`](https://togithub.com/withastro/astro/commit/aa265d73024422967c1b1c68ad268c419c6c798f), [`78adbc443`](https://togithub.com/withastro/astro/commit/78adbc4433208458291e36713909762e148e1e5d), [`21e0757ea`](https://togithub.com/withastro/astro/commit/21e0757ea22a57d344c934045ca19db93b684436), [`357270f2a`](https://togithub.com/withastro/astro/commit/357270f2a3d0bf2aa634ba7e52e9d17618eff4a7)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​3](https://togithub.com/3).2.1 - astro@3.2.3 ### [`v1.1.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#110) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@1.0.3...@astrojs/mdx@1.1.0) ##### Minor Changes - [#​8468](https://togithub.com/withastro/astro/pull/8468) [`a8d72ceae`](https://togithub.com/withastro/astro/commit/a8d72ceaeed154434923b21c0ae129a72263b8ed) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Support the `img` component export for optimized images. This allows you to customize how optimized images are styled and rendered. When rendering an optimized image, Astro will pass the `ImageMetadata` object to your `img` component as the `src` prop. For unoptimized images (i.e. images using URLs or absolute paths), Astro will continue to pass the `src` as a string. This example handles both cases and applies custom styling: ### [`v1.0.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#103) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@1.0.2...@astrojs/mdx@1.0.3) ##### Patch Changes - [#​8430](https://togithub.com/withastro/astro/pull/8430) [`f3f62a5a2`](https://togithub.com/withastro/astro/commit/f3f62a5a20f4881bb04f65f192df8e1ccf7fb601) Thanks [@​bluwy](https://togithub.com/bluwy)! - Use exported remarkShiki and remarkPrism plugins from `@astrojs/markdown-remark` - Updated dependencies \[[`f3f62a5a2`](https://togithub.com/withastro/astro/commit/f3f62a5a20f4881bb04f65f192df8e1ccf7fb601), [`f66053a1e`](https://togithub.com/withastro/astro/commit/f66053a1ea0a4e3bdb0b0df12bb1bf56e1ea2618), [`0fa483283`](https://togithub.com/withastro/astro/commit/0fa483283e54c94f173838cd558dc0dbdd11e699)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​3](https://togithub.com/3).1.0 - astro@3.0.11 ### [`v1.0.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#102) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@1.0.1...@astrojs/mdx@1.0.2) ##### Patch Changes - [#​8438](https://togithub.com/withastro/astro/pull/8438) [`6df4f3bd9`](https://togithub.com/withastro/astro/commit/6df4f3bd9d74de47dc8732e7f3b42bef42d2facf) Thanks [@​Princesseuh](https://togithub.com/Princesseuh)! - Fix errors not having a stacktrace - Updated dependencies \[[`b3cf1b327`](https://togithub.com/withastro/astro/commit/b3cf1b32765c76cfc90e497a68280ad52f02cb1f), [`b92d066b7`](https://togithub.com/withastro/astro/commit/b92d066b737f64f08a9cf293bd07c9263ef8f32d)]: - astro@3.0.10 ### [`v1.0.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#101) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@1.0.0...@astrojs/mdx@1.0.1) ##### Patch Changes - [#​8405](https://togithub.com/withastro/astro/pull/8405) [`93a1231f1`](https://togithub.com/withastro/astro/commit/93a1231f14d97339e38d8a67cf541337960e7d5e) Thanks [@​delucis](https://togithub.com/delucis)! - Add location data to MDX compile errors - Updated dependencies \[[`7d95bd9ba`](https://togithub.com/withastro/astro/commit/7d95bd9baaf755239fd7d35e4813861b2dbccf42), [`1947ef7a9`](https://togithub.com/withastro/astro/commit/1947ef7a99ce3d1d6ea797842edd31d5edffa5de), [`61ad70fdc`](https://togithub.com/withastro/astro/commit/61ad70fdc52035964c43ecdb4cf7468f6c2b61e7), [`d2f2a11cd`](https://togithub.com/withastro/astro/commit/d2f2a11cdb42b0de79be21c798eda8e7e7b2a277), [`5126c6a40`](https://togithub.com/withastro/astro/commit/5126c6a40f88bff66ee5d3c3a21eea8c4a44ce7a), [`48ff7855b`](https://togithub.com/withastro/astro/commit/48ff7855b238536a3df17cb29335c90029fc41a4), [`923a443cb`](https://togithub.com/withastro/astro/commit/923a443cb060a0e936a0e1cc87c0360232f77914), [`8935b3b46`](https://togithub.com/withastro/astro/commit/8935b3b4672d6c54c7b79e6c4575298f75eeb9f4)]: - astro@3.0.9 ### [`v1.0.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#100) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@0.19.7...@astrojs/mdx@1.0.0) ##### Major Changes - [#​8179](https://togithub.com/withastro/astro/pull/8179) [`6011d52d3`](https://togithub.com/withastro/astro/commit/6011d52d38e43c3e3d52bc3bc41a60e36061b7b7) Thanks [@​matthewp](https://togithub.com/matthewp)! - Astro 3.0 Release Candidate - [#​8131](https://togithub.com/withastro/astro/pull/8131) [`43140b87a`](https://togithub.com/withastro/astro/commit/43140b87abad99d9e3472faf0e263728ff5a033b) Thanks [@​matthewp](https://togithub.com/matthewp)! - Support Astro 3 JSX format This upgrades the MDX plugin to correctly work with the new JSX render API in Astro 3. ##### Minor Changes - [#​8188](https://togithub.com/withastro/astro/pull/8188) [`d0679a666`](https://togithub.com/withastro/astro/commit/d0679a666f37da0fca396d42b9b32bbb25d29312) Thanks [@​ematipico](https://togithub.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. - [#​8169](https://togithub.com/withastro/astro/pull/8169) [`e79e3779d`](https://togithub.com/withastro/astro/commit/e79e3779df0ad35253abcdb931d622847d9adb12) Thanks [@​bluwy](https://togithub.com/bluwy)! - Remove pre-shiki v0.14 theme names for compatibility. Please rename to the new theme names to migrate: - `material-darker` -> `material-theme-darker` - `material-default` -> `material-theme` - `material-lighter` -> `material-theme-lighter` - `material-ocean` -> `material-theme-ocean` - `material-palenight` -> `material-theme-palenight` - [#​8188](https://togithub.com/withastro/astro/pull/8188) [`84af8ed9d`](https://togithub.com/withastro/astro/commit/84af8ed9d1e6401c6ebc9c60fe8cddb44d5044b0) Thanks [@​ematipico](https://togithub.com/ematipico)! - Add `astro` as peer dependency ##### Patch Changes - [#​8188](https://togithub.com/withastro/astro/pull/8188) [`84af8ed9d`](https://togithub.com/withastro/astro/commit/84af8ed9d1e6401c6ebc9c60fe8cddb44d5044b0) Thanks [@​ematipico](https://togithub.com/ematipico)! - Re-orders the MDX plugin to run before Astro's JSX plugin - [#​8188](https://togithub.com/withastro/astro/pull/8188) [`32669cd47`](https://togithub.com/withastro/astro/commit/32669cd47555e9c7433c3998a2b6e624dfb2d8e9) Thanks [@​ematipico](https://togithub.com/ematipico)! - Handle `components` exports handling itself - Updated dependencies \[[`d0679a666`](https://togithub.com/withastro/astro/commit/d0679a666f37da0fca396d42b9b32bbb25d29312), [`db39206cb`](https://togithub.com/withastro/astro/commit/db39206cbb85b034859ac416179f141184bb2bff), [`adf9fccfd`](https://togithub.com/withastro/astro/commit/adf9fccfdda107c2224558f1c2e6a77847ac0a8a), [`0c7b42dc6`](https://togithub.com/withastro/astro/commit/0c7b42dc6780e687e416137539f55a3a427d1d10), [`46c4c0e05`](https://togithub.com/withastro/astro/commit/46c4c0e053f830585b9ef229ce1c259df00a80f8), [`364d861bd`](https://togithub.com/withastro/astro/commit/364d861bd527b8511968e2837728148f090bedef), [`2484dc408`](https://togithub.com/withastro/astro/commit/2484dc4080e5cd84b9a53648a1de426d7c907be2), [`81545197a`](https://togithub.com/withastro/astro/commit/81545197a32fd015d763fc386c8b67e0e08b7393), [`6011d52d3`](https://togithub.com/withastro/astro/commit/6011d52d38e43c3e3d52bc3bc41a60e36061b7b7), [`c2c71d90c`](https://togithub.com/withastro/astro/commit/c2c71d90c264a2524f99e0373ab59015f23ad4b1), [`cd2d7e769`](https://togithub.com/withastro/astro/commit/cd2d7e76981ef9b9013453aa2629838e1e9fd422), [`80f1494cd`](https://togithub.com/withastro/astro/commit/80f1494cdaf72e58a420adb4f7c712d4089e1923), [`e45f30293`](https://togithub.com/withastro/astro/commit/e45f3029340db718b6ed7e91b5d14f5cf14cd71d), [`c0de7a7b0`](https://togithub.com/withastro/astro/commit/c0de7a7b0f042cd49cbea4f4ac1b2ab6f9fef644), [`65c354969`](https://togithub.com/withastro/astro/commit/65c354969e6fe0ef6d622e8f4c545e2f717ce8c6), [`3c3100851`](https://togithub.com/withastro/astro/commit/3c31008519ce68b5b1b1cb23b71fbe0a2d506882), [`34cb20021`](https://togithub.com/withastro/astro/commit/34cb2002161ba88df6bcb72fecfd12ed867c134b), [`a824863ab`](https://togithub.com/withastro/astro/commit/a824863ab1c451f4068eac54f28dd240573e1cba), [`44f7a2872`](https://togithub.com/withastro/astro/commit/44f7a28728c56c04ac377b6e917329f324874043), [`1048aca55`](https://togithub.com/withastro/astro/commit/1048aca550769415e528016e42b358ffbfd44b61), [`be6bbd2c8`](https://togithub.com/withastro/astro/commit/be6bbd2c86b9bf5268e765bb937dda00ff15781a), [`9e021a91c`](https://togithub.com/withastro/astro/commit/9e021a91c57d10809f588dd47968fc0e7f8b4d5c), [`7511a4980`](https://togithub.com/withastro/astro/commit/7511a4980fd36536464c317de33a5190427f430a), [`c37632a20`](https://togithub.com/withastro/astro/commit/c37632a20d06164fb97a4c2fc48df6d960398832), [`acf652fc1`](https://togithub.com/withastro/astro/commit/acf652fc1d5db166231e87e22d0d50444f5556d8), [`42785c7b7`](https://togithub.com/withastro/astro/commit/42785c7b784b151e6d582570e5d74482129e8eb8), [`8450379db`](https://togithub.com/withastro/astro/commit/8450379db854fb1eaa9f38f21d65db240bc616cd), [`dbc97b121`](https://togithub.com/withastro/astro/commit/dbc97b121f42583728f1cdfdbf14575fda943f5b), [`7d2f311d4`](https://togithub.com/withastro/astro/commit/7d2f311d428e3d1c8c13b9bf2a708d6435713fc2), [`2540feedb`](https://togithub.com/withastro/astro/commit/2540feedb06785d5a20eecc3668849f147d778d4), [`ea7ff5177`](https://togithub.com/withastro/astro/commit/ea7ff5177dbcd7b2508cb1eef1b22b8ee1f47079), [`68efd4a8b`](https://togithub.com/withastro/astro/commit/68efd4a8b29f248397667801465b3152dc98e9a7), [`7bd1b86f8`](https://togithub.com/withastro/astro/commit/7bd1b86f85c06fdde0a1ed9146d01bac69990671), [`036388f66`](https://togithub.com/withastro/astro/commit/036388f66dab68ad54b895ed86f9176958dd83c8), [`519a1c4e8`](https://togithub.com/withastro/astro/commit/519a1c4e8407c7abcb8d879b67a9f4b960652cae), [`1f58a7a1b`](https://togithub.com/withastro/astro/commit/1f58a7a1bea6888868b689dac94801d554319b02), [`2ae9d37f0`](https://togithub.com/withastro/astro/commit/2ae9d37f0a9cb21ab288d3c30aecb6d84db87788), [`a8f35777e`](https://togithub.com/withastro/astro/commit/a8f35777e7e322068a4e2f520c2c9e43ade19e58), [`70f34f5a3`](https://togithub.com/withastro/astro/commit/70f34f5a355f42526ee9e5355f3de8e510002ea2), [`5208a3c8f`](https://togithub.com/withastro/astro/commit/5208a3c8fefcec7694857fb344af351f4631fc34), [`84af8ed9d`](https://togithub.com/withastro/astro/commit/84af8ed9d1e6401c6ebc9c60fe8cddb44d5044b0), [`f003e7364`](https://togithub.com/withastro/astro/commit/f003e7364317cafdb8589913b26b28e928dd07c9), [`ffc9e2d3d`](https://togithub.com/withastro/astro/commit/ffc9e2d3de46049bf3d82140ef018f524fb03187), [`732111cdc`](https://togithub.com/withastro/astro/commit/732111cdce441639db31f40f621df48442d00969), [`0f637c71e`](https://togithub.com/withastro/astro/commit/0f637c71e511cb4c51712128d217a26c8eee4d40), [`33b8910cf`](https://togithub.com/withastro/astro/commit/33b8910cfdce5713891c50a84a0a8fe926311710), [`8a5b0c1f3`](https://togithub.com/withastro/astro/commit/8a5b0c1f3a4be6bb62db66ec70144109ff5b4c59), [`148e61d24`](https://togithub.com/withastro/astro/commit/148e61d2492456811f8a3c8daaab1c3429a2ffdc), [`e79e3779d`](https://togithub.com/withastro/astro/commit/e79e3779df0ad35253abcdb931d622847d9adb12), [`632579dc2`](https://togithub.com/withastro/astro/commit/632579dc2094cc342929261c89e689f0dd358284), [`3674584e0`](https://togithub.com/withastro/astro/commit/3674584e02b161a698b429ceb66723918fdc56ac), [`1db4e92c1`](https://togithub.com/withastro/astro/commit/1db4e92c12ed73681217f5cefd39f2f47542f961), [`e7f872e91`](https://togithub.com/withastro/astro/commit/e7f872e91e852b901cf221a5151077dec64305bf), [`16f09dfff`](https://togithub.com/withastro/astro/commit/16f09dfff7722fda99dd0412e3006a7a39c80829), [`4477bb41c`](https://togithub.com/withastro/astro/commit/4477bb41c8ed688785c545731ef5b184b629f4e5), [`55c10d1d5`](https://togithub.com/withastro/astro/commit/55c10d1d564e805efc3c1a7c48e0d9a1cdf0c7ed), [`3e834293d`](https://togithub.com/withastro/astro/commit/3e834293d47ab2761a7aa013916e8371871efb7f), [`96beb883a`](https://togithub.com/withastro/astro/commit/96beb883ad87f8bbf5b2f57e14a743763d2a6f58), [`997a0db8a`](https://togithub.com/withastro/astro/commit/997a0db8a4e3851edd69384cf5eadbb969e1d547), [`80f1494cd`](https://togithub.com/withastro/astro/commit/80f1494cdaf72e58a420adb4f7c712d4089e1923), [`0f0625504`](https://togithub.com/withastro/astro/commit/0f0625504145f18cba7dc6cf20291cb2abddc5a9), [`e1ae56e72`](https://togithub.com/withastro/astro/commit/e1ae56e724d0f83db1230359e06cd6bc26f5fa26), [`f32d093a2`](https://togithub.com/withastro/astro/commit/f32d093a280faafff024228c12bb438156ec34d7), [`f01eb585e`](https://togithub.com/withastro/astro/commit/f01eb585e7c972d940761309b1595f682b6922d2), [`b76c166bd`](https://togithub.com/withastro/astro/commit/b76c166bdd8e28683f62806aef968d1e0c3b06d9), [`a87cbe400`](https://togithub.com/withastro/astro/commit/a87cbe400314341d5f72abf86ea264e6b47c091f), [`866ed4098`](https://togithub.com/withastro/astro/commit/866ed4098edffb052239cdb26e076cf8db61b1d9), [`767eb6866`](https://togithub.com/withastro/astro/commit/767eb68666eb777965baa0d6ade20bbafecf95bf), [`32669cd47`](https://togithub.com/withastro/astro/commit/32669cd47555e9c7433c3998a2b6e624dfb2d8e9)]: - [@​astrojs/prism](https://togithub.com/astrojs/prism)[@​3](https://togithub.com/3).0.0 - astro@3.0.0 - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​3](https://togithub.com/3).0.0
withastro/astro (@​astrojs/partytown) ### [`v2.1.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/partytown/CHANGELOG.md#212) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/partytown@2.1.1...@astrojs/partytown@2.1.2) ##### Patch Changes - [#​11829](https://togithub.com/withastro/astro/pull/11829) [`f1df1b3`](https://togithub.com/withastro/astro/commit/f1df1b3b462309444a9a50ecbf229840dff8c9d0) Thanks [@​oosawy](https://togithub.com/oosawy)! - Prevent Partytown integration from inserting a 'null' string into the body ### [`v2.1.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/partytown/CHANGELOG.md#211) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/partytown@2.1.0...@astrojs/partytown@2.1.1) ##### Patch Changes - [#​11083](https://togithub.com/withastro/astro/pull/11083) [`416c4ac`](https://togithub.com/withastro/astro/commit/416c4ac66d432d4c5abd13a4c7ecd20defb4fc30) Thanks [@​V3RON](https://togithub.com/V3RON)! - Prevent Partytown from crashing when View Transitions are enabled When View Transitions are turned on, Partytown executes on every transition. It's not meant to be like that, and therefore it breaks the integration completely. Starting from now, Partytown will be executed only once. ### [`v2.1.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/partytown/CHANGELOG.md#210) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/partytown@2.0.4...@astrojs/partytown@2.1.0) ##### Minor Changes - [#​10833](https://togithub.com/withastro/astro/pull/10833) [`8d5f3e8`](https://togithub.com/withastro/astro/commit/8d5f3e8656027023f9fda51c66b0213ffe16d3a5) Thanks [@​renovate](https://togithub.com/apps/renovate)! - Updates the `@builder.io/partytown` dependency to v0.10. This should not affect projects in most cases. ### [`v2.0.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/partytown/CHANGELOG.md#204) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/partytown@2.0.3...@astrojs/partytown@2.0.4) ##### Patch Changes - [#​9666](https://togithub.com/withastro/astro/pull/9666) [`cdf8ce06271b8b5e474186a3cd6d7925c423a4a6`](https://togithub.com/withastro/astro/commit/cdf8ce06271b8b5e474186a3cd6d7925c423a4a6) Thanks [@​martrapp](https://togithub.com/martrapp)! - Fixes an issue where Partytown scripts didn't execute after view transition ### [`v2.0.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/partytown/CHANGELOG.md#203) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/partytown@2.0.2...@astrojs/partytown@2.0.3) ##### Patch Changes - [#​9479](https://togithub.com/withastro/astro/pull/9479) [`1baf0b0d3cbd0564954c2366a7278794fad6726e`](https://togithub.com/withastro/astro/commit/1baf0b0d3cbd0564954c2366a7278794fad6726e) Thanks [@​sarah11918](https://togithub.com/sarah11918)! - Updates README ### [`v2.0.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/partytown/CHANGELOG.md#202) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/partytown@2.0.1...@astrojs/partytown@2.0.2) ##### Patch Changes - [#​8892](https://togithub.com/withastro/astro/pull/8892) [`e21fef7da`](https://togithub.com/withastro/astro/commit/e21fef7da2292414f55b58ffe7d9bbfd25904ca3) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Adds the ability to override the `lib` option in `astro.config.mjs` ### [`v2.0.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/partytown/CHANGELOG.md#201) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/partytown@2.0.0...@astrojs/partytown@2.0.1) ##### Patch Changes - [#​8737](https://togithub.com/withastro/astro/pull/8737) [`6f60da805`](https://togithub.com/withastro/astro/commit/6f60da805e0014bc50dd07bef972e91c73560c3c) Thanks [@​ematipico](https://togithub.com/ematipico)! - Add provenance statement when publishing the library from CI - [#​8740](https://togithub.com/withastro/astro/pull/8740) [`f277ba8b7`](https://togithub.com/withastro/astro/commit/f277ba8b703037635bc7adee84d51eaf7dafd388) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Expose types for TypeScript users ### [`v2.0.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/partytown/CHANGELOG.md#200) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/partytown@1.2.3...@astrojs/partytown@2.0.0) ##### Major Changes - [#​8188](https://togithub.com/withastro/astro/pull/8188) [`d0679a666`](https://togithub.com/withastro/astro/commit/d0679a666f37da0fca396d42b9b32bbb25d29312) Thanks [@​ematipico](https://togithub.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. - [#​8179](https://togithub.com/withastro/astro/pull/8179) [`6011d52d3`](https://togithub.com/withastro/astro/commit/6011d52d38e43c3e3d52bc3bc41a60e36061b7b7) Thanks [@​matthewp](https://togithub.com/matthewp)! - Astro 3.0 Release Candidate
withastro/astro (@​astrojs/react) ### [`v3.6.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#362) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/react@3.6.1...@astrojs/react@3.6.2) ##### Patch Changes - [#​11624](https://togithub.com/withastro/astro/pull/11624) [`7adb350`](https://togithub.com/withastro/astro/commit/7adb350a37f3975c8c9db89a32bf63b9fd0b78c2) Thanks [@​bluwy](https://togithub.com/bluwy)! - Prevents throwing errors when checking if a component is a React component in runtime ### [`v3.6.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#361) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/react@3.6.0...@astrojs/react@3.6.1) ##### Patch Changes - [#​11571](https://togithub.com/withastro/astro/pull/11571) [`1c3265a`](https://togithub.com/withastro/astro/commit/1c3265a8c9c0b1b1bd597f756b63463146bacc3a) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - **BREAKING CHANGE to the experimental Actions API only.** Install the latest `@astrojs/react` integration as well if you're using React 19 features. Make `.safe()` the default return value for actions. This means `{ data, error }` will be returned when calling an action directly. If you prefer to get the data while allowing errors to throw, chain the `.orThrow()` modifier. ```ts import { actions } from 'astro:actions'; // Before const { data, error } = await actions.like.safe(); // After const { data, error } = await actions.like(); // Before const newLikes = await actions.like(); // After const newLikes = await actions.like.orThrow(); ``` ### [`v3.6.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#360) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/react@3.5.0...@astrojs/react@3.6.0) ##### Minor Changes - [#​11234](https://togithub.com/withastro/astro/pull/11234) [`4385bf7`](https://togithub.com/withastro/astro/commit/4385bf7a4dc9c65bff53a30c660f7a909fcabfc9) Thanks [@​ematipico](https://togithub.com/ematipico)! - Adds a new function called `addServerRenderer` to the Container API. Use this function to manually store renderers inside the instance of your container. This new function should be preferred when using the Container API in environments like on-demand pages: ```ts import type { APIRoute } from 'astro'; import { experimental_AstroContainer } from 'astro/container'; import reactRenderer from '@​astrojs/react/server.js'; import vueRenderer from '@​astrojs/vue/server.js'; import ReactComponent from '../components/button.jsx'; import VueComponent from '../components/button.vue'; // MDX runtime is contained inside the Astro core import mdxRenderer from 'astro/jsx/server.js'; // In case you need to import a custom renderer import customRenderer from '../renderers/customRenderer.js'; export const GET: APIRoute = async (ctx) => { const container = await experimental_AstroContainer.create(); container.addServerRenderer({ renderer: reactRenderer }); container.addServerRenderer({ renderer: vueRenderer }); container.addServerRenderer({ renderer: customRenderer }); // You can pass a custom name too container.addServerRenderer({ name: 'customRenderer', renderer: customRenderer, }); const vueComponent = await container.renderToString(VueComponent); return await container.renderToResponse(Component); }; ``` ### [`v3.5.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#350) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/react@3.4.0...@astrojs/react@3.5.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.4.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#340) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/react@3.3.4...@astrojs/react@3.4.0) ##### Minor Changes - [#​11071](https://togithub.com/withastro/astro/pull/11071) [`8ca7c73`](https://togithub.com/withastro/astro/commit/8ca7c731dea894e77f84b314ebe3a141d5daa918) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Adds two new functions `experimental_getActionState()` and `experimental_withState()` to support [the React 19 `useActionState()` hook](https://react.dev/reference/react/useActionState) when using Astro Actions. This introduces progressive enhancement when calling an Action with the `withState()` utility. This example calls a `like` action that accepts a `postId` and returns the number of likes. Pass this action to the `experimental_withState()` function to apply progressive enhancement info, and apply to `useActionState()` to track the result: ```tsx import { actions } from 'astro:actions'; import { experimental_withState } from '@​astrojs/react/actions'; export function Like({ postId }: { postId: string }) { const [state, action, pending] = useActionState( experimental_withState(actions.like), 0 // initial likes ); return (
); } ``` You can also access the state stored by `useActionState()` from your action `handler`. Call `experimental_getActionState()` with the API context, and optionally apply a type to the result: ```ts import { defineAction, z } from 'astro:actions'; import { experimental_getActionState } from '@​astrojs/react/actions'; export const server = { like: defineAction({ input: z.object({ postId: z.string(), }), handler: async ({ postId }, ctx) => { const currentLikes = experimental_getActionState(ctx); // write to database return currentLikes + 1; }, }), }; ``` ### [`v3.3.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#334) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/react@3.3.3...@astrojs/react@3.3.4) ##### Patch Changes - [#​10986](https://togithub.com/withastro/astro/pull/10986) [`4d16381`](https://togithub.com/withastro/astro/commit/4d163811e1a25affb2c3d9adb3af650b7f1c91b6) Thanks [@​emish89](https://togithub.com/emish89)! - Fixes incorrect `peerDependencies` for `@types/react` and `@types/react-dom` ### [`v3.3.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#333) [Compare Source](https://togith

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



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

renovate[bot] commented 5 months ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @astrojs/image@0.18.0
npm ERR! Found: astro@4.7.0
npm ERR! node_modules/astro
npm ERR!   astro@"^4.0.0" from the root project
npm ERR!   peer astro@"^4.0.0" from @astrojs/mdx@2.3.1
npm ERR!   node_modules/@astrojs/mdx
npm ERR!     @astrojs/mdx@"^2.0.0" from the root project
npm ERR!   1 more (@astrojs/tailwind)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer astro@"^2.10.15" from @astrojs/image@0.18.0
npm ERR! node_modules/@astrojs/image
npm ERR!   @astrojs/image@"^0.18.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: astro@2.10.15
npm ERR! node_modules/astro
npm ERR!   peer astro@"^2.10.15" from @astrojs/image@0.18.0
npm ERR!   node_modules/@astrojs/image
npm ERR!     @astrojs/image@"^0.18.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-05-01T09_29_09_155Z-debug-0.log
renovate[bot] commented 5 months ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @astrojs/image@0.18.0
npm ERR! Found: astro@4.8.0
npm ERR! node_modules/astro
npm ERR!   astro@"^4.0.0" from the root project
npm ERR!   peer astro@"^4.8.0" from @astrojs/mdx@3.0.0
npm ERR!   node_modules/@astrojs/mdx
npm ERR!     @astrojs/mdx@"^3.0.0" from the root project
npm ERR!   1 more (@astrojs/tailwind)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer astro@"^2.10.15" from @astrojs/image@0.18.0
npm ERR! node_modules/@astrojs/image
npm ERR!   @astrojs/image@"^0.18.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: astro@2.10.15
npm ERR! node_modules/astro
npm ERR!   peer astro@"^2.10.15" from @astrojs/image@0.18.0
npm ERR!   node_modules/@astrojs/image
npm ERR!     @astrojs/image@"^0.18.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-05-09T11_55_09_473Z-debug-0.log