Skip to content

docs: document notFound() handler in astro/fetch - #14676

Merged
ArmandPhilippot merged 2 commits into
v7.4from
docs/hono-notfound
Oct 14, 2026
Merged

ArmandPhilippot merged 2 commits into
v7.4from
docs/hono-notfound

Conversation

@matthewp

@matthewp matthewp commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Description (required)

Adds a reference entry for new notFound() fetch handler + Hono middleware. This is useful in custom fetch handlers. Renders the custom 404 page.

References

For Astro 7.4.0, see withastro/astro#18265

Adds a reference entry for the new notFound() handler (withastro/astro#18265)
to the astro/fetch API reference, showing it composed before middleware()
and pages(), and adds it to the astro/hono imports list.
@astrobot-houston

astrobot-houston commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the tracking.ignoredKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
reference/modules/astro-fetch.mdx Source changed, localizations will be marked as outdated.
reference/modules/astro-hono.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Preview deployment

✅ Deployment complete!

@ArmandPhilippot ArmandPhilippot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Matthew! I left a nit as I think the flow could be improved on the first paragraph. Otherwise, LGTM!

@ArmandPhilippot ArmandPhilippot added this to the 7.4 milestone Oct 7, 2026
@ArmandPhilippot ArmandPhilippot added the minor-release For the next minor release; in the milestone, "merge queue" = approved for merging on release day. label Oct 7, 2026
@ArmandPhilippot
ArmandPhilippot changed the base branch from main to v7.4 October 14, 2026 17:29
@ArmandPhilippot
ArmandPhilippot merged commit 180757e into v7.4 Oct 14, 2026
9 checks passed
@ArmandPhilippot
ArmandPhilippot deleted the docs/hono-notfound branch October 14, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor-release For the next minor release; in the milestone, "merge queue" = approved for merging on release day.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants