@astrojs/node
π Patch Changes
- Updated dependencies [
f8e9458]:- @astrojs/internal-helpers@0.11.0
- Updated dependencies [
π Patch Changes
- Updated dependencies [
05763a0]:- @astrojs/internal-helpers@0.10.4
- Updated dependencies [
π Patch Changes
- #17400
c1cf110Thanks @tianrking! - Return a 404 instead of a 500 for unknown parameters that match a prerendered dynamic endpoint.
- #17400
π Patch Changes
- #17658
8b211a5Thanks @astrobot-houston! - Fixes an EventEmitter memory leak when serving static pages over keep-alive connections withstaticHeadersenabled and CSP (security.csp) active
- #17658
π Patch Changes
- Updated dependencies [
c895b12]:- @astrojs/internal-helpers@0.10.2
- Updated dependencies [
π Patch Changes
-
#17252
eb6f97eThanks @matthewp! - Fixes trailing-slash handling for request paths that begin with a backslashWith
trailingSlash: 'always', the standalone Node server could append a trailing slash to a request path that begins with a backslash (for example/\example.com/foo) and echo that path back in theLocationheader of a301response. Because browsers resolve a leading\the same way as/, the resultingLocationcould point off-site.Such paths are now recognized as internal paths, matching the existing handling for paths that begin with
//, so they are no longer rewritten with a trailing slash. -
Updated dependencies [
eb6f97e]:- @astrojs/internal-helpers@0.10.1
-
π Patch Changes
- #17249
02b73b0Thanks @ematipico! - Fixes an issue where thepeerDependenciesfield used incorrect dependencies.
- #17249
π Patch Changes
- #17054
d426b67Thanks @astrobot-houston! - Fixes an issue where Astro files with non-ASCII characters in their name werenβt correctly served after the build.
- #17054
π 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.
- #16985
π Patch Changes
-
#16922
7dce185Thanks @astrobot-houston! - Fixes prerendered pages returning 404 when usingbuild.format: 'file'orbuild.format: 'preserve'with the Node adapter in standalone mode.Previously, clean URLs like
/aboutwould fail to resolve toabout.htmlon disk, because the static file handler only supported the defaultdirectoryformat (about/index.html). Now the handler correctly resolves clean URLs to.htmlfiles when the build format produces them.
-
π Patch Changes
- Updated dependencies [
f732f3c]:- @astrojs/internal-helpers@0.10.0
- Updated dependencies [
π Patch Changes
- Updated dependencies [
d365c97]:- @astrojs/internal-helpers@0.9.1
- Updated dependencies [
πΏ Minor Changes
- #16639
4d72482Thanks @ematipico! - The adapter now depends on Astro 6.3.0.
- #16639