Skip to content

Commit

Permalink
[ci] release (#13337)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
astrobot-houston and github-actions[bot] authored Feb 28, 2025
1 parent f15aa9d commit 8483502
Show file tree
Hide file tree
Showing 32 changed files with 101 additions and 106 deletions.
5 changes: 0 additions & 5 deletions .changeset/seven-coats-wink.md

This file was deleted.

38 changes: 0 additions & 38 deletions .changeset/slimy-bulldogs-sell.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/three-eyes-listen.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-frogs-visit.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.4.0"
"astro": "^5.4.1"
}
}
2 changes: 1 addition & 1 deletion examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"@astrojs/mdx": "^4.1.0",
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
"astro": "^5.4.0"
"astro": "^5.4.1"
}
}
2 changes: 1 addition & 1 deletion examples/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^5.4.0"
"astro": "^5.4.1"
},
"peerDependencies": {
"astro": "^4.0.0 || ^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/container-with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/react": "^4.2.1",
"astro": "^5.4.0",
"astro": "^5.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vitest": "^3.0.5"
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-alpine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"@astrojs/alpinejs": "^0.4.3",
"@types/alpinejs": "^3.13.11",
"alpinejs": "^3.14.8",
"astro": "^5.4.0"
"astro": "^5.4.1"
}
}
2 changes: 1 addition & 1 deletion examples/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@astrojs/vue": "^5.0.7",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"astro": "^5.4.0",
"astro": "^5.4.1",
"preact": "^10.25.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^4.0.5",
"@preact/signals": "^2.0.1",
"astro": "^5.4.0",
"astro": "^5.4.1",
"preact": "^10.25.4"
}
}
2 changes: 1 addition & 1 deletion examples/framework-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@astrojs/react": "^4.2.1",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"astro": "^5.4.0",
"astro": "^5.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^5.0.5",
"astro": "^5.4.0",
"astro": "^5.4.1",
"solid-js": "^1.9.4"
}
}
2 changes: 1 addition & 1 deletion examples/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/svelte": "^7.0.5",
"astro": "^5.4.0",
"astro": "^5.4.1",
"svelte": "^5.19.7"
}
}
2 changes: 1 addition & 1 deletion examples/framework-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/vue": "^5.0.7",
"astro": "^5.4.0",
"astro": "^5.4.1",
"vue": "^3.5.13"
}
}
2 changes: 1 addition & 1 deletion examples/hackernews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"dependencies": {
"@astrojs/node": "^9.1.2",
"astro": "^5.4.0"
"astro": "^5.4.1"
}
}
2 changes: 1 addition & 1 deletion examples/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^5.4.0"
"astro": "^5.4.1"
},
"peerDependencies": {
"astro": "^4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.4.0"
"astro": "^5.4.1"
}
}
2 changes: 1 addition & 1 deletion examples/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.4.0"
"astro": "^5.4.1"
}
}
2 changes: 1 addition & 1 deletion examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/node": "^9.1.2",
"@astrojs/svelte": "^7.0.5",
"astro": "^5.4.0",
"astro": "^5.4.1",
"svelte": "^5.19.7"
}
}
2 changes: 1 addition & 1 deletion examples/starlog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.4.0",
"astro": "^5.4.1",
"sass": "^1.83.4",
"sharp": "^0.33.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/toolbar-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
},
"devDependencies": {
"@types/node": "^18.17.8",
"astro": "^5.4.0"
"astro": "^5.4.1"
}
}
2 changes: 1 addition & 1 deletion examples/with-markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.12.10",
"astro": "^5.4.0"
"astro": "^5.4.1"
}
}
2 changes: 1 addition & 1 deletion examples/with-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/mdx": "^4.1.0",
"@astrojs/preact": "^4.0.5",
"astro": "^5.4.0",
"astro": "^5.4.1",
"preact": "^10.25.4"
}
}
2 changes: 1 addition & 1 deletion examples/with-nanostores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^4.0.5",
"@nanostores/preact": "^0.5.2",
"astro": "^5.4.0",
"astro": "^5.4.1",
"nanostores": "^0.11.3",
"preact": "^10.25.4"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@astrojs/mdx": "^4.1.0",
"@tailwindcss/vite": "^4.0.3",
"@types/canvas-confetti": "^1.9.0",
"astro": "^5.4.0",
"astro": "^5.4.1",
"canvas-confetti": "^1.9.3",
"tailwindcss": "^4.0.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^5.4.0",
"astro": "^5.4.1",
"vitest": "^3.0.5"
}
}
47 changes: 47 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# astro

## 5.4.1

### Patch Changes

- [#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.

- [#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

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:

```ts
declare namespace App {
interface SessionData {

id: string;
email: string;
};
lastLogin: Date;
}
}
```

Any keys not defined in this interface will be treated as `any`.

Then when you access `Astro.session` in your components, any defined keys will be typed correctly:

```astro
---
const user = await Astro.session.get('user');
// ^? const: user: { id: string; email: string; } | undefined

const something = await Astro.session.get('something');
// ^? const: something: any

Astro.session.set('user', 1);
// ^? Argument of type 'number' is not assignable to parameter of type '{ id: string; email: string; }'.
---
```

See [the experimental session docs](https://docs.astro.build/en/reference/experimental-flags/sessions/) for more information.

- [#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.

**This change updates a v5.0 breaking change when `experimental.directRenderScript` became the default script handling behavior**.

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).

## 5.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro",
"version": "5.4.0",
"version": "5.4.1",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
Expand Down
6 changes: 6 additions & 0 deletions packages/upgrade/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @astrojs/upgrade

## 0.5.0

### Minor Changes

- [#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.

## 0.4.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/upgrade/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@astrojs/upgrade",
"version": "0.4.3",
"version": "0.5.0",
"type": "module",
"author": "withastro",
"license": "MIT",
Expand Down
Loading

0 comments on commit 8483502

Please sign in to comment.