Astro: @astrojs/[email protected] Release

Release date:
June 6, 2024
Previous version:
@astrojs/[email protected] (released May 23, 2024)
Magnitude:
2,384 Diff Delta
Contributors:
6 total committers
Data confidence:
Commits:

34 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored June 6, 2024
Authored June 5, 2024
Authored May 27, 2024
Authored May 23, 2024
Authored June 5, 2024
Authored May 24, 2024
Authored June 5, 2024
Authored June 5, 2024
Authored June 4, 2024
Authored May 29, 2024
Authored May 28, 2024
Authored May 28, 2024
Authored May 29, 2024
Authored June 5, 2024
Authored June 6, 2024
Authored June 5, 2024
Authored June 5, 2024

Top Contributors in @astrojs/[email protected]

ematipico
Princesseuh
liruifengv
kitschpatrol
theoephraim
sarah11918

Directory Browser for @astrojs/[email protected]

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Minor Changes

  • #11144 803dd80 Thanks @ematipico! - The integration now exposes a function called getContainerRenderer, that can be used inside the Container APIs to load the relative renderer.

    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');
    });