Astro: @astrojs/[email protected] Release

Release date:
June 6, 2024
Previous version:
@astrojs/[email protected] (released April 11, 2024)
Magnitude:
15,992 Diff Delta
Contributors:
31 total committers
Data confidence:
Commits:

235 Commits in this Release

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

Authored June 6, 2024
Authored May 23, 2024
Authored May 15, 2024
Authored May 22, 2024
Authored May 22, 2024
Authored May 16, 2024
Authored May 2, 2024
Authored June 5, 2024
Authored April 18, 2024
Authored May 7, 2024
Authored April 25, 2024

Top Contributors in @astrojs/[email protected]

ematipico
bholmesdev
Princesseuh
rishi-raj-jain-01ee
adrianlyjak
itsMapleLeaf
szepeviktor
Xetera
BryceRussell
niklas-wortmann

Directory Browser for @astrojs/[email protected]

All files are compared to previous version, @astrojs/[email protected]. Click here to browse diffs between other versions.

Loading File Browser...

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