withastro/astro (@astrojs/mdx)
### [`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');
});
```
withastro/astro (@astrojs/solid-js)
### [`v4.3.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/solid/CHANGELOG.md#430)
[Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/solid-js@4.2.0...@astrojs/solid-js@4.3.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');
});
```
withastro/astro (astro)
### [`v4.10.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4100)
[Compare Source](https://togithub.com/withastro/astro/compare/astro@4.9.3...astro@4.10.0)
##### Minor Changes
- [#10974](https://togithub.com/withastro/astro/pull/10974) [`2668ef9`](https://togithub.com/withastro/astro/commit/2668ef984104574f25f29ef75e2572a0745d1666) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Adds experimental support for the `astro:env` API.
The `astro:env` API lets you configure a type-safe schema for your environment variables, and indicate whether they should be available on the server or the client. Import and use your defined variables from the appropriate `/client` or `/server` module:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
3.0.1
->3.1.0
4.2.0
->4.3.0
4.9.3
->4.10.0
Release Notes
withastro/astro (@astrojs/mdx)
### [`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'); }); ```withastro/astro (@astrojs/solid-js)
### [`v4.3.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/solid/CHANGELOG.md#430) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/solid-js@4.2.0...@astrojs/solid-js@4.3.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'); }); ```withastro/astro (astro)
### [`v4.10.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4100) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.9.3...astro@4.10.0) ##### Minor Changes - [#10974](https://togithub.com/withastro/astro/pull/10974) [`2668ef9`](https://togithub.com/withastro/astro/commit/2668ef984104574f25f29ef75e2572a0745d1666) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Adds experimental support for the `astro:env` API. The `astro:env` API lets you configure a type-safe schema for your environment variables, and indicate whether they should be available on the server or the client. Import and use your defined variables from the appropriate `/client` or `/server` module:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Mend Renovate. View repository job log here.