Skip to content

Commit 3c78624

Browse files
Merge branch 'main' into chore/links-v6-to-main
2 parents ba8c978 + dc175aa commit 3c78624

95 files changed

Lines changed: 1132 additions & 312 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Improves the experience of working with experimental route caching in dev mode by replacing some errors with silent no-ops, avoiding the need to write conditional logic to handle different modes
6+
7+
Adds a `cache.enabled` property to `CacheLike` so libraries can check whether caching is active without try/catch.

.changeset/cute-bottles-study.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"astro": major
3+
---
4+
5+
Throws an error when `getImage()` from `astro:assets` is called on the client - ([v6 upgrade guidance](https://v6.docs.astro.build/en/guides/upgrade-to/v6/#changed-getimage-throws-when-called-on-the-client))
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
'astro': minor
3+
'@astrojs/vercel': patch
4+
'@astrojs/netlify': patch
5+
---
6+
7+
Adds a new `clientAddress` option to the `createContext()` function
8+
9+
Providing this value gives adapter and middleware authors explicit control over the client IP address. When not provided, accessing `clientAddress` throws an error consistent with other contexts where it is not set by the adapter.
10+
11+
Additionally, both of the official Netlify and Vercel adapters have been updated to provide this information in their edge middleware.
12+
13+
```js
14+
import { createContext } from "astro/middleware";
15+
16+
createContext({
17+
clientAddress: context.headers.get("x-real-ip")
18+
})
19+
```
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"astro": patch
3+
---
4+
5+
Fixes a race condition where concurrent requests to dynamic routes in the dev server could produce incorrect params.

.changeset/frank-buttons-glow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Fixes `fit` defaults not being applied unless `layout` was also specified

.changeset/funky-knives-matter.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@astrojs/netlify': patch
3+
---
4+
5+
Fixes the image CDN being used in development despite being disabled in certain cases

.changeset/green-eyes-taste.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@astrojs/netlify': minor
3+
---
4+
5+
Adds support for the `fit` option to the image service

.changeset/hip-wings-tie.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Fixes integration-injected scripts (e.g. Alpine.js via `injectScript()`) not being loaded in the dev server when using non-runnable environment adapters like `@astrojs/cloudflare`.
6+

.changeset/perky-dots-prove.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@astrojs/internal-helpers': patch
3+
---
4+
5+
Fixes glob matching of remote patterns matching more paths than intended in select situations

.changeset/pre.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"mode": "pre",
2+
"mode": "exit",
33
"tag": "beta",
44
"initialVersions": {
55
"astro": "5.13.7",
@@ -34,6 +34,7 @@
3434
},
3535
"changesets": [
3636
"adapter-interface-breaking",
37+
"astro-ssr-check-metadata",
3738
"beige-clowns-read",
3839
"beta-tag-alpinejs",
3940
"beta-tag-check",
@@ -56,6 +57,7 @@
5657
"big-jobs-make",
5758
"big-laws-dig",
5859
"bold-ghosts-sink",
60+
"breezy-schools-travel",
5961
"bright-parrots-hear",
6062
"bright-pens-dance",
6163
"bright-symbols-see",
@@ -66,6 +68,7 @@
6668
"busy-olives-chew",
6769
"calm-bats-create",
6870
"calm-birds-fly",
71+
"chubby-plums-rule",
6972
"chubby-tips-change",
7073
"clean-planets-flow",
7174
"clear-areas-cry",
@@ -83,6 +86,7 @@
8386
"csp-shiki-warning",
8487
"cuddly-worlds-beam",
8588
"custom-prerenderer-api",
89+
"cute-bottles-study",
8690
"cute-suns-check",
8791
"cyan-crews-cross",
8892
"dance-ornate-keen",
@@ -111,13 +115,15 @@
111115
"fix-cloudflare-static-output",
112116
"fix-content-hmr",
113117
"fix-create-astro-registry-hang",
118+
"fix-envprefix-secret-leak",
114119
"fix-font-head-swap",
115120
"fix-forwarded-proto-allowed-domains",
116121
"fix-i18n-fallback-redirect",
117122
"fix-large-static-build-promise-all",
118123
"fix-large-static-routes-stack-overflow",
119124
"fix-markdoc-table-attributes",
120125
"fix-mdx-slot-hydration",
126+
"fix-middleware-createcontext-ip-spoofing",
121127
"fix-netlify-external",
122128
"fix-netlify-ssr-routing",
123129
"fix-preact-cloudflare-hooks",
@@ -149,6 +155,7 @@
149155
"good-camels-pull",
150156
"good-clubs-cover",
151157
"great-nails-brake",
158+
"green-clowns-change",
152159
"green-garlics-heal",
153160
"green-plants-act",
154161
"green-zebras-lick",
@@ -157,7 +164,12 @@
157164
"harden-attribute-escaping",
158165
"harden-dev-server-sec-fetch",
159166
"harden-merge-responses-cookies",
167+
"harden-merge-responses-framing",
168+
"harden-node-server-defaults",
169+
"harden-origin-port-consistency",
170+
"harden-server-islands-body-limit",
160171
"harden-xff-allowed-domains",
172+
"hardened-cookie-parsing",
161173
"heavy-beers-unite",
162174
"heavy-cats-own",
163175
"heavy-parts-throw",
@@ -168,9 +180,12 @@
168180
"humble-humans-sink",
169181
"hungry-jars-pump",
170182
"icy-pigs-smile",
183+
"internal-create-filter",
171184
"internal-helpers-normalize-pathname",
172185
"itchy-ghosts-flow",
173186
"jolly-dots-shop",
187+
"jsx-include-exclude-preact",
188+
"jsx-include-exclude-react",
174189
"khaki-bushes-stop",
175190
"khaki-toys-think",
176191
"kind-emus-relate",
@@ -202,6 +217,8 @@
202217
"new-areas-yawn",
203218
"new-beans-obey",
204219
"nice-clouds-pull",
220+
"normalize-backslash-pathname",
221+
"normalize-dotfile-pathname",
205222
"old-donuts-visit",
206223
"olive-dots-jam",
207224
"open-days-watch",
@@ -228,6 +245,7 @@
228245
"remove-cloudflare-modules",
229246
"render-markdown-file-url",
230247
"render-markdown-frontmatter",
248+
"rich-ghosts-pick",
231249
"rich-horses-begin",
232250
"ripe-nights-feel",
233251
"route-data-breaking",
@@ -294,6 +312,8 @@
294312
"warm-comics-pump",
295313
"warm-donuts-learn",
296314
"warm-dots-glow",
315+
"warm-pens-glow",
316+
"warm-worms-talk",
297317
"wet-animals-pump",
298318
"wet-lines-wear",
299319
"wet-suits-help",

0 commit comments

Comments
 (0)