Skip to content

Commit 8483502

Browse files
[ci] release (#13337)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent f15aa9d commit 8483502

File tree

32 files changed

+101
-106
lines changed

32 files changed

+101
-106
lines changed

.changeset/seven-coats-wink.md

-5
This file was deleted.

.changeset/slimy-bulldogs-sell.md

-38
This file was deleted.

.changeset/three-eyes-listen.md

-9
This file was deleted.

.changeset/wet-frogs-visit.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.4.0"
13+
"astro": "^5.4.1"
1414
}
1515
}

examples/blog/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"@astrojs/mdx": "^4.1.0",
1414
"@astrojs/rss": "^4.0.11",
1515
"@astrojs/sitemap": "^3.2.1",
16-
"astro": "^5.4.0"
16+
"astro": "^5.4.1"
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.4.0"
18+
"astro": "^5.4.1"
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.1",
15-
"astro": "^5.4.0",
15+
"astro": "^5.4.1",
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.4.0"
16+
"astro": "^5.4.1"
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.7",
1818
"@types/react": "^18.3.18",
1919
"@types/react-dom": "^18.3.5",
20-
"astro": "^5.4.0",
20+
"astro": "^5.4.1",
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.5",
1414
"@preact/signals": "^2.0.1",
15-
"astro": "^5.4.0",
15+
"astro": "^5.4.1",
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.1",
1414
"@types/react": "^18.3.18",
1515
"@types/react-dom": "^18.3.5",
16-
"astro": "^5.4.0",
16+
"astro": "^5.4.1",
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.5",
14-
"astro": "^5.4.0",
14+
"astro": "^5.4.1",
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.5",
14-
"astro": "^5.4.0",
14+
"astro": "^5.4.1",
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.7",
14-
"astro": "^5.4.0",
14+
"astro": "^5.4.1",
1515
"vue": "^3.5.13"
1616
}
1717
}

examples/hackernews/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
},
1212
"dependencies": {
1313
"@astrojs/node": "^9.1.2",
14-
"astro": "^5.4.0"
14+
"astro": "^5.4.1"
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.4.0"
18+
"astro": "^5.4.1"
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.4.0"
13+
"astro": "^5.4.1"
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.4.0"
13+
"astro": "^5.4.1"
1414
}
1515
}

examples/ssr/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dependencies": {
1414
"@astrojs/node": "^9.1.2",
1515
"@astrojs/svelte": "^7.0.5",
16-
"astro": "^5.4.0",
16+
"astro": "^5.4.1",
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.4.0",
12+
"astro": "^5.4.1",
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.4.0"
19+
"astro": "^5.4.1"
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.10",
14-
"astro": "^5.4.0"
14+
"astro": "^5.4.1"
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.1.0",
1414
"@astrojs/preact": "^4.0.5",
15-
"astro": "^5.4.0",
15+
"astro": "^5.4.1",
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.5",
1414
"@nanostores/preact": "^0.5.2",
15-
"astro": "^5.4.0",
15+
"astro": "^5.4.1",
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.1.0",
1414
"@tailwindcss/vite": "^4.0.3",
1515
"@types/canvas-confetti": "^1.9.0",
16-
"astro": "^5.4.0",
16+
"astro": "^5.4.1",
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.4.0",
14+
"astro": "^5.4.1",
1515
"vitest": "^3.0.5"
1616
}
1717
}

packages/astro/CHANGELOG.md

+47
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
# astro
22

3+
## 5.4.1
4+
5+
### Patch Changes
6+
7+
- [#13336](https://github.com/withastro/astro/pull/13336) [`8f632ef`](https://github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a regression where some asset utilities were move across monorepo, and not re-exported anymore.
8+
9+
- [#13320](https://github.com/withastro/astro/pull/13320) [`b5dabe9`](https://github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26) Thanks [@{](https://github.com/{)! - Adds support for typing experimental session data
10+
11+
You can add optional types to your session data by creating a `src/env.d.ts` file in your project that extends the global `App.SessionData` interface. For example:
12+
13+
```ts
14+
declare namespace App {
15+
interface SessionData {
16+
17+
id: string;
18+
email: string;
19+
};
20+
lastLogin: Date;
21+
}
22+
}
23+
```
24+
25+
Any keys not defined in this interface will be treated as `any`.
26+
27+
Then when you access `Astro.session` in your components, any defined keys will be typed correctly:
28+
29+
```astro
30+
---
31+
const user = await Astro.session.get('user');
32+
// ^? const: user: { id: string; email: string; } | undefined
33+
34+
const something = await Astro.session.get('something');
35+
// ^? const: something: any
36+
37+
Astro.session.set('user', 1);
38+
// ^? Argument of type 'number' is not assignable to parameter of type '{ id: string; email: string; }'.
39+
---
40+
```
41+
42+
See [the experimental session docs](https://docs.astro.build/en/reference/experimental-flags/sessions/) for more information.
43+
44+
- [#13330](https://github.com/withastro/astro/pull/13330) [`5e7646e`](https://github.com/withastro/astro/commit/5e7646efc12d47bbb65d8c80a160f4f27329903c) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue with the conditional rendering of scripts.
45+
46+
**This change updates a v5.0 breaking change when `experimental.directRenderScript` became the default script handling behavior**.
47+
48+
If you have already successfully upgraded to Astro v5, you may need to review your script tags again and make sure they still behave as desired after this release. [See the v5 Upgrade Guide for more details](https://docs.astro.build/en/guides/upgrade-to/v5/#script-tags-are-rendered-directly-as-declared).
49+
350
## 5.4.0
451

552
### Minor Changes

packages/astro/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "astro",
3-
"version": "5.4.0",
3+
"version": "5.4.1",
44
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
55
"type": "module",
66
"author": "withastro",

packages/upgrade/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @astrojs/upgrade
22

3+
## 0.5.0
4+
5+
### Minor Changes
6+
7+
- [#13330](https://github.com/withastro/astro/pull/13330) [`5e7646e`](https://github.com/withastro/astro/commit/5e7646efc12d47bbb65d8c80a160f4f27329903c) Thanks [@ematipico](https://github.com/ematipico)! - Adds the ability to identify `bun` as the preferred package manager.
8+
39
## 0.4.3
410

511
### Patch Changes

packages/upgrade/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@astrojs/upgrade",
3-
"version": "0.4.3",
3+
"version": "0.5.0",
44
"type": "module",
55
"author": "withastro",
66
"license": "MIT",

0 commit comments

Comments
 (0)