Skip to content

Commit adb58f9

Browse files
[ci] release (#13230)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 5c6d58a commit adb58f9

File tree

40 files changed

+171
-178
lines changed

40 files changed

+171
-178
lines changed

.changeset/afraid-turkeys-kneel.md

-7
This file was deleted.

.changeset/cool-deers-join.md

-9
This file was deleted.

.changeset/ninety-clouds-judge.md

-35
This file was deleted.

.changeset/shaggy-deers-destroy.md

-5
This file was deleted.

.changeset/tame-games-enjoy.md

-7
This file was deleted.

.changeset/thin-cobras-glow.md

-9
This file was deleted.

.changeset/tricky-insects-argue.md

-44
This file was deleted.

.changeset/tricky-toes-drum.md

-5
This file was deleted.

examples/basics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"astro": "^5.2.6"
13+
"astro": "^5.3.0"
1414
}
1515
}

examples/blog/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"@astrojs/mdx": "^4.0.8",
1414
"@astrojs/rss": "^4.0.11",
1515
"@astrojs/sitemap": "^3.2.1",
16-
"astro": "^5.2.6"
16+
"astro": "^5.3.0"
1717
}
1818
}

examples/component/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"scripts": {},
1717
"devDependencies": {
18-
"astro": "^5.2.6"
18+
"astro": "^5.3.0"
1919
},
2020
"peerDependencies": {
2121
"astro": "^4.0.0 || ^5.0.0"

examples/container-with-vitest/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"dependencies": {
1414
"@astrojs/react": "^4.2.0",
15-
"astro": "^5.2.6",
15+
"astro": "^5.3.0",
1616
"react": "^18.3.1",
1717
"react-dom": "^18.3.1",
1818
"vitest": "^3.0.5"

examples/framework-alpine/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"@astrojs/alpinejs": "^0.4.3",
1414
"@types/alpinejs": "^3.13.11",
1515
"alpinejs": "^3.14.8",
16-
"astro": "^5.2.6"
16+
"astro": "^5.3.0"
1717
}
1818
}

examples/framework-multiple/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@astrojs/vue": "^5.0.6",
1818
"@types/react": "^18.3.18",
1919
"@types/react-dom": "^18.3.5",
20-
"astro": "^5.2.6",
20+
"astro": "^5.3.0",
2121
"preact": "^10.25.4",
2222
"react": "^18.3.1",
2323
"react-dom": "^18.3.1",

examples/framework-preact/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@astrojs/preact": "^4.0.4",
1414
"@preact/signals": "^2.0.1",
15-
"astro": "^5.2.6",
15+
"astro": "^5.3.0",
1616
"preact": "^10.25.4"
1717
}
1818
}

examples/framework-react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@astrojs/react": "^4.2.0",
1414
"@types/react": "^18.3.18",
1515
"@types/react-dom": "^18.3.5",
16-
"astro": "^5.2.6",
16+
"astro": "^5.3.0",
1717
"react": "^18.3.1",
1818
"react-dom": "^18.3.1"
1919
}

examples/framework-solid/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@astrojs/solid-js": "^5.0.4",
14-
"astro": "^5.2.6",
14+
"astro": "^5.3.0",
1515
"solid-js": "^1.9.4"
1616
}
1717
}

examples/framework-svelte/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@astrojs/svelte": "^7.0.4",
14-
"astro": "^5.2.6",
14+
"astro": "^5.3.0",
1515
"svelte": "^5.19.7"
1616
}
1717
}

examples/framework-vue/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@astrojs/vue": "^5.0.6",
14-
"astro": "^5.2.6",
14+
"astro": "^5.3.0",
1515
"vue": "^3.5.13"
1616
}
1717
}

examples/hackernews/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/node": "^9.0.3",
14-
"astro": "^5.2.6"
13+
"@astrojs/node": "^9.1.0",
14+
"astro": "^5.3.0"
1515
}
1616
}

examples/integration/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"scripts": {},
1717
"devDependencies": {
18-
"astro": "^5.2.6"
18+
"astro": "^5.3.0"
1919
},
2020
"peerDependencies": {
2121
"astro": "^4.0.0"

examples/minimal/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"astro": "^5.2.6"
13+
"astro": "^5.3.0"
1414
}
1515
}

examples/portfolio/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"astro": "^5.2.6"
13+
"astro": "^5.3.0"
1414
}
1515
}

examples/ssr/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"server": "node dist/server/entry.mjs"
1212
},
1313
"dependencies": {
14-
"@astrojs/node": "^9.0.3",
14+
"@astrojs/node": "^9.1.0",
1515
"@astrojs/svelte": "^7.0.4",
16-
"astro": "^5.2.6",
16+
"astro": "^5.3.0",
1717
"svelte": "^5.19.7"
1818
}
1919
}

examples/starlog/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"astro": "astro"
1010
},
1111
"dependencies": {
12-
"astro": "^5.2.6",
12+
"astro": "^5.3.0",
1313
"sass": "^1.83.4",
1414
"sharp": "^0.33.3"
1515
}

examples/toolbar-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
},
1717
"devDependencies": {
1818
"@types/node": "^18.17.8",
19-
"astro": "^5.2.6"
19+
"astro": "^5.3.0"
2020
}
2121
}

examples/with-markdoc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
},
1212
"dependencies": {
1313
"@astrojs/markdoc": "^0.12.9",
14-
"astro": "^5.2.6"
14+
"astro": "^5.3.0"
1515
}
1616
}

examples/with-mdx/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@astrojs/mdx": "^4.0.8",
1414
"@astrojs/preact": "^4.0.4",
15-
"astro": "^5.2.6",
15+
"astro": "^5.3.0",
1616
"preact": "^10.25.4"
1717
}
1818
}

examples/with-nanostores/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@astrojs/preact": "^4.0.4",
1414
"@nanostores/preact": "^0.5.2",
15-
"astro": "^5.2.6",
15+
"astro": "^5.3.0",
1616
"nanostores": "^0.11.3",
1717
"preact": "^10.25.4"
1818
}

examples/with-tailwindcss/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@astrojs/mdx": "^4.0.8",
1414
"@tailwindcss/vite": "^4.0.3",
1515
"@types/canvas-confetti": "^1.9.0",
16-
"astro": "^5.2.6",
16+
"astro": "^5.3.0",
1717
"canvas-confetti": "^1.9.3",
1818
"tailwindcss": "^4.0.3"
1919
}

examples/with-vitest/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"test": "vitest"
1212
},
1313
"dependencies": {
14-
"astro": "^5.2.6",
14+
"astro": "^5.3.0",
1515
"vitest": "^3.0.5"
1616
}
1717
}

packages/astro/CHANGELOG.md

+59
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,64 @@
11
# astro
22

3+
## 5.3.0
4+
5+
### Minor Changes
6+
7+
- [#13210](https://github.com/withastro/astro/pull/13210) [`344e9bc`](https://github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da) Thanks [@VitaliyR](https://github.com/VitaliyR)! - Handle `HEAD` requests to an endpoint when a handler is not defined.
8+
9+
If an endpoint defines a handler for `GET`, but does not define a handler for `HEAD`, Astro will call the `GET` handler and return the headers and status but an empty body.
10+
11+
- [#13195](https://github.com/withastro/astro/pull/13195) [`3b66955`](https://github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536) Thanks [@MatthewLymer](https://github.com/MatthewLymer)! - Improves SSR performance for synchronous components by avoiding the use of Promises. With this change, SSR rendering of on-demand pages can be up to 4x faster.
12+
13+
- [#13145](https://github.com/withastro/astro/pull/13145) [`8d4e566`](https://github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@ascorbic](https://github.com/ascorbic)! - Adds support for adapters auto-configuring experimental session storage drivers.
14+
15+
Adapters can now configure a default session storage driver when the `experimental.session` flag is enabled. If a hosting platform has a storage primitive that can be used for session storage, the adapter can automatically configure the session storage using that driver. This allows Astro to provide a more seamless experience for users who want to use sessions without needing to manually configure the session storage.
16+
17+
### Patch Changes
18+
19+
- [#13145](https://github.com/withastro/astro/pull/13145) [`8d4e566`](https://github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@ascorbic](https://github.com/ascorbic)! - :warning: **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** :warning:
20+
21+
Changes the `experimental.session` option to a boolean flag and moves session config to a top-level value. This change is to allow the new automatic session driver support. You now need to separately enable the `experimental.session` flag, and then configure the session driver using the top-level `session` key if providing manual configuration.
22+
23+
```diff
24+
defineConfig({
25+
// ...
26+
experimental: {
27+
- session: {
28+
- driver: 'upstash',
29+
- },
30+
+ session: true,
31+
},
32+
+ session: {
33+
+ driver: 'upstash',
34+
+ },
35+
});
36+
```
37+
38+
You no longer need to configure a session driver if you are using an adapter that supports automatic session driver configuration and wish to use its default settings.
39+
40+
```diff
41+
defineConfig({
42+
adapter: node({
43+
mode: "standalone",
44+
}),
45+
experimental: {
46+
- session: {
47+
- driver: 'fs',
48+
- cookie: 'astro-cookie',
49+
- },
50+
+ session: true,
51+
},
52+
+ session: {
53+
+ cookie: 'astro-cookie',
54+
+ },
55+
});
56+
```
57+
58+
However, you can still manually configure additional driver options or choose a non-default driver to use with your adapter with the new top-level `session` config option. For more information, see the [experimental session docs](https://docs.astro.build/en/reference/experimental-flags/sessions/).
59+
60+
- [#13101](https://github.com/withastro/astro/pull/13101) [`2ed67d5`](https://github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2) Thanks [@corneliusroemer](https://github.com/corneliusroemer)! - Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered pages were incorrectly rejected with 403 FORBIDDEN
61+
362
## 5.2.6
463

564
### Patch Changes

0 commit comments

Comments
 (0)