chore(deps-dev): Bump astro from 3.5.0 to 6.4.6
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(26 days ago)
(26 days ago)
(26 days ago)
dependencies javascript
Bumps astro from 3.5.0 to 6.4.6.
Release notes
Sourced from astro's releases.
astro@6.4.6
Patch Changes
#16765
b10e86eThanks@fkatsuhiro! - Fixes an issue where renaming an image file while the dev server is running triggers a build error. Now Astro correctly hot-reloads the image without crashing.#17026
add3df1Thanks@matthewp! - HardensaddAttributeto drop attribute names containing characters that are invalid per the HTML spec (",',>,/,=, whitespace)#17033
ffda27bThanks@matthewp! - Validates the request origin againstallowedDomainsbefore fetching prerendered error pages. WhenallowedDomainsis configured and the Host header matches, the original origin is used. Otherwise, the fetch falls back tolocalhost.astro@6.4.5
Patch Changes
#16985
4ecff32Thanks@maximslo! - Fixes theexperimental.loggerdestination not being used for the "Server listening on..." startup message. The logger is now resolved before the server starts listening, andadapterLoggerre-creates itself when the underlying logger changes so the startup message uses the correct destination.#16947
e0703a6Thanks@ematipico! - FixesAstro.request.urlnot reflecting validatedX-Forwarded-Proto/X-Forwarded-Hostheaders whensecurity.allowedDomainsis configured. Previously, onlyAstro.urlwas updated with the forwarded origin whileAstro.request.urlretained the socket-derived URL, causing the two to diverge behind TLS-terminating proxies.#16997
dc45246Thanks@matthewp! - Reverts a change toisNoderuntime detection that caused a significant build time regression for Cloudflare adapter users with large prerendered sitesastro@6.4.4
Patch Changes
#16926
1b39ae8Thanks@narendraio! - PreventsApp.match()from throwing on request paths that contain an invalid percent-sequence.#16924
2c0bc94Thanks@astrobot-houston! - Fixes an issue where editing a client-side component (e.g. withclient:idle,client:load, etc.) caused an unnecessary full program reload of the backend during development.#16958
2c1d50fThanks@fkatsuhiro! - Fixes a bug where static file endpoints usinggetStaticPathswith.htmlin dynamic param values (e.g.{ path: 'file.html' }) would fail with aNoMatchingStaticPathFounderror during build. The.htmlsuffix is no longer incorrectly stripped from endpoint route pathnames.#16855
c610cdaThanks@astrobot-houston! - Fixes dynamic routes returning 500 "TypeError: Missing parameter" when using domain-based i18n routing in SSR.#16946
606c37bThanks@ematipico! - FixesAstro.routePatternto preserve original casing of dynamic parameter names from filenames. Previously, a file atsrc/pages/blog/[postId].astrowould return/blog/[postid]forAstro.routePatterndue to an internal.toLowerCase()call. It now correctly returns/blog/[postId].#16720
16d49b6Thanks@thomas-callahan-collibra! - Fix an issue where dynamic routes would return the string[object Object]instead of the expected content, in certain runtimes.#16703
17390a6Thanks@henrybrewer00-dotcom! - Fixes styles being stripped when the project root is started with a path whose case differs from the actual filesystem case (e.g. runningastro devfromd:\dev\appwhile the folder on disk isD:\dev\app).#16855
c610cdaThanks@astrobot-houston! - FixesAstro.currentLocalereturning the default locale instead of the domain's locale on dynamic routes served from a mapped domain.astro@6.4.3
Patch Changes
#16900
17a0fbdThanks@ocavue! - Bumpsdevaluedependency to v5.8.1#16016
0d85e1bThanks@felmonon! - Fix a false positive in the dev toolbar accessibility audit for anchors with text inside closed<details>elements.#16911
79c6c46Thanks@astrobot-houston! - Fixes a bug whereexperimental.advancedRoutingwithastro/honohandlers threwTypeError: Cannot read properties of undefined (reading 'route')for unmatched routes instead of rendering the custom 404 page.#16899
239c469Thanks@matthewp! - Fixes a false "does not call the middleware() handler" warning when usingastro()in a customsrc/app.tsand the first request is a redirect route.#16887
493acdbThanks@astrobot-houston! - FixesredirectToDefaultLocalenot working after the Advanced Routing refactoring.
... (truncated)
Changelog
Sourced from astro's changelog.
3.6.4
Patch Changes
#9226
8f8a40e93Thanks@outofambit! - Fix i18n fallback routing with routing strategy of always-prefix#9179
3f28336d9Thanks@lilnasy! - Fixes an issue where the presence of a slot in a page led to an error.#9219
067a65f5bThanks@natemoo-re! - Fix edge case where<style>updates inside of.astrofiles would occasionally fail to update without reloading the page.#9236
27d3e86e4Thanks@ematipico! - The configurationi18n.routingStrategyhas been replaced with an object calledrouting.export default defineConfig({ experimental: { i18n: { - routingStrategy: "prefix-always", + routing: { + prefixDefaultLocale: true, + } } } })export default defineConfig({ experimental: { i18n: { - routingStrategy: "prefix-other-locales", + routing: { + prefixDefaultLocale: false, + } } } })3.6.3
Patch Changes
- #9193
0dc99c9a2Thanks@florian-lefebvre! - Prevents the Code component from crashing if the lang isn't supported by falling back toplaintext.3.6.2
Patch Changes
- #9189
d90714fc3Thanks@SpencerWhitehead7! - Fixes an issue where links with the same pathname as the current page, but different search params, were not prefetched.
... (truncated)
Commits
19ad1b4[ci] release (#17023)f1baeea[ci] formatffda27bValidate origin in prerendered error page fetch against allowedDomains (#17033)0408628[ci] formatadd3df1Harden addAttribute to reject invalid attribute names (#17026)cfeb958[ci] formatb10e86efix : content collections image hmr (#16765)0b879fb[ci] release (#16972)dc45246Revert isNode workerd detection that caused Cloudflare build regression (#16997)132a879[ci] format- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for astro since your current version.
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 this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Package Dependencies
Technical Details
| ID: | 16061603 |
| UUID: | 4684011827 |
| Node ID: | PR_kwDOADLKPM7ngukh |
| Host: | GitHub |
| Repository: | getsentry/sentry-javascript |