chore(deps): update dependency astro to v2.10.7 #37
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:
2.9.1
->2.10.7
Release Notes
withastro/astro (astro)
v2.10.7
Compare Source
Patch Changes
4a145c4c7
Thanks @matthewp! - Treat same pathname with different search params as different pagev2.10.6
Compare Source
Patch Changes
#8027
1b8d30209
Thanks @natemoo-re! - Ensure dev server restarts respect whenbase
is removed#8033
405913cdf
Thanks @matthewp! - Prevent script re-evaluation on page transition#8036
87d4b1843
Thanks @ematipico! - Fix a bug where the middleware entry point was passed to integrations even though the configurationbuild.excludeMiddleware
was set tofalse
.#8022
c23377caa
Thanks @bluwy! - Always return a new array instance fromgetCollection
in prod#8013
86bee2812
Thanks @martrapp! - Links with hash marks now trigger view transitions if they lead to a different page. Links to the same page do not trigger view transitions.v2.10.5
Compare Source
Patch Changes
5b1e39ef6
Thanks @bluwy! - Move hoisted script analysis optimization behind theexperimental.optimizeHoistedScript
optionv2.10.4
Compare Source
Patch Changes
#8003
16161afb2
Thanks @JuanM04! - FixedEndpointOutput
types with{ encoding: 'binary' }
#7995
79376f842
Thanks @belluzj! - Fix quadratic quote escaping in nested data in island props#8007
58b121d42
Thanks @paperdave! - Support Bun by adjusting how@babel/plugin-transform-react-jsx
is imported.v2.10.3
Compare Source
Patch Changes
8e5a27b48
Thanks @natemoo-re! - Ensure injectRoute is properly handled inbuild
as well asdev
v2.10.2
Compare Source
Patch Changes
#7945
a00cfb894
Thanks @matthewp! - Fix race condition when performing swap for fallback#7983
6cd7290d2
Thanks @natemoo-re! - Fix filename generation for.astro
pages#7946
9d0070095
Thanks @andremralves! - Fix: missing CSS import when 404 server Response redirects to a custom 404 page.#7977
a4a637c8f
Thanks @bluwy! - Fix inline root resolve logic#7943
c2682a17c
Thanks @natemoo-re! - Ensure that injected routes fromnode_modules
are properly detectedv2.10.1
Compare Source
Patch Changes
#7935
6035bb35f
Thanks @natemoo-re! - Properly handle routing when multiple slashes are present in the request by collapsing them to a single/
#7936
4b6deda36
Thanks @matthewp! - Export createTransitionScope for the runtimeUpdated dependencies [
6035bb35f
]:v2.10.0
Compare Source
Minor Changes
#7861
41afb8405
Thanks @matthewp! - Persistent DOM and Islands in Experimental View TransitionsWith
viewTransitions: true
enabled in your Astro config's experimental section, pages using the<ViewTransition />
routing component can now access a newtransition:persist
directive.With this directive, you can keep the state of DOM elements and islands on the old page when transitioning to the new page.
For example, to keep a video playing across page navigation, add
transition:persist
to the element:This
<video>
element, with its current state, will be moved over to the next page (if the video also exists on that page).Likewise, this feature works with any client-side framework component island. In this example, a counter's state is preserved and moved to the new page:
See our View Transitions Guide to learn more on usage.
Patch Changes
#7821
c00b6f0c4
Thanks @ottomated! - Fixes an issue that prevents importing'astro/app'
#7917
1f0ee494a
Thanks @bluwy! - Prevent integration hooks from re-triggering if the server restarts on config change, but the config fails to load.#7901
00cb28f49
Thanks @bluwy! - Improve sourcemap generation and performance#7911
c264be349
Thanks @martrapp! - fix for #7882 by setting state in page navigation (view transitions)#7909
e1e958a75
Thanks @tonydangblog! - Fix: ignore.json
files nested in subdirectories within content collection directories starting with an_
underscore.v2.9.7
Compare Source
Patch Changes
#7754
298dbb89f
Thanks @natemoo-re! - Refactor404
and500
route handling for consistency and improved prerendering support#7885
9e2203847
Thanks @andremralves! - Fix incorrect build path logging for 404.astro pages.#7887
5c5da8d2f
Thanks @ffxsam! - Add logging for when JSON.parse fails within hydrate func#7895
0b8375fe8
Thanks @bluwy! - Fix streaming Astro components#7876
89d015db6
Thanks @ematipico! - Check forgetStaticPaths
only if the file has the.astro
extension.#7879
ebf7ebbf7
Thanks @bluwy! - Refactor and improve Astro config loading flowv2.9.6
Compare Source
Patch Changes
861f10eaf
Thanks @matthewp! - Properly serialize redirect config for SSRv2.9.5
Compare Source
Patch Changes
#7838
e50f64675
Thanks @bluwy! - Fix head propagation for MDX components#7841
2275c7d56
Thanks @ematipico! - Allow to return a redirect in dev mode when the original route is not present in the file system.#7800
49a4b2820
Thanks @matthewp! - Scroll position restoration with ViewTransitions routerv2.9.4
Compare Source
Patch Changes
#7826
31c4031ba
Thanks @Princesseuh! - Fixastro:assets
not working on Windows in build when using Squoosh#7823
5161cf919
Thanks @matthewp! - Adds anastro:beforeload
event for the dark mode use-case#7836
59b556232
Thanks @matthewp! - Upgrade compiler to bring in Image view transition support#7824
267487e63
Thanks @matthewp! - Prevent navigation on hash change#7829
b063a2d8a
Thanks @Princesseuh! - Fixastro:assets
endpoint not working in dev and SSR ifexperimental.assets
was enabled by an integration (such as Starlight)#7734
d5f526b33
Thanks @Princesseuh! - Fix some global state related toastro:assets
not getting cleaned out properly in SSR with no pre-rendered pages#7843
7dbcbc86b
Thanks @matthewp! - Fixes head propagation regressionv2.9.3
Compare Source
Patch Changes
#7782
0f677c009
Thanks @bluwy! - Refactor Astro rendering to write results directly. This improves the rendering performance for all Astro files.#7786
188eeddd4
Thanks @matthewp! - Execute scripts when navigating to a new page.When navigating to an new page with client-side navigation, scripts are executed (and re-executed) so that any new scripts on the incoming page are run and the DOM can be updated.
However,
type=module
scripts never re-execute in Astro, and will not do so in client-side routing. To support cases where you want to modify the DOM, a newastro:load
event listener been added:v2.9.2
Compare Source
Patch Changes
#7777
3567afac4
Thanks @bluwy! - Fix rendering TextEncoder encoding error regression#7759
1792737da
Thanks @Princesseuh! - Fix SharedImageService's types not properly reflecting that image services hooks can be async#7766
da7f1128b
Thanks @Princesseuh! - Fix missingreferrerpolicy
on ScriptHTMLAttributes#7746
0c9959704
Thanks @birkskyum! - Update Vite to 4.4Configuration
📅 Schedule: Branch creation - "every weekend on the 3rd week of the month" (UTC), 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.
This PR has been generated by Mend Renovate. View repository job log here.