-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore: update dependency astro to v4 #293
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/astro-4.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
December 6, 2023 04:51
48c5e8c
to
77d8e03
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
December 7, 2023 00:04
77d8e03
to
4abbba1
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
December 12, 2023 01:03
4abbba1
to
50a45d5
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
December 13, 2023 01:25
50a45d5
to
8f143cf
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
December 14, 2023 23:03
8f143cf
to
75b68cd
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
December 16, 2023 01:12
75b68cd
to
9b7faae
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
December 21, 2023 01:18
9b7faae
to
be4f75f
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
December 28, 2023 02:11
be4f75f
to
2aaddb4
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
January 3, 2024 01:25
2aaddb4
to
08ceee8
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
January 5, 2024 01:18
08ceee8
to
2e1263b
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
January 6, 2024 01:46
2e1263b
to
17d0819
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
January 12, 2024 00:52
17d0819
to
6fd337b
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
January 16, 2024 23:06
6fd337b
to
0b20566
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
January 18, 2024 23:29
0b20566
to
a9a4138
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
January 21, 2024 21:21
a9a4138
to
3cc9449
Compare
renovate
bot
force-pushed
the
renovate/astro-4.x
branch
from
January 22, 2024 02:35
3cc9449
to
0c991f7
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^3.6.4
->^4.2.1
Release Notes
withastro/astro (astro)
v4.2.1
Compare Source
Patch Changes
a4b696def3a7eb18c1ae48b10fd3758a1874b6fe
Thanks @Fryuni! - Fixes a regression in routing priority betweenindex.astro
and dynamic routes with rest parametersv4.2.0
Compare Source
Minor Changes
#9566
165cfc154be477337037185c32b308616d1ed6fa
Thanks @OliverSpeir! - Allows remark plugins to pass options specifying how images in.md
files will be optimized#9661
d6edc7540864cf5d294d7b881eb886a3804f6d05
Thanks @ematipico! - Adds new helper functions for adapter developers.Astro.clientAddress
can now be passed directly to theapp.render()
method.Request
andResponse
objects are now provided as static methods on theNodeApp
class.Astro.cookies.set()
can now be automatically added to theResponse
object by passing theaddCookieHeader
option toapp.render()
.#9638
f1a61268061b8834f39a9b38bca043ae41caed04
Thanks @ematipico! - Adds a newi18n.routing
config optionredirectToDefaultLocale
to disable automatic redirects of the root URL (/
) to the default locale whenprefixDefaultLocale: true
is set.In projects where every route, including the default locale, is prefixed with
/[locale]/
path, this property allows you to control whether or notsrc/pages/index.astro
should automatically redirect your site visitors from/
to/[defaultLocale]
.You can now opt out of this automatic redirection by setting
redirectToDefaultLocale: false
:#9671
8521ff77fbf7e867701cc30d18253856914dbd1b
Thanks @bholmesdev! - Removes the requirement for non-content files and assets inside content collections to be prefixed with an underscore. For files with extensions like.astro
or.css
, you can now remove underscores without seeing a warning in the terminal.Continue to use underscores in your content collections to exclude individual content files, such as drafts, from the build output.
#9567
3a4d5ec8001ebf95c917fdc0d186d29650533d93
Thanks @OliverSpeir! - Improves the a11y-missing-content rule and error message for audit feature of dev-overlay. This also fixes an error where this check was falsely reporting accessibility errors.#9643
e9a72d9a91a3741566866bcaab11172cb0dc7d31
Thanks @blackmann! - Adds a newmarkdown.shikiConfig.transformers
config option. You can use this option to transform the Shikiji hast (AST format of the generated HTML) to customize the final HTML. Also updates Shikiji to the latest stable version.See Shikiji's documentation for more details about creating your own custom transformers, and a list of common transformers you can add directly to your project.
#9644
a5f1682347e602330246129d4666a9227374c832
Thanks @rossrobino! - Adds an experimental flagclientPrerender
to prerender your prefetched pages on the client with the Speculation Rules API.Enabling this feature overrides the default
prefetch
behavior globally to prerender links on the client according to yourprefetch
configuration. Instead of appending a<link>
tag to the head of the document or fetching the page with JavaScript, a<script>
tag will be appended with the corresponding speculation rules.Client side prerendering requires browser support. If the Speculation Rules API is not supported,
prefetch
will fallback to the supported strategy.See the Prefetch Guide for more
prefetch
options and usage.#9439
fd17f4a40b83d14350dce691aeb79d87e8fcaf40
Thanks @Fryuni! - Adds an experimental flagglobalRoutePriority
to prioritize redirects and injected routes equally alongside file-based project routes, following the same route priority order rules for all routes.Enabling this feature ensures that all routes in your project follow the same, predictable route priority order rules. In particular, this avoids an issue where redirects or injected routes (e.g. from an integration) would always take precedence over local route definitions, making it impossible to override some routes locally.
The following table shows which route builds certain page URLs when file-based routes, injected routes, and redirects are combined as shown below:
/blog/post/[pid]
/[page]
/blog/[...slug]
/blog/tags/[tag]
->/[tag]
/posts
->/blog
URLs are handled by the following routes:
/blog/tags/astro
/blog/[...slug]
/tags/[tag]
/blog/post/0
/blog/[...slug]
/blog/post/[pid]
/posts
/[page]
/blog
In the event of route collisions, where two routes of equal route priority attempt to build the same URL, Astro will log a warning identifying the conflicting routes.
Patch Changes
#9719
7e1db8b4ce2da9e044ea0393e533c6db2561ac90
Thanks @bluwy! - Refactors Vite config to avoid Vite 5.1 warnings#9439
fd17f4a40b83d14350dce691aeb79d87e8fcaf40
Thanks @Fryuni! - Updates Astro's routing priority rules to prioritize the most specifically-defined routes.Now, routes with more defined path segments will take precedence over less specific routes.
For example,
/blog/posts/[pid].astro
(3 path segments) takes precedence over/blog/[...slug].astro
(2 path segments). This means that:/pages/blog/posts/[id].astro
will build routes of the form/blog/posts/1
and/blog/posts/a
/pages/blog/[...slug].astro
will build routes of a variety of forms, includingblog/1
and/blog/posts/1/a
, but will not build either of the previous routes.For a complete list of Astro's routing priority rules, please see the routing guide. This should not be a breaking change, but you may wish to inspect your built routes to ensure that your project is unaffected.
#9706
1539e04a8e5865027b3a8718c6f142885e7c8d88
Thanks @bluwy! - Simplifies HMR handling, improves circular dependency invalidation, and fixes Astro styles invalidationUpdated dependencies [
165cfc154be477337037185c32b308616d1ed6fa
,e9a72d9a91a3741566866bcaab11172cb0dc7d31
]:v4.1.3
Compare Source
Patch Changes
#9665
d02a3c48a3ce204649d22e17b1e26fb5a6a60bcf
Thanks @bluwy! - Disables internal file watcher for one-off Vite servers to improve start-up performance#9664
1bf0ddd2777ae5f9fde3fd854a9e75aa56c080f2
Thanks @bluwy! - Improves HMR for Astro style and script modules#9668
74008cc23853ed507b144efab02300202c5386ed
Thanks @Princesseuh! - Fix the passthrough image service not generatingsrcset
values properly#9693
d38b2a4fe827e956662fcf457d1f1f84832c2f15
Thanks @kidylee! - Disables View Transition form handling when theaction
property points to an external URL#9678
091097e60ef38dadb87d7c8c1fc9cb939a248921
Thanks @ematipico! - Adds an error during the build phase in casei18n.routing.prefixDefaultLocale
is set totrue
and the index page is missing.#9659
39050c6e1f77dc21e87716d95e627a654828ee74
Thanks @Princesseuh! - Fix Astro wrongfully deleting certain images imported with?url
when used in tandem withastro:assets
#9685
35d54b3ddb3310ab4c505d49bd4937b2d25e4078
Thanks @lilnasy! - Fixes an issue where anchor elements within a custom component could not trigger a view transition.v4.1.2
Compare Source
Patch Changes
#9642
cdb7bfa66260afc79b829b617492a01a709a86ef
Thanks @martrapp! - Fixes an issue where View Transitions did not work when navigating to the 404 page#9637
5cba637c4ec39c06794146b0c7fd3225d26dcabb
Thanks @bluwy! - Improves environment variables replacement in SSR#9658
a3b5695176cd0280438938c1d6caef478a571415
Thanks @martrapp! - Fixes an issue caused by trying to load text/partytown scripts during view transitions#9657
a4f90d95ff97abe59f2a1ef0956cab257ae36838
Thanks @ematipico! - Fixes a bug where the custom status code wasn't correctly computed in the dev server#9627
a700a20291e19cde23705e8e661e833aec7d3095
Thanks @lilnasy! - Adds a warning when setting cookies will have no effect#9652
e72efd6a9a1e2a70488fd225529617ffd8418534
Thanks @bluwy! - Improves environment variables handling by using esbuild to perform replacements#9560
8b9c4844f7b302380835154fab1c3489979fc07d
Thanks @bluwy! - Fixes tsconfig alias with import.meta.glob#9653
50f39183cfec4a4522c1f935d710e5d9b724993b
Thanks @Princesseuh! - Pin Sharp to 0.32.6 until we can raise our semver requirements. To use the latest version of Sharp, you can add it to your project's dependencies.v4.1.1
Compare Source
Patch Changes
#9618
401fd3e8c8957a3bed6469a622cd67b157ca303f
Thanks @ldh3907! - Adds a second generic parameter toAPIRoute
to type theparams
#9600
47b951b3888a5a8a708d2f9b974f12fba7ec9ed3
Thanks @jacobdalamb! - Improves tailwind config file detection when adding the tailwind integration usingastro add tailwind
Tailwind config file ending in
.ts
,.mts
or.cts
will now be used instead of creating a newtailwind.config.mjs
when the tailwind integration is added usingastro add tailwind
.#9622
5156c740506cbf6ec85c95e1663c14cbd438d75b
Thanks @bluwy! - Fixes the Sharp image servicelimitInputPixels
option typev4.1.0
Compare Source
Minor Changes
#9513
e44f6acf99195a3f29b8390fd9b2c06410551b74
Thanks @wtto00! - Adds a'load'
prefetch strategy to prefetch links on page load#9377
fe719e27a84c09e46b515252690678c174a25759
Thanks @bluwy! - Adds "Missing ARIA roles check" and "Unsupported ARIA roles check" audit rules for the dev toolbar#9573
2a8b9c56b9c6918531c57ec38b89474571331aee
Thanks @bluwy! - Allows passing a string to--open
andserver.open
to open a specific URL on startup in development#9544
b8a6fa8917ff7babd35dafb3d3dcd9a58cee836d
Thanks @bluwy! - Adds a helpful error for static sites when you use theastro preview
command if you have not previously runastro build
.#9546
08402ad5846c73b6887e74ed4575fd71a3e3c73d
Thanks @bluwy! - Adds an option for the Sharp image service to allow large images to be processed. SetlimitInputPixels: false
to bypass the default image size limit:#9596
fbc26976533bbcf2de9d6dba1aa3ea3dc6ce0853
Thanks @Princesseuh! - Adds the ability to set arootMargin
setting when using theclient:visible
directive. This allows a component to be hydrated when it is near the viewport, rather than hydrated when it has entered the viewport.#9063
f33fe3190b482a42ebc68cc5275fd7f2c49102e6
Thanks @alex-sherwin! - Cookie encoding / decoding can now be customizedAdds new
encode
anddecode
functions to allow customizing how cookies are encoded and decoded. For example, you can bypass the default encoding viaencodeURIComponent
when adding a URL as part of a cookie:v4.0.9
Compare Source
Patch Changes
#9571
ec71f03cfd9b8195fb21c92dfda0eff63b6ebeed
Thanks @bluwy! - Removes telemetry for unhandled errors in the dev server#9548
8049f0cd91b239c52e37d571e3ba3e703cf0e4cf
Thanks @bluwy! - Fixes error overlay display on URI malformed error#9504
8cc3d6aa46f438d668516539c34b48ad748ade39
Thanks @matiboux! - Implement i18n'sgetLocaleByPath
function#9547
22f42d11a4fd2e154a0c5873c4f516584e383b70
Thanks @bluwy! - Prevents ANSI codes from rendering in the error overlay#9446
ede3f7fef6b43a08c9371f7a2531e2eef858b94d
Thanks @alexnguyennz! - Toggle dev toolbar hitbox height when toolbar is visible#9572
9f6453cf4972ac28eec4f07a1373feaa295c8864
Thanks @bluwy! - Documents supported--host
and--port
flags inastro preview --help
#9540
7f212f0831d8cd899a86fb94899a7cad8ec280db
Thanks @matthewp! - Fixes remote images with encoded characters#9559
8b873bf1f343efc1f486d8ef53c38380e2373c08
Thanks @sygint! - Adds 'starlight' to the displayed options forastro add
#9537
16e61fcacb98e6bd948ac240bc082659d70193a4
Thanks @walter9388! -<Image />
srcset now parses encoded paths correctlyv4.0.8
Compare Source
Patch Changes
#9522
bb1438d20d325acd15f3755c6e306e45a7c64bcd
Thanks @Zegnat! - Add support for autocomplete attribute to the HTML button type.#9531
662f06fd9fae377bed1aaa49adbba3542cced087
Thanks @bluwy! - Fixes duplicated CSS modules content when it's imported by both Astro files and framework components#9501
eb36e95596fcdb3db4a31744e910495e22e3af84
Thanks @Princesseuh! - Export JSX namespace fromastro/jsx-runtime
for language tooling to consume#9492
89a2a07c2e411cda32244b7b05d3c79e93f7dd84
Thanks @lilnasy! - Improves error message for the case where two similarly named files result in the same content entry.#9532
7224809b73d2c3ec8e8aee2fa07463dc3b57a7a2
Thanks @bluwy! - Prevents unnecessary URI decoding when rendering a route#9478
dfef925e1fd07f3efb9fde6f4f23548f2af7dc75
Thanks @lilnasy! - Improves errors in certain places to also report their causes.#9463
3b0eaed3b544ef8c4ec1f7b0d5a8f475bcfeb25e
Thanks @Princesseuh! - Update Sharp version to ^0.33.1#9512
1469e0e5a915e6b42b9953dbb48fe57a74518056
Thanks @mingjunlu! - Prevents dev toolbar tooltip from overflowing outside of the screen#9497
7f7a7f1aeaec6b327ae0e5e7470a4f46174bf8ae
Thanks @lilnasy! - Adds a helpful warning message for when an exported API Route is not uppercase.v4.0.7
Compare Source
Patch Changes
#9452
e83b5095f
Thanks @florian-lefebvre! - Upgrades vite to latest#9352
f515b1421
Thanks @tmcw! - Add a more descriptive error message when image conversion fails#9486
f6714f677
Thanks @martrapp! - Fixes View Transition's form submission prevention, allowingpreventDefault
to be used.#9461
429be8cc3
Thanks @Skn0tt! - update import created forastro create netlify
#9464
faf6c7e11
Thanks @Fryuni! - Fixes an edge case with view transitions where some spec-compliantContent-Type
headers would cause a valid HTML response to be ignored.#9400
1e984389b
Thanks @bluwy! - Fixes importing dev toolbar apps from integrations on Windows#9487
19169db1f
Thanks @ematipico! - Improves logging of the generated pages during the build#9460
047d285be
Thanks @Princesseuh! - Fix Astro failing to build on certain exotic platform that reports their CPU count incorrectly#9466
5062d27a1
Thanks @knpwrs! - Updates view transitionsform
handling with logic for theenctype
attribute#9458
fa3078ce9
Thanks @ematipico! - Correctly handle the error in case the middleware throws a runtime error#9089
5ae657882
Thanks @lilnasy! - Fixes an issue where redirects did not replace slugs when the target of the redirect rule was not a verbatim route in the project.#9483
c384f6924
Thanks @Princesseuh! - Fix some false positive in the audit logic of the dev toolbar#9437
354a62c86
Thanks @dkobierski! - Fixes incorrect hoisted script paths when custom rollup output file names are configured#9475
7ae4928f3
Thanks @ematipico! - Remove the manifest from the generated files in thedist/
folder.v4.0.6
Compare Source
Patch Changes
#9419
151bd429b
Thanks @matthewp! - Prevent Partytown from hijacking history APIs#9426
c01cc4e34
Thanks @alexnguyennz! - Fixes warning for external URL redirects#9445
f963d07f2
Thanks @natemoo-re! - Upgrades Astro's compiler to a crash when sourcemaps try to map multibyte characters#9126
6d2d0e279
Thanks @lilnasy! - Fixes an issue where error pages were not shown when trailingSlash was set to "always".#9434
c01580a2c
Thanks @ematipico! - Improves the error message when a middleware doesn't return aResponse
#9433
fcc2fd5b0
Thanks @ematipico! - Correctly merge headers from the original response when an error page is renderedv4.0.5
Compare Source
Patch Changes
#9423
bda1d294f
Thanks @matthewp! - Error when getImage is passed an undefined src#9424
e1a5a2d36
Thanks @matthewp! - Prevents dev server from crashing on unhandled rejections, and adds a helpful error message#9404
8aa17a64b
Thanks @Princesseuh! - Fixed some newer HTML attributes not being included in our type definitions#9414
bebf38c0c
Thanks @Skn0tt! - Adds the feature name to logs about feature deprecation / experimental status.#9418
2c168af67
Thanks @alexnguyennz! - Fix broken link in CI instructions#9407
546d92c86
Thanks @matthewp! - Allows file URLs as import specifiersv4.0.4
Compare Source
Patch Changes
#9380
ea0918259
Thanks @ematipico! - Correctly handle the rendering of i18n routes whenoutput: "hybrid"
is set#9374
65ddb0271
Thanks @bluwy! - Fixes an issue where prerendered route paths that end with.mjs
were removed from the final build#9375
26f7023d6
Thanks @bluwy! - Prettifies generated route names injected by integrations#9387
a7c75b333
Thanks @natemoo-re! - Fixes an edge case withastro add
that could install a prerelease instead of a stable release version.Prior to this change
astro add svelte
installs[email protected]
After this change
astro add svelte
installs[email protected]
Updated dependencies [
270c6cc27
]:v4.0.3
Compare Source
Patch Changes
#9342
eb942942d
Thanks @Princesseuh! - Fix missingis:inline
type for the<slot />
element#9343
ab0281aee
Thanks @martrapp! - Adds source file properties to HTML elements only if devToolbar is enabled#9336
c76901065
Thanks @FredKSchott! - dev: fix issue where 404 and 500 responses were logged as 200#9339
0bb3d5322
Thanks @morinokami! - Fixed the log message to correctly display 'enabled' and 'disabled' when toggling 'Disable notifications' in the Toolbar.v4.0.2
Compare Source
Patch Changes
#9331
cfb20550d
Thanks @natemoo-re! - Updates an internal dependency (vitefu
) to avoid a commonpeerDependency
warning#9327
3878a91be
Thanks @doseofted! - Fixes an edge case for<form method="dialog">
when using View Transitions. Forms withmethod="dialog"
no longer require an additionaldata-astro-reload
attribute.v4.0.1
Compare Source
Patch Changes
631e5d01b
Thanks @ematipico! - Fixes an issue where logs that weren't grouped together by route when building the app.v4.0.0
Compare Source
Major Changes
#9138
abf601233
Thanks @bluwy! - Updates the unified, remark, and rehype dependencies to latest. Make sure to update your custom remark and rehype plugins as well to be compatible with the latest versions.Potentially breaking change: The default value of
markdown.remarkRehype.footnoteBackLabel
is changed from"Back to content"
to"Back to reference 1"
. See themdast-util-to-hast
commit for more information.#9181
cdabf6ef0
Thanks @bluwy! - Removes support for returning simple objects from endpoints (deprecated since Astro 3.0). You should return aResponse
instead.ResponseWithEncoding
is also removed. You can refactor the code to return a response with an array buffer instead, which is encoding agnostic.The types for middlewares have also been revised. To type a middleware function, you should now use
MiddlewareHandler
instead ofMiddlewareResponseHandler
. If you useddefineMiddleware()
to type the function, no changes are needed.#9263
3cbd8ea75
Thanks @bluwy! - Removes additional deprecated APIs:astro/client-image
type. You should use theastro/client
type instead.rss
support ingetStaticPaths
. You should use@astrojs/rss
instead.Astro.request.params
support. You should useAstro.params
instead.#9271
47604bd5b
Thanks @matthewp! - Renames Dev Overlay to Dev ToolbarThe previously named experimental Dev Overlay is now known as the Astro Dev Toolbar. Overlay plugins have been renamed as Toolbar Apps. All APIs have been updated to reflect this name change.
To not break existing APIs, aliases for the Toolbar-based names have been created. The previous API names will continue to function but will be deprecated in the future. All documentation has been updated to reflect Toolbar-based names.
#9122
1c48ed286
Thanks @bluwy! - Adds Vite 5 support. There are no breaking changes from Astro. Check the Vite migration guide for details of the breaking changes from Vite instead.#9225
c421a3d17
Thanks @natemoo-re! - Removes the opt-inhandleForms
property for<ViewTransitions />
. Form submissions are now handled by default and this property is no longer necessary. This default behavior can be disabled by settingdata-astro-reload
on relevant<form />
elements.#9196
37697a2c5
Thanks @bluwy! - Removes support for Shiki custom language'spath
property. The language JSON file should be imported and passed to the option instead.#9199
49aa215a0
Thanks @lilnasy! - This change only affects maintainers of third-party adapters. In the Integration API, theapp.render()
method of theApp
class has been simplified.Instead of two optional arguments, it now takes a single optional argument that is an object with two optional properties:
routeData
andlocals
.The current signature is deprecated but will continue to function until next major version.
#9212
c0383ea0c
Thanks @alexanderniebuhr! - Removes deprecatedapp.match()
option,matchNotFound
#9168
153a5abb9
Thanks @bluwy! - Removes deprecated features from Astro 3.0supportedAstroFeatures
to specify a list of features they support.build.split
andbuild.excludeMiddleware
options are removed. UsefunctionPerRoute
andedgeMiddleware
from adapters instead.markdown.drafts
option and draft feature is removed. Use content collections instead.getHeaders()
exported from markdown files is removed. UsegetHeadings()
instead.Minor Changes
#9105
6201bbe96
Thanks @FredKSchott! - Update CLI logging experience#9200
b4b851f5a
Thanks @ematipico! - Adds a new way to configure thei18n.locales
array.Developers can now assign a custom URL path prefix that can span multiple language codes:
With the above configuration, the URL prefix of the default locale will be
/english/
. When computingAstro.preferredLocale
, Astro will use thecodes
.#9115
3b77889b4
Thanks @natemoo-re! - Adds theastro preferences
command to manage user preferences. User preferences are specific to individual Astro users, unlike theastro.config.mjs
file which changes behavior for everyone working on a project.User preferences are scoped to the current project by default, stored in a local
.astro/settings.json
file. Using the--global
flag, user preferences can also be applied to every Astro project on the current machine. Global user preferences are stored in an operating system-specific location.Configuration
📅 Schedule: Branch creation - "after 8am and before 5pm" in timezone Asia/Tokyo, 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.
🔕 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.