Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.0.5
->4.0.6
4.7.1
->4.8.6
Release Notes
withastro/astro (@astrojs/rss)
v4.0.6
Compare Source
Patch Changes
841df1f
Thanks @mingjunlu! - Fixes an issue where trailing slash is not removed even if thetrailingSlash
option is set tofalse
.withastro/astro (astro)
v4.8.6
Compare Source
Patch Changes
9637014
Thanks @bluwy! - Fixes regression when handling hoisted scripts from content collectionsv4.8.5
Compare Source
Patch Changes
#11065
1f988ed
Thanks @ematipico! - Fixes a bug in the Astro rewrite logic, where rewriting the index with parameters -next("/?foo=bar")
- didn't work as expected.#10924
3a0c02a
Thanks @Its-Just-Nans! - Handle image-size errors by displaying a clearer message#11058
749a7ac
Thanks @matthewp! - Fix streaming in Node.js fast path#11052
a05ca38
Thanks @florian-lefebvre! - Fixes a case where rewriting would conflict with the actions internal middleware#11062
16f12e4
Thanks @ematipico! - Fixes a bug whereastro build
didn't create custom404.html
and500.html
when a certain combination of i18n options was applied#10965
a8f0372
Thanks @Elias-Chairi! - Update generator.ts to allow %23 (#) in dynamic urls#11069
240a70a
Thanks @ematipico! - Improves debug logging for on-demand pagesv4.8.4
Compare Source
Patch Changes
#11026
8dfb1a2
Thanks @bluwy! - Skips rendering script tags if it's inlined and empty whenexperimental.directRenderScript
is enabled#11043
d0d1710
Thanks @bholmesdev! - Fixes minor type issues in actions component example#10999
5f353e3
Thanks @bluwy! - The prefetch feature is updated to better support different browsers and different cache headers setup, including:<link rel="prefetch">
if supported, or will fall back tofetch()
.prefetch()
programmatic API'swith
option is deprecated in favour of an automatic approach that will also try to use<link rel="prefetch>
if supported, or will fall back tofetch()
.This change shouldn't affect most sites and should instead make prefetching more effective.
#11041
6cc3fb9
Thanks @bholmesdev! - Fixes 500 errors when sending empty params or returning an empty response from an action.#11028
771d1f7
Thanks @bholmesdev! - Throw on missing server output when using Astro Actions.#11029
bd34452
Thanks @bholmesdev! - Actions: include validation error in thrown error message for debugging.#11046
086694a
Thanks @HiDeoo! - FixesgetViteConfig()
type definition to allow passing an inline Astro configuration as second argument#11026
8dfb1a2
Thanks @bluwy! - Fixes CSS handling if imported in a script tag in an Astro file whenexperimental.directRenderScript
is enabled#11020
2e2d6b7
Thanks @xsynaptic! - Add type declarations forimport.meta.env.ASSETS_PREFIX
when defined as an object for handling different file types.#11030
18e7f33
Thanks @bholmesdev! - Actions: Fix missing message for custom Action errors.#10981
ad9227c
Thanks @mo! - Adds deprecated HTML attribute "name" to the list of valid attributes. This attribute has been replaced by the globalid
attribute in recent versions of HTML.#11013
4ea38e7
Thanks @QingXia-Ela! - Prevents unhandledrejection error when checking for latest Astro version#11034
5f2dd45
Thanks @arganaphang! - Addpopovertargetaction
to the attribute that can be passed to thebutton
andinput
elementv4.8.3
Compare Source
Patch Changes
7418bb0
Thanks @bholmesdev! - Fixlocals
access from action handlersv4.8.2
Compare Source
Patch Changes
#10990
4161a2a
Thanks @liruifengv! - fix incorrect actions path on windows#10979
6fa89e8
Thanks @BryceRussell! - Fix loading of non-index routes that end withindex.html
v4.8.1
Compare Source
Patch Changes
#10987
05db5f7
Thanks @ematipico! - Fix a regression where the flagexperimental.rewriting
was marked mandatory. Is is now optional.#10975
6b640b3
Thanks @bluwy! - Passes the scoped style attribute or class to the<picture>
element in the<Picture />
component so scoped styling can be applied to the<picture>
elementv4.8.0
Compare Source
Minor Changes
#10935
ddd8e49
Thanks @bluwy! - Exportsastro/jsx/rehype.js
with utilities to generate an Astro metadata object#10625
698c2d9
Thanks @goulvenclech! - Adds the ability for multiple pages to use the same component as anentrypoint
when building an Astro integration. This change is purely internal, and aligns the build process with the behaviour in the development server.#10906
7bbd664
Thanks @Princesseuh! - Adds a new radio checkbox component to the dev toolbar UI library (astro-dev-toolbar-radio-checkbox
)#10963
61f47a6
Thanks @delucis! - Adds support for passing an inline Astro configuration object togetViteConfig()
If you are using
getViteConfig()
to configure the Vitest test runner, you can now pass a second argument to control how Astro is configured. This makes it possible to configure unit tests with different Astro options when using Vitest’s workspaces feature.#10867
47877a7
Thanks @ematipico! - Adds experimental rewriting in Astro with a newrewrite()
function and the middlewarenext()
function.The feature is available via an experimental flag in
astro.config.mjs
:When enabled, you can use
rewrite()
to render another page without changing the URL of the browser in Astro pages and endpoints.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 if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.