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:
0.12.8
->0.12.9
^0.31.0
->^0.32.0
5.2.3
->5.3.0
ba8a16d
->986f32c
d6e91a2
->dcc7a0c
8db8970
->3d0579f
Release Notes
withastro/astro (@astrojs/markdoc)
v0.12.9
Compare Source
Patch Changes
b71bd10
]:withastro/starlight (@astrojs/starlight)
v0.32.0
Compare Source
Minor Changes
#2390
f493361
Thanks @delucis! - Moves route data toAstro.locals
instead of passing it down via component propsPreviously, all of Starlight’s templating components, including user or plugin overrides, had access to a data object for the current route via
Astro.props
.This data is now available as
Astro.locals.starlightRoute
instead.To update, refactor any component overrides you have:
@astrojs/starlight/props
, which is now deprecated.Astro.props
to useAstro.locals.starlightRoute
instead.{...Astro.props}
into child components, which is no longer required.In the following example, a custom override for Starlight’s
LastUpdated
component is updated for the new style:withastro/astro (astro)
v5.3.0
Compare Source
Minor Changes
#13210
344e9bc
Thanks @VitaliyR! - HandleHEAD
requests to an endpoint when a handler is not defined.If an endpoint defines a handler for
GET
, but does not define a handler forHEAD
, Astro will call theGET
handler and return the headers and status but an empty body.#13195
3b66955
Thanks @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
8d4e566
Thanks @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⚠️ BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY ⚠️
8d4e566
Thanks @ascorbic! -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 theexperimental.session
flag, and then configure the session driver using the top-levelsession
key if providing manual configuration.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.
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.#13101
2ed67d5
Thanks @corneliusroemer! - Fixes a bug whereHEAD
andOPTIONS
requests for non-prerendered pages were incorrectly rejected with 403 FORBIDDENv5.2.6
Compare Source
Patch Changes
#13188
7bc8256
Thanks @ematipico! - Fixes the wording of the an error message#13205
9d56602
Thanks @ematipico! - Fixes and issue where a server island component returns 404 whenbase
is configured in i18n project.#13212
fb38840
Thanks @joshmkennedy! - An additional has been added during the build command to add clarity around output and buildOutput.#13213
6bac644
Thanks @joshmkennedy! - Allows readonly arrays to be passed to thepaginate()
functionv5.2.5
Compare Source
Patch Changes
#13133
e76aa83
Thanks @ematipico! - Fixes a bug where Astro was failing to build an external redirect when the middleware was triggered#13119
ac43580
Thanks @Hacksore! - Adds extra guidance in the terminal when using theastro add tailwind
CLI commandNow, 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
Compare Source
Patch Changes
#13130
b71bd10
Thanks @ascorbic! - Fixes a bug that caused duplicate slashes inside query params to be collapsed#13131
d60c742
Thanks @ascorbic! - Ignores trailing slashes for endpoints with file extensions in the routeUpdated dependencies [
b71bd10
]:Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - "* 0-3 * * *" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.