0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.changeset
Matthew Phillips 306c9f9a9a
Keep clientAddress on cloned requests (#12613)
* Keep clientAddress on cloned requests

User observed that calling actions resulted in an error about not having
clientRequest available.

This is because the user had a middleware that cloned the request, which
loses all of the symbols.

The fix is to pass the clientAddress directly into the RenderContext.
This deprecates the `clientAddressSymbol`, but we need to keep it for
now because some adapters set the clientAddress that way.

Note that similar fixes should be done for other symbol usage on the
Request object (locals is one).

* changeset

* fix build stuff

* Update packages/astro/src/core/render-context.ts

* Update changeset
2024-12-05 13:10:21 +00:00
..
angry-pumas-act.md fix: correctly copy to clipboard in astro info (#12641) 2024-12-05 13:01:13 +00:00
chatty-knives-confess.md Remove misleading warning when using a custom renderer (#12461) 2024-12-04 10:29:12 +00:00
config.json chore: exit pre-mode (#12553) 2024-12-03 10:52:51 +00:00
fuzzy-pans-cough.md chore: better warning (#12642) 2024-12-05 12:25:01 +00:00
heavy-buttons-compare.md Improve Zod error messages and user config error messages (#12634) 2024-12-05 13:48:00 +01:00
kind-mayflies-argue.md fix(i18n): pass search params to fallback (#12547) 2024-12-05 06:23:30 +00:00
little-rules-relate.md fix(upgrade): verify astro installation before upgrade to prevent false success (#12576) 2024-12-04 15:17:07 +08:00
loud-cobras-rhyme.md fix(@astrojs/rss): use standard rss content type, add utf-8 charset (#12644) 2024-12-05 13:04:18 +00:00
neat-papayas-brake.md fix custom assetFileNames issue (#12449) 2024-12-04 16:49:22 +00:00
rare-cooks-battle.md fix: experimental svg types (#12625) 2024-12-04 15:38:50 +00:00
README.md
red-emus-repair.md fix(db): import base virtual module ID (#12628) 2024-12-04 15:04:06 +00:00
silver-hats-agree.md fix: don't apply duplicate class to images (#12631) 2024-12-04 18:26:17 +00:00
six-toes-sort.md fix: handle uppercase image file extensions (#12623) 2024-12-04 12:34:24 +00:00
stupid-teachers-yell.md Clean up content layer sync in build and sync api (#12633) 2024-12-05 18:13:36 +08:00
violet-bugs-enjoy.md fix: use correct datastore location in test environment (#12640) 2024-12-05 11:25:49 +00:00
wild-geckos-draw.md Keep clientAddress on cloned requests (#12613) 2024-12-05 13:10:21 +00:00

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation