Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to prefix sitemap #9846

Merged
merged 12 commits into from Feb 20, 2024
Merged

Conversation

ktym4a
Copy link
Contributor

@ktym4a ktym4a commented Jan 27, 2024

Changes

Google Serach Console sometimes not work by sitemap-*.xml, so add an option to change the file name.
ekalinin/sitemap.js#395

Follow this one with Want to customize that? section.
https://github.com/ekalinin/sitemap.js?tab=readme-ov-file#create-sitemap-and-index-files-from-one-large-list

Testing

Add prefix.test.js.
Test the content is the same with and without the prefix option.
Test the link is in *-index.xml correct.

Docs

Docs need to be updated, because there are more options

Copy link

changeset-bot bot commented Jan 27, 2024

🦋 Changeset detected

Latest commit: 902826f

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: integration Related to any renderer integration (scope) label Jan 27, 2024
@ktym4a
Copy link
Contributor Author

ktym4a commented Jan 27, 2024

I'm sure that prefix need to be checked for correct input.
Should I check in schema.ts and if input is not correct, pass undefined and set sitemap-? (I mean I set sitemap- for default)

const { filter, customPages, serialize, entryLimit, prefix = 'sitemap-' } = opts;

and Is it okay that I use /^[a-zA-Z\-_]+$/ for check characters?

also Do you think prefix is a good name for this option?

@ematipico
Copy link
Member

Google Serach Console sometimes not work by sitemap-*.xml

Do you have a link that explains this?

@ktym4a
Copy link
Contributor Author

ktym4a commented Jan 28, 2024

@ematipico
I have not seen something from official, but the same issue is listed below.
https://beiznotes.org/how-to-avoid-the-0-discovered-urls-bug-in-search-console/
ekalinin/sitemap.js#395

and I try like this to see, if filename is not sitemap-${i}.xml then work.
https://ktym4a.me/sitemap-index.xml (Discovered pages: 0) copy to https://ktym4a.me/sitemap-aa.xml and change url sitemap-0.xml to sitemap-a.xml (Discovered pages: 6)
https://ktym4a.me/sitemap-0.xml (Couldn't fetch) copy to https://ktym4a.me/sitemap-a.xml (Discovered pages: 6)

Screenshot 2024-01-27 at 22 14 41

But, this bug is really strange, that I have two static sites with astro and one works correctly with sitemap-index.xml and sitemap-0.xml.

PS. I only deploy sitemap-index.xml and sitemap-0.xml now
if need to check rename ver, I can deploy them again.

@ktym4a
Copy link
Contributor Author

ktym4a commented Jan 28, 2024

@ktym4a
Copy link
Contributor Author

ktym4a commented Jan 28, 2024

I tested again now.

default
https://ktym4a.me/sitemap-index.xml (Discovered pages: 0)
https://ktym4a.me/sitemap-0.xml (Couldn't fetch)

change ktym4a-*
https://ktym4a.me/ktym4a-index.xml (Discovered pages: 0)
https://ktym4a.me/ktym4a-0.xml (Couldn't fetch)

change sitemap_*
https://ktym4a.me/sitemap_index.xml (Discovered pages: 6)
https://ktym4a.me/sitemap_0.xml (Discovered pages: 6)

Screenshot 2024-01-28 at 16 46 41

@ematipico ematipico self-assigned this Feb 8, 2024
Copy link
Member

@ematipico ematipico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good. I will ask docs to review the changelog. Usually, when we add a new feature, we also want to explain that with some code snippet.

.changeset/eighty-falcons-tease.md Outdated Show resolved Hide resolved
packages/integrations/sitemap/src/index.ts Outdated Show resolved Hide resolved
ktym4a and others added 2 commits February 13, 2024 19:54
@ktym4a
Copy link
Contributor Author

ktym4a commented Feb 13, 2024

Thanks for review.

Is there anything else I need do besides these tasks?

  • change patch to minor.
  • change node:test instead of Mocha.

and how about this one?

I'm sure that prefix need to be checked for correct input. Should I check in schema.ts and if input is not correct, pass undefined and set sitemap-? (I mean I set sitemap- for default)

const { filter, customPages, serialize, entryLimit, prefix = 'sitemap-' } = opts;

and Is it okay that I use /^[a-zA-Z\-_]+$/ for check characters?

also Do you think prefix is a good name for this option?

@sarah11918
Copy link
Member

Hi @ktym4a -- I'm here to help with docs!

I'll make a suggestion for the changeset message for the kind of message we would expect here, and then you can fix it as necessary.

There should also be a PR made to the docs repo to update this page/section that matches the other configuration options: https://docs.astro.build/en/guides/integrations-guide/sitemap/#configuration

When you make that PR, please fill out the template for adding a new feature to Astro v4.4 and include a link to this PR so we keep them organized together. Don't worry if that PR will need editing, I'll be there to help too! Just try to get it started similar to the other configuration options there. It doesn't need to be fancy, just follow the existing ones as a guide.

Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ktym4a !

This is an example of what we would normally have here! Since you are the expert in the feature, I will need you to make this actually correct and fix anything. But, I think it would be nice to have this level of detail here.

You could also maybe add a sentence at the end like:

This option is useful when...

But that's up to you!

.changeset/eighty-falcons-tease.md Outdated Show resolved Hide resolved
@ematipico
Copy link
Member

Thanks for review.

Is there anything else I need do besides these tasks?

* [x]  change `patch` to `minor`.

* [x]  change `node:test` instead of `Mocha`.

and how about this one?

I'm sure that prefix need to be checked for correct input. Should I check in schema.ts and if input is not correct, pass undefined and set sitemap-? (I mean I set sitemap- for default)

const { filter, customPages, serialize, entryLimit, prefix = 'sitemap-' } = opts;

and Is it okay that I use /^[a-zA-Z\-_]+$/ for check characters?
also Do you think prefix is a good name for this option?

I think you are fine, and you don't need to add anything else. The options schema already checks the validity of the input, and I think we don't need to put stricter checks in place.

@ktym4a
Copy link
Contributor Author

ktym4a commented Feb 13, 2024

@ematipico
I did not explain well enough, sorry.
The reason I told it is because if someone sets like this, it will be created outside of the output directory.

export default defineConfig({
  integrations: [sitemap({
    prefix: '../a-'
  })]
})

I mean I didn't add/change anything for SitemapOptionsSchema

@ematipico
Copy link
Member

ematipico commented Feb 13, 2024

Oh, I understand now. Yeah, it's a very edge case. If you're up to the task, feel free to add some level of validation, but I wouldn't worry too much if you don't want to implement it. I think it's fine like this too. It's a very edge case if a user decides to use this "trick"; they can report it and just put a plain string without paths-like characters.

@ktym4a
Copy link
Contributor Author

ktym4a commented Feb 13, 2024

I added it because I personally think it should be there.

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving this PR on behalf of docs! Thank you for this helpful contribution @ktym4a 🙌

(And I can see another PR in the docs repo, so I'll get to that one soon)

@sarah11918
Copy link
Member

I've already approved here, but I'll also note so it's clear here that the accompanying Docs PR has been approved, so docs is ready whenever you decide to release a new version of @astrojs/sitemap!

@ematipico ematipico merged commit 9b78c99 into withastro:main Feb 20, 2024
13 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Feb 20, 2024
ematipico added a commit that referenced this pull request Feb 21, 2024
ematipico added a commit that referenced this pull request Feb 21, 2024
* Revert "Add option to prefix sitemap (#9846)"

This reverts commit 9b78c99.

* changeset

* feedabck

* fix incorrect merging
@astrobot-houston astrobot-houston mentioned this pull request Feb 21, 2024
renovate bot added a commit to Johannes-Andersen/Johannes that referenced this pull request Feb 22, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@astrojs/sitemap](https://docs.astro.build/en/guides/integrations-guide/sitemap/)
([source](https://togithub.com/withastro/astro/tree/HEAD/packages/integrations/sitemap))
| [`3.1.0` ->
`3.1.1`](https://renovatebot.com/diffs/npm/@astrojs%2fsitemap/3.1.0/3.1.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2fsitemap/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@astrojs%2fsitemap/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@astrojs%2fsitemap/3.1.0/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2fsitemap/3.1.0/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>withastro/astro (@&#8203;astrojs/sitemap)</summary>

###
[`v3.1.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#311)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/sitemap@3.1.0...@astrojs/sitemap@3.1.1)

##### Patch Changes

- [#&#8203;10179](https://togithub.com/withastro/astro/pull/10179)
[`6343f6a438d790fa16a0dd268f4a51def4fa0f33`](https://togithub.com/withastro/astro/commit/6343f6a438d790fa16a0dd268f4a51def4fa0f33)
Thanks [@&#8203;ematipico](https://togithub.com/ematipico)! - Revert
[withastro/astro#9846

The feature to customize the file name of the sitemap was reverted due
to some internal issues with one of the dependencies. With an
non-deterministic behaviour, the sitemap file was sometime emitted with
incorrect syntax.

- [#&#8203;9975](https://togithub.com/withastro/astro/pull/9975)
[`ec7d2ebbd96b8c2dfdadaf076bbf7953007536ed`](https://togithub.com/withastro/astro/commit/ec7d2ebbd96b8c2dfdadaf076bbf7953007536ed)
Thanks [@&#8203;moose96](https://togithub.com/moose96)! - Fixes URL
generation for routes that rest parameters and start with `/`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Johannes-Andersen/Johannes).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
tompluess added a commit to tompluess/tompluess-astro that referenced this pull request Mar 23, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@astrojs/mdx](https://docs.astro.build/en/guides/integrations-guide/mdx/)
([source](https://togithub.com/withastro/astro/tree/HEAD/packages/integrations/mdx))
| [`2.0.3` ->
`2.2.1`](https://renovatebot.com/diffs/npm/@astrojs%2fmdx/2.0.3/2.2.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2fmdx/2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@astrojs%2fmdx/2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@astrojs%2fmdx/2.0.3/2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2fmdx/2.0.3/2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@astrojs/sitemap](https://docs.astro.build/en/guides/integrations-guide/sitemap/)
([source](https://togithub.com/withastro/astro/tree/HEAD/packages/integrations/sitemap))
| [`3.0.4` ->
`3.1.1`](https://renovatebot.com/diffs/npm/@astrojs%2fsitemap/3.0.4/3.1.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2fsitemap/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@astrojs%2fsitemap/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@astrojs%2fsitemap/3.0.4/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2fsitemap/3.0.4/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [astro](https://astro.build)
([source](https://togithub.com/withastro/astro/tree/HEAD/packages/astro))
| [`4.1.1` ->
`4.5.9`](https://renovatebot.com/diffs/npm/astro/4.1.1/4.5.9) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/astro/4.5.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/astro/4.5.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/astro/4.1.1/4.5.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/astro/4.1.1/4.5.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [sharp](https://sharp.pixelplumbing.com)
([source](https://togithub.com/lovell/sharp),
[changelog](https://togithub.com/lovell/sharp/blob/main/docs/changelog.md))
| [`0.33.1` ->
`0.33.2`](https://renovatebot.com/diffs/npm/sharp/0.33.1/0.33.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sharp/0.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sharp/0.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sharp/0.33.1/0.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sharp/0.33.1/0.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>withastro/astro (@&#8203;astrojs/mdx)</summary>

###
[`v2.2.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#221)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.2.0...@astrojs/mdx@2.2.1)

##### Patch Changes

- Updated dependencies
\[[`19e42c368184013fc30d1e46753b9e9383bb2bdf`](https://togithub.com/withastro/astro/commit/19e42c368184013fc30d1e46753b9e9383bb2bdf)]:
-
[@&#8203;astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@&#8203;4](https://togithub.com/4).3.1

###
[`v2.2.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#220)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.1.1...@astrojs/mdx@2.2.0)

##### Minor Changes

- [#&#8203;10104](https://togithub.com/withastro/astro/pull/10104)
[`a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18`](https://togithub.com/withastro/astro/commit/a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18)
Thanks [@&#8203;remcohaszing](https://togithub.com/remcohaszing)! -
Changes Astro's internal syntax highlighting to use rehype plugins
instead of remark plugins. This provides better interoperability with
other [rehype
plugins](https://togithub.com/rehypejs/rehype/blob/main/doc/plugins.md#list-of-plugins)
that deal with code blocks, in particular with third party syntax
highlighting plugins and
[`rehype-mermaid`](https://togithub.com/remcohaszing/rehype-mermaid).

    This may be a breaking change if you are currently using:

    -   a remark plugin that relies on nodes of type `html`
    -   a rehype plugin that depends on nodes of type `raw`.

Please review your rendered code samples carefully, and if necessary,
consider using a rehype plugin that deals with the generated `element`
nodes instead. You can transform the AST of raw HTML strings, or
alternatively use
[`hast-util-to-html`](https://togithub.com/syntax-tree/hast-util-to-html)
to get a string from a `raw` node.

##### Patch Changes

- Updated dependencies
\[[`c081adf998d30419fed97d8fccc11340cdc512e0`](https://togithub.com/withastro/astro/commit/c081adf998d30419fed97d8fccc11340cdc512e0),
[`5a9528741fa98d017b269c7e4f013058028bdc5d`](https://togithub.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d),
[`a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18`](https://togithub.com/withastro/astro/commit/a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18)]:
-
[@&#8203;astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@&#8203;4](https://togithub.com/4).3.0

###
[`v2.1.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#211)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.1.0...@astrojs/mdx@2.1.1)

##### Patch Changes

- Updated dependencies
\[[`44c957f893c6bf5f5b7c78301de7b21c5975584d`](https://togithub.com/withastro/astro/commit/44c957f893c6bf5f5b7c78301de7b21c5975584d)]:
-
[@&#8203;astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@&#8203;4](https://togithub.com/4).2.1

###
[`v2.1.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#210)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.0.6...@astrojs/mdx@2.1.0)

##### Minor Changes

- [#&#8203;9753](https://togithub.com/withastro/astro/pull/9753)
[`df37366556d46f7abdf82b09e33b08bd94e631b3`](https://togithub.com/withastro/astro/commit/df37366556d46f7abdf82b09e33b08bd94e631b3)
Thanks [@&#8203;OliverSpeir](https://togithub.com/OliverSpeir)! - Allows
remark plugins to pass options specifying how images in .mdx files will
be optimized

###
[`v2.0.6`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#206)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.0.5...@astrojs/mdx@2.0.6)

##### Patch Changes

- Updated dependencies
\[[`53c69dcc82cdf4000aff13a6c11fffe19096cf45`](https://togithub.com/withastro/astro/commit/53c69dcc82cdf4000aff13a6c11fffe19096cf45),
[`2f81cffa9da9db0e2802d303f94feaee8d2f54ec`](https://togithub.com/withastro/astro/commit/2f81cffa9da9db0e2802d303f94feaee8d2f54ec),
[`a505190933365268d48139a5f197a3cfb5570870`](https://togithub.com/withastro/astro/commit/a505190933365268d48139a5f197a3cfb5570870)]:
-
[@&#8203;astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@&#8203;4](https://togithub.com/4).2.0

###
[`v2.0.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#205)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.0.4...@astrojs/mdx@2.0.5)

##### Patch Changes

- [#&#8203;9706](https://togithub.com/withastro/astro/pull/9706)
[`1539e04a8e5865027b3a8718c6f142885e7c8d88`](https://togithub.com/withastro/astro/commit/1539e04a8e5865027b3a8718c6f142885e7c8d88)
Thanks [@&#8203;bluwy](https://togithub.com/bluwy)! - Removes redundant
HMR handling code

- Updated dependencies
\[[`165cfc154be477337037185c32b308616d1ed6fa`](https://togithub.com/withastro/astro/commit/165cfc154be477337037185c32b308616d1ed6fa),
[`e9a72d9a91a3741566866bcaab11172cb0dc7d31`](https://togithub.com/withastro/astro/commit/e9a72d9a91a3741566866bcaab11172cb0dc7d31)]:
-
[@&#8203;astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@&#8203;4](https://togithub.com/4).1.0

###
[`v2.0.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/mdx/CHANGELOG.md#204)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/mdx@2.0.3...@astrojs/mdx@2.0.4)

##### Patch Changes

- [#&#8203;9652](https://togithub.com/withastro/astro/pull/9652)
[`e72efd6a9a1e2a70488fd225529617ffd8418534`](https://togithub.com/withastro/astro/commit/e72efd6a9a1e2a70488fd225529617ffd8418534)
Thanks [@&#8203;bluwy](https://togithub.com/bluwy)! - Removes
environment variables workaround that broke project builds with
sourcemaps

</details>

<details>
<summary>withastro/astro (@&#8203;astrojs/sitemap)</summary>

###
[`v3.1.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#311)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/sitemap@3.1.0...@astrojs/sitemap@3.1.1)

##### Patch Changes

- [#&#8203;10179](https://togithub.com/withastro/astro/pull/10179)
[`6343f6a438d790fa16a0dd268f4a51def4fa0f33`](https://togithub.com/withastro/astro/commit/6343f6a438d790fa16a0dd268f4a51def4fa0f33)
Thanks [@&#8203;ematipico](https://togithub.com/ematipico)! - Revert
[https://github.com/withastro/astro/pull/9846](https://togithub.com/withastro/astro/pull/9846)

The feature to customize the file name of the sitemap was reverted due
to some internal issues with one of the dependencies. With an
non-deterministic behaviour, the sitemap file was sometime emitted with
incorrect syntax.

- [#&#8203;9975](https://togithub.com/withastro/astro/pull/9975)
[`ec7d2ebbd96b8c2dfdadaf076bbf7953007536ed`](https://togithub.com/withastro/astro/commit/ec7d2ebbd96b8c2dfdadaf076bbf7953007536ed)
Thanks [@&#8203;moose96](https://togithub.com/moose96)! - Fixes URL
generation for routes that rest parameters and start with `/`

###
[`v3.1.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#310)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/sitemap@3.0.5...@astrojs/sitemap@3.1.0)

##### Minor Changes

- [#&#8203;9846](https://togithub.com/withastro/astro/pull/9846)
[`9b78c992750cdb99c40a89a00ea2a0d1c00877d7`](https://togithub.com/withastro/astro/commit/9b78c992750cdb99c40a89a00ea2a0d1c00877d7)
Thanks [@&#8203;ktym4a](https://togithub.com/ktym4a)! - Adds a new
configuration option `prefix` that allows you to change the default
`sitemap-*.xml` file name.

By default, running `astro build` creates both `sitemap-index.xml` and
`sitemap-0.xml` in your output directory.

To change the names of these files (e.g. to `astrosite-index.xml` and
`astrosite-0.xml`), set the `prefix` option in your `sitemap`
integration configuration:

        import { defineConfig } from 'astro/config';
        import sitemap from '@&#8203;astrojs/sitemap';
        export default defineConfig({
          site: 'https://example.com',
          integrations: [
            sitemap({
              prefix: 'astrosite-',
            }),
          ],
        });

This option is useful when Google Search Console is unable to fetch your
default sitemap files, but can read renamed files.

###
[`v3.0.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#305)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/sitemap@3.0.4...@astrojs/sitemap@3.0.5)

##### Patch Changes

- [#&#8203;9704](https://togithub.com/withastro/astro/pull/9704)
[`b325fada567892b63ecae87c1ff845c8514457ba`](https://togithub.com/withastro/astro/commit/b325fada567892b63ecae87c1ff845c8514457ba)
Thanks [@&#8203;andremralves](https://togithub.com/andremralves)! -
Fixes generated URLs when using a `base` with a SSR adapter

</details>

<details>
<summary>withastro/astro (astro)</summary>

###
[`v4.5.9`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#459)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.5.8...astro@4.5.9)

##### Patch Changes

- [#&#8203;10532](https://togithub.com/withastro/astro/pull/10532)
[`8306ce1ff7b71a2a0d7908336c9be462a54d395a`](https://togithub.com/withastro/astro/commit/8306ce1ff7b71a2a0d7908336c9be462a54d395a)
Thanks [@&#8203;martrapp](https://togithub.com/martrapp)! - Fixes a
style issue of `client:only` components in DEV mode during view
transitions.

- [#&#8203;10473](https://togithub.com/withastro/astro/pull/10473)
[`627e47d67af4846cea2acf26a96b4124001b26fc`](https://togithub.com/withastro/astro/commit/627e47d67af4846cea2acf26a96b4124001b26fc)
Thanks [@&#8203;bluwy](https://togithub.com/bluwy)! - Fixes and improves
performance when rendering Astro JSX

###
[`v4.5.8`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#458)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.5.7...astro@4.5.8)

##### Patch Changes

- [#&#8203;10504](https://togithub.com/withastro/astro/pull/10504)
[`8e4e554cc211e59c329c0a5d110c839c886ff120`](https://togithub.com/withastro/astro/commit/8e4e554cc211e59c329c0a5d110c839c886ff120)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! - Update
Babel version to fix regression in Babel's `7.24.2`.

- Updated dependencies
\[[`19e42c368184013fc30d1e46753b9e9383bb2bdf`](https://togithub.com/withastro/astro/commit/19e42c368184013fc30d1e46753b9e9383bb2bdf)]:
-
[@&#8203;astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@&#8203;4](https://togithub.com/4).3.1

###
[`v4.5.7`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#457)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.5.6...astro@4.5.7)

##### Patch Changes

- [#&#8203;10493](https://togithub.com/withastro/astro/pull/10493)
[`e4a6462751725878bfe47632eeafa6854cad5bf2`](https://togithub.com/withastro/astro/commit/e4a6462751725878bfe47632eeafa6854cad5bf2)
Thanks [@&#8203;firefoxic](https://togithub.com/firefoxic)! - `<link>`
tags created by astro for optimized stylesheets now do not include the
closing forward slash. This slash is optional for void elements such as
link, but made some html validation fail.

###
[`v4.5.6`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#456)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.5.5...astro@4.5.6)

##### Patch Changes

- [#&#8203;10455](https://togithub.com/withastro/astro/pull/10455)
[`c12666166db724915e42e37a048483c99f88e6d9`](https://togithub.com/withastro/astro/commit/c12666166db724915e42e37a048483c99f88e6d9)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Adds a helpful
error message that will be shown when an endpoint does not return a
`Response`.

- [#&#8203;10426](https://togithub.com/withastro/astro/pull/10426)
[`6a9a35ee15069541c3144012385366a3c689240a`](https://togithub.com/withastro/astro/commit/6a9a35ee15069541c3144012385366a3c689240a)
Thanks [@&#8203;markgaze](https://togithub.com/markgaze)! - Fixes an
issue with generating JSON schemas when the schema is a function

- [#&#8203;10448](https://togithub.com/withastro/astro/pull/10448)
[`fcece3658697248ab58f77b3d4a8b14d362f3c47`](https://togithub.com/withastro/astro/commit/fcece3658697248ab58f77b3d4a8b14d362f3c47)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Fixes an issue
where multiple rendering errors resulted in a crash of the SSR app
server.

###
[`v4.5.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#455)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.5.4...astro@4.5.5)

##### Patch Changes

- [#&#8203;10379](https://togithub.com/withastro/astro/pull/10379)
[`3776ecf0aa9e08a992d3ae76e90682fd04093721`](https://togithub.com/withastro/astro/commit/3776ecf0aa9e08a992d3ae76e90682fd04093721)
Thanks [@&#8203;1574242600](https://togithub.com/1574242600)! - Fixes a
routing issue with partially truncated dynamic segments.

- [#&#8203;10442](https://togithub.com/withastro/astro/pull/10442)
[`f8e0ad3c52a37b8a2175fe2f5ff2bd0cd738f499`](https://togithub.com/withastro/astro/commit/f8e0ad3c52a37b8a2175fe2f5ff2bd0cd738f499)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! - Fixes
small rendering issues with the dev toolbar in certain contexts

- [#&#8203;10438](https://togithub.com/withastro/astro/pull/10438)
[`5b48cc0fc8383b0659a595afd3a6ee28b28779c3`](https://togithub.com/withastro/astro/commit/5b48cc0fc8383b0659a595afd3a6ee28b28779c3)
Thanks [@&#8203;bholmesdev](https://togithub.com/bholmesdev)! - Generate
Astro DB types when running `astro sync`.

- [#&#8203;10456](https://togithub.com/withastro/astro/pull/10456)
[`1900a8f9bc337f3a882178d1770e10ab67fab0ce`](https://togithub.com/withastro/astro/commit/1900a8f9bc337f3a882178d1770e10ab67fab0ce)
Thanks [@&#8203;martrapp](https://togithub.com/martrapp)! - Fixes an
error when using `astro:transtions/client` without `<ViewTransitions/>`

###
[`v4.5.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#454)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.5.3...astro@4.5.4)

##### Patch Changes

- [#&#8203;10427](https://togithub.com/withastro/astro/pull/10427)
[`128c7a36397d99608dea918885b68bd302d00e7f`](https://togithub.com/withastro/astro/commit/128c7a36397d99608dea918885b68bd302d00e7f)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Fixes an issue
where error pages did not have access to the `Astro.locals` fields
provided by the adapter.

###
[`v4.5.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#453)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.5.2...astro@4.5.3)

##### Patch Changes

- [#&#8203;10410](https://togithub.com/withastro/astro/pull/10410)
[`055fe293c6702dd27bcd6c4f59297c6d4385abb1`](https://togithub.com/withastro/astro/commit/055fe293c6702dd27bcd6c4f59297c6d4385abb1)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Fixes an issue
where configured redirects could not include certain characters in the
target path.

- [#&#8203;9820](https://togithub.com/withastro/astro/pull/9820)
[`8edc42aa7c209b12d98ecf20cdecccddf7314af0`](https://togithub.com/withastro/astro/commit/8edc42aa7c209b12d98ecf20cdecccddf7314af0)
Thanks [@&#8203;alexnguyennz](https://togithub.com/alexnguyennz)! -
Prevents fully formed URLs in attributes from being escaped

###
[`v4.5.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#452)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.5.1...astro@4.5.2)

##### Patch Changes

- [#&#8203;10400](https://togithub.com/withastro/astro/pull/10400)
[`629c9d7c4d96ae5711d95601e738b3d31d268116`](https://togithub.com/withastro/astro/commit/629c9d7c4d96ae5711d95601e738b3d31d268116)
Thanks [@&#8203;mingjunlu](https://togithub.com/mingjunlu)! - Fixes an
issue where dev toolbar x-ray didn't escape props content.

###
[`v4.5.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#451)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.5.0...astro@4.5.1)

##### Patch Changes

- [#&#8203;10392](https://togithub.com/withastro/astro/pull/10392)
[`02aeb01cb8b62b9cc4dfe6069857219404343b73`](https://togithub.com/withastro/astro/commit/02aeb01cb8b62b9cc4dfe6069857219404343b73)
Thanks [@&#8203;martrapp](https://togithub.com/martrapp)! - Fixes broken
types for some functions of `astro:transitions/client`.

- [#&#8203;10390](https://togithub.com/withastro/astro/pull/10390)
[`236cdbb611587692d3c781850cb949604677ef82`](https://togithub.com/withastro/astro/commit/236cdbb611587692d3c781850cb949604677ef82)
Thanks [@&#8203;bholmesdev](https://togithub.com/bholmesdev)! - Adds
`--help` reference for new db and studio CLI commands

###
[`v4.5.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#450)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.15...astro@4.5.0)

##### Minor Changes

- [#&#8203;10206](https://togithub.com/withastro/astro/pull/10206)
[`dc87214141e7f8406c0fdf6a7f425dad6dea6d3e`](https://togithub.com/withastro/astro/commit/dc87214141e7f8406c0fdf6a7f425dad6dea6d3e)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Allows
middleware to run when a matching page or endpoint is not found.
Previously, a `pages/404.astro` or `pages/[...catch-all].astro` route
had to match to allow middleware. This is now not necessary.

When a route does not match in SSR deployments, your adapter may show a
platform-specific 404 page instead of running Astro's SSR code. In these
cases, you may still need to add a `404.astro` or fallback route with
spread params, or use a routing configuration option if your adapter
provides one.

- [#&#8203;9960](https://togithub.com/withastro/astro/pull/9960)
[`c081adf998d30419fed97d8fccc11340cdc512e0`](https://togithub.com/withastro/astro/commit/c081adf998d30419fed97d8fccc11340cdc512e0)
Thanks [@&#8203;StandardGage](https://togithub.com/StandardGage)! -
Allows passing any props to the `<Code />` component

- [#&#8203;10102](https://togithub.com/withastro/astro/pull/10102)
[`e3f02f5fb1cf0dae3c54beb3a4af3dbf3b06abb7`](https://togithub.com/withastro/astro/commit/e3f02f5fb1cf0dae3c54beb3a4af3dbf3b06abb7)
Thanks [@&#8203;bluwy](https://togithub.com/bluwy)! - Adds a new
`experimental.directRenderScript` configuration option which provides a
more reliable strategy to prevent scripts from being executed in pages
where they are not used.

This replaces the `experimental.optimizeHoistedScript` flag introduced
in v2.10.4 to prevent unused components' scripts from being included in
a page unexpectedly. That experimental option no longer exists and must
be removed from your configuration, whether or not you enable
`directRenderScript`:

    ```diff
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
    	experimental: {
    -		optimizeHoistedScript: true,
    +		directRenderScript: true
    	}
    });
    ```

With `experimental.directRenderScript` configured, scripts are now
directly rendered as declared in Astro files (including existing
features like TypeScript, importing `node_modules`, and deduplicating
scripts). You can also now conditionally render scripts in your Astro
file.

However, this means scripts are no longer hoisted to the `<head>` and
multiple scripts on a page are no longer bundled together. If you enable
this option, you should check that all your `<script>` tags behave as
expected.

    This option will be enabled by default in Astro 5.0.

- [#&#8203;10130](https://togithub.com/withastro/astro/pull/10130)
[`5a9528741fa98d017b269c7e4f013058028bdc5d`](https://togithub.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d)
Thanks [@&#8203;bluwy](https://togithub.com/bluwy)! - Stabilizes
`markdown.shikiConfig.experimentalThemes` as
`markdown.shikiConfig.themes`. No behaviour changes are made to this
option.

- [#&#8203;10189](https://togithub.com/withastro/astro/pull/10189)
[`1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd`](https://togithub.com/withastro/astro/commit/1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd)
Thanks [@&#8203;peng](https://togithub.com/peng)! - Adds the option to
pass an object to `build.assetsPrefix`. This allows for the use of
multiple CDN prefixes based on the target file type.

When passing an object to `build.assetsPrefix`, you must also specify a
`fallback` domain to be used for all other file types not specified.

Specify a file extension as the key (e.g. 'js', 'png') and the URL
serving your assets of that file type as the value:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      build: {
        assetsPrefix: {
          js: 'https://js.cdn.example.com',
mjs: 'https://js.cdn.example.com', // if you have .mjs files, you must
add a new entry like this
          png: 'https://images.cdn.example.com',
          fallback: 'https://generic.cdn.example.com',
        },
      },
    });
    ```

- [#&#8203;10252](https://togithub.com/withastro/astro/pull/10252)
[`3307cb34f17159dfd3f03144697040fcaa10e903`](https://togithub.com/withastro/astro/commit/3307cb34f17159dfd3f03144697040fcaa10e903)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! - Adds
support for emitting warning and info notifications from dev toolbar
apps.

When using the `toggle-notification` event, the severity can be
specified through `detail.level`:

    ```ts
    eventTarget.dispatchEvent(
      new CustomEvent('toggle-notification', {
        detail: {
          level: 'warning',
        },
      })
    );
    ```

- [#&#8203;10186](https://togithub.com/withastro/astro/pull/10186)
[`959ca5f9f86ef2c0a5a23080cc01c25f53d613a9`](https://togithub.com/withastro/astro/commit/959ca5f9f86ef2c0a5a23080cc01c25f53d613a9)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! - Adds
the ability to set colors on all the included UI elements for dev
toolbar apps. Previously, only badge and buttons could be customized.

- [#&#8203;10136](https://togithub.com/withastro/astro/pull/10136)
[`9cd84bd19b92fb43ae48809f575ee12ebd43ea8f`](https://togithub.com/withastro/astro/commit/9cd84bd19b92fb43ae48809f575ee12ebd43ea8f)
Thanks [@&#8203;matthewp](https://togithub.com/matthewp)! - Changes the
default behavior of `transition:persist` to update the props of
persisted islands upon navigation. Also adds a new view transitions
option `transition:persist-props` (default: `false`) to prevent props
from updating as needed.

Islands which have the `transition:persist` property to keep their state
when using the `<ViewTransitions />` router will now have their props
updated upon navigation. This is useful in cases where the component
relies on page-specific props, such as the current page title, which
should update upon navigation.

For example, the component below is set to persist across navigation.
This component receives a `products` props and might have some internal
state, such as which filters are applied:

    ```astro
    <ProductListing transition:persist products={products} />
    ```

Upon navigation, this component persists, but the desired `products`
might change, for example if you are visiting a category of products, or
you are performing a search.

Previously the props would not change on navigation, and your island
would have to handle updating them externally, such as with API calls.

With this change the props are now updated, while still preserving
state.

You can override this new default behavior on a per-component basis
using `transition:persist-props=true` to persist both props and state
during navigation:

    ```astro
<ProductListing transition:persist-props="true" products={products} />
    ```

- [#&#8203;9977](https://togithub.com/withastro/astro/pull/9977)
[`0204b7de37bf626e1b97175b605adbf91d885386`](https://togithub.com/withastro/astro/commit/0204b7de37bf626e1b97175b605adbf91d885386)
Thanks [@&#8203;OliverSpeir](https://togithub.com/OliverSpeir)! -
Supports adding the `data-astro-rerun` attribute on script tags so that
they will be re-executed after view transitions

    ```html
    <script is:inline data-astro-rerun>
      ...
    </script>
    ```

- [#&#8203;10145](https://togithub.com/withastro/astro/pull/10145)
[`65692fa7b5f4440c644c8cf3dd9bc50103d2c33b`](https://togithub.com/withastro/astro/commit/65692fa7b5f4440c644c8cf3dd9bc50103d2c33b)
Thanks
[@&#8203;alexanderniebuhr](https://togithub.com/alexanderniebuhr)! -
Adds experimental JSON Schema support for content collections.

This feature will auto-generate a JSON Schema for content collections of
`type: 'data'` which can be used as the `$schema` value for
TypeScript-style autocompletion/hints in tools like VSCode.

    To enable this feature, add the experimental flag:

    ```diff
    import { defineConfig } from 'astro/config';

    export default defineConfig({
    	experimental: {
    +		contentCollectionJsonSchema: true
    	}
    });
    ```

This experimental implementation requires you to manually reference the
schema in each data entry file of the collection:

    ```diff
    // src/content/test/entry.json
    {
    +  "$schema": "../../../.astro/collections/test.schema.json",
      "test": "test"
    }
    ```

Alternatively, you can set this in your [VSCode `json.schemas`
settings](https://code.visualstudio.com/docs/languages/json#\_json-schemas-and-settings):

    ```diff
    "json.schemas": [
      {
        "fileMatch": [
          "/src/content/test/**"
        ],
        "url": "../../../.astro/collections/test.schema.json"
      }
    ]
    ```

Note that this initial implementation uses a library with [known issues
for advanced Zod
schemas](https://togithub.com/StefanTerdell/zod-to-json-schema#known-issues),
so you may wish to consult these limitations before enabling the
experimental flag.

- [#&#8203;10130](https://togithub.com/withastro/astro/pull/10130)
[`5a9528741fa98d017b269c7e4f013058028bdc5d`](https://togithub.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d)
Thanks [@&#8203;bluwy](https://togithub.com/bluwy)! - Migrates `shikiji`
to `shiki` 1.0

- [#&#8203;10268](https://togithub.com/withastro/astro/pull/10268)
[`2013e70bce16366781cc12e52823bb257fe460c0`](https://togithub.com/withastro/astro/commit/2013e70bce16366781cc12e52823bb257fe460c0)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! - Adds
support for page mutations to the audits in the dev toolbar. Astro will
now rerun the audits whenever elements are added or deleted from the
page.

- [#&#8203;10217](https://togithub.com/withastro/astro/pull/10217)
[`5c7862a9fe69954f8630538ebb7212cd04b8a810`](https://togithub.com/withastro/astro/commit/5c7862a9fe69954f8630538ebb7212cd04b8a810)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! -
Updates the UI for dev toolbar audits with new information

##### Patch Changes

- [#&#8203;10360](https://togithub.com/withastro/astro/pull/10360)
[`ac766647b0e6156b7c4a0bb9a11981fe168852d7`](https://togithub.com/withastro/astro/commit/ac766647b0e6156b7c4a0bb9a11981fe168852d7)
Thanks [@&#8203;nmattia](https://togithub.com/nmattia)! - Fixes an issue
where some CLI commands attempted to directly read vite config files.

- [#&#8203;10291](https://togithub.com/withastro/astro/pull/10291)
[`8107a2721b6abb07c3120ac90e03c39f2a44ab0c`](https://togithub.com/withastro/astro/commit/8107a2721b6abb07c3120ac90e03c39f2a44ab0c)
Thanks [@&#8203;bluwy](https://togithub.com/bluwy)! - Treeshakes unused
Astro component scoped styles

- [#&#8203;10368](https://togithub.com/withastro/astro/pull/10368)
[`78bafc5d661ff7dd071c241cb1303c4d8a774d21`](https://togithub.com/withastro/astro/commit/78bafc5d661ff7dd071c241cb1303c4d8a774d21)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! -
Updates the base `tsconfig.json` preset with `jsx: 'preserve'` in order
to fix errors when importing Astro files inside `.js` and `.ts` files.

- Updated dependencies
\[[`c081adf998d30419fed97d8fccc11340cdc512e0`](https://togithub.com/withastro/astro/commit/c081adf998d30419fed97d8fccc11340cdc512e0),
[`1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd`](https://togithub.com/withastro/astro/commit/1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd),
[`5a9528741fa98d017b269c7e4f013058028bdc5d`](https://togithub.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d),
[`a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18`](https://togithub.com/withastro/astro/commit/a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18)]:
-
[@&#8203;astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@&#8203;4](https://togithub.com/4).3.0
-
[@&#8203;astrojs/internal-helpers](https://togithub.com/astrojs/internal-helpers)[@&#8203;0](https://togithub.com/0).3.0

###
[`v4.4.15`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4415)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.14...astro@4.4.15)

##### Patch Changes

- [#&#8203;10317](https://togithub.com/withastro/astro/pull/10317)
[`33583e8b31ee8a33e26cf57f30bb422921f4745d`](https://togithub.com/withastro/astro/commit/33583e8b31ee8a33e26cf57f30bb422921f4745d)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Fixes an issue
where elements slotted within interactive framework components
disappeared after hydration.

###
[`v4.4.14`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4414)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.13...astro@4.4.14)

##### Patch Changes

- [#&#8203;10355](https://togithub.com/withastro/astro/pull/10355)
[`8ce9fffd44b0740621178d61fb1425bf4155c2d7`](https://togithub.com/withastro/astro/commit/8ce9fffd44b0740621178d61fb1425bf4155c2d7)
Thanks [@&#8203;ematipico](https://togithub.com/ematipico)! - Fixes a
regression where full dynamic routes were prioritized over partial
dynamic routes. Now a route like `food-[name].astro` is matched
**before** `[name].astro`.

- [#&#8203;10356](https://togithub.com/withastro/astro/pull/10356)
[`d121311a3f4b5345e344e31f75d4e7164d65f729`](https://togithub.com/withastro/astro/commit/d121311a3f4b5345e344e31f75d4e7164d65f729)
Thanks [@&#8203;mingjunlu](https://togithub.com/mingjunlu)! - Fixes an
issue where `getCollection` might return `undefined` when content
collection is empty

- [#&#8203;10325](https://togithub.com/withastro/astro/pull/10325)
[`f33cce8f6c3a2e17847658cdedb015bd93cc1ee3`](https://togithub.com/withastro/astro/commit/f33cce8f6c3a2e17847658cdedb015bd93cc1ee3)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Fixes an issue
where `ctx.site` included the configured `base` in API routes and
middleware, unlike `Astro.site` in astro pages.

- [#&#8203;10343](https://togithub.com/withastro/astro/pull/10343)
[`f973aa9110592fa9017bbe84387f22c24a6d7159`](https://togithub.com/withastro/astro/commit/f973aa9110592fa9017bbe84387f22c24a6d7159)
Thanks [@&#8203;ematipico](https://togithub.com/ematipico)! - Fixes some
false positive in the dev toolbar a11y audits, by adding the `a` element
to the list of interactive elements.

- [#&#8203;10295](https://togithub.com/withastro/astro/pull/10295)
[`fdd5bf277e5c1cfa30c1bd2ca123f4e90e8d09d9`](https://togithub.com/withastro/astro/commit/fdd5bf277e5c1cfa30c1bd2ca123f4e90e8d09d9)
Thanks [@&#8203;rossrobino](https://togithub.com/rossrobino)! - Adds a
prefetch fallback when using the `experimental.clientPrerender` option.
If prerendering fails, which can happen if [Chrome extensions block
prerendering](https://developer.chrome.com/blog/speculation-rules-improvements#chrome-limits),
it will fallback to prefetching the URL. This works by adding a
`prefetch` field to the `speculationrules` script, but does not create
an extra request.

###
[`v4.4.13`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4413)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.12...astro@4.4.13)

##### Patch Changes

- [#&#8203;10342](https://togithub.com/withastro/astro/pull/10342)
[`a2e9b2b936666b2a4779feb00dcb8ff0ab82c2ec`](https://togithub.com/withastro/astro/commit/a2e9b2b936666b2a4779feb00dcb8ff0ab82c2ec)
Thanks [@&#8203;matthewp](https://togithub.com/matthewp)! - Fixes
[@&#8203;astrojs/db](https://togithub.com/astrojs/db) loading TS in the
fixtures

###
[`v4.4.12`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4412)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.11...astro@4.4.12)

##### Patch Changes

- [#&#8203;10336](https://togithub.com/withastro/astro/pull/10336)
[`f2e60a96754ed1d86001fe4d5d3a0c0ef657408d`](https://togithub.com/withastro/astro/commit/f2e60a96754ed1d86001fe4d5d3a0c0ef657408d)
Thanks [@&#8203;FredKSchott](https://togithub.com/FredKSchott)! - Fixes
an issue where slotting interactive components within a "client:only"
component prevented all component code in the page from running.

###
[`v4.4.11`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4411)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.10...astro@4.4.11)

##### Patch Changes

- [#&#8203;10281](https://togithub.com/withastro/astro/pull/10281)
[`9deb919ff95b1d2ffe5a5f70ec683e32ebfafd05`](https://togithub.com/withastro/astro/commit/9deb919ff95b1d2ffe5a5f70ec683e32ebfafd05)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Fixes an issue
where `404.astro` was ignored with `i18n` routing enabled.

- [#&#8203;10279](https://togithub.com/withastro/astro/pull/10279)
[`9ba3e2605daee3861e3bf6c5768f1d8bced4709d`](https://togithub.com/withastro/astro/commit/9ba3e2605daee3861e3bf6c5768f1d8bced4709d)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Fixes an issue
where returning redirect responses resulted in missing files with
certain adapters.

- [#&#8203;10319](https://togithub.com/withastro/astro/pull/10319)
[`19ecccedaab6d8fa0ff23711c88fa7d4fa34df38`](https://togithub.com/withastro/astro/commit/19ecccedaab6d8fa0ff23711c88fa7d4fa34df38)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Fixes an issue
where streaming SSR responses sometimes failed with "`iterator.result`
is not a function" on node-based adapters.

- [#&#8203;10302](https://togithub.com/withastro/astro/pull/10302)
[`992537e79f1847b590a2e226aac88a47a6304f68`](https://togithub.com/withastro/astro/commit/992537e79f1847b590a2e226aac88a47a6304f68)
Thanks
[@&#8203;florian-lefebvre](https://togithub.com/florian-lefebvre)! -
Fixes an issue that causes static entrypoints build to fail because of
the path in certain conditions. Specifically, it failed if the path had
an extension (like `.astro`, `.mdx` etc) and such extension would be
also within the path (like `./.astro/index.astro`).

- [#&#8203;10298](https://togithub.com/withastro/astro/pull/10298)
[`819d20a89c0d269333c2d397c1080884f516307a`](https://togithub.com/withastro/astro/commit/819d20a89c0d269333c2d397c1080884f516307a)
Thanks [@&#8203;Fryuni](https://togithub.com/Fryuni)! - Fix an incorrect
conflict resolution between pages generated from static routes and rest
parameters

###
[`v4.4.10`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4410)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.9...astro@4.4.10)

##### Patch Changes

- [#&#8203;10235](https://togithub.com/withastro/astro/pull/10235)
[`4bc360cd5f25496aca3232f6efb3710424a14a34`](https://togithub.com/withastro/astro/commit/4bc360cd5f25496aca3232f6efb3710424a14a34)
Thanks [@&#8203;sanman1k98](https://togithub.com/sanman1k98)! - Fixes
jerky scrolling on IOS when using view transitions.

###
[`v4.4.9`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#449)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.8...astro@4.4.9)

##### Patch Changes

- [#&#8203;10278](https://togithub.com/withastro/astro/pull/10278)
[`a548a3a99c2835c19662fc38636f92b2bda26614`](https://togithub.com/withastro/astro/commit/a548a3a99c2835c19662fc38636f92b2bda26614)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! - Fixes
original images sometimes being kept / deleted when they shouldn't in
both MDX and Markdoc

- [#&#8203;10280](https://togithub.com/withastro/astro/pull/10280)
[`3488be9b59d1cb65325b0e087c33bcd74aaa4926`](https://togithub.com/withastro/astro/commit/3488be9b59d1cb65325b0e087c33bcd74aaa4926)
Thanks [@&#8203;bholmesdev](https://togithub.com/bholmesdev)! - Finalize
db API to a shared db/ directory.

###
[`v4.4.8`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#448)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.7...astro@4.4.8)

##### Patch Changes

- [#&#8203;10275](https://togithub.com/withastro/astro/pull/10275)
[`5e3e74b61daa2ba44c761c9ab5745818661a656e`](https://togithub.com/withastro/astro/commit/5e3e74b61daa2ba44c761c9ab5745818661a656e)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! - Fixes
dev toolbar warning about using the proper loading attributes on images
using `data:` URIs

###
[`v4.4.7`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#447)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.6...astro@4.4.7)

##### Patch Changes

- [#&#8203;10274](https://togithub.com/withastro/astro/pull/10274)
[`e556151603a2f0173059d0f98fdcbec0610b48ff`](https://togithub.com/withastro/astro/commit/e556151603a2f0173059d0f98fdcbec0610b48ff)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Fixes a
regression introduced in v4.4.5 where image optimization did not work in
dev mode when a base was configured.

- [#&#8203;10263](https://togithub.com/withastro/astro/pull/10263)
[`9bdbed723e0aa4243d7d6ee64d1c1df3b75b9aeb`](https://togithub.com/withastro/astro/commit/9bdbed723e0aa4243d7d6ee64d1c1df3b75b9aeb)
Thanks [@&#8203;martrapp](https://togithub.com/martrapp)! - Adds auto
completion for `astro:` event names when adding or removing event
listeners on `document`.

- [#&#8203;10284](https://togithub.com/withastro/astro/pull/10284)
[`07f89429a1ef5173d3321e0b362a9dc71fc74fe5`](https://togithub.com/withastro/astro/commit/07f89429a1ef5173d3321e0b362a9dc71fc74fe5)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! - Fixes
an issue where in Node SSR, the image endpoint could be used maliciously
to reveal unintended information about the underlying system.

    Thanks to Google Security Team for reporting this issue.

###
[`v4.4.6`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#446)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.5...astro@4.4.6)

##### Patch Changes

- [#&#8203;10247](https://togithub.com/withastro/astro/pull/10247)
[`fb773c9161bf8faa5ebd7e115f3564c3359e56ea`](https://togithub.com/withastro/astro/commit/fb773c9161bf8faa5ebd7e115f3564c3359e56ea)
Thanks [@&#8203;martrapp](https://togithub.com/martrapp)! - Fixes an
issue where `transition:animate="none"` still allowed the browser-native
morph animation.

- [#&#8203;10248](https://togithub.com/withastro/astro/pull/10248)
[`8ae5d99534fc09d650e10e64a09b61a2807574f2`](https://togithub.com/withastro/astro/commit/8ae5d99534fc09d650e10e64a09b61a2807574f2)
Thanks [@&#8203;ematipico](https://togithub.com/ematipico)! - Fixes an
issue where multiple injected routes with the same `entrypoint` but
different `pattern` were incorrectly cached, causing some of them not
being rendered in the dev server.

- [#&#8203;10250](https://togithub.com/withastro/astro/pull/10250)
[`57655a99db34e20e9661c039fab253b867013318`](https://togithub.com/withastro/astro/commit/57655a99db34e20e9661c039fab253b867013318)
Thanks [@&#8203;log101](https://togithub.com/log101)! - Fixes the
overwriting of localised index pages with redirects

- [#&#8203;10239](https://togithub.com/withastro/astro/pull/10239)
[`9c21a9df6b03e36bd78dc553e13c55b9ef8c44cd`](https://togithub.com/withastro/astro/commit/9c21a9df6b03e36bd78dc553e13c55b9ef8c44cd)
Thanks [@&#8203;mingjunlu](https://togithub.com/mingjunlu)! - Improves
the message of `MiddlewareCantBeLoaded` for clarity

- [#&#8203;10222](https://togithub.com/withastro/astro/pull/10222)
[`ade9759cae74ca262b988260250bcb202235e811`](https://togithub.com/withastro/astro/commit/ade9759cae74ca262b988260250bcb202235e811)
Thanks [@&#8203;martrapp](https://togithub.com/martrapp)! - Adds a
warning in DEV mode when using view transitions on a device with
prefer-reduced-motion enabled.

- [#&#8203;10251](https://togithub.com/withastro/astro/pull/10251)
[`9b00de0a76b4f4b5b808e8c78e4906a2497e8ecf`](https://togithub.com/withastro/astro/commit/9b00de0a76b4f4b5b808e8c78e4906a2497e8ecf)
Thanks [@&#8203;mingjunlu](https://togithub.com/mingjunlu)! - Fixes
TypeScript type definitions for `Code` component `theme` and
`experimentalThemes` props

###
[`v4.4.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#445)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.4...astro@4.4.5)

##### Patch Changes

- [#&#8203;10221](https://togithub.com/withastro/astro/pull/10221)
[`4db82d9c7dce3b73fe43b86020fcfa326c1357ec`](https://togithub.com/withastro/astro/commit/4db82d9c7dce3b73fe43b86020fcfa326c1357ec)
Thanks [@&#8203;matthewp](https://togithub.com/matthewp)! - Prevents
errors in templates from crashing the server

- [#&#8203;10219](https://togithub.com/withastro/astro/pull/10219)
[`afcb9d331179287629b5ffce4020931258bebefa`](https://togithub.com/withastro/astro/commit/afcb9d331179287629b5ffce4020931258bebefa)
Thanks [@&#8203;matthewp](https://togithub.com/matthewp)! - Fix dynamic
slots missing hydration scripts

- [#&#8203;10220](https://togithub.com/withastro/astro/pull/10220)
[`1eadb1c5290f2f4baf538c34889a09d5fcfb9bd4`](https://togithub.com/withastro/astro/commit/1eadb1c5290f2f4baf538c34889a09d5fcfb9bd4)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! - Fixes
some built-in apps of the dev toolbar not closing when clicking the page

- [#&#8203;10154](https://togithub.com/withastro/astro/pull/10154)
[`e64bd0740b44aed5cfaf67e5c37a1c56ed4442f4`](https://togithub.com/withastro/astro/commit/e64bd0740b44aed5cfaf67e5c37a1c56ed4442f4)
Thanks [@&#8203;Cherry](https://togithub.com/Cherry)! - Fixes an issue
where `config.vite.build.assetsInlineLimit` could not be set as a
function.

- [#&#8203;10196](https://togithub.com/withastro/astro/pull/10196)
[`8fb32f390d40cfa12a82c0645928468d27218866`](https://togithub.com/withastro/astro/commit/8fb32f390d40cfa12a82c0645928468d27218866)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Fixes an issue
where a warning about headers being accessed in static mode is
unnecessarily shown when i18n is enabled.

- [#&#8203;10199](https://togithub.com/withastro/astro/pull/10199)
[`6aa660ae7abc6841d7a3396b29f10b9fb7910ce5`](https://togithub.com/withastro/astro/commit/6aa660ae7abc6841d7a3396b29f10b9fb7910ce5)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Fixes an issue
where prerendered pages had access to query params in dev mode.

###
[`v4.4.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#444)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.3...astro@4.4.4)

##### Patch Changes

- [#&#8203;10195](https://togithub.com/withastro/astro/pull/10195)
[`903eace233033998811b72e27a54c80d8e59ff37`](https://togithub.com/withastro/astro/commit/903eace233033998811b72e27a54c80d8e59ff37)
Thanks [@&#8203;1574242600](https://togithub.com/1574242600)! - Fix
build failure caused by read-only files under /public (in the presence
of client-side JS).

- [#&#8203;10205](https://togithub.com/withastro/astro/pull/10205)
[`459f74bc71748279fe7dce0688f38bd74b51c5c1`](https://togithub.com/withastro/astro/commit/459f74bc71748279fe7dce0688f38bd74b51c5c1)
Thanks [@&#8203;martrapp](https://togithub.com/martrapp)! - Adds an
error message for non-string transition:name values

- [#&#8203;10208](https://togithub.com/withastro/astro/pull/10208)
[`8cd38f02456640c063552aef00b2b8a216b3935d`](https://togithub.com/withastro/astro/commit/8cd38f02456640c063552aef00b2b8a216b3935d)
Thanks [@&#8203;log101](https://togithub.com/log101)! - Fixes custom
headers are not added to the Node standalone server responses in preview
mode

###
[`v4.4.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#443)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.2...astro@4.4.3)

##### Patch Changes

- [#&#8203;10143](https://togithub.com/withastro/astro/pull/10143)
[`7c5fcd2fa817472f480bbfbbc11b9ed71a7210ab`](https://togithub.com/withastro/astro/commit/7c5fcd2fa817472f480bbfbbc11b9ed71a7210ab)
Thanks [@&#8203;bluwy](https://togithub.com/bluwy)! - Improves the
default `optimizeDeps.entries` Vite config to avoid globbing server
endpoints, and respect the `srcDir` option

- [#&#8203;10197](https://togithub.com/withastro/astro/pull/10197)
[`c856c729404196900a7386c8426b81e79684a6a9`](https://togithub.com/withastro/astro/commit/c856c729404196900a7386c8426b81e79684a6a9)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! - Fixes
errors being logged twice in some cases

- [#&#8203;10166](https://togithub.com/withastro/astro/pull/10166)
[`598f30c7cd6c88558e3806d9bc5a15d426d83992`](https://togithub.com/withastro/astro/commit/598f30c7cd6c88558e3806d9bc5a15d426d83992)
Thanks [@&#8203;bluwy](https://togithub.com/bluwy)! - Improves Astro
style tag HMR when updating imported styles

- [#&#8203;10194](https://togithub.com/withastro/astro/pull/10194)
[`3cc20109277813ccb9578ca87a8b0d680a73c35c`](https://togithub.com/withastro/astro/commit/3cc20109277813ccb9578ca87a8b0d680a73c35c)
Thanks [@&#8203;matthewp](https://togithub.com/matthewp)! - Fixes an
issue related to content collections usage in browser context caused by
`csssec`

###
[`v4.4.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#442)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.1...astro@4.4.2)

##### Patch Changes

- [#&#8203;10169](https://togithub.com/withastro/astro/pull/10169)
[`a46249173edde66b03c19441144272baa8394fb4`](https://togithub.com/withastro/astro/commit/a46249173edde66b03c19441144272baa8394fb4)
Thanks [@&#8203;ematipico](https://togithub.com/ematipico)! - Fixes an
issue with the `i18n.routing` types, where an internal transformation
was causing the generation of incorrect types for integrations.

###
[`v4.4.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#441)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.4.0...astro@4.4.1)

##### Patch Changes

- [#&#8203;9795](https://togithub.com/withastro/astro/pull/9795)
[`5acc3135ba5309a566def466fbcbabd23f70cd68`](https://togithub.com/withastro/astro/commit/5acc3135ba5309a566def466fbcbabd23f70cd68)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Refactors
internals relating to middleware, endpoints, and page rendering.

- [#&#8203;10105](https://togithub.com/withastro/astro/pull/10105)
[`1f598b372410066c6fcd41cba9915f6aaf7befa8`](https://togithub.com/withastro/astro/commit/1f598b372410066c6fcd41cba9915f6aaf7befa8)
Thanks [@&#8203;negativems](https://togithub.com/negativems)! - Fixes an
issue where some astro commands failed if the astro config file or an
integration used the global `crypto` object.

- [#&#8203;10165](https://togithub.com/withastro/astro/pull/10165)
[`d50dddb71d87ce5b7928920f10eb4946a5339f86`](https://togithub.com/withastro/astro/commit/d50dddb71d87ce5b7928920f10eb4946a5339f86)
Thanks [@&#8203;ematipico](https://togithub.com/ematipico)! - Fixes an
issue where the `i18n.routing` object had all its fields defined as
mandatory. Now they all are optionals and shouldn't break when using
`astro.config.mts`.

- [#&#8203;10132](https://togithub.com/withastro/astro/pull/10132)
[`1da9c5f2f3fe70b0206d1b3e0c01744fa40d511c`](https://togithub.com/withastro/astro/commit/1da9c5f2f3fe70b0206d1b3e0c01744fa40d511c)
Thanks [@&#8203;bluwy](https://togithub.com/bluwy)! - Simplifies
internal Vite preview server teardown

- [#&#8203;10163](https://togithub.com/withastro/astro/pull/10163)
[`b92d35f1026f3e99abb888d1a845bdda4efdc327`](https://togithub.com/withastro/astro/commit/b92d35f1026f3e99abb888d1a845bdda4efdc327)
Thanks [@&#8203;mingjunlu](https://togithub.com/mingjunlu)! - Fixes an
issue where audit fails to initialize when encountered `<a>` inside
`<svg>`

- [#&#8203;10079](https://togithub.com/withastro/astro/pull/10079)
[`80f8996514e6d0546e94bd927650cd4ab2f1fa2f`](https://togithub.com/withastro/astro/commit/80f8996514e6d0546e94bd927650cd4ab2f1fa2f)
Thanks [@&#8203;ktym4a](https://togithub.com/ktym4a)! - Fix
integrationData fetch to always be called even if View Transition is
enabled.

- [#&#8203;10139](https://togithub.com/withastro/astro/pull/10139)
[`3c73441eb2eaba767d6dad1b30c0353195d28791`](https://togithub.com/withastro/astro/commit/3c73441eb2eaba767d6dad1b30c0353195d28791)
Thanks [@&#8203;bluwy](https://togithub.com/bluwy)! - Fixes style-only
change detection for Astro files if both the markup and styles are
updated

###
[`v4.4.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#440)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.3.7...astro@4.4.0)

##### Minor Changes

- [#&#8203;9614](https://togithub.com/withastro/astro/pull/9614)
[`d469bebd7b45b060dc41d82ab1cf18ee6de7e051`](https://togithub.com/withastro/astro/commit/d469bebd7b45b060dc41d82ab1cf18ee6de7e051)
Thanks [@&#8203;matthewp](https://togithub.com/matthewp)! - Improves
Node.js streaming performance.

This uses an `AsyncIterable` instead of a `ReadableStream` to do
streaming in Node.js. This is a non-standard enhancement by Node, which
is done only in that environment.

- [#&#8203;10001](https://togithub.com/withastro/astro/pull/10001)
[`748b2e87cd44d8bcc1ab9d7e504703057e2000cd`](https://togithub.com/withastro/astro/commit/748b2e87cd44d8bcc1ab9d7e504703057e2000cd)
Thanks [@&#8203;bholmesdev](https://togithub.com/bholmesdev)! - Removes
content collection warning when a configured collection does not have a
matching directory name. This should resolve `i18n` collection warnings
for Starlight users.

This also ensures configured collection names are always included in
`getCollection()` and `getEntry()` types even when a matching directory
is absent. We hope this allows users to discover typos during
development by surfacing type information.

- [#&#8203;10074](https://togithub.com/withastro/astro/pull/10074)
[`7443929381b47db0639c49a4d32aec4177bd9102`](https://togithub.com/withastro/astro/commit/7443929381b47db0639c49a4d32aec4177bd9102)
Thanks [@&#8203;Princesseuh](https://togithub.com/Princesseuh)! - Add a
UI showing the list of found problems when using the audit app in the
dev toolbar

- [#&#8203;10099](https://togithub.com/withastro/astro/pull/10099)
[`b340f8fe3aaa81e38c4f1aa41498b159dc733d86`](https://togithub.com/withastro/astro/commit/b340f8fe3aaa81e38c4f1aa41498b159dc733d86)
Thanks [@&#8203;martrapp](https://togithub.com/martrapp)! - Fixes a
regression where view transition names containing special characters
such as spaces or punctuation stopped working.

Regular use naming your transitions with `transition: name` is
unaffected.

However, this fix may result in breaking changes if your project relies
on the particular character encoding strategy Astro uses to translate
`transition:name` directives into values of the underlying CSS
`view-transition-name` property. For example, `Welcome to Astro` is now
encoded as `Welcome_20to_20Astro_2e`.

This mainly affects spaces and punctuation marks but no Unicode
characters with codes >= 128.

- [#&#8203;9976](https://togithub.com/withastro/astro/pull/9976)
[`91f75afbc642b6e73dd4ec18a1fe2c3128c68132`](https://togithub.com/withastro/astro/commit/91f75afbc642b6e73dd4ec18a1fe2c3128c68132)
Thanks [@&#8203;OliverSpeir](https://togithub.com/OliverSpeir)! - Adds a
new optional `astro:assets` image attribute `inferSize` for use with
remote images.

Remote images can now have their dimensions inferred just like local
images. Setting `inferSize` to `true` allows you to use `getImage()` and
the `<Image />` and `<Picture />` components without setting the `width`
and `height` properties.

###
[`v4.3.7`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#437)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.3.6...astro@4.3.7)

##### Patch Changes

- [#&#8203;9857](https://togithub.com/withastro/astro/pull/9857)
[`73bd900754365b006ee730df9f379ba924e5b3fa`](https://togithub.com/withastro/astro/commit/73bd900754365b006ee730df9f379ba924e5b3fa)
Thanks [@&#8203;iamyunsin](https://togithub.com/iamyunsin)! - Fixes
false positives in the dev overlay audit when multiple `role` values
exist.

- [#&#8203;10075](https://togithub.com/withastro/astro/pull/10075)
[`71273edbb429b5afdba6f8ee14681b66e4c09ecc`](https://togithub.com/withastro/astro/commit/71273edbb429b5afdba6f8ee14681b66e4c09ecc)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Improves error
messages for island hydration.

- [#&#8203;10072](https://togithub.com/withastro/astro/pull/10072)
[`8106178043050d142bf385bed2990730518f28e2`](https://togithub.com/withastro/astro/commit/8106178043050d142bf385bed2990730518f28e2)
Thanks [@&#8203;lilnasy](https://togithub.com/lilnasy)! - Clarifies
error messages in endpoint routing.

- [#&#8203;9971](https://togithub.com/withastro/astro/pull/9971)
[`d9266c4467ca0faa1213c1a5995164e5655ab375`](https://togithub.com/withastro/astro/commit/d9266c4467ca0faa1213c1a5995164e5655ab375)
Thanks [@&#8203;mingjunlu](https://togithub.com/mingjunlu)! - Fixes an
issue where ReadableStream wasn't canceled in dev mode

###
[`v4.3.6`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#436)

[Compare
Source](https://togithub.com/withastro/astro/compare/astro@4.3.5...astro@4.3.6)

##### Patch Changes

- [#&#8203;10063](https://togithub.com/withastro/astro/pull/10063)
[`dac759798c111494e76affd2c2504d63944871fe`](https://togithub.com/withastro/astro/commit/dac759798c111494e76affd2c2504d63944871fe)
Thanks
[@&#8203;marwan-mohamed12](https://togithub.com/marwan-mohamed12)! -
Moves `shikiji-core` from `devDependencies` to `dependencies` to prevent
type errors

- [#&#8203;10067](https://togithub.com/withastro/astro/pull/10067)
[`989ea63bb2a5a670021541198aa70b8dc7c4bd2f`](https://togithub.com/withastro/astro/commit/989ea63bb2a5a670021541198aa70b8dc7c4bd2f)
Thanks [@&#8203;ematipico](https://togithub.com/ematipico)! - Fixes a
regression in the `astro:i18n` module, where the functions
`getAbsoluteLocaleUrl` and `getAbsoluteLocaleUrlList` returned a URL
with double slash with

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/tompluess/tompluess-astro).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants