Bump the astro group with 4 updates
Type: Pull Request
State: Closed
Association: Unknown
Comments: 3
(3 months ago)
(3 months ago)
(3 months ago)
dependencies javascript
Bumps the astro group with 4 updates: @astrojs/mdx, @astrojs/node, @astrojs/react and astro.
Updates @astrojs/mdx from 4.3.14 to 5.0.1
Release notes
Sourced from @astrojs/mdx's releases.
@astrojs/mdx@5.0.1Patch Changes
- #15934
6f8f0bcThanks@ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.
@astrojs/mdx@5.0.0Major Changes
#14494
727b0a2Thanks@florian-lefebvre! - Updates Markdown heading ID generation - (v6 upgrade guidance)#14427
e131261Thanks@florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance)#14445
ecb0b98Thanks@florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)Patch Changes
#15187
bbb5811Thanks@matthewp! - Update to Astro 6 beta#15475
36fc0e0Thanks@delucis! - Fixes edge cases where anexport const components = {...}declaration would fail to be detected with theoptimizeoption enabled#15264
11efb05Thanks@florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22Updated dependencies [
bbb5811,cb99214,80f0225,727b0a2,1fa4177,7c55f80,6f19ecc,f94d3c5]:
@astrojs/markdown-remark@7.0.0
Changelog
Sourced from @astrojs/mdx's changelog.
5.0.1
Patch Changes
- #15934
6f8f0bcThanks@ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.5.0.0
Major Changes
#14494
727b0a2Thanks@florian-lefebvre! - Updates Markdown heading ID generation - (v6 upgrade guidance)#14427
e131261Thanks@florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance)#14445
ecb0b98Thanks@florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)Patch Changes
#15187
bbb5811Thanks@matthewp! - Update to Astro 6 beta#15475
36fc0e0Thanks@delucis! - Fixes edge cases where anexport const components = {...}declaration would fail to be detected with theoptimizeoption enabled#15264
11efb05Thanks@florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22Updated dependencies [
bbb5811,cb99214,80f0225,727b0a2,1fa4177,7c55f80,6f19ecc,f94d3c5]:
@astrojs/markdown-remark@7.0.05.0.0-beta.12
Patch Changes
- Updated dependencies []:
@astrojs/markdown-remark@7.0.0-beta.115.0.0-beta.11
Patch Changes
- Updated dependencies []:
@astrojs/markdown-remark@7.0.0-beta.105.0.0-beta.10
Patch Changes
5.0.0-beta.9
... (truncated)
Commits
09ecdd7[ci] release (#15889)6f8f0bcfix: update peer dependency range (#15934)48e5c4d[ci] release (#15808)2ce9e74chore: update docs links (#15732)25560db[ci] release (beta) (#15773)6414732Spelling (#15601)9b0def6[ci] release (beta) (#15758)3885e8d[ci] release (beta) (#15687)6f19eccchore(deps): update shiki to v4 (#15726)1118ac4feat: update tsconfig template to prepare for TS 6 (#15668)- Additional commits viewable in compare view
Updates @astrojs/node from 9.5.5 to 10.0.2
Release notes
Sourced from @astrojs/node's releases.
@astrojs/node@10.0.2Patch Changes
- #15934
6f8f0bcThanks@ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.
@astrojs/node@10.0.1Patch Changes
- #15868
bb2b8f5Thanks@ematipico! - Fixes an issue where the adapter would cause a series of warnings during the build.
@astrojs/node@10.0.0Major Changes
#15654
a32aee6Thanks@florian-lefebvre! - Removes theexperimentalErrorPageHostoptionThis option allowed fetching a prerendered error page from a different host than the server is currently running on.
However, there can be security implications with prefetching from other hosts, and often more customization was required to do this safely. This has now been removed as a built-in option so that you can implement your own secure solution as needed and appropriate for your project via middleware.
What should I do?
If you were previously using this feature, you must remove the option from your adapter configuration as it no longer exists:
// astro.config.mjs import { defineConfig } from 'astro/config' import node from '@astrojs/node'export default defineConfig({ adapter: node({ mode: 'standalone',
- experimentalErrorPageHost: 'http://localhost:4321' }) })
You can replicate the previous behavior by checking the response status in a middleware and fetching the prerendered page yourself:
// src/middleware.ts import { defineMiddleware } from 'astro:middleware';export const onRequest = defineMiddleware(async (ctx, next) => { const response = await next(); if (response.status === 404 || response.status === 500) { return fetch(
http://localhost:4321/${response.status}.html); } return response; });
... (truncated)
Changelog
Sourced from @astrojs/node's changelog.
10.0.2
Patch Changes
- #15934
6f8f0bcThanks@ematipico! - Updates the AstropeerDependencies#astroto be6.0.0.10.0.1
Patch Changes
- #15868
bb2b8f5Thanks@ematipico! - Fixes an issue where the adapter would cause a series of warnings during the build.10.0.0
Major Changes
#15654
a32aee6Thanks@florian-lefebvre! - Removes theexperimentalErrorPageHostoptionThis option allowed fetching a prerendered error page from a different host than the server is currently running on.
However, there can be security implications with prefetching from other hosts, and often more customization was required to do this safely. This has now been removed as a built-in option so that you can implement your own secure solution as needed and appropriate for your project via middleware.
What should I do?
If you were previously using this feature, you must remove the option from your adapter configuration as it no longer exists:
// astro.config.mjs import { defineConfig } from 'astro/config' import node from '@astrojs/node'export default defineConfig({ adapter: node({ mode: 'standalone',
- experimentalErrorPageHost: 'http://localhost:4321' }) })
You can replicate the previous behavior by checking the response status in a middleware and fetching the prerendered page yourself:
// src/middleware.ts import { defineMiddleware } from 'astro:middleware';export const onRequest = defineMiddleware(async (ctx, next) => { const response = await next(); if (response.status === 404 || response.status === 500) { return fetch(
http://localhost:4321/${response.status}.html); }
... (truncated)
Commits
09ecdd7[ci] release (#15889)6f8f0bcfix: update peer dependency range (#15934)b16ee32[ci] release (#15858)bb2b8f5fix: correctly exclude entrypoint via environments (#15868)48e5c4d[ci] release (#15808)2ce9e74chore: update docs links (#15732)25560db[ci] release (beta) (#15773)39ff2a5Harden Node adapter HTTP server defaults and request body handling (#15759)6414732Spelling (#15601)1567e8cNormalize static file paths before evaluating dotfile access rules (#15763)- Additional commits viewable in compare view
Updates @astrojs/react from 4.4.2 to 5.0.0
Release notes
Sourced from @astrojs/react's releases.
@astrojs/react@5.0.0Major Changes
#14427
e131261Thanks@florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance)#14445
ecb0b98Thanks@florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)Minor Changes
Patch Changes
#15187
bbb5811Thanks@matthewp! - Update to Astro 6 beta#15264
11efb05Thanks@florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22#15700
4e7f3e8Thanks@ocavue! - Improves how React components are identified when setting theincludeand/orexcludeoptions in projects where multiple JSX frameworks are used togetherUpdated dependencies [
4ebc1e3,4e7f3e8,a164c77,cf6ea6b,a18d727,240c317,745e632]:
@astrojs/internal-helpers@0.8.0
Changelog
Sourced from @astrojs/react's changelog.
5.0.0
Major Changes
#14427
e131261Thanks@florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance)#14445
ecb0b98Thanks@florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)Minor Changes
Patch Changes
#15187
bbb5811Thanks@matthewp! - Update to Astro 6 beta#15264
11efb05Thanks@florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22#15700
4e7f3e8Thanks@ocavue! - Improves how React components are identified when setting theincludeand/orexcludeoptions in projects where multiple JSX frameworks are used togetherUpdated dependencies [
4ebc1e3,4e7f3e8,a164c77,cf6ea6b,a18d727,240c317,745e632]:
@astrojs/internal-helpers@0.8.05.0.0-beta.4
Patch Changes
#15700
4e7f3e8Thanks@ocavue! - Improves how React components are identified when setting theincludeand/orexcludeoptions in projects where multiple JSX frameworks are used togetherUpdated dependencies [
4ebc1e3,4e7f3e8]:
@astrojs/internal-helpers@0.8.0-beta.35.0.0-beta.3
Minor Changes
5.0.0-beta.2
Patch Changes
- #15264
11efb05Thanks@florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v225.0.0-beta.1
Patch Changes
- #15187
bbb5811Thanks@matthewp! - Update to Astro 6 beta
... (truncated)
Commits
48e5c4d[ci] release (#15808)2ce9e74chore: update docs links (#15732)25560db[ci] release (beta) (#15773)6414732Spelling (#15601)4e7f3e8feat: identify different JSX frameworks during SSR (#15700)8fae7aerefactor astro-attrs.test.js to unit tests (#15557)3963855fix(deps): update astro client runtimes (#15720)1118ac4feat: update tsconfig template to prepare for TS 6 (#15668)aef04b9chore: add more lint rules (#15553)6c93201fix(deps): update astro client runtimes (#15530)- Additional commits viewable in compare view
Updates astro from 5.18.1 to 6.0.5
Release notes
Sourced from astro's releases.
astro@6.0.5
Patch Changes
#15891
b889231Thanks@matthewp! - Fix dev routing forserver:deferislands when adapters opt into handling prerendered routes in Astro core. Server island requests are now treated as prerender-handler eligible so prerendered pages usingprerenderEnvironment: 'node'can load island content without400errors.#15890
765a887Thanks@matthewp! - Fixesastro:actionsvalidation to check resolved routes, so projects using default static output with at least oneprerender = falsepage or endpoint no longer fail during startup.#15884
dcd2c8eThanks@matthewp! - Avoid aMaxListenersExceededWarningduringastro devstartup by increasing the shared Vite watcher listener limit when attaching content server listeners.#15904
23d5244Thanks@jlukic! - Emit thebefore-hydrationscript chunk for theclientVite environment. The chunk was only emitted forprerenderandssrenvironments, causing a 404 when browsers tried to load it. This broke hydration for any integration usinginjectScript('before-hydration', ...), including Lit SSR.#15933
325901eThanks@ematipico! - Fixes an issue where<style>tags inside SVG components weren't correctly tracked when enabling CSP.#15875
c43ef8aThanks@matthewp! - Ensure custom prerenderers are always torn down during build, even whengetStaticPaths()throws.#15887
1861fedThanks@ematipico! - Fixes an issue where the build incorrectly leaked server entrypoint into the client environment, causing adapters to emit warnings during the build.#15888
925252eThanks@matthewp! - Fix a bug whereserver:defercould fail at runtime in prerendered pages for some adapters (including Cloudflare), causing errors likeserverIslandMap?.get is not a function.#15901
07c1002Thanks@delucis! - Fixes JSON schema generation for content collection schemas that have differences between their input and output shapes.#15882
759f946Thanks@matthewp! - FixAstro.url.pathnamefor the root page when usingbuild.format: "file"so it resolves to/index.htmlinstead of/.htmlduring builds.astro@6.0.4
Patch Changes
#15870
920f10bThanks@matthewp! - Prebundleastro/toolbarin dev when custom dev toolbar apps are registered, preventing re-optimization reloads that can hide or break the toolbar.#15876
f47ac53Thanks@ematipico! - FixesredirectToDefaultLocaleproducing a protocol-relative URL (//locale) instead of an absolute path (/locale) whenbaseis'/'.#15767
e0042f7Thanks@matthewp! - Fixes server islands (server:defer) not working when only used in prerendered pages withoutput: 'server'.#15873
35841edThanks@matthewp! - Fix a dev server bug where newly created pages could miss layout-imported CSS until restart.#15874
ce0669dThanks@ematipico! - Fixes a warning when usingprefetchAll#15754
58f1d63Thanks@rururux! - Fixes a bug where a directory at the project root sharing the same name as a page route would cause the dev server to return a 404 instead of serving the page.#15869
76b3a5eThanks@matthewp! - Update the unknown file extension error hint to recommendvite.resolve.noExternal, which is the correct Vite 7 config key.astro@6.0.3
Patch Changes
#15711
b2bd27bThanks@OliverSpeir! - Improves Astro core's dev environment handling for prerendered routes by ensuring route/CSS updates and prerender middleware behavior work correctly across both SSR and prerender environments.This enables integrations that use Astro's prerender dev environment (such as Cloudflare with
prerenderEnvironment: 'node') to get consistent route matching and HMR behavior during development.#15852
1cdaf9fThanks@ematipico! - Fixes a regression where the the routes emitted by theastro:build:donehook didn't have thedistURLarray correctly populated.#15765
ca76ff1Thanks@matthewp! - Hardens server island POST endpoint validation to use own-property checks for improved consistency
... (truncated)
Changelog
Sourced from astro's changelog.
6.0.5
Patch Changes
#15891
b889231Thanks@matthewp! - Fix dev routing forserver:deferislands when adapters opt into handling prerendered routes in Astro core. Server island requests are now treated as prerender-handler eligible so prerendered pages usingprerenderEnvironment: 'node'can load island content without400errors.#15890
765a887Thanks@matthewp! - Fixesastro:actionsvalidation to check resolved routes, so projects using default static output with at least oneprerender = falsepage or endpoint no longer fail during startup.#15884
dcd2c8eThanks@matthewp! - Avoid aMaxListenersExceededWarningduringastro devstartup by increasing the shared Vite watcher listener limit when attaching content server listeners.#15904
23d5244Thanks@jlukic! - Emit thebefore-hydrationscript chunk for theclientVite environment. The chunk was only emitted forprerenderandssrenvironments, causing a 404 when browsers tried to load it. This broke hydration for any integration usinginjectScript('before-hydration', ...), including Lit SSR.#15933
325901eThanks@ematipico! - Fixes an issue where<style>tags inside SVG components weren't correctly tracked when enabling CSP.#15875
c43ef8aThanks@matthewp! - Ensure custom prerenderers are always torn down during build, even whengetStaticPaths()throws.#15887
1861fedThanks@ematipico! - Fixes an issue where the build incorrectly leaked server entrypoint into the client environment, causing adapters to emit warnings during the build.#15888
925252eThanks@matthewp! - Fix a bug whereserver:defercould fail at runtime in prerendered pages for some adapters (including Cloudflare), causing errors likeserverIslandMap?.get is not a function.#15901
07c1002Thanks@delucis! - Fixes JSON schema generation for content collection schemas that have differences between their input and output shapes.#15882
759f946Thanks@matthewp! - FixAstro.url.pathnamefor the root page when usingbuild.format: "file"so it resolves to/index.htmlinstead of/.htmlduring builds.6.0.4
Patch Changes
#15870
920f10bThanks@matthewp! - Prebundleastro/toolbarin dev when custom dev toolbar apps are registered, preventing re-optimization reloads that can hide or break the toolbar.#15876
f47ac53Thanks@ematipico! - FixesredirectToDefaultLocaleproducing a protocol-relative URL (//locale) instead of an absolute path (/locale) whenbaseis'/'.#15767
e0042f7Thanks@matthewp! - Fixes server islands (server:defer) not working when only used in prerendered pages withoutput: 'server'.#15873
35841edThanks@matthewp! - Fix a dev server bug where newly created pages could miss layout-imported CSS until restart.#15874
ce0669dThanks@ematipico! - Fixes a warning when usingprefetchAll#15754
58f1d63Thanks@rururux! - Fixes a bug where a directory at the project root sharing the same name as a page route would cause the dev server to return a 404 instead of serving the page.#15869
76b3a5eThanks@matthewp! - Update the unknown file extension error hint to recommendvite.resolve.noExternal, which is the correct Vite 7 config key.6.0.3
Patch Changes
#15711
b2bd27bThanks@OliverSpeir! - Improves Astro core's dev environment handling for prerendered routes by ensuring route/CSS updates and prerender middleware behavior work correctly across both SSR and prerender environments.This enables integrations that use Astro's prerender dev environment (such as Cloudflare with
prerenderEnvironment: 'node') to get consistent route matching and HMR behavior during development.
... (truncated)
Commits
09ecdd7[ci] release (#15889)325901efix(svg): track inline styles for CSP (#15933)925252eFix server island build error (#15888)23d5244fix(build): emit before-hydration chunk for client environment (#15904)759f946fix(astro): fix root Astro.url pathname for file format (#15882)07c1002Fix content collection JSON schema generation (#15901)765a887Validate non-prerendered routes after resolution (#15890)c43ef8aSurface prerender errors and ensure teardown (#15875)1861fedfix(build): entrypoint leak (#15887)b889231fix(dev): route server islands through prerender handler (#15891)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Package Dependencies
Technical Details
| ID: | 14972518 |
| UUID: | 4184132674 |
| Node ID: | PR_kwDORPQcAc7PJJ2I |
| Host: | GitHub |
| Repository: | python/python-insider-blog |