* 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
* fix(@astrojs/rss): use standard rss content type, add utf-8 charset
* Update .changeset/loud-cobras-rhyme.md
---------
Co-authored-by: Matt Kane <m@mk.gg>
* Upstream Zod error map improvements from Starlight
* Update tests
* Use Zod error map when validating user config
* Update user config error formatting for error map
* Tweak colours
* Separate colour and indentation steps for clarity
* Fix broken link to experimental flag documentation
* Add changeset
* Update tests
* Fix one more test
* Use existing utility for bold and other Markdown formatting
* Extract codeRegex to top level
* Don’t dim text and tweak indentation
* fix: this message adds no value to developers; it checks against a static list of renderers while Astro allows to dynamically add custom renderers
* feat: added framework-custom example to demonstrate the use of custom renderers with the log message fixed
* chore: changeset added and package lock updated
* chore: fix lint issue, but keeping arguments commented out for reference (real-world use)
* chore: removed the example and updated the changeset accordingly
* test: added fixture and test to prove the new behaviour
* test: removing this specific test since it's only guarding if we ever revert this PR
* Update test
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
* Revert "chore: downgrade examples to not use beta releases (#12557)"
This reverts commit 6031962ab5.
* Update blog template for new content collections
* Update portfolio template for new content collections
* Update starlog template for new content collections