aRustyDev / aRustyDev/aRustyDev
deps: build(deps): bump astro from 5.18.1 to 6.3.1 in /site
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Dependabot Update
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 5.18.1 to 6.3.1.
Release notes
Sourced from astro's releases.
astro@6.3.1
Patch Changes
- #16646
15fbc41Thanks@matthewp! - Fixes local images returning 404 on non-prerendered pages when using the generic image endpointastro@6.3.0
Minor Changes
#16366
d69f858Thanks@matthewp! - Adds a newexperimental.advancedRoutingoption that lets you take full control of Astro's request handling pipeline by creating asrc/app.tsfile in your project.Today, Astro handles every incoming request through a fixed internal pipeline: trailing slash normalization, redirects, actions, middleware, page rendering, i18n, and so on. That pipeline works great for most sites, but as projects grow you often want to run your own logic between those steps — an auth check before rendering, a rate limiter before actions, custom logging around the whole stack. Advanced routing gives you that control.
When enabled, Astro looks for a
src/app.tsfile in your project. If it finds one, that file becomes the entrypoint for all server-rendered requests. You compose the pipeline yourself using the handlers Astro provides, and you can slot your own logic anywhere in the chain.Enabling advanced routing
// astro.config.mjs
import { defineConfig } from 'astro/config';
export default defineConfig({
experimental: {
advancedRouting: true,
},
});Two ways to build your pipeline
Astro ships two entrypoints for advanced routing:
astro/fetchandastro/hono.
astro/fetchis a low-level, framework-free API built on the Web Fetch standard. You create aFetchStatefrom the incoming request, then call handler functions in sequence. Each handler takes the state, does its work, and returns aResponse(orundefinedto pass through). This is the core primitive that everything else is built on:// src/app.ts
import {
FetchState,
trailingSlash,
redirects,
actions,
middleware,
pages,
i18n,
} from 'astro/fetch';export default {
async fetch(request: Request) {
const state = new FetchState(request);// Early exits — these return a Response only when they apply.
... (truncated)
Changelog
Sourced from astro's changelog.
6.3.1
Patch Changes
- #16646
15fbc41Thanks@matthewp! - Fixes local images returning 404 on non-prerendered pages when using the generic image endpoint6.3.0
Minor Changes
#16366
d69f858Thanks@matthewp! - Adds a newexperimental.advancedRoutingoption that lets you take full control of Astro's request handling pipeline by creating asrc/app.tsfile in your project.Today, Astro handles every incoming request through a fixed internal pipeline: trailing slash normalization, redirects, actions, middleware, page rendering, i18n, and so on. That pipeline works great for most sites, but as projects grow you often want to run your own logic between those steps — an auth check before rendering, a rate limiter before actions, custom logging around the whole stack. Advanced routing gives you that control.
When enabled, Astro looks for a
src/app.tsfile in your project. If it finds one, that file becomes the entrypoint for all server-rendered requests. You compose the pipeline yourself using the handlers Astro provides, and you can slot your own logic anywhere in the chain.Enabling advanced routing
// astro.config.mjs
import { defineConfig } from 'astro/config';
export default defineConfig({
experimental: {
advancedRouting: true,
},
});Two ways to build your pipeline
Astro ships two entrypoints for advanced routing:
astro/fetchandastro/hono.
astro/fetchis a low-level, framework-free API built on the Web Fetch standard. You create aFetchStatefrom the incoming request, then call handler functions in sequence. Each handler takes the state, does its work, and returns aResponse(orundefinedto pass through). This is the core primitive that everything else is built on:// src/app.ts
import {
FetchState,
trailingSlash,
redirects,
actions,
middleware,
pages,
i18n,
} from 'astro/fetch';
export default {
async fetch(request: Request) {
const state = new FetchState(request);
... (truncated)
Commits
868892b[ci] release (#16651)8abfc7d[ci] format15fbc41Skip isRemoteAllowed check for local images in generic endpoint (#16646)4886184test: merge astro-assets-prefix test files into one (#16645)c397908[ci] format5311b78test: parallel testing (#16382)2ffa0ba[ci] release (#16596)c68a9dafix(docs): missing version and verb tense (#16632)f54be80fix(logger): add flush/close to AstroIntegrationLogger (#16629)9c6efc5Escape interpolated values in redirect HTML template (#16592)- Additional commits viewable in compare view
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
## Pull Request
- PR: #49
- Author: @dependabot[bot]
- URL: https://github.com/aRustyDev/aRustyDev/pull/49
---
This issue was automatically created to track the Dependabot update.
Contributor guide
Assessment
This issue has not been assessed yet.