mr-wildcard / yuna.work

Source code of Yuna Orsini's website.
https://yuna.work
0 stars 0 forks source link

chore(deps): update all non-major dependencies #7

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@astrojs/check (source) 0.6.0 -> 0.9.3 age adoption passing confidence devDependencies minor
@astrojs/check (source) ^0.6.0 -> ^0.9.0 age adoption passing confidence dependencies minor
@astrojs/sitemap (source) 3.1.4 -> 3.1.6 age adoption passing confidence devDependencies patch
@astrojs/ts-plugin (source) 1.7.0 -> 1.10.1 age adoption passing confidence devDependencies minor
@fontsource-variable/dm-sans (source) 5.0.6 -> 5.0.7 age adoption passing confidence dependencies patch
@playwright/test (source) 1.44.0 -> 1.46.1 age adoption passing confidence devDependencies minor
@types/node (source) 20.12.12 -> 20.16.1 age adoption passing confidence devDependencies minor
astro (source) 4.8.3 -> 4.14.5 age adoption passing confidence devDependencies minor
astro-icon (source) 1.1.0 -> 1.1.1 age adoption passing confidence devDependencies patch
autoprefixer 10.4.19 -> 10.4.20 age adoption passing confidence devDependencies patch
cssnano 7.0.1 -> 7.0.5 age adoption passing confidence devDependencies patch
node (source) 22.1.0 -> 22.7.0 age adoption passing confidence minor
pnpm (source) 9.1.1 -> 9.8.0 age adoption passing confidence packageManager minor
postcss (source) 8.4.38 -> 8.4.41 age adoption passing confidence devDependencies patch
prettier (source) 3.2.5 -> 3.3.3 age adoption passing confidence devDependencies minor
prettier-plugin-astro 0.13.0 -> 0.14.1 age adoption passing confidence devDependencies minor
sharp (source, changelog) 0.33.3 -> 0.33.5 age adoption passing confidence dependencies patch
tailwindcss (source) 3.4.3 -> 3.4.10 age adoption passing confidence dependencies patch
typescript (source) 5.4.5 -> 5.5.4 age adoption passing confidence devDependencies minor
typescript (source) 5.4.5 -> 5.5.4 age adoption passing confidence dependencies minor
vite (source) 5.2.11 -> 5.4.2 age adoption passing confidence devDependencies minor

Release Notes

withastro/language-tools (@​astrojs/check) ### [`v0.9.3`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/astro-check/CHANGELOG.md#093) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/check@0.9.2...@astrojs/check@0.9.3) ##### Patch Changes - [`28dfebe`](https://togithub.com/withastro/language-tools/commit/28dfebe): Updates to the stable version of Volar 2.4.0 - Updated dependencies \[[`28dfebe`](https://togithub.com/withastro/language-tools/commit/28dfebe)] - [@​astrojs/language-server](https://togithub.com/astrojs/language-server)[@​2](https://togithub.com/2).14.1 ### [`v0.9.2`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/astro-check/CHANGELOG.md#092) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/check@0.9.1...@astrojs/check@0.9.2) ##### Patch Changes - [`e8e18a8`](https://togithub.com/withastro/language-tools/commit/e8e18a8): Fixes an issue where errors inside script and style tags could be offset by a few characters when multi bytes characters were present in the file - Updated dependencies \[[`e8e18a8`](https://togithub.com/withastro/language-tools/commit/e8e18a8)] - [@​astrojs/language-server](https://togithub.com/astrojs/language-server)[@​2](https://togithub.com/2).13.2 ### [`v0.9.1`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/astro-check/CHANGELOG.md#091) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/check@0.9.0...@astrojs/check@0.9.1) ##### Patch Changes - [`cc94bef`](https://togithub.com/withastro/language-tools/commit/cc94bef): Revert a change to top-level returns that could prevent the return types of functions from being correct in certain cases - Updated dependencies \[[`cc94bef`](https://togithub.com/withastro/language-tools/commit/cc94bef)] - [@​astrojs/language-server](https://togithub.com/astrojs/language-server)[@​2](https://togithub.com/2).13.1 ### [`v0.9.0`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/astro-check/CHANGELOG.md#090) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/check@0.8.3...@astrojs/check@0.9.0) ##### Minor Changes - [`b65d6b4`](https://togithub.com/withastro/language-tools/commit/b65d6b4): Adds support for SCSS and LESS intellisense inside style tags ##### Patch Changes - Updated dependencies \[[`3a60f00`](https://togithub.com/withastro/language-tools/commit/3a60f00)] - Updated dependencies \[[`b65d6b4`](https://togithub.com/withastro/language-tools/commit/b65d6b4)] - [@​astrojs/language-server](https://togithub.com/astrojs/language-server)[@​2](https://togithub.com/2).13.0 ### [`v0.8.3`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/astro-check/CHANGELOG.md#083) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/check@0.8.2...@astrojs/check@0.8.3) ##### Patch Changes - [`0a46801`](https://togithub.com/withastro/language-tools/commit/0a46801): Fixes a regression where errors could wrongly show (or not show) inside scripts and style tags - Updated dependencies \[[`0a46801`](https://togithub.com/withastro/language-tools/commit/0a46801)] - Updated dependencies \[[`72f61e1`](https://togithub.com/withastro/language-tools/commit/72f61e1)] - [@​astrojs/language-server](https://togithub.com/astrojs/language-server)[@​2](https://togithub.com/2).12.7 ### [`v0.8.2`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/astro-check/CHANGELOG.md#082) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/check@0.8.1...@astrojs/check@0.8.2) ##### Patch Changes - [`708167e`](https://togithub.com/withastro/language-tools/commit/708167e): Fixes script and style tags being wrongfully included in the generated TSX - Updated dependencies \[[`708167e`](https://togithub.com/withastro/language-tools/commit/708167e)] - [@​astrojs/language-server](https://togithub.com/astrojs/language-server)[@​2](https://togithub.com/2).12.1 ### [`v0.8.1`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/astro-check/CHANGELOG.md#081) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/check@0.8.0...@astrojs/check@0.8.1) ##### Patch Changes - [`5eb20f2`](https://togithub.com/withastro/language-tools/commit/5eb20f2): Fixes installation on Yarn 4 - Updated dependencies \[[`5eb20f2`](https://togithub.com/withastro/language-tools/commit/5eb20f2)] - [@​astrojs/language-server](https://togithub.com/astrojs/language-server)[@​2](https://togithub.com/2).11.1 ### [`v0.8.0`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/astro-check/CHANGELOG.md#080) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/check@0.7.0...@astrojs/check@0.8.0) ##### Minor Changes - [`b8a6af3`](https://togithub.com/withastro/language-tools/commit/b8a6af3): Upgrades to the latest version of Volar, the underlying framework powering the Astro language server. This update should fix some of the recent issues regarding intellisense inside script tags. ##### Patch Changes - [`a1769da`](https://togithub.com/withastro/language-tools/commit/a1769da): Adds a README with helpful links - Updated dependencies \[[`b8a6af3`](https://togithub.com/withastro/language-tools/commit/b8a6af3)] - [@​astrojs/language-server](https://togithub.com/astrojs/language-server)[@​2](https://togithub.com/2).11.0 ### [`v0.7.0`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/astro-check/CHANGELOG.md#070) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/check@0.6.0...@astrojs/check@0.7.0) ##### Minor Changes - [`c8af6db`](https://togithub.com/withastro/language-tools/commit/c8af6db): Upgrades the language server to use the latest version of Volar. This changes should have no negative impacts on the experience. ##### Patch Changes - Updated dependencies \[[`c8af6db`](https://togithub.com/withastro/language-tools/commit/c8af6db)] - [@​astrojs/language-server](https://togithub.com/astrojs/language-server)[@​2](https://togithub.com/2).10.0
withastro/astro (@​astrojs/sitemap) ### [`v3.1.6`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#316) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/sitemap@3.1.5...@astrojs/sitemap@3.1.6) ##### Patch Changes - [#​11263](https://togithub.com/withastro/astro/pull/11263) [`7d59750`](https://togithub.com/withastro/astro/commit/7d597506615fa5a34327304e8321be7b9c4b799d) Thanks [@​wackbyte](https://togithub.com/wackbyte)! - Refactor to use Astro's integration logger for logging ### [`v3.1.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#315) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/sitemap@3.1.4...@astrojs/sitemap@3.1.5) ##### Patch Changes - [#​10779](https://togithub.com/withastro/astro/pull/10779) [`cefeadf`](https://togithub.com/withastro/astro/commit/cefeadf0a4a51420130445b6dc5ab1e5b331732b) Thanks [@​adrianlyjak](https://togithub.com/adrianlyjak)! - Fixes false positives for status code routes like `404` and `500` when generating sitemaps.
withastro/language-tools (@​astrojs/ts-plugin) ### [`v1.10.1`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/ts-plugin/CHANGELOG.md#1101) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/ts-plugin@1.10.0...@astrojs/ts-plugin@1.10.1) ##### Patch Changes - [`28dfebe`](https://togithub.com/withastro/language-tools/commit/28dfebe): Updates to the stable version of Volar 2.4.0 - Updated dependencies \[[`28dfebe`](https://togithub.com/withastro/language-tools/commit/28dfebe)] - [@​astrojs/yaml2ts](https://togithub.com/astrojs/yaml2ts)[@​0](https://togithub.com/0).2.1 ### [`v1.10.0`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/ts-plugin/CHANGELOG.md#1100) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/ts-plugin@1.9.3...@astrojs/ts-plugin@1.10.0) ##### Minor Changes - [`d624646`](https://togithub.com/withastro/language-tools/commit/d624646): Adds support for Content Collection Intellisense ##### Patch Changes - Updated dependencies \[[`d624646`](https://togithub.com/withastro/language-tools/commit/d624646)] - [@​astrojs/yaml2ts](https://togithub.com/astrojs/yaml2ts)[@​0](https://togithub.com/0).2.0 ### [`v1.9.3`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/ts-plugin/CHANGELOG.md#193) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/ts-plugin@1.9.2...@astrojs/ts-plugin@1.9.3) ##### Patch Changes - [`e5732ff`](https://togithub.com/withastro/language-tools/commit/e5732ff): Updates internal dependencies ### [`v1.9.2`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/ts-plugin/CHANGELOG.md#192) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/ts-plugin@1.9.1...@astrojs/ts-plugin@1.9.2) ##### Patch Changes - [`5186329`](https://togithub.com/withastro/language-tools/commit/5186329): Update internal dependencies ### [`v1.9.1`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/ts-plugin/CHANGELOG.md#191) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/ts-plugin@1.9.0...@astrojs/ts-plugin@1.9.1) ##### Patch Changes - [`cc94bef`](https://togithub.com/withastro/language-tools/commit/cc94bef): Revert a change to top-level returns that could prevent the return types of functions from being correct in certain cases ### [`v1.9.0`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/ts-plugin/CHANGELOG.md#190) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/ts-plugin@1.8.0...@astrojs/ts-plugin@1.9.0) ##### Minor Changes - [`b8a6af3`](https://togithub.com/withastro/language-tools/commit/b8a6af3): Upgrades to the latest version of Volar, the underlying framework powering the Astro language server. This update should fix some of the recent issues regarding intellisense inside script tags. ### [`v1.8.0`](https://togithub.com/withastro/language-tools/blob/HEAD/packages/ts-plugin/CHANGELOG.md#180) [Compare Source](https://togithub.com/withastro/language-tools/compare/@astrojs/ts-plugin@1.7.0...@astrojs/ts-plugin@1.8.0) ##### Minor Changes - [`c8af6db`](https://togithub.com/withastro/language-tools/commit/c8af6db): Upgrades the language server to use the latest version of Volar. This changes should have no negative impacts on the experience.
fontsource/font-files (@​fontsource-variable/dm-sans) ### [`v5.0.7`](https://togithub.com/fontsource/font-files/compare/f069547c3d25cb9602fdbc1d9eb1f34046dc8353...a7b9009a8d231808b4eafd0a874981c930355f03) [Compare Source](https://togithub.com/fontsource/font-files/compare/f069547c3d25cb9602fdbc1d9eb1f34046dc8353...a7b9009a8d231808b4eafd0a874981c930355f03)
microsoft/playwright (@​playwright/test) ### [`v1.46.1`](https://togithub.com/microsoft/playwright/compare/v1.46.0...e1c861cfa7a6caf3c5b798786b1e6298c4f3cf31) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.46.0...v1.46.1) ### [`v1.46.0`](https://togithub.com/microsoft/playwright/compare/v1.45.3...99a36310570617222290c09b96a2026beb8b00f9) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.45.3...v1.46.0) ### [`v1.45.3`](https://togithub.com/microsoft/playwright/compare/v1.45.2...0e130fa8edaf85765c4a5a86bded0e6d33bfd7c2) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.45.2...v1.45.3) ### [`v1.45.2`](https://togithub.com/microsoft/playwright/compare/v1.45.1...d8a5f3b33193e413b404ff4aa1f71e859d8f1b6b) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.45.1...v1.45.2) ### [`v1.45.1`](https://togithub.com/microsoft/playwright/compare/v1.45.0...e8989f83d9801cdaadc3803b5341c601c9593947) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.45.0...v1.45.1) ### [`v1.45.0`](https://togithub.com/microsoft/playwright/compare/v1.44.1...4f3f6eecae490af444dd9298c9eaeb0c596915b7) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.44.1...v1.45.0) ### [`v1.44.1`](https://togithub.com/microsoft/playwright/releases/tag/v1.44.1) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.44.0...v1.44.1) ##### Highlights [https://github.com/microsoft/playwright/issues/30779](https://togithub.com/microsoft/playwright/issues/30779) - \[REGRESSION]: When using `video: 'on'` with VSCode extension the browser got closed [https://github.com/microsoft/playwright/issues/30755](https://togithub.com/microsoft/playwright/issues/30755) - \[REGRESSION]: Electron launch with spaces inside executablePath didn't work[https://github.com/microsoft/playwright/issues/30770](https://togithub.com/microsoft/playwright/issues/30770)0 - \[REGRESSION]: Mask elements outside of viewport when creating fullscreen screenshots didn't wor[https://github.com/microsoft/playwright/issues/30858](https://togithub.com/microsoft/playwright/issues/30858)58 - \[REGRESSION]: ipv6 got shown instead of localhost in show-trace/show-report #### Browser Versions - Chromium 125.0.6422.14 - Mozilla Firefox 125.0.1 - WebKit 17.4 This version was also tested against the following stable channels: - Google Chrome 124 - Microsoft Edge 124
withastro/astro (astro) ### [`v4.14.5`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4145) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.14.4...astro@4.14.5) ##### Patch Changes - [#​11809](https://togithub.com/withastro/astro/pull/11809) [`62e97a2`](https://togithub.com/withastro/astro/commit/62e97a20f72bacb017c633ddcb776abc89167660) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Fixes usage of `.transform()`, `.refine()`, `.passthrough()`, and other effects on Action form inputs. - [#​11812](https://togithub.com/withastro/astro/pull/11812) [`260c4be`](https://togithub.com/withastro/astro/commit/260c4be050f91353bc5ba6af073e7bc17429d552) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Exposes `ActionAPIContext` type from the `astro:actions` module. - [#​11813](https://togithub.com/withastro/astro/pull/11813) [`3f7630a`](https://togithub.com/withastro/astro/commit/3f7630afd697809b1d4fbac6edd18153983c70ac) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Fixes unexpected `undefined` value when calling an action from the client without a return value. ### [`v4.14.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4144) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.14.3...astro@4.14.4) ##### Patch Changes - [#​11794](https://togithub.com/withastro/astro/pull/11794) [`3691a62`](https://togithub.com/withastro/astro/commit/3691a626fb67d617e5f8bd057443cd2ff6caa054) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Fixes unexpected warning log when using Actions on "hybrid" rendered projects. - [#​11801](https://togithub.com/withastro/astro/pull/11801) [`9f943c1`](https://togithub.com/withastro/astro/commit/9f943c1344671b569a0d1ddba683b3cca0068adc) Thanks [@​delucis](https://togithub.com/delucis)! - Fixes a bug where the `filePath` property was not available on content collection entries when using the content layer `file()` loader with a JSON file that contained an object instead of an array. This was breaking use of the `image()` schema utility among other things. ### [`v4.14.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4143) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.14.2...astro@4.14.3) ##### Patch Changes - [#​11780](https://togithub.com/withastro/astro/pull/11780) [`c6622ad`](https://togithub.com/withastro/astro/commit/c6622adaeb405e961b12c91f0e5d02c7333d01cf) Thanks [@​Princesseuh](https://togithub.com/Princesseuh)! - Deprecates the Squoosh image service, to be removed in Astro 5.0. We recommend migrating to the default Sharp service. - [#​11790](https://togithub.com/withastro/astro/pull/11790) [`41c3fcb`](https://togithub.com/withastro/astro/commit/41c3fcb6189709450a67ea8f726071d5f3cdc80e) Thanks [@​sarah11918](https://togithub.com/sarah11918)! - Updates the documentation for experimental `astro:env` with a corrected link to the RFC proposal - [#​11773](https://togithub.com/withastro/astro/pull/11773) [`86a3391`](https://togithub.com/withastro/astro/commit/86a33915ff41b23ff6b35bcfb1805fefc0760ca7) Thanks [@​ematipico](https://togithub.com/ematipico)! - Changes messages logged when using unsupported, deprecated, or experimental adapter features for clarity - [#​11745](https://togithub.com/withastro/astro/pull/11745) [`89bab1e`](https://togithub.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f) Thanks [@​bluwy](https://togithub.com/bluwy)! - Prints prerender dynamic value usage warning only if it's used - [#​11774](https://togithub.com/withastro/astro/pull/11774) [`c6400ab`](https://togithub.com/withastro/astro/commit/c6400ab99c5e5f4477bc6ef7e801b7869b0aa9ab) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Fixes the path returned by `injectTypes` - [#​11730](https://togithub.com/withastro/astro/pull/11730) [`2df49a6`](https://togithub.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Simplifies path operations of `astro sync` - [#​11771](https://togithub.com/withastro/astro/pull/11771) [`49650a4`](https://togithub.com/withastro/astro/commit/49650a45550af46c70c6cf3f848b7b529103a649) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Fixes an error thrown by `astro sync` when an `astro:env` virtual module is imported inside the Content Collections config - [#​11744](https://togithub.com/withastro/astro/pull/11744) [`b677429`](https://togithub.com/withastro/astro/commit/b67742961a384c10e5cd04cf5b02d0f014ea7362) Thanks [@​bluwy](https://togithub.com/bluwy)! - Disables the WebSocket server when creating a Vite server for loading config files ### [`v4.14.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4142) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.14.1...astro@4.14.2) ##### Patch Changes - [#​11733](https://togithub.com/withastro/astro/pull/11733) [`391324d`](https://togithub.com/withastro/astro/commit/391324df969db71d1c7ca25c2ed14c9eb6eea5ee) Thanks [@​bluwy](https://togithub.com/bluwy)! - Reverts back to `yargs-parser` package for CLI argument parsing ### [`v4.14.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4141) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.14.0...astro@4.14.1) ##### Patch Changes - [#​11725](https://togithub.com/withastro/astro/pull/11725) [`6c1560f`](https://togithub.com/withastro/astro/commit/6c1560fb0d19ce659bc9f9090f8050254d5c03f3) Thanks [@​ascorbic](https://togithub.com/ascorbic)! - Prevents content layer importing node builtins in runtime - [#​11692](https://togithub.com/withastro/astro/pull/11692) [`35af73a`](https://togithub.com/withastro/astro/commit/35af73aace97a7cc898b9aa5040db8bc2ac62687) Thanks [@​matthewp](https://togithub.com/matthewp)! - Prevent errant HTML from crashing server islands When an HTML minifier strips away the server island comment, the script can't correctly know where the end of the fallback content is. This makes it so that it simply doesn't remove any DOM in that scenario. This means the fallback isn't removed, but it also doesn't crash the browser. - [#​11727](https://togithub.com/withastro/astro/pull/11727) [`3c2f93b`](https://togithub.com/withastro/astro/commit/3c2f93b66c6b8e9d2ab58e2cbe941c14ffab89b5) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Fixes a type issue when using the Content Layer in dev ### [`v4.14.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4140) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.13.4...astro@4.14.0) ##### Minor Changes - [#​11657](https://togithub.com/withastro/astro/pull/11657) [`a23c69d`](https://togithub.com/withastro/astro/commit/a23c69d0d0bed229bee52a32e61f135f9ebf9122) Thanks [@​bluwy](https://togithub.com/bluwy)! - Deprecates the option for route-generating files to export a dynamic value for `prerender`. Only static values are now supported (e.g. `export const prerender = true` or `= false`). This allows for better treeshaking and bundling configuration in the future. Adds a new [`"astro:route:setup"` hook](https://docs.astro.build/en/reference/integrations-reference/#astroroutesetup) to the Integrations API to allow you to dynamically set options for a route at build or request time through an integration, such as enabling [on-demand server rendering](https://docs.astro.build/en/guides/server-side-rendering/#opting-in-to-pre-rendering-in-server-mode). To migrate from a dynamic export to the new hook, update or remove any dynamic `prerender` exports from individual routing files: ```diff // src/pages/blog/[slug].astro - export const prerender = import.meta.env.PRERENDER ``` Instead, create an integration with the `"astro:route:setup"` hook and update the route's `prerender` option: ```js // astro.config.mjs import { defineConfig } from 'astro/config'; import { loadEnv } from 'vite'; export default defineConfig({ integrations: [setPrerender()], }); function setPrerender() { const { PRERENDER } = loadEnv(process.env.NODE_ENV, process.cwd(), ''); return { name: 'set-prerender', hooks: { 'astro:route:setup': ({ route }) => { if (route.component.endsWith('/blog/[slug].astro')) { route.prerender = PRERENDER; } }, }, }; } ``` - [#​11360](https://togithub.com/withastro/astro/pull/11360) [`a79a8b0`](https://togithub.com/withastro/astro/commit/a79a8b0230b06ed32ce1802f2a5f84a6cf92dbe7) Thanks [@​ascorbic](https://togithub.com/ascorbic)! - Adds a new [`injectTypes()` utility](https://docs.astro.build/en/reference/integrations-reference/#injecttypes-options) to the Integration API and refactors how type generation works Use `injectTypes()` in the `astro:config:done` hook to inject types into your user's project by adding a new a `*.d.ts` file. The `filename` property will be used to generate a file at `/.astro/integrations//.d.ts` and must end with `".d.ts"`. The `content` property will create the body of the file, and must be valid TypeScript. Additionally, `injectTypes()` returns a URL to the normalized path so you can overwrite its content later on, or manipulate it in any way you want. ```js // my-integration/index.js export default { name: 'my-integration', 'astro:config:done': ({ injectTypes }) => { injectTypes({ filename: 'types.d.ts', content: "declare module 'virtual:my-integration' {}", }); }, }; ``` Codegen has been refactored. Although `src/env.d.ts` will continue to work as is, we recommend you update it: ```diff - /// + /// - /// - /// ``` - [#​11605](https://togithub.com/withastro/astro/pull/11605) [`d3d99fb`](https://togithub.com/withastro/astro/commit/d3d99fba269da9e812e748539a11dfed785ef8a4) Thanks [@​jcayzac](https://togithub.com/jcayzac)! - Adds a new property `meta` to Astro's [built-in `` component](https://docs.astro.build/en/reference/api-reference/#code-). This allows you to provide a value for [Shiki's `meta` attribute](https://shiki.style/guide/transformers#meta) to pass options to transformers. The following example passes an option to highlight lines 1 and 3 to Shiki's `tranformerMetaHighlight`: ### [`v4.13.4`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4134) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.13.3...astro@4.13.4) ##### Patch Changes - [#​11678](https://togithub.com/withastro/astro/pull/11678) [`34da907`](https://togithub.com/withastro/astro/commit/34da907f3b4fb411024e6d28fdb291fa78116950) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes a case where omitting a semicolon and line ending with carriage return - CRLF - in the `prerender` option could throw an error. - [#​11535](https://togithub.com/withastro/astro/pull/11535) [`932bd2e`](https://togithub.com/withastro/astro/commit/932bd2eb07f1d7cb2c91e7e7d31fe84c919e302b) Thanks [@​matthewp](https://togithub.com/matthewp)! - Encrypt server island props Server island props are now encrypted with a key generated at build-time. This is intended to prevent accidentally leaking secrets caused by exposing secrets through prop-passing. This is not intended to allow a server island to be trusted to skip authentication, or to protect against any other vulnerabilities other than secret leakage. See the RFC for an explanation: https://github.com/withastro/roadmap/blob/server-islands/proposals/server-islands.md#props-serialization - [#​11655](https://togithub.com/withastro/astro/pull/11655) [`dc0a297`](https://togithub.com/withastro/astro/commit/dc0a297e2a4bea3db8310cc98c51b2f94ede5fde) Thanks [@​billy-le](https://togithub.com/billy-le)! - Fixes Astro Actions `input` validation when using `default` values with a form input. - [#​11689](https://togithub.com/withastro/astro/pull/11689) [`c7bda4c`](https://togithub.com/withastro/astro/commit/c7bda4cd672864babc3cebd19a2dd2e1af85c087) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes an issue in the Astro actions, where the size of the generated cookie was exceeding the size permitted by the `Set-Cookie` header. ### [`v4.13.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4133) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.13.2...astro@4.13.3) ##### Patch Changes - [#​11653](https://togithub.com/withastro/astro/pull/11653) [`32be549`](https://togithub.com/withastro/astro/commit/32be5494f6d33dbe32208704405162c95a64f0bc) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Updates `astro:env` docs to reflect current developments and usage guidance - [#​11658](https://togithub.com/withastro/astro/pull/11658) [`13b912a`](https://togithub.com/withastro/astro/commit/13b912a8702afb96e2d0bc20dcc1b4135ae58147) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Fixes `orThrow()` type when calling an Action without an `input` validator. - [#​11603](https://togithub.com/withastro/astro/pull/11603) [`f31d466`](https://togithub.com/withastro/astro/commit/f31d4665c1cbb0918b9e00ba1431fb6f264025f7) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Improves user experience when render an Action result from a form POST request: - Removes "Confirm post resubmission?" dialog when refreshing a result. - Removes the `?_astroAction=NAME` flag when a result is rendered. Also improves the DX of directing to a new route on success. Actions will now redirect to the route specified in your `action` string on success, and redirect back to the previous page on error. This follows the routing convention of established backend frameworks like Laravel. For example, say you want to redirect to a `/success` route when `actions.signup` succeeds. You can add `/success` to your `action` string like so: ```astro
``` - On success, Astro will redirect to `/success`. - On error, Astro will redirect back to the current page. You can retrieve the action result from either page using the `Astro.getActionResult()` function. ##### Note on security This uses a temporary cookie to forward the action result to the next page. The cookie will be deleted when that page is rendered. ⚠ **The action result is not encrypted.** In general, we recommend returning minimal data from an action handler to a) avoid leaking sensitive information, and b) avoid unexpected render issues once the temporary cookie is deleted. For example, a `login` function may return a user's session id to retrieve from your Astro frontmatter, rather than the entire user object. ### [`v4.13.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4132) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.13.1...astro@4.13.2) ##### Patch Changes - [#​11648](https://togithub.com/withastro/astro/pull/11648) [`589d351`](https://togithub.com/withastro/astro/commit/589d35158da1a2136387d0ad76609f5c8535c03a) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Fixes unexpected error when refreshing a POST request from a form using Actions. - [#​11600](https://togithub.com/withastro/astro/pull/11600) [`09ec2ca`](https://togithub.com/withastro/astro/commit/09ec2cadce01a9a1f9c54ac433f137348907aa56) Thanks [@​ArmandPhilippot](https://togithub.com/ArmandPhilippot)! - Deprecates `getEntryBySlug` and `getDataEntryById` functions exported by `astro:content` in favor of `getEntry`. - [#​11593](https://togithub.com/withastro/astro/pull/11593) [`81d7150`](https://togithub.com/withastro/astro/commit/81d7150e02472430eab555dfc4f053738bf99bb6) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Adds support for `Date()`, `Map()`, and `Set()` from action results. See [devalue](https://togithub.com/Rich-Harris/devalue) for a complete list of supported values. Also fixes serialization exceptions when deploying Actions with edge middleware on Netlify and Vercel. - [#​11617](https://togithub.com/withastro/astro/pull/11617) [`196092a`](https://togithub.com/withastro/astro/commit/196092ae69eb1249206846ddfc162049b03f42b4) Thanks [@​abubakriz](https://togithub.com/abubakriz)! - Fix toolbar audit incorrectly flagging images as above the fold. - [#​11634](https://togithub.com/withastro/astro/pull/11634) [`2716f52`](https://togithub.com/withastro/astro/commit/2716f52aae7194439ebb2336849ddd9e8226658a) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Fixes internal server error when calling an Astro Action without arguments on Vercel. - [#​11628](https://togithub.com/withastro/astro/pull/11628) [`9aaf58c`](https://togithub.com/withastro/astro/commit/9aaf58c1339b54f2c1394e718a0f6f609f0b6342) Thanks [@​madbook](https://togithub.com/madbook)! - Ensures consistent CSS chunk hashes across different environments ### [`v4.13.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4131) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.13.0...astro@4.13.1) ##### Patch Changes - [#​11584](https://togithub.com/withastro/astro/pull/11584) [`a65ffe3`](https://togithub.com/withastro/astro/commit/a65ffe314b112213421def26c7cc5b7e7b93558c) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Removes async local storage dependency from Astro Actions. This allows Actions to run in Cloudflare and Stackblitz without opt-in flags or other configuration. This also introduces a new convention for calling actions from server code. Instead of calling actions directly, you must wrap function calls with the new `Astro.callAction()` utility. > `callAction()` is meant to *trigger* an action from server code. `getActionResult()` usage with form submissions remains unchanged. ### [`v4.13.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4130) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.12.3...astro@4.13.0) ##### Minor Changes - [#​11507](https://togithub.com/withastro/astro/pull/11507) [`a62345f`](https://togithub.com/withastro/astro/commit/a62345fd182ae4886d586c8406ed8f3e5f942730) Thanks [@​ematipico](https://togithub.com/ematipico)! - Adds color-coding to the console output during the build to highlight slow pages. Pages that take more than 500 milliseconds to render will have their build time logged in red. This change can help you discover pages of your site that are not performant and may need attention. - [#​11379](https://togithub.com/withastro/astro/pull/11379) [`e5e2d3e`](https://togithub.com/withastro/astro/commit/e5e2d3ed3076f10b4645f011b13888d5fa16e92e) Thanks [@​alexanderniebuhr](https://togithub.com/alexanderniebuhr)! - The `experimental.contentCollectionJsonSchema` feature introduced behind a flag in [v4.5.0](https://togithub.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#450) is no longer experimental and is available for general use. If you are working with collections of type `data`, Astro will now auto-generate JSON schema files for your editor to get IntelliSense and type-checking. A separate file will be created for each data collection in your project based on your collections defined in `src/content/config.ts` using a library called [`zod-to-json-schema`](https://togithub.com/StefanTerdell/zod-to-json-schema). This feature requires you to manually set your schema's file path as the value for `$schema` in each data entry file of the collection: ```json title="src/content/authors/armand.json" ins={2} { "$schema": "../../../.astro/collections/authors.schema.json", "name": "Armand", "skills": ["Astro", "Starlight"] } ``` Alternatively, you can set this value in your editor settings. For example, to set this value in [VSCode's `json.schemas` setting](https://code.visualstudio.com/docs/languages/json#\_json-schemas-and-settings), provide the path of files to match and the location of your JSON schema: ```json { "json.schemas": [ { "fileMatch": ["/src/content/authors/**"], "url": "./.astro/collections/authors.schema.json" } ] } ``` If you were previously using this feature, please remove the experimental flag from your Astro config: ```diff import { defineConfig } from 'astro' export default defineConfig({ - experimental: { - contentCollectionJsonSchema: true - } }) ``` If you have been waiting for stabilization before using JSON Schema generation for content collections, you can now do so. Please see [the content collections guide](https://docs.astro.build/en/guides/content-collections/#enabling-json-schema-generation) for more about this feature. - [#​11542](https://togithub.com/withastro/astro/pull/11542) [`45ad326`](https://togithub.com/withastro/astro/commit/45ad326932971b44630a32d9092c9505f24f42f8) Thanks [@​ematipico](https://togithub.com/ematipico)! - The `experimental.rewriting` feature introduced behind a flag in [v4.8.0](https://togithub.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#480) is no longer experimental and is available for general use. `Astro.rewrite()` and `context.rewrite()` allow you to render a different page without changing the URL in the browser. Unlike using a redirect, your visitor is kept on the original page they visited. Rewrites can be useful for showing the same content at multiple paths (e.g. /products/shoes/men/ and /products/men/shoes/) without needing to maintain two identical source files. Rewrites are supported in Astro pages, endpoints, and middleware. Return `Astro.rewrite()` in the frontmatter of a `.astro` page component to display a different page's content, such as fallback localized content: ### [`v4.12.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4123) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.12.2...astro@4.12.3) ##### Patch Changes - [#​11509](https://togithub.com/withastro/astro/pull/11509) [`dfbca06`](https://togithub.com/withastro/astro/commit/dfbca06dda674c64c7010db2f4de951496a1e631) Thanks [@​bluwy](https://togithub.com/bluwy)! - Excludes hoisted scripts and styles from Astro components imported with `?url` or `?raw` - [#​11561](https://togithub.com/withastro/astro/pull/11561) [`904f1e5`](https://togithub.com/withastro/astro/commit/904f1e535aeb7a14ba7ce07c3130e25f3e708266) Thanks [@​ArmandPhilippot](https://togithub.com/ArmandPhilippot)! - Uses the correct pageSize default in `page.size` JSDoc comment - [#​11571](https://togithub.com/withastro/astro/pull/11571) [`1c3265a`](https://togithub.com/withastro/astro/commit/1c3265a8c9c0b1b1bd597f756b63463146bacc3a) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - **BREAKING CHANGE to the experimental Actions API only.** Install the latest `@astrojs/react` integration as well if you're using React 19 features. Make `.safe()` the default return value for actions. This means `{ data, error }` will be returned when calling an action directly. If you prefer to get the data while allowing errors to throw, chain the `.orThrow()` modifier. ```ts import { actions } from 'astro:actions'; // Before const { data, error } = await actions.like.safe(); // After const { data, error } = await actions.like(); // Before const newLikes = await actions.like(); // After const newLikes = await actions.like.orThrow(); ``` ### [`v4.12.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4122) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.12.1...astro@4.12.2) ##### Patch Changes - [#​11505](https://togithub.com/withastro/astro/pull/11505) [`8ff7658`](https://togithub.com/withastro/astro/commit/8ff7658001c2c7bedf6adcddf7a9341196f2d376) Thanks [@​ematipico](https://togithub.com/ematipico)! - Enhances the dev server logging when rewrites occur during the lifecycle or rendering. The dev server will log the status code **before** and **after** a rewrite: ```shell 08:16:48 [404] (rewrite) /foo/about 200ms 08:22:13 [200] (rewrite) /about 23ms ``` - [#​11506](https://togithub.com/withastro/astro/pull/11506) [`026e8ba`](https://togithub.com/withastro/astro/commit/026e8baf3323e99f96530999fd32a0a9b305854d) Thanks [@​sarah11918](https://togithub.com/sarah11918)! - Fixes typo in documenting the `slot="fallback"` attribute for Server Islands experimental feature. - [#​11508](https://togithub.com/withastro/astro/pull/11508) [`ca335e1`](https://togithub.com/withastro/astro/commit/ca335e1dc09bc83d3f8f5b9dd54f116bcb4881e4) Thanks [@​cramforce](https://togithub.com/cramforce)! - Escapes HTML in serialized props - [#​11501](https://togithub.com/withastro/astro/pull/11501) [`4db78ae`](https://togithub.com/withastro/astro/commit/4db78ae046a39628dfe8d68e776706559d4f8ba7) Thanks [@​martrapp](https://togithub.com/martrapp)! - Adds the missing export for accessing the `getFallback()` function of the client site router. ### [`v4.12.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4121) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.12.0...astro@4.12.1) ##### Patch Changes - [#​11486](https://togithub.com/withastro/astro/pull/11486) [`9c0c849`](https://togithub.com/withastro/astro/commit/9c0c8492d987cd9214ed53e71fb29599c206966a) Thanks [@​ematipico](https://togithub.com/ematipico)! - Adds a new function called `addClientRenderer` to the Container API. This function should be used when rendering components using the `client:*` directives. The `addClientRenderer` API must be used *after* the use of the `addServerRenderer`: ```js const container = await experimental_AstroContainer.create(); container.addServerRenderer({ renderer }); container.addClientRenderer({ name: '@​astrojs/react', entrypoint: '@​astrojs/react/client.js' }); const response = await container.renderToResponse(Component); ``` - [#​11500](https://togithub.c

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

cloudflare-workers-and-pages[bot] commented 4 months ago

Deploying yuna-work with  Cloudflare Pages  Cloudflare Pages

Latest commit: 47925c0
Status: ✅  Deploy successful!
Preview URL: https://7e14b03c.yuna-work.pages.dev
Branch Preview URL: https://renovate-all-minor-patch.yuna-work.pages.dev

View logs