ddanielsantos / blog

https://ddaniel.me
1 stars 0 forks source link

fix(deps): update dependency astro to v4.4.4 #110

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
astro (source) 4.0.1 -> 4.4.4 age adoption passing confidence

Release Notes

withastro/astro (astro) ### [`v4.4.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#444) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.4.3...astro@4.4.4) ##### Patch Changes - [#​10195](https://togithub.com/withastro/astro/pull/10195) [`903eace233033998811b72e27a54c80d8e59ff37`](https://togithub.com/withastro/astro/commit/903eace233033998811b72e27a54c80d8e59ff37) Thanks [@​1574242600](https://togithub.com/1574242600)! - Fix build failure caused by read-only files under /public (in the presence of client-side JS). - [#​10205](https://togithub.com/withastro/astro/pull/10205) [`459f74bc71748279fe7dce0688f38bd74b51c5c1`](https://togithub.com/withastro/astro/commit/459f74bc71748279fe7dce0688f38bd74b51c5c1) Thanks [@​martrapp](https://togithub.com/martrapp)! - Adds an error message for non-string transition:name values - [#​10208](https://togithub.com/withastro/astro/pull/10208) [`8cd38f02456640c063552aef00b2b8a216b3935d`](https://togithub.com/withastro/astro/commit/8cd38f02456640c063552aef00b2b8a216b3935d) Thanks [@​log101](https://togithub.com/log101)! - Fixes custom headers are not added to the Node standalone server responses in preview mode ### [`v4.4.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#443) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.4.2...astro@4.4.3) ##### Patch Changes - [#​10143](https://togithub.com/withastro/astro/pull/10143) [`7c5fcd2fa817472f480bbfbbc11b9ed71a7210ab`](https://togithub.com/withastro/astro/commit/7c5fcd2fa817472f480bbfbbc11b9ed71a7210ab) Thanks [@​bluwy](https://togithub.com/bluwy)! - Improves the default `optimizeDeps.entries` Vite config to avoid globbing server endpoints, and respect the `srcDir` option - [#​10197](https://togithub.com/withastro/astro/pull/10197) [`c856c729404196900a7386c8426b81e79684a6a9`](https://togithub.com/withastro/astro/commit/c856c729404196900a7386c8426b81e79684a6a9) Thanks [@​Princesseuh](https://togithub.com/Princesseuh)! - Fixes errors being logged twice in some cases - [#​10166](https://togithub.com/withastro/astro/pull/10166) [`598f30c7cd6c88558e3806d9bc5a15d426d83992`](https://togithub.com/withastro/astro/commit/598f30c7cd6c88558e3806d9bc5a15d426d83992) Thanks [@​bluwy](https://togithub.com/bluwy)! - Improves Astro style tag HMR when updating imported styles - [#​10194](https://togithub.com/withastro/astro/pull/10194) [`3cc20109277813ccb9578ca87a8b0d680a73c35c`](https://togithub.com/withastro/astro/commit/3cc20109277813ccb9578ca87a8b0d680a73c35c) Thanks [@​matthewp](https://togithub.com/matthewp)! - Fixes an issue related to content collections usage in browser context caused by `csssec` ### [`v4.4.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#442) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.4.1...astro@4.4.2) ##### Patch Changes - [#​10169](https://togithub.com/withastro/astro/pull/10169) [`a46249173edde66b03c19441144272baa8394fb4`](https://togithub.com/withastro/astro/commit/a46249173edde66b03c19441144272baa8394fb4) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes an issue with the `i18n.routing` types, where an internal transformation was causing the generation of incorrect types for integrations. ### [`v4.4.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#441) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.4.0...astro@4.4.1) ##### Patch Changes - [#​9795](https://togithub.com/withastro/astro/pull/9795) [`5acc3135ba5309a566def466fbcbabd23f70cd68`](https://togithub.com/withastro/astro/commit/5acc3135ba5309a566def466fbcbabd23f70cd68) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Refactors internals relating to middleware, endpoints, and page rendering. - [#​10105](https://togithub.com/withastro/astro/pull/10105) [`1f598b372410066c6fcd41cba9915f6aaf7befa8`](https://togithub.com/withastro/astro/commit/1f598b372410066c6fcd41cba9915f6aaf7befa8) Thanks [@​negativems](https://togithub.com/negativems)! - Fixes an issue where some astro commands failed if the astro config file or an integration used the global `crypto` object. - [#​10165](https://togithub.com/withastro/astro/pull/10165) [`d50dddb71d87ce5b7928920f10eb4946a5339f86`](https://togithub.com/withastro/astro/commit/d50dddb71d87ce5b7928920f10eb4946a5339f86) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes an issue where the `i18n.routing` object had all its fields defined as mandatory. Now they all are optionals and shouldn't break when using `astro.config.mts`. - [#​10132](https://togithub.com/withastro/astro/pull/10132) [`1da9c5f2f3fe70b0206d1b3e0c01744fa40d511c`](https://togithub.com/withastro/astro/commit/1da9c5f2f3fe70b0206d1b3e0c01744fa40d511c) Thanks [@​bluwy](https://togithub.com/bluwy)! - Simplifies internal Vite preview server teardown - [#​10163](https://togithub.com/withastro/astro/pull/10163) [`b92d35f1026f3e99abb888d1a845bdda4efdc327`](https://togithub.com/withastro/astro/commit/b92d35f1026f3e99abb888d1a845bdda4efdc327) Thanks [@​mingjunlu](https://togithub.com/mingjunlu)! - Fixes an issue where audit fails to initialize when encountered `` inside `` - [#​10079](https://togithub.com/withastro/astro/pull/10079) [`80f8996514e6d0546e94bd927650cd4ab2f1fa2f`](https://togithub.com/withastro/astro/commit/80f8996514e6d0546e94bd927650cd4ab2f1fa2f) Thanks [@​ktym4a](https://togithub.com/ktym4a)! - Fix integrationData fetch to always be called even if View Transition is enabled. - [#​10139](https://togithub.com/withastro/astro/pull/10139) [`3c73441eb2eaba767d6dad1b30c0353195d28791`](https://togithub.com/withastro/astro/commit/3c73441eb2eaba767d6dad1b30c0353195d28791) Thanks [@​bluwy](https://togithub.com/bluwy)! - Fixes style-only change detection for Astro files if both the markup and styles are updated ### [`v4.4.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#440) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.3.7...astro@4.4.0) ##### Minor Changes - [#​9614](https://togithub.com/withastro/astro/pull/9614) [`d469bebd7b45b060dc41d82ab1cf18ee6de7e051`](https://togithub.com/withastro/astro/commit/d469bebd7b45b060dc41d82ab1cf18ee6de7e051) Thanks [@​matthewp](https://togithub.com/matthewp)! - Improves Node.js streaming performance. This uses an `AsyncIterable` instead of a `ReadableStream` to do streaming in Node.js. This is a non-standard enhancement by Node, which is done only in that environment. - [#​10001](https://togithub.com/withastro/astro/pull/10001) [`748b2e87cd44d8bcc1ab9d7e504703057e2000cd`](https://togithub.com/withastro/astro/commit/748b2e87cd44d8bcc1ab9d7e504703057e2000cd) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Removes content collection warning when a configured collection does not have a matching directory name. This should resolve `i18n` collection warnings for Starlight users. This also ensures configured collection names are always included in `getCollection()` and `getEntry()` types even when a matching directory is absent. We hope this allows users to discover typos during development by surfacing type information. - [#​10074](https://togithub.com/withastro/astro/pull/10074) [`7443929381b47db0639c49a4d32aec4177bd9102`](https://togithub.com/withastro/astro/commit/7443929381b47db0639c49a4d32aec4177bd9102) Thanks [@​Princesseuh](https://togithub.com/Princesseuh)! - Add a UI showing the list of found problems when using the audit app in the dev toolbar - [#​10099](https://togithub.com/withastro/astro/pull/10099) [`b340f8fe3aaa81e38c4f1aa41498b159dc733d86`](https://togithub.com/withastro/astro/commit/b340f8fe3aaa81e38c4f1aa41498b159dc733d86) Thanks [@​martrapp](https://togithub.com/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: name` is unaffected. However, this fix may result in breaking changes if your project relies on the particular character encoding strategy Astro uses to translate `transition:name` directives into values of the underlying CSS `view-transition-name` property. For example, `Welcome to Astro` is now encoded as `Welcome_20to_20Astro_2e`. This mainly affects spaces and punctuation marks but no Unicode characters with codes >= 128. - [#​9976](https://togithub.com/withastro/astro/pull/9976) [`91f75afbc642b6e73dd4ec18a1fe2c3128c68132`](https://togithub.com/withastro/astro/commit/91f75afbc642b6e73dd4ec18a1fe2c3128c68132) Thanks [@​OliverSpeir](https://togithub.com/OliverSpeir)! - Adds a new optional `astro:assets` image attribute `inferSize` for use with remote images. Remote images can now have their dimensions inferred just like local images. Setting `inferSize` to `true` allows you to use `getImage()` and the `` and `` components without setting the `width` and `height` properties. ### [`v4.3.7`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#437) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.3.6...astro@4.3.7) ##### Patch Changes - [#​9857](https://togithub.com/withastro/astro/pull/9857) [`73bd900754365b006ee730df9f379ba924e5b3fa`](https://togithub.com/withastro/astro/commit/73bd900754365b006ee730df9f379ba924e5b3fa) Thanks [@​iamyunsin](https://togithub.com/iamyunsin)! - Fixes false positives in the dev overlay audit when multiple `role` values exist. - [#​10075](https://togithub.com/withastro/astro/pull/10075) [`71273edbb429b5afdba6f8ee14681b66e4c09ecc`](https://togithub.com/withastro/astro/commit/71273edbb429b5afdba6f8ee14681b66e4c09ecc) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Improves error messages for island hydration. - [#​10072](https://togithub.com/withastro/astro/pull/10072) [`8106178043050d142bf385bed2990730518f28e2`](https://togithub.com/withastro/astro/commit/8106178043050d142bf385bed2990730518f28e2) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Clarifies error messages in endpoint routing. - [#​9971](https://togithub.com/withastro/astro/pull/9971) [`d9266c4467ca0faa1213c1a5995164e5655ab375`](https://togithub.com/withastro/astro/commit/d9266c4467ca0faa1213c1a5995164e5655ab375) Thanks [@​mingjunlu](https://togithub.com/mingjunlu)! - Fixes an issue where ReadableStream wasn't canceled in dev mode ### [`v4.3.6`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#436) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.3.5...astro@4.3.6) ##### Patch Changes - [#​10063](https://togithub.com/withastro/astro/pull/10063) [`dac759798c111494e76affd2c2504d63944871fe`](https://togithub.com/withastro/astro/commit/dac759798c111494e76affd2c2504d63944871fe) Thanks [@​marwan-mohamed12](https://togithub.com/marwan-mohamed12)! - Moves `shikiji-core` from `devDependencies` to `dependencies` to prevent type errors - [#​10067](https://togithub.com/withastro/astro/pull/10067) [`989ea63bb2a5a670021541198aa70b8dc7c4bd2f`](https://togithub.com/withastro/astro/commit/989ea63bb2a5a670021541198aa70b8dc7c4bd2f) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes a regression in the `astro:i18n` module, where the functions `getAbsoluteLocaleUrl` and `getAbsoluteLocaleUrlList` returned a URL with double slash with a certain combination of options. - [#​10060](https://togithub.com/withastro/astro/pull/10060) [`1810309e65c596266355c3b7bb36cdac70f3305e`](https://togithub.com/withastro/astro/commit/1810309e65c596266355c3b7bb36cdac70f3305e) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Fixes an issue where custom client directives added by integrations broke builds with a custom root. - [#​9991](https://togithub.com/withastro/astro/pull/9991) [`8fb67c81bb84530b39df4a1449c0862def0854af`](https://togithub.com/withastro/astro/commit/8fb67c81bb84530b39df4a1449c0862def0854af) Thanks [@​ktym4a](https://togithub.com/ktym4a)! - Increases compatibility with standard browser behavior by changing where view transitions occur on browser back navigation. ### [`v4.3.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#435) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.3.4...astro@4.3.5) ##### Patch Changes - [#​10022](https://togithub.com/withastro/astro/pull/10022) [`3fc76efb2a8faa47edf67562a1f0c84a19be1b33`](https://togithub.com/withastro/astro/commit/3fc76efb2a8faa47edf67562a1f0c84a19be1b33) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Fixes a regression where types for the `astro:content` module did not include required exports, leading to typescript errors. - [#​10016](https://togithub.com/withastro/astro/pull/10016) [`037e4f12dd2f460d66f72c9f2d992b95e74d2da9`](https://togithub.com/withastro/astro/commit/037e4f12dd2f460d66f72c9f2d992b95e74d2da9) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes a bug where routes with a name that start with the name of the `i18n.defaultLocale` were incorrectly returning a 404 response. ### [`v4.3.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#434) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.3.3...astro@4.3.4) ##### Patch Changes - [#​10013](https://togithub.com/withastro/astro/pull/10013) [`e6b5306a7de779ce495d0ff076d302de0aa57eaf`](https://togithub.com/withastro/astro/commit/e6b5306a7de779ce495d0ff076d302de0aa57eaf) Thanks [@​delucis](https://togithub.com/delucis)! - Fixes a regression in content collection types - [#​10003](https://togithub.com/withastro/astro/pull/10003) [`ce4283331f18c6178654dd705e3cf02efeef004a`](https://togithub.com/withastro/astro/commit/ce4283331f18c6178654dd705e3cf02efeef004a) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Adds support for `.strict()` on content collection schemas when a custom `slug` is present. ### [`v4.3.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#433) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.3.2...astro@4.3.3) ##### Patch Changes - [#​9998](https://togithub.com/withastro/astro/pull/9998) [`18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee`](https://togithub.com/withastro/astro/commit/18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes a bug in `Astro.currentLocale` that wasn't returning the correct locale when a locale is configured via `path` - [#​9998](https://togithub.com/withastro/astro/pull/9998) [`18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee`](https://togithub.com/withastro/astro/commit/18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes a regression in `Astro.currentLocale` where it stopped working properly with dynamic routes - [#​9956](https://togithub.com/withastro/astro/pull/9956) [`81acac24a3cac5a9143155c1d9f838ea84a70421`](https://togithub.com/withastro/astro/commit/81acac24a3cac5a9143155c1d9f838ea84a70421) Thanks [@​matthewp](https://togithub.com/matthewp)! - Fixes HMR for MDX dependencies in Content Collections - [#​9999](https://togithub.com/withastro/astro/pull/9999) [`c53a31321a935e4be04809046d7e0ba3cc41b272`](https://togithub.com/withastro/astro/commit/c53a31321a935e4be04809046d7e0ba3cc41b272) Thanks [@​MoustaphaDev](https://togithub.com/MoustaphaDev)! - Rollbacks the feature which allowed to dynamically generate slots with variable slot names due to unexpected regressions. - [#​9906](https://togithub.com/withastro/astro/pull/9906) [`3c0876cbed5033e6b5b42cc2b9d8b393d7e5a55e`](https://togithub.com/withastro/astro/commit/3c0876cbed5033e6b5b42cc2b9d8b393d7e5a55e) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Improves the types for the `astro:content` module by making low fidelity types available before running `astro sync` ### [`v4.3.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#432) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.3.1...astro@4.3.2) ##### Patch Changes - [#​9932](https://togithub.com/withastro/astro/pull/9932) [`9f0d89fa7e9e7c08c8600b0c49c2cce7489a7582`](https://togithub.com/withastro/astro/commit/9f0d89fa7e9e7c08c8600b0c49c2cce7489a7582) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes a case where a warning was logged even when the feature `i18nDomains` wasn't enabled - [#​9907](https://togithub.com/withastro/astro/pull/9907) [`6c894af5ab79f290f4ff7feb68617a66e91febc1`](https://togithub.com/withastro/astro/commit/6c894af5ab79f290f4ff7feb68617a66e91febc1) Thanks [@​ktym4a](https://togithub.com/ktym4a)! - Load 404.html on all non-existent paths on astro preview. ### [`v4.3.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#431) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.3.0...astro@4.3.1) ##### Patch Changes - [#​9841](https://togithub.com/withastro/astro/pull/9841) [`27ea080e24e2c5cdc59b63b1dfe0a83a0c696597`](https://togithub.com/withastro/astro/commit/27ea080e24e2c5cdc59b63b1dfe0a83a0c696597) Thanks [@​kristianbinau](https://togithub.com/kristianbinau)! - Makes the warning clearer when having a custom `base` and requesting a public URL without it - [#​9888](https://togithub.com/withastro/astro/pull/9888) [`9d2fdb293d6a7323e10126cebad18ef9a2ea2800`](https://togithub.com/withastro/astro/commit/9d2fdb293d6a7323e10126cebad18ef9a2ea2800) Thanks [@​natemoo-re](https://togithub.com/natemoo-re)! - Improves error handling logic for the `astro sync` command. - [#​9918](https://togithub.com/withastro/astro/pull/9918) [`d52529e09450c84933dd15d6481edb32269f537b`](https://togithub.com/withastro/astro/commit/d52529e09450c84933dd15d6481edb32269f537b) Thanks [@​LarryIVC](https://togithub.com/LarryIVC)! - Adds the `name` attribute to the `
` tag type - [#​9938](https://togithub.com/withastro/astro/pull/9938) [`1568afb78a163db63a4cde146dec87785a83db1d`](https://togithub.com/withastro/astro/commit/1568afb78a163db63a4cde146dec87785a83db1d) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Fixes a regression where middleware did not run for prerendered pages and endpoints. - [#​9931](https://togithub.com/withastro/astro/pull/9931) [`44674418965d658733d3602668a9354e18f8ef89`](https://togithub.com/withastro/astro/commit/44674418965d658733d3602668a9354e18f8ef89) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Fixes a regression where a response created with `Response.redirect` or containing `null` as the body never completed in node-based adapters. ### [`v4.3.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#430) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.2.8...astro@4.3.0) ##### Minor Changes - [#​9839](https://togithub.com/withastro/astro/pull/9839) [`58f9e393a188702eef5329e41deff3dcb65a3230`](https://togithub.com/withastro/astro/commit/58f9e393a188702eef5329e41deff3dcb65a3230) Thanks [@​Princesseuh](https://togithub.com/Princesseuh)! - Adds a new `ComponentProps` type export from `astro/types` to get the props type of an Astro component. ### [`v4.2.8`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#428) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.2.7...astro@4.2.8) ##### Patch Changes - [#​9884](https://togithub.com/withastro/astro/pull/9884) [`37369550ab57ca529fd6c796e5b0e96e897ca6e5`](https://togithub.com/withastro/astro/commit/37369550ab57ca529fd6c796e5b0e96e897ca6e5) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Fixes an issue where multiple cookies were sent in a single Set-Cookie header in the dev mode. - [#​9876](https://togithub.com/withastro/astro/pull/9876) [`e9027f194b939ac5a4d795ee1a2c24e4a6fbefc0`](https://togithub.com/withastro/astro/commit/e9027f194b939ac5a4d795ee1a2c24e4a6fbefc0) Thanks [@​friedemannsommer](https://togithub.com/friedemannsommer)! - Fixes an issue where using `Response.redirect` in an endpoint led to an error. - [#​9882](https://togithub.com/withastro/astro/pull/9882) [`13c3b712c7ba45d0081f459fc06f142216a4ec59`](https://togithub.com/withastro/astro/commit/13c3b712c7ba45d0081f459fc06f142216a4ec59) Thanks [@​natemoo-re](https://togithub.com/natemoo-re)! - Improves handling of YAML parsing errors - [#​9878](https://togithub.com/withastro/astro/pull/9878) [`a40a0ff5883c7915dd55881dcebd052b9f94a0eb`](https://togithub.com/withastro/astro/commit/a40a0ff5883c7915dd55881dcebd052b9f94a0eb) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Fixes an issue where setting trailingSlash to "never" had no effect on `Astro.url`. ### [`v4.2.7`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#427) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.2.6...astro@4.2.7) ##### Patch Changes - [#​9840](https://togithub.com/withastro/astro/pull/9840) [`70fdf1a5c660057152c1ca111dcc89ceda5c8840`](https://togithub.com/withastro/astro/commit/70fdf1a5c660057152c1ca111dcc89ceda5c8840) Thanks [@​delucis](https://togithub.com/delucis)! - Expose `ContentConfig` type from `astro:content` - [#​9865](https://togithub.com/withastro/astro/pull/9865) [`00ba9f1947ca9016cd0ee4d8f6048027fab2ab9a`](https://togithub.com/withastro/astro/commit/00ba9f1947ca9016cd0ee4d8f6048027fab2ab9a) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes a bug in `Astro.currentLocale` where the value was incorrectly computed during the build. - [#​9838](https://togithub.com/withastro/astro/pull/9838) [`0a06d87a1e2b94be00a954f350c184222fa0594d`](https://togithub.com/withastro/astro/commit/0a06d87a1e2b94be00a954f350c184222fa0594d) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Fixes an issue where `astro:i18n` could not be used in framework components. - Updated dependencies \[[`44c957f893c6bf5f5b7c78301de7b21c5975584d`](https://togithub.com/withastro/astro/commit/44c957f893c6bf5f5b7c78301de7b21c5975584d)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​4](https://togithub.com/4).2.1 ### [`v4.2.6`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#426) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.2.5...astro@4.2.6) ##### Patch Changes - [#​9825](https://togithub.com/withastro/astro/pull/9825) [`e4370e9e9dd862425eced25823c82e77d9516927`](https://togithub.com/withastro/astro/commit/e4370e9e9dd862425eced25823c82e77d9516927) Thanks [@​tugrulates](https://togithub.com/tugrulates)! - Fixes false positive aria role errors on interactive elements - [#​9828](https://togithub.com/withastro/astro/pull/9828) [`a3df9d83ca92abb5f08f576631019c1604204bd9`](https://togithub.com/withastro/astro/commit/a3df9d83ca92abb5f08f576631019c1604204bd9) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes a case where shared modules among pages and middleware were transformed to a no-op after the build. - [#​9834](https://togithub.com/withastro/astro/pull/9834) [`1885cea308a62b173a50967cf5a0b174b3c3f3f1`](https://togithub.com/withastro/astro/commit/1885cea308a62b173a50967cf5a0b174b3c3f3f1) Thanks [@​Princesseuh](https://togithub.com/Princesseuh)! - Fixes third-party dev toolbar apps not loading correctly when using absolute paths on Windows ### [`v4.2.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#425) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.2.4...astro@4.2.5) ##### Patch Changes - [#​9818](https://togithub.com/withastro/astro/pull/9818) [`d688954c5adba75b0d676694fbf5fb0da1c0af13`](https://togithub.com/withastro/astro/commit/d688954c5adba75b0d676694fbf5fb0da1c0af13) Thanks [@​Princesseuh](https://togithub.com/Princesseuh)! - Improves the wording of a few confusing error messages - [#​9680](https://togithub.com/withastro/astro/pull/9680) [`5d7db1dbb0ff06db98e08b0ca241ff09d0b8b44d`](https://togithub.com/withastro/astro/commit/5d7db1dbb0ff06db98e08b0ca241ff09d0b8b44d) Thanks [@​loucyx](https://togithub.com/loucyx)! - Fixes types generation from Content Collections config file - [#​9822](https://togithub.com/withastro/astro/pull/9822) [`bd880e8437ea2df16f322f604865c1148a9fd4cf`](https://togithub.com/withastro/astro/commit/bd880e8437ea2df16f322f604865c1148a9fd4cf) Thanks [@​liruifengv](https://togithub.com/liruifengv)! - Applies the correct escaping to identifiers used with `transition:name`. - [#​9830](https://togithub.com/withastro/astro/pull/9830) [`f3d22136e53fd902310024519fc4de83f0a58039`](https://togithub.com/withastro/astro/commit/f3d22136e53fd902310024519fc4de83f0a58039) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Fixes an issue where 404 responses from endpoints were replaced with contents of 404.astro in dev mode. - [#​9816](https://togithub.com/withastro/astro/pull/9816) [`2a44c8f93201958fba2d1e83046eabcaef186b7c`](https://togithub.com/withastro/astro/commit/2a44c8f93201958fba2d1e83046eabcaef186b7c) Thanks [@​Princesseuh](https://togithub.com/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](https://togithub.com/withastro/astro/pull/9807) [`b3f313138bb314e2b416c29cda507383c2a9f816`](https://togithub.com/withastro/astro/commit/b3f313138bb314e2b416c29cda507383c2a9f816) Thanks [@​bluwy](https://togithub.com/bluwy)! - Fixes environment variables replacement for `export const prerender` - [#​9790](https://togithub.com/withastro/astro/pull/9790) [`267c5aa2c7706f0ea3447f20a09d85aa560866ad`](https://togithub.com/withastro/astro/commit/267c5aa2c7706f0ea3447f20a09d85aa560866ad) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Refactors internals of the `astro:i18n` module to be more maintainable. - [#​9776](https://togithub.com/withastro/astro/pull/9776) [`dc75180aa698b298264362bab7f00391af427798`](https://togithub.com/withastro/astro/commit/dc75180aa698b298264362bab7f00391af427798) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Simplifies internals that handle middleware. ### [`v4.2.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#424) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.2.3...astro@4.2.4) ##### Patch Changes - [#​9792](https://togithub.com/withastro/astro/pull/9792) [`e22cb8b10c0ca9f6d88cab53cd2713f57875ab4b`](https://togithub.com/withastro/astro/commit/e22cb8b10c0ca9f6d88cab53cd2713f57875ab4b) Thanks [@​tugrulates](https://togithub.com/tugrulates)! - Accept aria role `switch` on toolbar audit. - [#​9606](https://togithub.com/withastro/astro/pull/9606) [`e6945bcf23b6ad29388bbadaf5bb3cc31dd4a114`](https://togithub.com/withastro/astro/commit/e6945bcf23b6ad29388bbadaf5bb3cc31dd4a114) Thanks [@​eryue0220](https://togithub.com/eryue0220)! - Fixes escaping behavior for `.html` files and components - [#​9786](https://togithub.com/withastro/astro/pull/9786) [`5b29550996a7f5459a0d611feea6e51d44e1d8ed`](https://togithub.com/withastro/astro/commit/5b29550996a7f5459a0d611feea6e51d44e1d8ed) Thanks [@​Fryuni](https://togithub.com/Fryuni)! - Fixes a regression in routing priority for index pages in rest parameter folders and dynamic sibling trees. Considering the following tree: src/pages/ ├── index.astro ├── static.astro ├── [dynamic_file].astro ├── [...rest_file].astro ├── blog/ │ └── index.astro ├── [dynamic_folder]/ │ ├── index.astro │ ├── static.astro │ └── [...rest].astro └── [...rest_folder]/ ├── index.astro └── static.astro The routes are sorted in this order: /src/pages/index.astro /src/pages/blog/index.astro /src/pages/static.astro /src/pages/[dynamic_folder]/index.astro /src/pages/[dynamic_file].astro /src/pages/[dynamic_folder]/static.astro /src/pages/[dynamic_folder]/[...rest].astro /src/pages/[...rest_folder]/static.astro /src/pages/[...rest_folder]/index.astro /src/pages/[...rest_file]/index.astro This allows for index files to be used as overrides to rest parameter routes on SSR when the rest parameter matching `undefined` is not desired. - [#​9775](https://togithub.com/withastro/astro/pull/9775) [`075706f26d2e11e66ef8b52288d07e3c0fa97eb1`](https://togithub.com/withastro/astro/commit/075706f26d2e11e66ef8b52288d07e3c0fa97eb1) Thanks [@​lilnasy](https://togithub.com/lilnasy)! - Simplifies internals that handle endpoints. - [#​9773](https://togithub.com/withastro/astro/pull/9773) [`9aa7a5368c502ae488d3a173e732d81f3d000e98`](https://togithub.com/withastro/astro/commit/9aa7a5368c502ae488d3a173e732d81f3d000e98) Thanks [@​LunaticMuch](https://togithub.com/LunaticMuch)! - Raises the required vite version to address a vulnerability in `vite.server.fs.deny` that affected the dev mode. - [#​9781](https://togithub.com/withastro/astro/pull/9781) [`ccc05d54014e24c492ca5fddd4862f318aac8172`](https://togithub.com/withastro/astro/commit/ccc05d54014e24c492ca5fddd4862f318aac8172) Thanks [@​stevenbenner](https://togithub.com/stevenbenner)! - Fix build failure when image file name includes special characters ### [`v4.2.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#423) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.2.2...astro@4.2.3) ##### Patch Changes - [#​9768](https://togithub.com/withastro/astro/pull/9768) [`eed0e8757c35dde549707e71c45862438a043fb0`](https://togithub.com/withastro/astro/commit/eed0e8757c35dde549707e71c45862438a043fb0) Thanks [@​Princesseuh](https://togithub.com/Princesseuh)! - Fix apps being able to crash the dev toolbar in certain cases ### [`v4.2.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#422) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.2.1...astro@4.2.2) ##### Patch Changes - [#​9712](https://togithub.com/withastro/astro/pull/9712) [`ea6cbd06a2580527786707ec735079ff9abd0ec0`](https://togithub.com/withastro/astro/commit/ea6cbd06a2580527786707ec735079ff9abd0ec0) Thanks [@​bluwy](https://togithub.com/bluwy)! - Improves HMR behavior for style-only changes in `.astro` files - [#​9739](https://togithub.com/withastro/astro/pull/9739) [`3ecb3ef64326a8f77aa170df1e3c89cb5c12cc93`](https://togithub.com/withastro/astro/commit/3ecb3ef64326a8f77aa170df1e3c89cb5c12cc93) Thanks [@​ematipico](https://togithub.com/ematipico)! - Makes i18n redirects take the `build.format` configuration into account - [#​9762](https://togithub.com/withastro/astro/pull/9762) [`1fba85681e86aa83d24336d4209cafbc76b37607`](https://togithub.com/withastro/astro/commit/1fba85681e86aa83d24336d4209cafbc76b37607) Thanks [@​ematipico](https://togithub.com/ematipico)! - Adds ` popovertarget" to the attribute that can be passed to the `button\` element - [#​9605](https://togithub.com/withastro/astro/pull/9605) [`8ce40a417c854d9e6a4fa7d5a85d50a6436b4a3c`](https://togithub.com/withastro/astro/commit/8ce40a417c854d9e6a4fa7d5a85d50a6436b4a3c) Thanks [@​MoustaphaDev](https://togithub.com/MoustaphaDev)! - Adds support for dynamic slot names - [#​9381](https://togithub.com/withastro/astro/pull/9381) [`9e01f9cc1efcfb938355829676d51b24818ab2bb`](https://togithub.com/withastro/astro/commit/9e01f9cc1efcfb938355829676d51b24818ab2bb) Thanks [@​martrapp](https://togithub.com/martrapp)! - Improves the CLI output of `astro preferences list` to include additional relevant information - [#​9741](https://togithub.com/withastro/astro/pull/9741) [`73d74402007896204ee965f6553dc83b3dec8d2f`](https://togithub.com/withastro/astro/commit/73d74402007896204ee965f6553dc83b3dec8d2f) Thanks [@​taktran](https://togithub.com/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](https://togithub.com/withastro/astro/pull/9730) [`8d2e5db096f1e7b098511b4fe9357434a6ff0703`](https://togithub.com/withastro/astro/commit/8d2e5db096f1e7b098511b4fe9357434a6ff0703) Thanks [@​Blede2000](https://togithub.com/Blede2000)! - Allow i18n routing utilities like getRelativeLocaleUrl to also get the default local path when redirectToDefaultLocale is false - Updated dependencies \[[`53c69dcc82cdf4000aff13a6c11fffe19096cf45`](https://togithub.com/withastro/astro/commit/53c69dcc82cdf4000aff13a6c11fffe19096cf45), [`2f81cffa9da9db0e2802d303f94feaee8d2f54ec`](https://togithub.com/withastro/astro/commit/2f81cffa9da9db0e2802d303f94feaee8d2f54ec), [`a505190933365268d48139a5f197a3cfb5570870`](https://togithub.com/withastro/astro/commit/a505190933365268d48139a5f197a3cfb5570870)]: - [@​astrojs/markdown-remark](https://togithub.com/astrojs/markdown-remark)[@​4](https://togithub.com/4).2.0 ### [`v4.2.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#421) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.2.0...astro@4.2.1) ##### Patch Changes - [#​9726](https://togithub.com/withastro/astro/pull/9726) [`a4b696def3a7eb18c1ae48b10fd3758a1874b6fe`](https://togithub.com/withastro/astro/commit/a4b696def3a7eb18c1ae48b10fd3758a1874b6fe) Thanks [@​Fryuni](https://togithub.com/Fryuni)! - Fixes a regression in routing priority between `index.astro` and dynamic routes with rest parameters ### [`v4.2.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#420) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.1.3...astro@4.2.0) ##### Minor Changes - [#​9566](https://togithub.com/withastro/astro/pull/9566) [`165cfc154be477337037185c32b308616d1ed6fa`](https://togithub.com/withastro/astro/commit/165cfc154be477337037185c32b308616d1ed6fa) Thanks [@​OliverSpeir](https://togithub.com/OliverSpeir)! - Allows remark plugins to pass options specifying how images in `.md` files will be optimized - [#​9661](https://togithub.com/withastro/astro/pull/9661) [`d6edc7540864cf5d294d7b881eb886a3804f6d05`](https://togithub.com/withastro/astro/commit/d6edc7540864cf5d294d7b881eb886a3804f6d05) Thanks [@​ematipico](https://togithub.com/ematipico)! - Adds new helper functions for adapter developers. - `Astro.clientAddress` can now be passed directly to the `app.render()` method. ```ts const response = await app.render(request, { clientAddress: '012.123.23.3' }); ``` - Helper functions for converting Node.js HTTP request and response objects to web-compatible `Request` and `Response` objects are now provided as static methods on the `NodeApp` class. ```ts http.createServer((nodeReq, nodeRes) => { const request: Request = NodeApp.createRequest(nodeReq); const response = await app.render(request); await NodeApp.writeResponse(response, nodeRes); }); ``` - Cookies added via `Astro.cookies.set()` can now be automatically added to the `Response` object by passing the `addCookieHeader` option to `app.render()`. ```diff -const response = await app.render(request) -const setCookieHeaders: Array = Array.from(app.setCookieHeaders(webResponse)); -if (setCookieHeaders.length) { - for (const setCookieHeader of setCookieHeaders) { - headers.append('set-cookie', setCookieHeader); - } -} +const response = await app.render(request, { addCookieHeader: true }) ``` - [#​9638](https://togithub.com/withastro/astro/pull/9638) [`f1a61268061b8834f39a9b38bca043ae41caed04`](https://togithub.com/withastro/astro/commit/f1a61268061b8834f39a9b38bca043ae41caed04) Thanks [@​ematipico](https://togithub.com/ematipico)! - Adds a new `i18n.routing` config option `redirectToDefaultLocale` to disable automatic redirects of the root URL (`/`) to the default locale when `prefixDefaultLocale: 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 not `src/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`: ```js // astro.config.mjs export default defineConfig({ i18n: { defaultLocale: 'en', locales: ['en', 'fr'], routing: { prefixDefaultLocale: true, redirectToDefaultLocale: false, }, }, }); ``` - [#​9671](https://togithub.com/withastro/astro/pull/9671) [`8521ff77fbf7e867701cc30d18253856914dbd1b`](https://togithub.com/withastro/astro/commit/8521ff77fbf7e867701cc30d18253856914dbd1b) Thanks [@​bholmesdev](https://togithub.com/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. ```diff src/content/blog/ post.mdx - _styles.css - _Component.astro + styles.css + Component.astro ``` Continue to use underscores in your content collections to exclude individual content files, such as drafts, from the build output. - [#​9567](https://togithub.com/withastro/astro/pull/9567) [`3a4d5ec8001ebf95c917fdc0d186d29650533d93`](https://togithub.com/withastro/astro/commit/3a4d5ec8001ebf95c917fdc0d186d29650533d93) Thanks [@​OliverSpeir](https://togithub.com/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](https://togithub.com/withastro/astro/pull/9643) [`e9a72d9a91a3741566866bcaab11172cb0dc7d31`](https://togithub.com/withastro/astro/commit/e9a72d9a91a3741566866bcaab11172cb0dc7d31) Thanks [@​blackmann](https://togithub.com/blackmann)! - Adds a new `markdown.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](https://shikiji.netlify.app/guide/transformers) for more details about creating your own custom transformers, and [a list of common transformers](https://shikiji.netlify.app/packages/transformers) you can add directly to your project. - [#​9644](https://togithub.com/withastro/astro/pull/9644) [`a5f1682347e602330246129d4666a9227374c832`](https://togithub.com/withastro/astro/commit/a5f1682347e602330246129d4666a9227374c832) Thanks [@​rossrobino](https://togithub.com/rossrobino)! - Adds an experimental flag `clientPrerender` to prerender your prefetched pages on the client with the [Speculation Rules API](https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API). ```js // astro.config.mjs { prefetch: { prefetchAll: true, defaultStrategy: 'viewport', }, experimental: { clientPrerender: true, }, } ``` Enabling this feature overrides the default `prefetch` behavior globally to prerender links on the client according to your `prefetch` configuration. Instead of appending a `` tag to the head of the document or fetching the page with JavaScript, a `

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
portfolio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2024 10:06pm