-
Notifications
You must be signed in to change notification settings - Fork 881
Commit 8ad98b9
authored
Update dependency astro to v5 (#1997)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | major | [`^4.5.2` ->
`^5.0.0`](https://renovatebot.com/diffs/npm/astro/4.16.18/5.3.0) |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>withastro/astro (astro)</summary>
###
[`v5.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#530)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.3.0)
##### Minor Changes
-
[#​13210](https://redirect.github.com/withastro/astro/pull/13210)
[`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da)
Thanks [@​VitaliyR](https://redirect.github.com/VitaliyR)! -
Handle `HEAD` requests to an endpoint when a handler is not defined.
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.
-
[#​13195](https://redirect.github.com/withastro/astro/pull/13195)
[`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536)
Thanks [@​MatthewLymer](https://redirect.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.
-
[#​13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Adds
support for adapters auto-configuring experimental session storage
drivers.
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.
##### Patch Changes
-
[#​13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! -
:warning: **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** :warning:
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.
```diff
defineConfig({
// ...
experimental: {
- session: {
- driver: 'upstash',
- },
+ session: true,
},
+ session: {
+ driver: 'upstash',
+ },
});
```
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.
```diff
defineConfig({
adapter: node({
mode: "standalone",
}),
experimental: {
- session: {
- driver: 'fs',
- cookie: 'astro-cookie',
- },
+ session: true,
},
+ session: {
+ cookie: 'astro-cookie',
+ },
});
```
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/).
-
[#​13101](https://redirect.github.com/withastro/astro/pull/13101)
[`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2)
Thanks
[@​corneliusroemer](https://redirect.github.com/corneliusroemer)!
- Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered
pages were incorrectly rejected with 403 FORBIDDEN
###
[`v5.2.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#526)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.6)
##### Patch Changes
-
[#​13188](https://redirect.github.com/withastro/astro/pull/13188)
[`7bc8256`](https://redirect.github.com/withastro/astro/commit/7bc825649bfb790a0206abd31df1676513a03b22)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes the wording of the an error message
-
[#​13205](https://redirect.github.com/withastro/astro/pull/13205)
[`9d56602`](https://redirect.github.com/withastro/astro/commit/9d5660223b46e024b4e8c8eafead8a4e20e28ec5)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes and issue where a server island component returns 404 when `base`
is configured in i18n project.
-
[#​13212](https://redirect.github.com/withastro/astro/pull/13212)
[`fb38840`](https://redirect.github.com/withastro/astro/commit/fb3884074f261523cd89fe6e1745a0e9c01198f2)
Thanks [@​joshmkennedy](https://redirect.github.com/joshmkennedy)!
- An additional has been added during the build command to add clarity
around output and buildOutput.
-
[#​13213](https://redirect.github.com/withastro/astro/pull/13213)
[`6bac644`](https://redirect.github.com/withastro/astro/commit/6bac644241bc42bb565730955ffd575878a0e41b)
Thanks [@​joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Allows readonly arrays to be passed to the `paginate()` function
###
[`v5.2.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#525)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.5)
##### Patch Changes
-
[#​13133](https://redirect.github.com/withastro/astro/pull/13133)
[`e76aa83`](https://redirect.github.com/withastro/astro/commit/e76aa8391eb9d81c1a52fb2f9f21ede4790bd793)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where Astro was failing to build an external redirect when
the middleware was triggered
-
[#​13119](https://redirect.github.com/withastro/astro/pull/13119)
[`ac43580`](https://redirect.github.com/withastro/astro/commit/ac4358052af2c1817dec999598bc4e3d8fd0bdaf)
Thanks [@​Hacksore](https://redirect.github.com/Hacksore)! - Adds
extra guidance in the terminal when using the `astro add tailwind` CLI
command
Now, users are given a friendly reminder to import the stylesheet
containing their Tailwind classes into any pages where they want to use
Tailwind. Commonly, this is a shared layout component so that Tailwind
styling can be used on multiple pages.
###
[`v5.2.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#524)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.4)
##### Patch Changes
-
[#​13130](https://redirect.github.com/withastro/astro/pull/13130)
[`b71bd10`](https://redirect.github.com/withastro/astro/commit/b71bd10989c0070847cecb101afb8278d5ef7091)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused duplicate slashes inside query params to be collapsed
-
[#​13131](https://redirect.github.com/withastro/astro/pull/13131)
[`d60c742`](https://redirect.github.com/withastro/astro/commit/d60c74243f639761ad735d66d814e627f8f847a2)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! -
Ignores trailing slashes for endpoints with file extensions in the route
- Updated dependencies
\[[`b71bd10`](https://redirect.github.com/withastro/astro/commit/b71bd10989c0070847cecb101afb8278d5ef7091)]:
-
[@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).5.1
###
[`v5.2.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#523)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.3)
##### Patch Changes
-
[#​13113](https://redirect.github.com/withastro/astro/pull/13113)
[`3a26e45`](https://redirect.github.com/withastro/astro/commit/3a26e4541764085faa499bc63549b24d194146a6)
Thanks
[@​unprintable123](https://redirect.github.com/unprintable123)! -
Fixes the bug that rewrite will pass encoded url to the dynamic routing
and cause params mismatch.
-
[#​13111](https://redirect.github.com/withastro/astro/pull/13111)
[`23978dd`](https://redirect.github.com/withastro/astro/commit/23978ddfe127bbc3762b6209b42d049588e52a14)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused injected endpoint routes to return not found when
trailingSlash was set to always
-
[#​13112](https://redirect.github.com/withastro/astro/pull/13112)
[`0fa5c82`](https://redirect.github.com/withastro/astro/commit/0fa5c82977de73872ddeffffea48fddafba47398)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where the i18n middleware was blocking a server island
request when the `prefixDefaultLocale` option is set to `true`
###
[`v5.2.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#522)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.2)
##### Patch Changes
-
[#​13106](https://redirect.github.com/withastro/astro/pull/13106)
[`187c4d3`](https://redirect.github.com/withastro/astro/commit/187c4d3244a27c9b4e7e3cbe6307b01161140ca1)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused peer dependency errors when running `astro add
tailwind`
###
[`v5.2.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#521)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.1)
##### Patch Changes
-
[#​13095](https://redirect.github.com/withastro/astro/pull/13095)
[`740eb60`](https://redirect.github.com/withastro/astro/commit/740eb6019f405781a3918941d3bfb34a7bda1a3d)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused some dev server asset requests to return 404 when
trailingSlash was set to "always"
###
[`v5.2.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#520)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.0)
##### Minor Changes
-
[#​12994](https://redirect.github.com/withastro/astro/pull/12994)
[`5361755`](https://redirect.github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! -
Redirects trailing slashes for on-demand pages
When the `trailingSlash` option is set to `always` or `never`, on-demand
rendered pages will now redirect to the correct URL when the trailing
slash doesn't match the configuration option. This was previously the
case for static pages, but now works for on-demand pages as well.
Now, it doesn't matter whether your visitor navigates to `/about/`,
`/about`, or even `/about///`. In production, they'll always end up on
the correct page. For GET requests, the redirect will be a 301
(permanent) redirect, and for all other request methods, it will be a
308 (permanent, and preserve the request method) redirect.
In development, you'll see a helpful 404 page to alert you of a trailing
slash mismatch so you can troubleshoot routes.
-
[#​12979](https://redirect.github.com/withastro/astro/pull/12979)
[`e621712`](https://redirect.github.com/withastro/astro/commit/e621712109b79313b24924ec4f0ba4f8ab6201c2)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Adds support for redirecting to external sites with the
[`redirects`](https://docs.astro.build/en/reference/configuration-reference/#redirects)
configuration option.
Now, you can redirect routes either internally to another path or
externally by providing a URL beginning with `http` or `https`:
```js
// astro.config.mjs
import { defineConfig } from 'astro/config';
export default defineConfig({
redirects: {
'/blog': 'https://example.com/blog',
'/news': {
status: 302,
destination: 'https://example.com/news',
},
},
});
```
-
[#​13084](https://redirect.github.com/withastro/astro/pull/13084)
[`0f3be31`](https://redirect.github.com/withastro/astro/commit/0f3be3104e62d5b50dabfb15023f97954a160b8e)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Adds a new experimental virtual module `astro:config` that exposes a
type-safe subset of your `astro.config.mjs` configuration
The virtual module exposes two sub-paths for controlled access to your
configuration:
- `astro:config/client`: exposes config information that is safe to
expose to the client.
- `astro:config/server`: exposes additional information that is safe to
expose to the server, such as file/dir paths.
To enable this new virtual module, add the
`experimental.serializeManifest` feature flag to your Astro config:
```js
// astro.config.mjs
import { defineConfig } from 'astro/config';
export default defineConfig({
experimental: {
serializeManifest: true,
},
});
```
Then, you can access the module in any file inside your project to
import and use values from your Astro config:
```js
// src/utils.js
import { trailingSlash } from 'astro:config/client';
function addForwardSlash(path) {
if (trailingSlash === 'always') {
return path.endsWith('/') ? path : path + '/';
} else {
return path;
}
}
```
For a complete overview, and to give feedback on this experimental API,
see the [Serialized Manifest
RFC](https://redirect.github.com/withastro/roadmap/blob/feat/serialised-config/proposals/0051-serialized-manifest.md).
##### Patch Changes
-
[#​13049](https://redirect.github.com/withastro/astro/pull/13049)
[`2ed4bd9`](https://redirect.github.com/withastro/astro/commit/2ed4bd90f25a3e5a183d0bc862e3b359b8289b93)
Thanks
[@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Updates `astro add tailwind` to add the `@tailwindcss/vite` plugin
instead of the `@astrojs/tailwind` integration
-
[#​12994](https://redirect.github.com/withastro/astro/pull/12994)
[`5361755`](https://redirect.github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! -
Returns a more helpful 404 page in dev if there is a trailing slash
mismatch between the route requested and the `trailingSlash`
configuration
-
[#​12666](https://redirect.github.com/withastro/astro/pull/12666)
[`037495d`](https://redirect.github.com/withastro/astro/commit/037495d437d2328bf10ffadc22cc114ccf474c65)
Thanks [@​Thodor12](https://redirect.github.com/Thodor12)! - Added
additional generated typings for the content layer
- Updated dependencies
\[[`5361755`](https://redirect.github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879),
[`db252e0`](https://redirect.github.com/withastro/astro/commit/db252e0692a0addf7239bfefc0220c525d63337d)]:
-
[@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).5.0
-
[@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​6](https://redirect.github.com/6).1.0
###
[`v5.1.10`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5110)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.10)
##### Patch Changes
-
[#​13058](https://redirect.github.com/withastro/astro/pull/13058)
[`1a14b53`](https://redirect.github.com/withastro/astro/commit/1a14b53678525379211c4a7cbcbc34a04c0e4f8d)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
broken type declaration
-
[#​13059](https://redirect.github.com/withastro/astro/pull/13059)
[`e36837f`](https://redirect.github.com/withastro/astro/commit/e36837f91437a66d5c50eb1c399b3d812743251d)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused tsconfig path aliases to break if there was more than
one wildcard pattern
-
[#​13045](https://redirect.github.com/withastro/astro/pull/13045)
[`c7f1366`](https://redirect.github.com/withastro/astro/commit/c7f1366413692091bb8d62d901745a77fa663b18)
Thanks
[@​mtwilliams-code](https://redirect.github.com/mtwilliams-code)!
- Fixes a bug where the some utility functions of the `astro:i18n`
virtual module would return an incorrect result when `trailingSlash` is
set to `never`
###
[`v5.1.9`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#519)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.9)
##### Patch Changes
-
[#​12986](https://redirect.github.com/withastro/astro/pull/12986)
[`8911bda`](https://redirect.github.com/withastro/astro/commit/8911bdacabb7fffb82bb3b3628467731ea233187)
Thanks [@​wetheredge](https://redirect.github.com/wetheredge)! -
Updates types and dev toolbar for ARIA 1.2 attributes and roles
-
[#​12892](https://redirect.github.com/withastro/astro/pull/12892)
[`8f520f1`](https://redirect.github.com/withastro/astro/commit/8f520f1cc67db51feb966c710e72490a05b88954)
Thanks [@​louisescher](https://redirect.github.com/louisescher)! -
Adds a more descriptive error when a content collection entry has an
invalid ID.
-
[#​13031](https://redirect.github.com/withastro/astro/pull/13031)
[`f576519`](https://redirect.github.com/withastro/astro/commit/f5765196e9cd5c582da04ae3bceb4ee1d62b7eae)
Thanks
[@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Updates the server islands encoding logic to only escape the script
end tag open delimiter and opening HTML comment syntax
-
[#​13026](https://redirect.github.com/withastro/astro/pull/13026)
[`1d272f6`](https://redirect.github.com/withastro/astro/commit/1d272f6a5a3af16ad2ab9af41b7193ce67964b69)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a regression that prevented the import of Markdown files as raw text or
URLs.
###
[`v5.1.8`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#518)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.8)
##### Patch Changes
-
[#​12998](https://redirect.github.com/withastro/astro/pull/12998)
[`9ce0038`](https://redirect.github.com/withastro/astro/commit/9ce003802109f704cc1f081759f3d2af2c1ea2c2)
Thanks [@​Kynson](https://redirect.github.com/Kynson)! - Fixes the
issue that audit incorrectly flag images as above the fold when the
scrolling container is not body
-
[#​12990](https://redirect.github.com/withastro/astro/pull/12990)
[`2e12f1d`](https://redirect.github.com/withastro/astro/commit/2e12f1d7526f12fa0e1e63482f100bbb81a8b36e)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused references to be incorrectly reported as invalid
-
[#​12984](https://redirect.github.com/withastro/astro/pull/12984)
[`2d259cf`](https://redirect.github.com/withastro/astro/commit/2d259cf4abf27a4f0a067bedb32d0459c4fce507)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug in dev where files would stop being watched if the Astro config
file was edited
-
[#​12984](https://redirect.github.com/withastro/astro/pull/12984)
[`2d259cf`](https://redirect.github.com/withastro/astro/commit/2d259cf4abf27a4f0a067bedb32d0459c4fce507)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug where the content layer would use an outdated version of the Astro
config if it was edited in dev
-
[#​12982](https://redirect.github.com/withastro/astro/pull/12982)
[`429aa75`](https://redirect.github.com/withastro/astro/commit/429aa7547572915b5f7f9a4146529e704069128b)
Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Fixes an
issue where server islands do not work in projects that use an adapter
but only have prerendered pages. If an adapter is added, the server
island endpoint will now be added by default.
-
[#​12995](https://redirect.github.com/withastro/astro/pull/12995)
[`78fd73a`](https://redirect.github.com/withastro/astro/commit/78fd73a0dfbfab120111d5f1d1eaecd563bc82a6)
Thanks
[@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where `astro:actions` types would not work when using
`src/actions.ts`
-
[#​13011](https://redirect.github.com/withastro/astro/pull/13011)
[`cf30880`](https://redirect.github.com/withastro/astro/commit/cf3088060d45227dcb48e041c4ed5e0081d71398)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! -
Upgrades Vite
-
[#​12733](https://redirect.github.com/withastro/astro/pull/12733)
[`bbf1d88`](https://redirect.github.com/withastro/astro/commit/bbf1d8894e6ce5d2ebe45452a27072b9929053a8)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused the dev server to return an error if requesting "//"
-
[#​13001](https://redirect.github.com/withastro/astro/pull/13001)
[`627aec3`](https://redirect.github.com/withastro/astro/commit/627aec3f04de424ec144cefac4a5a3b70d9ba0fb)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused Astro to attempt to inject environment variables into
non-source files, causing performance problems and broken builds
###
[`v5.1.7`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#517)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.7)
##### Patch Changes
-
[#​12361](https://redirect.github.com/withastro/astro/pull/12361)
[`3d89e62`](https://redirect.github.com/withastro/astro/commit/3d89e6282235a8da45d9ddfe02bcf7ec78056941)
Thanks [@​LunaticMuch](https://redirect.github.com/LunaticMuch)! -
Upgrades the `esbuild` version to match `vite`
-
[#​12980](https://redirect.github.com/withastro/astro/pull/12980)
[`1a026af`](https://redirect.github.com/withastro/astro/commit/1a026afb427cd4b472c8f1174a08f10086f4fb89)
Thanks
[@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where setting the status of a page to `404` in
development would show the default 404 page (or custom one if provided)
instead of using the current page
-
[#​12182](https://redirect.github.com/withastro/astro/pull/12182)
[`c30070b`](https://redirect.github.com/withastro/astro/commit/c30070b9271e4c494e7cbf3a1c45515782034911)
Thanks [@​braden-w](https://redirect.github.com/braden-w)! -
Improves matching of 404 and 500 routes
- Updated dependencies
\[[`3d89e62`](https://redirect.github.com/withastro/astro/commit/3d89e6282235a8da45d9ddfe02bcf7ec78056941)]:
-
[@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​6](https://redirect.github.com/6).0.2
###
[`v5.1.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#516)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.6)
##### Patch Changes
-
[#​12956](https://redirect.github.com/withastro/astro/pull/12956)
[`3aff68a`](https://redirect.github.com/withastro/astro/commit/3aff68a4195a608e92dc6299610a4b06e7bb96f1)
Thanks [@​kaytwo](https://redirect.github.com/kaytwo)! - Removes
encryption of empty props to allow server island cacheability
-
[#​12977](https://redirect.github.com/withastro/astro/pull/12977)
[`80067c0`](https://redirect.github.com/withastro/astro/commit/80067c032f9ce5852f3315d1046b2d0c220ddcd5)
Thanks
[@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where accessing `astro:env` APIs or `import.meta.env`
inside the content config file would not work
-
[#​12839](https://redirect.github.com/withastro/astro/pull/12839)
[`57be349`](https://redirect.github.com/withastro/astro/commit/57be3494e2bdc178d073243c8cbfa10edb85b049)
Thanks
[@​mtwilliams-code](https://redirect.github.com/mtwilliams-code)!
- Fix Astro.currentLocale returning the incorrect locale when using
fallback rewrites in SSR mode
-
[#​12962](https://redirect.github.com/withastro/astro/pull/12962)
[`4b7a2ce`](https://redirect.github.com/withastro/astro/commit/4b7a2ce9e743a5624617563022635678a5ba6051)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Skips
updating content layer files if content is unchanged
-
[#​12942](https://redirect.github.com/withastro/astro/pull/12942)
[`f00c2dd`](https://redirect.github.com/withastro/astro/commit/f00c2ddc31b5285d14c2f0808c01eafaaf31f5c9)
Thanks [@​liruifengv](https://redirect.github.com/liruifengv)! -
Improves the session error messages
-
[#​12966](https://redirect.github.com/withastro/astro/pull/12966)
[`d864e09`](https://redirect.github.com/withastro/astro/commit/d864e0991e05438d4bdb5e14fab4f7f75efe2a1f)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! -
Ensures old content collection entry is deleted if a markdown
frontmatter slug is changed in dev
###
[`v5.1.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#515)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.5)
##### Patch Changes
-
[#​12934](https://redirect.github.com/withastro/astro/pull/12934)
[`673a518`](https://redirect.github.com/withastro/astro/commit/673a518b011e2df35a099f8205611d98a223a92a)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes a regression where the Astro Container didn't work during the
build, using `pnpm`
-
[#​12955](https://redirect.github.com/withastro/astro/pull/12955)
[`db447f2`](https://redirect.github.com/withastro/astro/commit/db447f2816836b635355cc2b0a73678facd155a5)
Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Lets
TypeScript know about the "blocking" and "disabled" attributes of the
`<link>` element.
-
[#​12922](https://redirect.github.com/withastro/astro/pull/12922)
[`faf74af`](https://redirect.github.com/withastro/astro/commit/faf74af522f4499ab95531b24a0a1c14070abe8b)
Thanks [@​adamchal](https://redirect.github.com/adamchal)! -
Improves performance of static asset generation by fixing a bug that
caused image transforms to be performed serially. This fix ensures that
processing uses all CPUs when running in a multi-core environment.
-
[#​12947](https://redirect.github.com/withastro/astro/pull/12947)
[`3c2292f`](https://redirect.github.com/withastro/astro/commit/3c2292f2f0accf1974b30dbe32f040c56413e731)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused empty content collections when running dev with
NODE_ENV set
###
[`v5.1.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#514)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.4)
##### Patch Changes
-
[#​12927](https://redirect.github.com/withastro/astro/pull/12927)
[`ad2a752`](https://redirect.github.com/withastro/astro/commit/ad2a752662946e3a80849605f073812b06adf632)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where Astro attempted to decode a request URL multiple
times, resulting in an unexpected behaviour when decoding the character
`%`
-
[#​12912](https://redirect.github.com/withastro/astro/pull/12912)
[`0c0c66b`](https://redirect.github.com/withastro/astro/commit/0c0c66bf0df23ab5a9bd2f147e303d8397d3222e)
Thanks
[@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Improves the config error for invalid combinations of `context` and
`access` properties under `env.schema`
-
[#​12935](https://redirect.github.com/withastro/astro/pull/12935)
[`3d47e6b`](https://redirect.github.com/withastro/astro/commit/3d47e6baff7a17d3ef09630b0d90362baef41f97)
Thanks [@​AirBorne04](https://redirect.github.com/AirBorne04)! -
Fixes an issue where `Astro.locals` coming from an adapter weren't
available in the `404.astro`, when using the `astro dev` command,
-
[#​12925](https://redirect.github.com/withastro/astro/pull/12925)
[`44841fc`](https://redirect.github.com/withastro/astro/commit/44841fc281f8920b32f4b4a94deefeb3ad069cf3)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! -
Ensures image styles are not imported unless experimental responsive
images are enabled
-
[#​12926](https://redirect.github.com/withastro/astro/pull/12926)
[`8e64bb7`](https://redirect.github.com/withastro/astro/commit/8e64bb727f78f24b26fd1c0b1289ab1ccd611114)
Thanks [@​oliverlynch](https://redirect.github.com/oliverlynch)! -
Improves remote image cache efficiency by separating image data and
metadata into a binary and sidecar JSON file.
-
[#​12920](https://redirect.github.com/withastro/astro/pull/12920)
[`8b9d530`](https://redirect.github.com/withastro/astro/commit/8b9d53037879cd7ca7bee4d20b4e6f08e984a7df)
Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Processes
markdown with empty body as remark and rehype plugins may add additional
content or frontmatter
-
[#​12918](https://redirect.github.com/withastro/astro/pull/12918)
[`fd12a26`](https://redirect.github.com/withastro/astro/commit/fd12a26ac6012c6b8a26f5a178e1bb46092a1806)
Thanks [@​lameuler](https://redirect.github.com/lameuler)! - Fixes
a bug where the logged output path does not match the actual output path
when using `build.format: 'preserve'`
-
[#​12676](https://redirect.github.com/withastro/astro/pull/12676)
[`2ffc0fc`](https://redirect.github.com/withastro/astro/commit/2ffc0fcab78b658a6ee73a8f8b291802093dce5e)
Thanks [@​koyopro](https://redirect.github.com/koyopro)! - Allows
configuring Astro modules TypeScript compilation with the `vite.esbuild`
config
-
[#​12938](https://redirect.github.com/withastro/astro/pull/12938)
[`dbb04f3`](https://redirect.github.com/withastro/astro/commit/dbb04f3c04ce868b5c985c848a2c40a3761a6dad)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug where content collections would sometimes appear empty when first
running astro dev
-
[#​12937](https://redirect.github.com/withastro/astro/pull/12937)
[`30edb6d`](https://redirect.github.com/withastro/astro/commit/30edb6d9d0aaf28bea1fec73879f63fe134507d0)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where users could use `Astro.request.headers` during a
rewrite inside prerendered routes. This an invalid behaviour, and now
Astro will show a warning if this happens.
-
[#​12937](https://redirect.github.com/withastro/astro/pull/12937)
[`30edb6d`](https://redirect.github.com/withastro/astro/commit/30edb6d9d0aaf28bea1fec73879f63fe134507d0)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the use of `Astro.rewrite` would trigger the
invalid use of `Astro.request.headers`
###
[`v5.1.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#513)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.3)
##### Patch Changes
-
[#​12877](https://redirect.github.com/withastro/astro/pull/12877)
[`73a0788`](https://redirect.github.com/withastro/astro/commit/73a078835eb92a05c3f681ee025c93d6db85b907)
Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Fixes
sourcemap warning generated by the `astro:server-islands` Vite plugin
-
[#​12906](https://redirect.github.com/withastro/astro/pull/12906)
[`2d89492`](https://redirect.github.com/withastro/astro/commit/2d89492d73142ed5c7cea9448d841a9892e66598)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused pages that return an empty array from getStaticPath to
match every path
-
[`011fa0f`](https://redirect.github.com/withastro/astro/commit/011fa0f00ce457cb6b582d36b6b5b17aa89f0a70)
Thanks
[@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where `astro:content` types would be erased when
restarting the dev server
-
[#​12907](https://redirect.github.com/withastro/astro/pull/12907)
[`dbf1275`](https://redirect.github.com/withastro/astro/commit/dbf1275987d4d9724eab471f1600fba9a50aefb8)
Thanks
[@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a regression around the server islands route, which was not
passed to the adapters `astro:build:done` hook
-
[#​12818](https://redirect.github.com/withastro/astro/pull/12818)
[`579bd93`](https://redirect.github.com/withastro/astro/commit/579bd93794b787485479aa3b16554409a0504ed2)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
race condition where dev server would attempt to load collections before
the content had loaded
-
[#​12883](https://redirect.github.com/withastro/astro/pull/12883)
[`fbac92f`](https://redirect.github.com/withastro/astro/commit/fbac92f8bdbb5ee1312726b2a535a81271b3f7d6)
Thanks [@​kaytwo](https://redirect.github.com/kaytwo)! - Fixes a
bug where responses can be returned before session data is saved
-
[#​12815](https://redirect.github.com/withastro/astro/pull/12815)
[`3acc654`](https://redirect.github.com/withastro/astro/commit/3acc65444c27d87b6f2d61bdfa7df0e0db4e2686)
Thanks [@​ericswpark](https://redirect.github.com/ericswpark)! -
Some non-index files that were incorrectly being treated as index files
are now excluded
-
[#​12884](https://redirect.github.com/withastro/astro/pull/12884)
[`d7e97a7`](https://redirect.github.com/withastro/astro/commit/d7e97a775dda7a851bfc10b06161f9a1d3631ed3)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Adds
`render()` to stub content types
-
[#​12883](https://redirect.github.com/withastro/astro/pull/12883)
[`fbac92f`](https://redirect.github.com/withastro/astro/commit/fbac92f8bdbb5ee1312726b2a535a81271b3f7d6)
Thanks [@​kaytwo](https://redirect.github.com/kaytwo)! - Fixes a
bug where session data could be corrupted if it is changed after calling
.set()
-
[#​12827](https://redirect.github.com/withastro/astro/pull/12827)
[`7b5dc6f`](https://redirect.github.com/withastro/astro/commit/7b5dc6f0f1fbb825f52cd587aa1f7d21d731b3de)
Thanks [@​sinskiy](https://redirect.github.com/sinskiy)! - Fixes
an issue when crawlers try to index Server Islands thinking that Server
Islands are pages
###
[`v5.1.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#512)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.2)
##### Patch Changes
-
[#​12798](https://redirect.github.com/withastro/astro/pull/12798)
[`7b0cb85`](https://redirect.github.com/withastro/astro/commit/7b0cb852f6336c0f9cc65bd044864004e759d810)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! -
Improves warning logs for invalid content collection configuration
-
[#​12781](https://redirect.github.com/withastro/astro/pull/12781)
[`96c4b92`](https://redirect.github.com/withastro/astro/commit/96c4b925333fede1a53d19657d15e0052da90780)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a regression that caused `default()` to not work with `reference()`
-
[#​12820](https://redirect.github.com/withastro/astro/pull/12820)
[`892dd9f`](https://redirect.github.com/withastro/astro/commit/892dd9f6cd3935ce1d4f4dec523b248c2d15da12)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused cookies to not be deleted when destroying a session
-
[#​12864](https://redirect.github.com/withastro/astro/pull/12864)
[`440d8a5`](https://redirect.github.com/withastro/astro/commit/440d8a54f7b3d75dd16decb7d9d29e3724bff394)
Thanks [@​kaytwo](https://redirect.github.com/kaytwo)! - Fixes a
bug where the session ID wasn't correctly regenerated
-
[#​12768](https://redirect.github.com/withastro/astro/pull/12768)
[`524c855`](https://redirect.github.com/withastro/astro/commit/524c855075bb75696500445fdc31cb2c69b09627)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where Astro didn't print error logs when Astro Islands
were used in incorrect cases.
-
[#​12814](https://redirect.github.com/withastro/astro/pull/12814)
[`f12f111`](https://redirect.github.com/withastro/astro/commit/f12f1118bc4687cc807a4495ffcaafcb0861b7a2)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where Astro didn't log anything in case a file isn't
created during the build.
-
[#​12875](https://redirect.github.com/withastro/astro/pull/12875)
[`e109002`](https://redirect.github.com/withastro/astro/commit/e109002c3d5980362788360211e61f11f4394837)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug in emulated legacy collections where the entry passed to the
getCollection filter function did not include the legacy entry fields.
-
[#​12768](https://redirect.github.com/withastro/astro/pull/12768)
[`524c855`](https://redirect.github.com/withastro/astro/commit/524c855075bb75696500445fdc31cb2c69b09627)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where Astro was printing the incorrect output format when
running the `astro build` command
-
[#​12810](https://redirect.github.com/withastro/astro/pull/12810)
[`70a9f0b`](https://redirect.github.com/withastro/astro/commit/70a9f0b984638c21a4da1d83b7d5a5c9940bb693)
Thanks [@​louisescher](https://redirect.github.com/louisescher)! -
Fixes server islands failing to check content-type header under certain
circumstances
Sometimes a reverse proxy or similar service might modify the
content-type header to include the charset or other parameters in the
media type of the response. This previously wasn't handled by the
client-side server island script and thus removed the script without
actually placing the requested content in the DOM. This fix makes it so
the script checks if the header starts with the proper content type
instead of exactly matching `text/html`, so the following will still be
considered a valid header: `text/html; charset=utf-8`
-
[#​12816](https://redirect.github.com/withastro/astro/pull/12816)
[`7fb2184`](https://redirect.github.com/withastro/astro/commit/7fb21844dff893c90dc0a07fd13cefdba61d0a45)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where an injected route entrypoint wasn't correctly
marked because the resolved file path contained a query parameter.
This fixes some edge case where some injected entrypoint were not
resolved when using an adapter.
###
[`v5.1.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5110)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.1)
##### Patch Changes
-
[#​13058](https://redirect.github.com/withastro/astro/pull/13058)
[`1a14b53`](https://redirect.github.com/withastro/astro/commit/1a14b53678525379211c4a7cbcbc34a04c0e4f8d)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
broken type declaration
-
[#​13059](https://redirect.github.com/withastro/astro/pull/13059)
[`e36837f`](https://redirect.github.com/withastro/astro/commit/e36837f91437a66d5c50eb1c399b3d812743251d)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused tsconfig path aliases to break if there was more than
one wildcard pattern
-
[#​13045](https://redirect.github.com/withastro/astro/pull/13045)
[`c7f1366`](https://redirect.github.com/withastro/astro/commit/c7f1366413692091bb8d62d901745a77fa663b18)
Thanks
[@​mtwilliams-code](https://redirect.github.com/mtwilliams-code)!
- Fixes a bug where the some utility functions of the `astro:i18n`
virtual module would return an incorrect result when `trailingSlash` is
set to `never`
###
[`v5.1.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#510)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.0)
##### Minor Changes
-
[#​12441](https://redirect.github.com/withastro/astro/pull/12441)
[`b4fec3c`](https://redirect.github.com/withastro/astro/commit/b4fec3c7d17ed92dcaaeea5e2545aae6dfd19e53)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Adds
experimental session support
Sessions are used to store user state between requests for
server-rendered pages, such as login status, shopping cart contents, or
other user-specific data.
###
[`v5.0.9`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#509)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.0.9)
##### Patch Changes
-
[#​12756](https://redirect.github.com/withastro/astro/pull/12756)
[`95795f8`](https://redirect.github.com/withastro/astro/commit/95795f85dbd85ff29ee2ff4860d018fd4e9bcf8f)
Thanks [@​matthewp](https://redirect.github.com/matthewp)! -
Remove debug logging from build
###
[`v5.0.8`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#508)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.0.8)
##### Patch Changes
-
[#​12749](https://redirect.github.com/withastro/astro/pull/12749)
[`039d022`](https://redirect.github.com/withastro/astro/commit/039d022b1bbaacf9ea83071d27affc5318e0e515)
Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Clean
server sourcemaps from static output
###
[`v5.0.7`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#507)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.0.7)
##### Patch Changes
-
[#​12746](https://redirect.github.com/withastro/astro/pull/12746)
[`c879f50`](https://redirect.github.com/withastro/astro/commit/c879f501ff01b1a3c577de776a1f7100d78f8dd5)
Thanks [@​matthewp](https://redirect.github.com/matthewp)! -
Remove all assets created from the server build
###
[`v5.0.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#506)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.0.6)
##### Patch Changes
-
[#​12597](https://redirect.github.com/withastro/astro/pull/12597)
[`564ac6c`](https://redirect.github.com/withastro/astro/commit/564ac6c2f2d77ee34f8519f1e5a4db2c6e194f65)
Thanks
[@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes an issue where image and server islands routes would not be
passed to the `astro:routes:resolved` hook during builds
-
[#​12718](https://redirect.github.com/withastro/astro/pull/12718)
[`ccc5ad1`](https://redirect.github.com/withastro/astro/commit/ccc5ad1676db5e7f5049ca2feb59802d1fe3a92e)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where Astro couldn't correctly handle i18n fallback when
using the i18n middleware
-
[#​12728](https://redirect.github.com/withastro/astro/pull/12728)
[`ee66a45`](https://redirect.github.com/withastro/astro/commit/ee66a45b250703a40b34c0a45ae34aefcb14ea44)
Thanks [@​argyleink](https://redirect.github.com/argyleink)! -
Adds type support for the `closedby` attribute for `<dialog>` elements
-
[#​12709](https://redirect.github.com/withastro/astro/pull/12709)
[`e3bfd93`](https://redirect.github.com/withastro/astro/commit/e3bfd9396969caf35b3b05135539e82aab560c92)
Thanks
[@​mtwilliams-code](https://redirect.github.com/mtwilliams-code)!
- Fixes a bug where Astro couldn't correctly parse `params` and `props`
when receiving i18n fallback URLs
-
[#​12657](https://redirect.github.com/withastro/astro/pull/12657)
[`14dffcc`](https://redirect.github.com/withastro/astro/commit/14dffcc3af49dd975635602a0d1847a3125c0746)
Thanks [@​darkmaga](https://redirect.github.com/darkmaga)! -
Trailing slash support for actions
-
[#​12715](https://redirect.github.com/withastro/astro/pull/12715)
[`029661d`](https://redirect.github.com/withastro/astro/commit/029661daa9b28fd5299d8cc9360025c78f6cd8eb)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused errors in dev when editing sites with large numbers of
MDX pages
-
[#​12729](https://redirect.github.com/withastro/astro/pull/12729)
[`8b1cecd`](https://redirect.github.com/withastro/astro/commit/8b1cecd6b491654ae760a0c75f3270df134c4e25)
Thanks [@​JoeMorgan](https://redirect.github.com/JoeMorgan)! -
"Added `inert` to htmlBooleanAttributes"
-
[#​12726](https://redirect.github.com/withastro/astro/pull/12726)
[`7c7398c`](https://redirect.github.com/withastro/astro/commit/7c7398c04653877da09c7b0f80ee84b02e02aad0)
Thanks
[@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where failing content entries in `astro check` would not
be surfaced
###
[`v5.0.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#505)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.0.5)
##### Patch Changes
-
[#​12705](https://redirect.github.com/withastro/astro/pull/12705)
[`0d1eab5`](https://redirect.github.com/withastro/astro/commit/0d1eab560d56c51c359bbd35e8bfb51e238611ee)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug where MDX files with certain characters in the name would cause
builds to fail
-
[#​12707](https://redirect.github.com/withastro/astro/pull/12707)
[`2aaed2d`](https://redirect.github.com/withastro/astro/commit/2aaed2d2a96ab35461af24e8d12b20f1da33983f)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where the middleware was incorrectly imported during the
build
-
[#​12697](https://redirect.github.com/withastro/astro/pull/12697)
[`1c4a032`](https://redirect.github.com/withastro/astro/commit/1c4a032247747c830be94dbdd0c953511a6bfa53)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fix a
bug that caused builds to fail if an image had a quote mark in its name
-
[#​12694](https://redirect.github.com/withastro/astro/pull/12694)
[`495f46b`](https://redirect.github.com/withastro/astro/commit/495f46bca78665732e51c629d93a68fa392b88a4)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where the experimental feature `experimental.svg` was
incorrectly used when generating ESM images
-
[#​12658](https://redirect.github.com/withastro/astro/pull/12658)
[`3169593`](https://redirect.github.com/withastro/astro/commit/316959355c3d59723ecb3e0f417becf1f03ddd74)
Thanks [@​jurajkapsz](https://redirect.github.com/jurajkapsz)! -
Fixes astro info copy to clipboard process not returning to prompt in
certain cases.
-
[#​12712](https://redirect.github.com/withastro/astro/pull/12712)
[`b01c74a`](https://redirect.github.com/withastro/astro/commit/b01c74aeccc4ec76b64fa75d163df58274b37970)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug which misidentified pages as markdown if a query string ended in a
markdown extension
###
[`v5.0.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#504)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.0.4)
##### Patch Changes
-
[#​12653](https://redirect.github.com/withastro/astro/pull/12653)
[`e21c7e6`](https://redirect.github.com/withastro/astro/commit/e21c7e67fde1155cf593fd2b40010c5e2c2cd3f2)
Thanks [@​sarah11918](https://redirect.github.com/sarah11918)! -
Updates a reference in an error message
-
[#​12585](https://redirect.github.com/withastro/astro/pull/12585)
[`a9373c0`](https://redirect.github.com/withastro/astro/commit/a9373c0c9a3c2e1773fc11bb14e156698b0d9d38)
Thanks
[@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where `process.env` would be frozen despite changes made
to environment variables in development
-
[#​12695](https://redirect.github.com/withastro/astro/pull/12695)
[`a203d5d`](https://redirect.github.com/withastro/astro/commit/a203d5dd582166674c45e807a5dc9113e26e24f0)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! -
Throws a more helpful error when images are missing
- Updated dependencies
\[[`f13417b`](https://redirect.github.com/withastro/astro/commit/f13417bfbf73130c224752379e2da33084f89554),
[`87231b1`](https://redirect.github.com/withastro/astro/commit/87231b1168da66bb593f681206c42fa555dfcabc),
[`a71e9b9`](https://redirect.github.com/withastro/astro/commit/a71e9b93b317edc0ded49d4d50f1b7841c8cd428)]:
-
[@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​6](https://redirect.github.com/6).0.1
###
[`v5.0.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#503)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.0.3)
##### Patch Changes
-
[#​12645](https://redirect.github.com/withastro/astro/pull/12645)
[`8704c54`](https://redirect.github.com/withastro/astro/commit/8704c5439ccaa4bdcebdebb725f297cdf8d48a5d)
Thanks [@​sarah11918](https://redirect.github.com/sarah11918)! -
Updates some reference links in error messages for new v5 docs.
-
[#​12641](https://redirect.github.com/withastro/astro/pull/12641)
[`48ca399`](https://redirect.github.com/withastro/astro/commit/48ca3997888e960c6aaec633ab21160540656656)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug where `astro info --copy` wasn't working correctly on `macOS`
systems.
-
[#​12461](https://redirect.github.com/withastro/astro/pull/12461)
[`62939ad`](https://redirect.github.com/withastro/astro/commit/62939add0b04b05b64f9b88d85fa5b0d34aae2d4)
Thanks [@​kyr0](https://redirect.github.com/kyr0)! - Removes the
misleading log message telling that a custom renderer is not recognized
while it clearly is and works.
-
[#​12642](https://redirect.github.com/withastro/astro/pull/12642)
[`ff18b9c`](https://redirect.github.com/withastro/astro/commit/ff18b9c18558dcfdae581cc1c603a9a53491c7c2)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Provides more information when logging a warning for accessing
`Astro.request.headers` in prerendered pages
-
[#​12634](https://redirect.github.com/withastro/astro/pull/12634)
[`03958d9`](https://redirect.github.com/withastro/astro/commit/03958d939217e6acef25c0aa1af2de663b04c956)
Thanks [@​delucis](https://redirect.github.com/delucis)! -
Improves error message formatting for user config and content collection
frontmatter
-
[#​12547](https://redirect.github.com/withastro/astro/pull/12547)
[`6b6e18d`](https://redirect.github.com/withastro/astro/commit/6b6e18d7a0f08342eced2a77ddb371810b030868)
Thanks
[@​mtwilliams-code](https://redirect.github.com/mtwilliams-code)!
- Fixes a bug where URL search parameters weren't passed when using the
i18n `fallback` feature.
-
[#​12449](https://redirect.github.com/withastro/astro/pull/12449)
[`e6b8017`](https://redirect.github.com/withastro/astro/commit/e6b80172391d5f9aa5b1de26a8694ba4a28a43f3)
Thanks [@​apatel369](https://redirect.github.com/apatel369)! -
Fixes an issue where the custom `assetFileNames` configuration caused
assets to be incorrectly moved to the server directory instead of the
client directory, resulting in 404 errors when accessed from the client
side.
-
[#​12518](https://redirect.github.com/withastro/astro/pull/12518)
[`e216250`](https://redirect.github.com/withastro/astro/commit/e216250146fbff746efd542612ce9bae6db9601f)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where SSR error pages would return duplicated custom
headers.
-
[#​12625](https://redirect.github.com/withastro/astro/pull/12625)
[`74bfad0`](https://redirect.github.com/withastro/astro/commit/74bfad07afe70fec40de4db3d32a87af306406db)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the `experimental.svg` had incorrect type,
resulting in some errors in the editors.
-
[#​12631](https://redirect.github.com/withastro/astro/pull/12631)
[`dec0305`](https://redirect.github.com/withastro/astro/commit/dec0305b7577b431637a129e19fbbe6a28469587)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug where the class attribute was rendered twice on the image
component
-
[#​12623](https://redirect.github.com/withastro/astro/pull/12623)
[`0e4fecb`](https://redirect.github.com/withastro/astro/commit/0e4fecbb135915a503b9ea2c12e57cf27cf07be8)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! -
Correctly handles images in content collections with uppercase file
extensions
-
[#​12633](https://redirect.github.com/withastro/astro/pull/12633)
[`8a551c1`](https://redirect.github.com/withastro/astro/commit/8a551c1272a22ab7c3fb836d6685a0eb38c33071)
Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Cleans up
content layer sync during builds and programmatic `sync()` calls
-
[#​12640](https://redirect.github.com/withastro/astro/pull/12640)
[`22e405a`](https://redirect.github.com/withastro/astro/commit/22e405a04491aba47a7f172e7b0ee103fe5babe5)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused content collections to be returned empty when run in a
test environment
-
[#​12613](https://redirect.github.com/withastro/astro/pull/12613)
[`306c9f9`](https://redirect.github.com/withastro/astro/commit/306c9f9a9ae08d194ca2a066ab71cde02eeb0874)
Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Fix
use of cloned requests in middleware with clientAddress
When using `context.clientAddress` or `Astro.clientAddress` Astro looks
up the address in a hidden property. Cloning a request can cause this
hidden property to be lost.
The fix is to pass the address as an internal property instead,
decoupling it from the request.
###
[`v5.0.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#502)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.0.2)
##### Patch Changes
-
[#​12601](https://redirect.github.com/withastro/astro/pull/12601)
[`0724929`](https://redirect.github.com/withastro/astro/commit/072492982b338e04549ee576ca7d8480be92cc1c)
Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! -
Includes "undefined" in types for getEntry
###
[`v5.0.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#501)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.0.1)
##### Patch Changes
-
[#​12590](https://redirect.github.com/withastro/astro/pull/12590)
[`92c269b`](https://redirect.github.com/withastro/astro/commit/92c269b0f0177cb54540ce03507de81370d67c50)
Thanks [@​kidonng](https://redirect.github.com/kidonng)! - fix:
devtools warnings about dev toolbar form fields
###
[`v5.0.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#500)
[Compare
Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.0.0)
##### Major Changes
-
[#​11798](https://redirect.github.com/withastro/astro/pull/11798)
[`e9e2139`](https://redirect.github.com/withastro/astro/commit/e9e2139bf788893566f5a3fe58daf1d24076f018)
Thanks [@​matthewp](https://redirect.github.com/matthewp)! -
Unflag globalRoutePriority
The previously experimental feature `globalRoutePriority` is now the
default in Astro 5.
This was a refactoring of route prioritization in Astro, making it so
that injected routes, file-based routes, and redirects are all
prioritized using the same logic. This feature has been enabled for all
Starlight projects since it was added and should not affect most users.
-
[#​11864](https://redirect.github.com/withastro/astro/pull/11864)
[`ee38b3a`](https://redirect.github.com/withastro/astro/commit/ee38b3a94697fe883ce8300eff9f001470b8adb6)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! - ###
\[changed]: `entryPoint` type inside the hook `astro:build:ssr`
In Astro v4.x, the `entryPoint` type was `RouteData`.
Astro v5.0 the `entryPoint` type is `IntegrationRouteData`, which
contains a subset of the `RouteData` type. The fields `isIndex` and
`fallbackRoutes` were removed.
##### What should I do?
Update your adapter to change the type of `entryPoint` from `RouteData`
to `IntegrationRouteData`.
```diff
-import type {RouteData} from 'astro';
+import type {IntegrationRouteData} from "astro"
-function useRoute(route: RouteData) {
+function useRoute(route: IntegrationRouteData) {
}
```
-
[#​12524](https://redirect.github.com/withastro/astro/pull/12524)
[`9f44019`](https://redirect.github.com/withastro/astro/commit/9f440196dc39f36fce0198bf4c97131160e5bcc1)
Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Bumps Vite
to ^6.0.1 and handles its breaking changes
-
[#​10742](https://redirect.github.com/withastro/astro/pull/10742)
[`b6fbdaa`](https://redirect.github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0)
Thanks [@​ematipico](https://redirect.github.com/ematipico)! - The
lowest version of Node supported by Astro is now Node v18.17.1 and
higher.
-
[#​11916](https://redirect.github.com/withastro/astro/pull/11916)
[`46ea29f`](https://redirect.github.com/withastro/astro/commit/46ea29f91df83ea638ecbc544ce99375538636d4)
Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Updates how
the `build.client` and `build.server` option values get resol
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - "every weekday" (UTC).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJpbXBhY3Qvbm8tY2hhbmdlbG9nLXJlcXVpcmVkIl19-->
Co-authored-by: pulumi-renovate[bot] <189166143+pulumi-renovate[bot]@users.noreply.github.com>1 parent b4af5e3 commit 8ad98b9Copy full SHA for 8ad98b9
File tree
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedFilter options
- nx-monorepo/website
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changednx-monorepo/website/package.json
Copy file name to clipboardExpand all lines: nx-monorepo/website/package.json+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
|
0 commit comments