#114906ad02b5 Thanks @bluwy! - Bumps Svelte 5 peer dependency to ^5.0.0-next.190 and support the latest slots/snippets API
5.6.0
Minor Changes
#112344385bf7 Thanks @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:
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,
});
Changes the default page rendering behavior of Astro components in containers, and adds a new option partial: false to render full Astro pages as before.
Previously, the Container API was rendering all Astro components as if they were full Astro pages containing <!DOCTYPE html> by default. This was not intended, and now by default, all components will render as page partials: only the contents of the components without a page shell.
To render the component as a full-fledged Astro page, pass a new option called partial: false to renderToString() and renderToResponse():
import { experimental_AstroContainer as AstroContainer } from 'astro/container';
import Card from '../src/components/Card.astro';
const container = AstroContainer.create();
await container.renderToString(Card); // the string will not contain <!DOCTYPE html>
await container.renderToString(Card, { partial: false }); // the string will contain <!DOCTYPE html>
astro@4.16.5
Patch Changes
#12232ff68ba5 Thanks @martrapp! - Fixes an issue with cssesc in dev mode when setting vite.ssr.noExternal: true
astro@4.16.4
Patch Changes
#1222379ffa5d Thanks @ArmandPhilippot! - Fixes a false positive reported by the dev toolbar Audit app where a label was considered missing when associated with a button
The button element can be used with a label (e.g. to create a switch) and should not be reported as an accessibility issue when used as a child of a label.
#12199c351352 Thanks @ematipico! - Fixes a regression in the computation of Astro.currentLocale
#12222fb55695 Thanks @ematipico! - Fixes an issue where the edge middleware couldn't correctly compute the client IP address when calling ctx.clientAddress()
Changes the default page rendering behavior of Astro components in containers, and adds a new option partial: false to render full Astro pages as before.
Previously, the Container API was rendering all Astro components as if they were full Astro pages containing <!DOCTYPE html> by default. This was not intended, and now by default, all components will render as page partials: only the contents of the components without a page shell.
To render the component as a full-fledged Astro page, pass a new option called partial: false to renderToString() and renderToResponse():
import { experimental_AstroContainer as AstroContainer } from 'astro/container';
import Card from '../src/components/Card.astro';
const container = AstroContainer.create();
await container.renderToString(Card); // the string will not contain <!DOCTYPE html>
await container.renderToString(Card, { partial: false }); // the string will contain <!DOCTYPE html>
4.16.5
Patch Changes
#12232ff68ba5 Thanks @martrapp! - Fixes an issue with cssesc in dev mode when setting vite.ssr.noExternal: true
4.16.4
Patch Changes
#1222379ffa5d Thanks @ArmandPhilippot! - Fixes a false positive reported by the dev toolbar Audit app where a label was considered missing when associated with a button
The button element can be used with a label (e.g. to create a switch) and should not be reported as an accessibility issue when used as a child of a label.
#12199c351352 Thanks @ematipico! - Fixes a regression in the computation of Astro.currentLocale
#12222fb55695 Thanks @ematipico! - Fixes an issue where the edge middleware couldn't correctly compute the client IP address when calling ctx.clientAddress()
Bumps the all-updates group with 11 updates in the / directory:
4.0.4
5.7.2
5.1.0
5.1.2
3.6.5
4.16.6
4.2.18
5.0.3
0.5.7
0.5.9
0.0.269
0.0.278
7.18.0
8.10.0
7.18.0
8.10.0
3.2.1
4.6.1
5.0.0
6.0.0
3.4.7
3.4.14
Updates
@astrojs/svelte
from 4.0.4 to 5.7.2Release notes
Sourced from
@astrojs/svelte
's releases.Changelog
Sourced from
@astrojs/svelte
's changelog.... (truncated)
Commits
46cbf10
[ci] release (#12115)5bc6223
Fix-component-undefined-svelte-v5 (#12102) (#12129)a46839a
docs: update Vite links to use their new domain (#12117)928dc31
fix(deps): update all non-major dependencies (#12092)2594eb0
fix(deps): update all non-major dependencies (#12003)8214114
[ci] release (#12002)a582cb6
Fix Svelte view transition state persistence (#12006)b9394fa
chore(deps): update all non-major dependencies (#11948)26c63a2
fix(deps): update all non-major dependencies (#11837)48b85c1
fix(deps): update all non-major dependencies (#11765)Updates
@astrojs/tailwind
from 5.1.0 to 5.1.2Release notes
Sourced from
@astrojs/tailwind
's releases.Changelog
Sourced from
@astrojs/tailwind
's changelog.Commits
582f12e
[ci] release (#12148)8e500f2
Addcss
keyword to Tailwind integration (#12161)2594eb0
fix(deps): update all non-major dependencies (#12003)8214114
[ci] release (#12002)dcd1158
Make@astrojs/tailwind
compat with Astro 5 (#12018)b9394fa
chore(deps): update all non-major dependencies (#11948)645f4e2
fix(deps): update all non-major dependencies (#11896)26c63a2
fix(deps): update all non-major dependencies (#11837)48b85c1
fix(deps): update all non-major dependencies (#11765)315ec07
fix(deps): update all non-major dependencies (#11674)Updates
astro
from 3.6.5 to 4.16.6Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
d6f1704
[ci] release (#12240)c5cd5be
Fix test:vite-ci script (#12246)0bbf2fb
[ci] format8b1a641
fix: do not override process.env (#12227)2b6daa5
fix(container): emit components as partials (#12239)a3d30a6
fix: improve error for inferSize and Image component (#11823)5a4edeb
[ci] release (#12234)ff68ba5
Fixes an issue with cssesc in dev mode when setting vite.ssr.noExternal: true...6df5bba
[ci] release (#12225)64bb796
Use real filesystem for unit testing (#12172)Updates
svelte
from 4.2.18 to 5.0.3Release notes
Sourced from svelte's releases.
... (truncated)
Changelog
Sourced from svelte's changelog.
... (truncated)
Commits
41b5cd6
Version Packages (#13720)ed6d7ee
wrap-transition-events (#13719)0581e33
Version Packages (#13704)e431769
fix: don't blank css on migration error (#13703)c73c683
Version Packages (#13702)6ad017f
fix: use typedef for JSDoc props and maintain comments (#13698)663a3ca
update version.js7691521
major bump - svelte 5 (#13701)0fdfd9c
Version Packages (next) (#13696)2ca9a81
fix: ensure user effects are correctly executed on initialisation (#13697)Updates
@tailwindcss/forms
from 0.5.7 to 0.5.9Release notes
Sourced from
@tailwindcss/forms
's releases.Changelog
Sourced from
@tailwindcss/forms
's changelog.Commits
5db4de9
Update version you idiot02ef4f9
Update changelog255476c
Fallback to static chevron color if theme is using variables (#167)9786ae1
Add missing release scripts7d0425e
Add stub test scriptaac934c
Add lockfileab73c9d
0.5.8c0c7944
Add CI pipeline for releases and clean up the workflows (#164)4c0d791
Update peer dependency version to include 4.0.0-alpha.20 (#163)c9d9da3
ci: add provenance to insider packages (#154)Updates
@types/chrome
from 0.0.269 to 0.0.278Commits
Updates
@typescript-eslint/eslint-plugin
from 7.18.0 to 8.10.0Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
7effdea
chore(release): publish 8.10.0f9c49e3
feat: support TypeScript 5.6 (#9972)d09d36d
docs: inject option descriptions into rule docs when possible (#9925)373c63a
chore(eslint-plugin): [no-unnecessary-condition] remove dead suggestion id (#...4666ed4
chore(release): publish 8.9.0ef8642b
fix(eslint-plugin): handle unions in await...for (#10110)ef5df2f
docs: updateordered-imports
status (#10129)60f0766
fix(eslint-plugin): correct use-at-your-own-risk type definitions (#10049)15d0960
fix(eslint-plugin): [no-unused-vars] never report the naming of an enum membe...a87c296
fix(eslint-plugin): [no-loop-func] sync from upstream base rule (#10103)Updates
@typescript-eslint/parser
from 7.18.0 to 8.10.0Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.... (truncated)
Commits
7effdea
chore(release): publish 8.10.0f9c49e3
feat: support TypeScript 5.6 (#9972)4666ed4
chore(release): publish 8.9.0f898248
chore(release): publish 8.8.12055cfb
chore(release): publish 8.8.0b88ea33
chore(release): publish 8.7.0343710e
chore(release): publish 8.6.04d31ebe
chore(release): publish 8.5.04bc801e
chore: enable unicorn/no-array-reduce (#9640)3920c93
chore(release): publish 8.4.0Updates
astro-purgecss
from 3.2.1 to 4.6.1Release notes
Sourced from astro-purgecss's releases.
Changelog
Sourced from astro-purgecss's changelog.
... (truncated)
Commits
8a7bef2
RELEASING: astro-purgecss@4.6.1 (#663)2bef1ec
[astro-purgecss] Fix race-condition in renaming css files (#662)c6344e4
RELEASING: astro-purgecss@4.6.0 (#635)2487b00
[astro-purgecss] Fix Reached heap limit Allocation failed error (#632)Superseded by #203.