This repository was archived by the owner on Feb 22, 2024. It is now read-only.
fix(deps): update dependency astro to v4#426
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Deploying with
|
| Latest commit: |
0217454
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b893279c.sonicj.pages.dev |
| Branch Preview URL: | https://renovate-astro-4-x.sonicj.pages.dev |
renovate
Bot
force-pushed
the
renovate/astro-4.x
branch
3 times, most recently
from
December 11, 2023 12:47
e14a604 to
a801a84
Compare
renovate
Bot
force-pushed
the
renovate/astro-4.x
branch
3 times, most recently
from
December 20, 2023 18:13
b0f41e1 to
b2dede3
Compare
renovate
Bot
force-pushed
the
renovate/astro-4.x
branch
2 times, most recently
from
January 2, 2024 16:52
cae76ba to
abddfa7
Compare
renovate
Bot
force-pushed
the
renovate/astro-4.x
branch
3 times, most recently
from
January 11, 2024 08:53
a542e06 to
2be95d8
Compare
renovate
Bot
force-pushed
the
renovate/astro-4.x
branch
5 times, most recently
from
January 23, 2024 01:23
6ba63f4 to
4563c96
Compare
renovate
Bot
force-pushed
the
renovate/astro-4.x
branch
4 times, most recently
from
January 30, 2024 17:38
b6f065d to
3c5f02c
Compare
renovate
Bot
force-pushed
the
renovate/astro-4.x
branch
4 times, most recently
from
February 6, 2024 16:53
cc7ed95 to
c2d6b54
Compare
renovate
Bot
force-pushed
the
renovate/astro-4.x
branch
4 times, most recently
from
February 14, 2024 01:27
0e00586 to
31b96a8
Compare
renovate
Bot
force-pushed
the
renovate/astro-4.x
branch
from
February 15, 2024 13:49
31b96a8 to
9a8e758
Compare
renovate
Bot
force-pushed
the
renovate/astro-4.x
branch
from
February 20, 2024 15:23
9a8e758 to
145f258
Compare
renovate
Bot
force-pushed
the
renovate/astro-4.x
branch
from
February 21, 2024 21:36
145f258 to
0217454
Compare
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.10.12->4.4.2Release Notes
withastro/astro (astro)
v4.4.2Compare Source
Patch Changes
a46249173edde66b03c19441144272baa8394fb4Thanks @ematipico! - Fixes an issue with thei18n.routingtypes, where an internal transformation was causing the generation of incorrect types for integrations.v4.4.1Compare Source
Patch Changes
#9795
5acc3135ba5309a566def466fbcbabd23f70cd68Thanks @lilnasy! - Refactors internals relating to middleware, endpoints, and page rendering.#10105
1f598b372410066c6fcd41cba9915f6aaf7befa8Thanks @negativems! - Fixes an issue where some astro commands failed if the astro config file or an integration used the globalcryptoobject.#10165
d50dddb71d87ce5b7928920f10eb4946a5339f86Thanks @ematipico! - Fixes an issue where thei18n.routingobject had all its fields defined as mandatory. Now they all are optionals and shouldn't break when usingastro.config.mts.#10132
1da9c5f2f3fe70b0206d1b3e0c01744fa40d511cThanks @bluwy! - Simplifies internal Vite preview server teardown#10163
b92d35f1026f3e99abb888d1a845bdda4efdc327Thanks @mingjunlu! - Fixes an issue where audit fails to initialize when encountered<a>inside<svg>#10079
80f8996514e6d0546e94bd927650cd4ab2f1fa2fThanks @ktym4a! - Fix integrationData fetch to always be called even if View Transition is enabled.#10139
3c73441eb2eaba767d6dad1b30c0353195d28791Thanks @bluwy! - Fixes style-only change detection for Astro files if both the markup and styles are updatedv4.4.0Compare Source
Minor Changes
#9614
d469bebd7b45b060dc41d82ab1cf18ee6de7e051Thanks @matthewp! - Improves Node.js streaming performance.This uses an
AsyncIterableinstead of aReadableStreamto do streaming in Node.js. This is a non-standard enhancement by Node, which is done only in that environment.#10001
748b2e87cd44d8bcc1ab9d7e504703057e2000cdThanks @bholmesdev! - Removes content collection warning when a configured collection does not have a matching directory name. This should resolvei18ncollection warnings for Starlight users.This also ensures configured collection names are always included in
getCollection()andgetEntry()types even when a matching directory is absent. We hope this allows users to discover typos during development by surfacing type information.#10074
7443929381b47db0639c49a4d32aec4177bd9102Thanks @Princesseuh! - Add a UI showing the list of found problems when using the audit app in the dev toolbar#10099
b340f8fe3aaa81e38c4f1aa41498b159dc733d86Thanks @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: nameis unaffected.However, this fix may result in breaking changes if your project relies on the particular character encoding strategy Astro uses to translate
transition:namedirectives into values of the underlying CSSview-transition-nameproperty. For example,Welcome to Astrois now encoded asWelcome_20to_20Astro_2e.This mainly affects spaces and punctuation marks but no Unicode characters with codes >= 128.
#9976
91f75afbc642b6e73dd4ec18a1fe2c3128c68132Thanks @OliverSpeir! - Adds a new optionalastro:assetsimage attributeinferSizefor use with remote images.Remote images can now have their dimensions inferred just like local images. Setting
inferSizetotrueallows you to usegetImage()and the<Image />and<Picture />components without setting thewidthandheightproperties.v4.3.7Compare Source
Patch Changes
#9857
73bd900754365b006ee730df9f379ba924e5b3faThanks @iamyunsin! - Fixes false positives in the dev overlay audit when multiplerolevalues exist.#10075
71273edbb429b5afdba6f8ee14681b66e4c09eccThanks @lilnasy! - Improves error messages for island hydration.#10072
8106178043050d142bf385bed2990730518f28e2Thanks @lilnasy! - Clarifies error messages in endpoint routing.#9971
d9266c4467ca0faa1213c1a5995164e5655ab375Thanks @mingjunlu! - Fixes an issue where ReadableStream wasn't canceled in dev modev4.3.6Compare Source
Patch Changes
#10063
dac759798c111494e76affd2c2504d63944871feThanks @marwan-mohamed12! - Movesshikiji-corefromdevDependenciestodependenciesto prevent type errors#10067
989ea63bb2a5a670021541198aa70b8dc7c4bd2fThanks @ematipico! - Fixes a regression in theastro:i18nmodule, where the functionsgetAbsoluteLocaleUrlandgetAbsoluteLocaleUrlListreturned a URL with double slash with a certain combination of options.#10060
1810309e65c596266355c3b7bb36cdac70f3305eThanks @lilnasy! - Fixes an issue where custom client directives added by integrations broke builds with a custom root.#9991
8fb67c81bb84530b39df4a1449c0862def0854afThanks @ktym4a! - Increases compatibility with standard browser behavior by changing where view transitions occur on browser back navigation.v4.3.5Compare Source
Patch Changes
#10022
3fc76efb2a8faa47edf67562a1f0c84a19be1b33Thanks @lilnasy! - Fixes a regression where types for theastro:contentmodule did not include required exports, leading to typescript errors.#10016
037e4f12dd2f460d66f72c9f2d992b95e74d2da9Thanks @ematipico! - Fixes a bug where routes with a name that start with the name of thei18n.defaultLocalewere incorrectly returning a 404 response.v4.3.4Compare Source
Patch Changes
#10013
e6b5306a7de779ce495d0ff076d302de0aa57eafThanks @delucis! - Fixes a regression in content collection types#10003
ce4283331f18c6178654dd705e3cf02efeef004aThanks @bholmesdev! - Adds support for.strict()on content collection schemas when a customslugis present.v4.3.3Compare Source
Patch Changes
#9998
18ac0940ea1b49b6b0ddd9be1f96aef416e2d7eeThanks @ematipico! - Fixes a bug inAstro.currentLocalethat wasn't returning the correct locale when a locale is configured viapath#9998
18ac0940ea1b49b6b0ddd9be1f96aef416e2d7eeThanks @ematipico! - Fixes a regression inAstro.currentLocalewhere it stopped working properly with dynamic routes#9956
81acac24a3cac5a9143155c1d9f838ea84a70421Thanks @matthewp! - Fixes HMR for MDX dependencies in Content Collections#9999
c53a31321a935e4be04809046d7e0ba3cc41b272Thanks @MoustaphaDev! - Rollbacks the feature which allowed to dynamically generate slots with variable slot names due to unexpected regressions.#9906
3c0876cbed5033e6b5b42cc2b9d8b393d7e5a55eThanks @florian-lefebvre! - Improves the types for theastro:contentmodule by making low fidelity types available before runningastro syncv4.3.2Compare Source
Patch Changes
#9932
9f0d89fa7e9e7c08c8600b0c49c2cce7489a7582Thanks @ematipico! - Fixes a case where a warning was logged even when the featurei18nDomainswasn't enabled#9907
6c894af5ab79f290f4ff7feb68617a66e91febc1Thanks @ktym4a! - Load 404.html on all non-existent paths on astro preview.v4.3.1Compare Source
Patch Changes
#9841
27ea080e24e2c5cdc59b63b1dfe0a83a0c696597Thanks @kristianbinau! - Makes the warning clearer when having a custombaseand requesting a public URL without it#9888
9d2fdb293d6a7323e10126cebad18ef9a2ea2800Thanks @natemoo-re! - Improves error handling logic for theastro synccommand.#9918
d52529e09450c84933dd15d6481edb32269f537bThanks @LarryIVC! - Adds thenameattribute to the<details>tag type#9938
1568afb78a163db63a4cde146dec87785a83db1dThanks @lilnasy! - Fixes a regression where middleware did not run for prerendered pages and endpoints.#9931
44674418965d658733d3602668a9354e18f8ef89Thanks @lilnasy! - Fixes a regression where a response created withResponse.redirector containingnullas the body never completed in node-based adapters.v4.3.0Compare Source
Minor Changes
58f9e393a188702eef5329e41deff3dcb65a3230Thanks @Princesseuh! - Adds a newComponentPropstype export fromastro/typesto get the props type of an Astro component.v4.2.8Compare Source
Patch Changes
#9884
37369550ab57ca529fd6c796e5b0e96e897ca6e5Thanks @lilnasy! - Fixes an issue where multiple cookies were sent in a single Set-Cookie header in the dev mode.#9876
e9027f194b939ac5a4d795ee1a2c24e4a6fbefc0Thanks @friedemannsommer! - Fixes an issue where usingResponse.redirectin an endpoint led to an error.#9882
13c3b712c7ba45d0081f459fc06f142216a4ec59Thanks @natemoo-re! - Improves handling of YAML parsing errors#9878
a40a0ff5883c7915dd55881dcebd052b9f94a0ebThanks @lilnasy! - Fixes an issue where setting trailingSlash to "never" had no effect onAstro.url.v4.2.7Compare Source
Patch Changes
#9840
70fdf1a5c660057152c1ca111dcc89ceda5c8840Thanks @delucis! - ExposeContentConfigtype fromastro:content#9865
00ba9f1947ca9016cd0ee4d8f6048027fab2ab9aThanks @ematipico! - Fixes a bug inAstro.currentLocalewhere the value was incorrectly computed during the build.#9838
0a06d87a1e2b94be00a954f350c184222fa0594dThanks @lilnasy! - Fixes an issue whereastro:i18ncould not be used in framework components.Updated dependencies [
44c957f893c6bf5f5b7c78301de7b21c5975584d]:v4.2.6Compare Source
Patch Changes
#9825
e4370e9e9dd862425eced25823c82e77d9516927Thanks @tugrulates! - Fixes false positive aria role errors on interactive elements#9828
a3df9d83ca92abb5f08f576631019c1604204bd9Thanks @ematipico! - Fixes a case where shared modules among pages and middleware were transformed to a no-op after the build.#9834
1885cea308a62b173a50967cf5a0b174b3c3f3f1Thanks @Princesseuh! - Fixes third-party dev toolbar apps not loading correctly when using absolute paths on Windowsv4.2.5Compare Source
Patch Changes
#9818
d688954c5adba75b0d676694fbf5fb0da1c0af13Thanks @Princesseuh! - Improves the wording of a few confusing error messages#9680
5d7db1dbb0ff06db98e08b0ca241ff09d0b8b44dThanks @loucyx! - Fixes types generation from Content Collections config file#9822
bd880e8437ea2df16f322f604865c1148a9fd4cfThanks @liruifengv! - Applies the correct escaping to identifiers used withtransition:name.#9830
f3d22136e53fd902310024519fc4de83f0a58039Thanks @lilnasy! - Fixes an issue where 404 responses from endpoints were replaced with contents of 404.astro in dev mode.#9816
2a44c8f93201958fba2d1e83046eabcaef186b7cThanks @Princesseuh! - Adds telemetry for when apps are toggled in the dev toolbar. This data is completely anonymous and only the names of built-in apps are shared with us. This data will help us monitor how much the dev toolbar is used and which apps are used more. For more information on how Astro collects telemetry, visit the following page: https://astro.build/telemetry/#9807
b3f313138bb314e2b416c29cda507383c2a9f816Thanks @bluwy! - Fixes environment variables replacement forexport const prerender#9790
267c5aa2c7706f0ea3447f20a09d85aa560866adThanks @lilnasy! - Refactors internals of theastro:i18nmodule to be more maintainable.#9776
dc75180aa698b298264362bab7f00391af427798Thanks @lilnasy! - Simplifies internals that handle middleware.v4.2.4Compare Source
Patch Changes
#9792
e22cb8b10c0ca9f6d88cab53cd2713f57875ab4bThanks @tugrulates! - Accept aria roleswitchon toolbar audit.#9606
e6945bcf23b6ad29388bbadaf5bb3cc31dd4a114Thanks @eryue0220! - Fixes escaping behavior for.htmlfiles and components#9786
5b29550996a7f5459a0d611feea6e51d44e1d8edThanks @Fryuni! - Fixes a regression in routing priority for index pages in rest parameter folders and dynamic sibling trees.Considering the following tree:
The routes are sorted in this order:
This allows for index files to be used as overrides to rest parameter routes on SSR when the rest parameter matching
undefinedis not desired.#9775
075706f26d2e11e66ef8b52288d07e3c0fa97eb1Thanks @lilnasy! - Simplifies internals that handle endpoints.#9773
9aa7a5368c502ae488d3a173e732d81f3d000e98Thanks @LunaticMuch! - Raises the required vite version to address a vulnerability invite.server.fs.denythat affected the dev mode.#9781
ccc05d54014e24c492ca5fddd4862f318aac8172Thanks @stevenbenner! - Fix build failure when image file name includes special charactersv4.2.3Compare Source
Patch Changes
eed0e8757c35dde549707e71c45862438a043fb0Thanks @Princesseuh! - Fix apps being able to crash the dev toolbar in certain casesv4.2.2Compare Source
Patch Changes
#9712
ea6cbd06a2580527786707ec735079ff9abd0ec0Thanks @bluwy! - Improves HMR behavior for style-only changes in.astrofiles#9739
3ecb3ef64326a8f77aa170df1e3c89cb5c12cc93Thanks @ematipico! - Makes i18n redirects take thebuild.formatconfiguration into account#9762
1fba85681e86aa83d24336d4209cafbc76b37607Thanks @ematipico! - Addspopovertarget" to the attribute that can be passed to thebutton` element#9605
8ce40a417c854d9e6a4fa7d5a85d50a6436b4a3cThanks @MoustaphaDev! - Adds support for dynamic slot names#9381
9e01f9cc1efcfb938355829676d51b24818ab2bbThanks @martrapp! - Improves the CLI output ofastro preferences listto include additional relevant information#9741
73d74402007896204ee965f6553dc83b3dec8d2fThanks @taktran! - Fixes an issue where dot files were not copied over from the public folder to the output folder, when build command was run in a folder other than the root of the project.#9730
8d2e5db096f1e7b098511b4fe9357434a6ff0703Thanks @Blede2000! - Allow i18n routing utilities like getRelativeLocaleUrl to also get the default local path when redirectToDefaultLocale is falseUpdated dependencies [
53c69dcc82cdf4000aff13a6c11fffe19096cf45,2f81cffa9da9db0e2802d303f94feaee8d2f54ec,a505190933365268d48139a5f197a3cfb5570870]:v4.2.1Compare Source
Patch Changes
a4b696def3a7eb18c1ae48b10fd3758a1874b6feThanks @Fryuni! - Fixes a regression in routing priority betweenindex.astroand dynamic routes with rest parametersv4.2.0Compare Source
Minor Changes
#9566
165cfc154be477337037185c32b308616d1ed6faThanks @OliverSpeir! - Allows remark plugins to pass options specifying how images in.mdfiles will be optimized#9661
d6edc7540864cf5d294d7b881eb886a3804f6d05Thanks @ematipico! - Adds new helper functions for adapter developers.Astro.clientAddresscan now be passed directly to theapp.render()method.RequestandResponseobjects are now provided as static methods on theNodeAppclass.Astro.cookies.set()can now be automatically added to theResponseobject by passing theaddCookieHeaderoption toapp.render().#9638
f1a61268061b8834f39a9b38bca043ae41caed04Thanks @ematipico! - Adds a newi18n.routingconfig optionredirectToDefaultLocaleto disable automatic redirects of the root URL (/) to the default locale whenprefixDefaultLocale: trueis 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.astroshould automatically redirect your site visitors from/to/[defaultLocale].You can now opt out of this automatic redirection by setting
redirectToDefaultLocale: false:#9671
8521ff77fbf7e867701cc30d18253856914dbd1bThanks @bholmesdev! - Removes the requirement for non-content files and assets inside content collections to be prefixed with an underscore. For files with extensions like.astroor.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
3a4d5ec8001ebf95c917fdc0d186d29650533d93Thanks @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
e9a72d9a91a3741566866bcaab11172cb0dc7d31Thanks @blackmann! - Adds a newmarkdown.shikiConfig.transformersconfig 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
a5f1682347e602330246129d4666a9227374c832Thanks @rossrobino! - Adds an experimental flagclientPrerenderto prerender your prefetched pages on the client with the Speculation Rules API.Enabling this feature overrides the default
prefetchbehavior globally to prerender links on the client according to yourprefetchconfiguration. 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,
prefetchwill fallback to the supported strategy.See the Prefetch Guide for more
prefetchoptions and usage.#9439
fd17f4a40b83d14350dce691aeb79d87e8fcaf40Thanks @Fryuni! - Adds an experimental flagglobalRoutePriorityto 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->/blogURLs are handled by the following routes:
/blog/tags/astro/blog/[...slug]/tags/[tag]/blog/post/0/blog/[...slug]/blog/post/[pid]/posts/[page]/blogIn 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
7e1db8b4ce2da9e044ea0393e533c6db2561ac90Thanks @bluwy! - Refactors Vite config to avoid Vite 5.1 warnings#9439
fd17f4a40b83d14350dce691aeb79d87e8fcaf40Thanks @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].astrowill build routes of the form/blog/posts/1and/blog/posts/a/pages/blog/[...slug].astrowill build routes of a variety of forms, includingblog/1and/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
1539e04a8e5865027b3a8718c6f142885e7c8d88Thanks @bluwy! - Simplifies HMR handling, improves circular dependency invalidation, and fixes Astro styles invalidationUpdated dependencies [
165cfc154be477337037185c32b308616d1ed6fa,e9a72d9a91a3741566866bcaab11172cb0dc7d31]:v4.1.3Compare Source
Patch Changes
#9665
d02a3c48a3ce204649d22e17b1e26fb5a6a60bcfThanks @bluwy! - Disables internal file watcher for one-off Vite servers to improve start-up performance#9664
1bf0ddd2777ae5f9fde3fd854a9e75aa56c080f2Thanks @bluwy! - Improves HMR for Astro style and script modules#9668
74008cc23853ed507b144efab02300202c5386edThanks @Princesseuh! - Fix the passthrough image service not generatingsrcsetvalues properly#9693
d38b2a4fe827e956662fcf457d1f1f84832c2f15Thanks @kidylee! - Disables View Transition form handling when theactionproperty points to an external URL#9678
091097e60ef38dadb87d7c8c1fc9cb939a248921Thanks @ematipico! - Adds an error during the build phase in casei18n.routing.prefixDefaultLocaleis set totrueand the index page is missing.#9659
39050c6e1f77dc21e87716d95e627a654828ee74Thanks @Princesseuh! - Fix Astro wrongfully deleting certain images imported with?urlwhen used in tandem withastro:assets#9685
35d54b3ddb3310ab4c505d49bd4937b2d25e4078Thanks @lilnasy! - Fixes an issue where anchor elements within a custom component could not trigger a view transition.v4.1.2Compare Source
Patch Changes
#9642
cdb7bfa66260afc79b829b617492a01a709a86efThanks @martrapp! - Fixes an issue where View Transitions did not work when navigating to the 404 page#9637
5cba637c4ec39c06794146b0c7fd3225d26dcabbThanks @bluwy! - Improves environment variables replacement in SSR#9658
a3b5695176cd0280438938c1d6caef478a571415Thanks @martrapp! - Fixes an issue caused by trying to load text/partytown scripts during view transitions#9657
a4f90d95ff97abe59f2a1ef0956cab257ae36838Thanks @ematipico! - Fixes a bug where the custom status code wasn't correctly computed in the dev server#9627
a700a20291e19cde23705e8e661e833aec7d3095Thanks @lilnasy! - Adds a warning when setting cookies will have no effect#9652
e72efd6a9a1e2a70488fd225529617ffd8418534Thanks @bluwy! - Improves environment variables handling by using esbuild to perform replacements#9560
8b9c4844f7b302380835154fab1c3489979fc07dThanks @bluwy! - Fixes tsconfig alias with import.meta.glob#9653
50f39183cfec4a4522c1f935d710e5d9b724993bThanks @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.1Compare Source
Patch Changes
#9618
401fd3e8c8957a3bed6469a622cd67b157ca303fThanks @ldh3907! - Adds a second generic parameter toAPIRouteto type theparams#9600
47b951b3888a5a8a708d2f9b974f12fba7ec9ed3Thanks @jacobdalamb! - Improves tailwind config file detection when adding the tailwind integration usingastro add tailwindTailwind config file ending in
.ts,.mtsor.ctswill now be used instead of creating a newtailwind.config.mjswhen the tailwind integration is added usingastro add tailwind.#9622
5156c740506cbf6ec85c95e1663c14cbd438d75bThanks @bluwy! - Fixes the Sharp image servicelimitInputPixelsoption typev4.1.0Compare Source
Minor Changes
#9513
e44f6acf99195a3f29b8390fd9b2c06410551b74Thanks @wtto00! - Adds a'load'prefetch strategy to prefetch links on page load#9377
fe719e27a84c09e46b515252690678c174a25759Thanks @bluwy! - Adds "Missing ARIA roles check" and "Unsupported ARIA roles check" audit rules for the dev toolbar#9573
2a8b9c56b9c6918531c57ec38b89474571331aeeThanks @bluwy! - Allows passing a string to--openandserver.opento open a specific URL on startup in development#9544
b8a6fa8917ff7babd35dafb3d3dcd9a58cee836dThanks @bluwy! - Adds a helpful error for static sites when you use theastro previewcommand if you have not previously runastro build.#9546
08402ad5846c73b6887e74ed4575fd71a3e3c73dThanks @bluwy! - Adds an option for the Sharp image service to allow large images to be processed. SetlimitInputPixels: falseto bypass the default image size limit:#9596
fbc26976533bbcf2de9d6dba1aa3ea3dc6ce0853Thanks @Princesseuh! - Adds the ability to set arootMarginsetting when using theclient:visibledirective. This allows a component to be hydrated when it is near the viewport, rather than hydrated when it has entered the viewport.#9063
f33fe3190b482a42ebc68cc5275fd7f2c49102e6Thanks @alex-sherwin! - Cookie encoding / decoding can now be customizedAdds new
encodeanddecodefunctions to allow customizing how cookies are encoded and decoded. For example, you can bypass the default encoding viaencodeURIComponentwhen adding a URL as part of a cookie:v4.0.9Compare Source
Patch Changes
#9571
ec71f03cfd9b8195fb21c92dfda0eff63b6ebeedThanks @bluwy! - Removes telemetry for unhandled errors in the dev server#9548
8049f0cd91b239c52e37d571e3ba3e703cf0e4cfThanks @bluwy! - Fixes error overlay display on URI malformed error#9504
8cc3d6aa46f438d668516539c34b48ad748ade39Thanks @matiboux! - Implement i18n'sgetLocaleByPathfunction#9547
22f42d11a4fd2e154a0c5873c4f516584e383b70Thanks @bluwy! - Prevents ANSI codes from rendering in the error overlay#9446
ede3f7fef6b43a08c9371f7a2531e2eef858b94dThanks @alexnguyennz! - Toggle dev toolbar hitbox height when toolbar is visible#9572
9f6453cf4972ac28eec4f07a1373feaa295c8864Thanks @bluwy! - Documents supported--hostand--portflags inastro preview --help#9540
7f212f0831d8cd899a86fb94899a7cad8ec280dbThanks @matthewp! - Fixes remote images with encoded characters#9559
8b873bf1f343efc1f486d8ef53c38380e2373c08Thanks @sygint! - Adds 'starlight' to the displayed options forastro add#9537
16e61fcacb98e6bd948ac240bc082659d70193a4Thanks @walter9388! -<Image />srcset now parses encoded paths correctlyv4.0.8Compare Source
Patch Changes
#9522
bb1438d20d325acd15f3755c6e306e45a7c64bcdThanks @Zegnat! - Add support for autocomplete attribute to the HTML button type.#9531
662f06fd9fae377bed1aaa49adbba3542cced087Thanks @bluwy! - Fixes duplicated CSS modules content when it's imported by both Astro files and framework components#9501
eb36e95596fcdb3db4a31744e910495e22e3af84Thanks @Princesseuh! - Export JSX namespace fromastro/jsx-runtimefor language tooling to consume#9492
89a2a07c2e411cda32244b7b05d3c79e93f7dd84Thanks @lilnasy! - Improves error message for the case where two similarly named files result in the same content entry.[#9532](https://togithub.com/withastro/astro/pull/9
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.
🔕 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.