When an HTML minifier strips away the server island comment, the script can't correctly know where the end of the fallback content is. This makes it so that it simply doesn't remove any DOM in that scenario. This means the fallback isn't removed, but it also doesn't crash the browser.
#11657a23c69d Thanks @bluwy! - Deprecates the option for route-generating files to export a dynamic value for prerender. Only static values are now supported (e.g. export const prerender = true or = false). This allows for better treeshaking and bundling configuration in the future.
Adds a new "astro:route:setup" hook to the Integrations API to allow you to dynamically set options for a route at build or request time through an integration, such as enabling on-demand server rendering.
To migrate from a dynamic export to the new hook, update or remove any dynamic prerender exports from individual routing files:
When an HTML minifier strips away the server island comment, the script can't correctly know where the end of the fallback content is. This makes it so that it simply doesn't remove any DOM in that scenario. This means the fallback isn't removed, but it also doesn't crash the browser.
#11657a23c69d Thanks @bluwy! - Deprecates the option for route-generating files to export a dynamic value for prerender. Only static values are now supported (e.g. export const prerender = true or = false). This allows for better treeshaking and bundling configuration in the future.
Adds a new "astro:route:setup" hook to the Integrations API to allow you to dynamically set options for a route at build or request time through an integration, such as enabling on-demand server rendering.
To migrate from a dynamic export to the new hook, update or remove any dynamic prerender exports from individual routing files:
#11535932bd2e Thanks @matthewp! - Move polyfills up before awaiting the env module in the Node.js adapter.
Previously the env setting was happening before the polyfills were applied. This means that if the Astro env code (or any dependencies) depended on crypto, it would not be polyfilled in time.
Polyfills should be applied ASAP to prevent races. This moves it to the top of the Node adapter.
#11535932bd2e Thanks @matthewp! - Move polyfills up before awaiting the env module in the Node.js adapter.
Previously the env setting was happening before the polyfills were applied. This means that if the Astro env code (or any dependencies) depended on crypto, it would not be polyfilled in time.
Polyfills should be applied ASAP to prevent races. This moves it to the top of the Node adapter.
#178468f56a7 Thanks @HiDeoo! - Adds <LinkButton> component for visually distinct and emphasized call to action links
#21509368494 Thanks @delucis! - Adds state persistence across page navigations to the main site sidebar
#2087caa84ea Thanks @HiDeoo! - Adds persistence to synced <Tabs> so that a user's choices are reflected across page navigations.
#2051ec3b579 Thanks @HiDeoo! - Adds a guideline to the last step of the <Steps> component.
If you want to preserve the previous behaviour and hide the guideline on final steps, you can add the following custom CSS to your site:
/* Hide the guideline for the final step in <Steps> lists. */
.sl-steps > li:last-of-type::after {
background: transparent;
}
#178468f56a7 Thanks @HiDeoo! - Changes the hero component action button default variant from minimal to primary.
⚠️ BREAKING CHANGE: If you want to preserve the previous appearance, hero component action buttons previously declared without a variant will need to be updated to include the variant property with the value minimal.
#2168e044fee Thanks @HiDeoo! - ⚠️ BREAKING CHANGE: Updates the <StarlightPage /> component sidebar prop to accept an array of SidebarItems like the main Starlight sidebar configuration in astro.config.mjs.
This change simplifies the definition of sidebar items in the <StarlightPage /> component, allows for shared sidebar configuration between the global sidebar option and <StarlightPage /> component, and also enables the usage of autogenerated sidebar groups with the <StarlightPage /> component.
If you are using the <StarlightPage /> component with a custom sidebar configuration, you will need to update the sidebar prop to an array of SidebarItem objects.
For example, the following custom page with a custom sidebar configuration defines a “Resources” group with a “New” badge, a link to the “Showcase” page which is part of the docs content collection, and a link to the Starlight website:
#221974d4716 Thanks @HiDeoo! - Fixes a sidebar persistence issue when navigating between pages with different sidebar content.
0.26.0
Minor Changes
#178468f56a7 Thanks @HiDeoo! - Adds <LinkButton> component for visually distinct and emphasized call to action links
#21509368494 Thanks @delucis! - Adds state persistence across page navigations to the main site sidebar
#2087caa84ea Thanks @HiDeoo! - Adds persistence to synced <Tabs> so that a user's choices are reflected across page navigations.
#2051ec3b579 Thanks @HiDeoo! - Adds a guideline to the last step of the <Steps> component.
If you want to preserve the previous behaviour and hide the guideline on final steps, you can add the following custom CSS to your site:
/* Hide the guideline for the final step in <Steps> lists. */
.sl-steps > li:last-of-type::after {
background: transparent;
}
#178468f56a7 Thanks @HiDeoo! - Changes the hero component action button default variant from minimal to primary.
⚠️ BREAKING CHANGE: If you want to preserve the previous appearance, hero component action buttons previously declared without a variant will need to be updated to include the variant property with the value minimal.
#2168e044fee Thanks @HiDeoo! - ⚠️ BREAKING CHANGE: Updates the <StarlightPage /> component sidebar prop to accept an array of SidebarItems like the main Starlight sidebar configuration in astro.config.mjs.
This change simplifies the definition of sidebar items in the <StarlightPage /> component, allows for shared sidebar configuration between the global sidebar option and <StarlightPage /> component, and also enables the usage of autogenerated sidebar groups with the <StarlightPage /> component.
If you are using the <StarlightPage /> component with a custom sidebar configuration, you will need to update the sidebar prop to an array of SidebarItem objects.
For example, the following custom page with a custom sidebar configuration defines a “Resources” group with a “New” badge, a link to the “Showcase” page which is part of the docs content collection, and a link to the Starlight website:
#64793c24d84 Thanks @petebacondarwin! - feat: allow HTTPS custom certificate paths to be provided by a environment variables
As well as providing paths to custom HTTPS certificate files, it is now possible to use WRANGLER_HTTPS_KEY_PATH and WRANGLER_HTTPS_CERT_PATH environment variables.
Specifying the file paths at the command line overrides specifying in environment variables.
#648934bf393 Thanks @GregBrimble! - fix: Upload assets as JSON Lines (application/jsonl) rather than NDJSON (application/x-ndjson)
#6482e24939c Thanks @RamIdeas! - fix: reimplement module aliasing so user-defined aliases take precedence over other plugins (eg unenv node.js polyfills)
#64793c24d84 Thanks @petebacondarwin! - feat: allow HTTPS custom certificate paths to be provided by a environment variables
As well as providing paths to custom HTTPS certificate files, it is now possible to use WRANGLER_HTTPS_KEY_PATH and WRANGLER_HTTPS_CERT_PATH environment variables.
Specifying the file paths at the command line overrides specifying in environment variables.
#648934bf393 Thanks @GregBrimble! - fix: Upload assets as JSON Lines (application/jsonl) rather than NDJSON (application/x-ndjson)
#6482e24939c Thanks @RamIdeas! - fix: reimplement module aliasing so user-defined aliases take precedence over other plugins (eg unenv node.js polyfills)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will...
_Description has been truncated_
Bumps the dependencies group with 10 updates:
23.0.2
23.1.0
1.46.0
1.46.1
22.2.0
22.4.0
5.4.0
5.4.1
0.9.2
0.9.3
4.13.3
4.14.2
8.3.2
8.3.3
0.33.4
0.33.5
0.25.4
0.26.1
3.70.0
3.72.0
Updates
puppeteer
from 23.0.2 to 23.1.0Release notes
Sourced from puppeteer's releases.
Commits
1e1a638
chore: release main (#12937)77b729e
feat: improve type inference for selectors by adopting "typed-query-selector"...4ebe27b
chore: update canary expectations (#12955)ceed58e
test: add a type test for p selectors (#12954)cc2eda2
fix: roll to Chrome 127.0.6533.119 (#12951)f5260e6
test: update canary expectations (#12948)110a9d1
build: update wireit to 0.14.7 (#12947)9feda9c
fix(firefox): back up user.js as well (#12943)71afa01
chore: fix FF version in daily job (#12946)cb42358
ci: post daily update for Firefox as well (#12945)Updates
@playwright/test
from 1.46.0 to 1.46.1Release notes
Sourced from
@playwright/test
's releases.Commits
e1c861c
cherry-pick(#32021): test: fix failing client-certificate tests20b0788
chore: mark v1.46.1 (#32194)57c3240
cherry-pick(#32192): chore: generate self-signed certificates for socks proxy301f179
cherry-pick(#32189): fix(only-changed): show nice error message about shallow...b2d6a09
cherry-pick(#32164): docs: release video and trace viewer video (#32173)7cf7aec
cherry-pick(#32094): fix(test runner): run project dependencies of `--only-ch...d78ae01
cherry-pick(#32163): fix(client-certificates): stall on tls handshake errorsbd13da4
cherry-pick(#32155): fix(client-certificates): when server does tls renegotia...30684a7
cherry-pick(#32066): fix(types): revert type changes made to support TS 5.5 (...5e68061
cherry-pick(#32015): docs(release-notes): fix typo in .NET release notesUpdates
@types/node
from 22.2.0 to 22.4.0Commits
Updates
vite
from 5.4.0 to 5.4.1Changelog
Sourced from vite's changelog.
Commits
b44c20c
release: v5.4.1391bb49
fix(worker): handle self reference url worker in dependency for build (#17846)e686d74
fix(build): avoid re-define__vite_import_meta_env__
(#17876)9018255
chore: fix picocolors import for local dev (#17884)1bda847
fix: align CorsOptions.origin type with@types/cors
(#17836)e16bf1f
refactor: removehandleHotUpdate
from watch-package-data plugin (#17865)6700594
fix: typings for vite:preloadError (#17868)d11711c
fix(deps): update all non-major dependencies (#17869)4e5ce3c
fix(lightningcss): search for assets with correct base path (#17856)e961b31
fix:build.modulePreload.resolveDependencies
is optimizable (#16083)Updates
@astrojs/check
from 0.9.2 to 0.9.3Release notes
Sourced from
@astrojs/check
's releases.Changelog
Sourced from
@astrojs/check
's changelog.Commits
cb4dc89
Version Packages (#940)28dfebe
feat: Update to Volar 2.4.0 (#938)47d362e
chore: match main repo linting config and fix linting issues1172836
chore: update formatting config to match main repoUpdates
astro
from 4.13.3 to 4.14.2Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
0109690
[ci] release (#11734)391324d
Revert parseArgs change (#11733)91d36fa
[ci] release (#11719)87ce238
[ci] format70945dd
refactor: enforce node prefix (#11723)3c2f93b
fix: content types sync in dev (#11727)6c1560f
fix: separate data store into mutable and immutable versions (#11725)4844e1b
chore: updates the supported features of test adapter (#11724)934165e
[ci] format35af73a
Prevent errant HTML from crashing server islands (#11692)Updates
@astrojs/node
from 8.3.2 to 8.3.3Release notes
Sourced from
@astrojs/node
's releases.Changelog
Sourced from
@astrojs/node
's changelog.Commits
6bb0014
[ci] release (#11686)315ec07
fix(deps): update all non-major dependencies (#11674)f5616a8
[ci] format932bd2e
Encrypt server islands props (#11535)72c7ae9
update formatter config (#11640)ea82b03
Improve regex performance (#11635)750d532
fix(deps): update all non-major dependencies (#11565)Updates
sharp
from 0.33.4 to 0.33.5Changelog
Sourced from sharp's changelog.
Commits
fc32e0b
Release v0.33.50546e48
Docs: changelog entry for #4191ab65b7a
TypeScript: chromaSubsampling can be undefined (#4191)2474bd4
Prerelease v0.33.5-rc.1ff2e689
Remove yarn v1 specifics from help text6327f13
CI: Add yarn v1 to packaging testsf1e69a2
Prerelease v0.33.5-rc.03c14dbb
Minimise use ofengines
property to improve yarn v1 support82cebc3
Upgrade to libvips v8.15.3 for Linux ARMv6ad36fa0
Ensure emnapiInit function is exportedUpdates
@astrojs/starlight
from 0.25.4 to 0.26.1Release notes
Sourced from
@astrojs/starlight
's releases.... (truncated)
Changelog
Sourced from
@astrojs/starlight
's changelog.... (truncated)
Commits
f68fe5b
[ci] release (#2220)74d4716
Fix a sidebar persistence issue when navigating between pages with different ...96d5967
[ci] release (#2217)caa84ea
Add synced tabs persistence (#2087)e044fee
Use Starlightsidebar
user-config format for\<StarlightPage />
sidebar
...68f56a7
Add\<LinkButton>
component (#1784)9368494
Sidebar state persistence (#2150)ec3b579
Add guideline to last step of the\<Steps>
component (#2051)8a861d1
Disable update check in E2E tests (#2212)5311d80
[ci] release (#2173)Updates
wrangler
from 3.70.0 to 3.72.0Release notes
Sourced from wrangler's releases.
Changelog
Sourced from wrangler's changelog.
Commits
fcc7129
Version Packages (#6490)59556eb
feat(wrangler) - add assets binding to wrangler deploy (#6487)00f340f
feat(miniflare): Implement KV/Assets plugin and Workers Assets simulator (#6403)0d85f24
fix: add a helpful message on Windows when Miniflare fails to start (#6471)3c24d84
Support setting custom HTTPS certification paths from environment variables (...0e36f89
[D1] add tests for wrangler d1 insights (#6492)34bf393
Upload assets as JSON Lines (application/jsonl) rather than NDJSON (applicati...e24939c
reimplement module aliasing with esbuild plugin (#6482)231f1f6
Version Packages (#6468)da9106c
[D1] Rename --count to --limit in wrangler insights (#6464)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will... _Description has been truncated_