OpenPodcastAPI / api-specs

Open Podcast API specifications
https://www.openpodcastapi.org/specs
Other
47 stars 1 forks source link

fix(deps): update astro #92

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@astrojs/starlight (source) ^0.23.4 -> ^0.24.3 age adoption passing confidence
astro (source) ^4.9.3 -> ^4.10.3 age adoption passing confidence

Release Notes

withastro/starlight (@​astrojs/starlight) ### [`v0.24.3`](https://togithub.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0243) [Compare Source](https://togithub.com/withastro/starlight/compare/@astrojs/starlight@0.24.2...@astrojs/starlight@0.24.3) ##### Patch Changes - [#​2028](https://togithub.com/withastro/starlight/pull/2028) [`af81ad3`](https://togithub.com/withastro/starlight/commit/af81ad38fd26c375c0372718fd3e152b7f1a0fa6) Thanks [@​HiDeoo](https://togithub.com/HiDeoo)! - Fixes a search dialog height issue in Safari. - [#​2022](https://togithub.com/withastro/starlight/pull/2022) [`80f82b1`](https://togithub.com/withastro/starlight/commit/80f82b15afae1366676e0c25e674210a19606df5) Thanks [@​playmr365](https://togithub.com/playmr365)! - Updates Czech UI translations ### [`v0.24.2`](https://togithub.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0242) [Compare Source](https://togithub.com/withastro/starlight/compare/@astrojs/starlight@0.24.1...@astrojs/starlight@0.24.2) ##### Patch Changes - [#​2008](https://togithub.com/withastro/starlight/pull/2008) [`40359c7`](https://togithub.com/withastro/starlight/commit/40359c7b73d9c7d60f0b44a870dbc93ba941228f) Thanks [@​vnepogodin](https://togithub.com/vnepogodin)! - Add Slovak language UI translation. - [#​2004](https://togithub.com/withastro/starlight/pull/2004) [`0aa2f06`](https://togithub.com/withastro/starlight/commit/0aa2f06d3a35a3c5182b4d461c8f3489ac145301) Thanks [@​liruifengv](https://togithub.com/liruifengv)! - Removes an outdated export in `package.json` - [#​2007](https://togithub.com/withastro/starlight/pull/2007) [`44ca490`](https://togithub.com/withastro/starlight/commit/44ca490f36ecd6789d0865dd2506e5ea03dfa0fb) Thanks [@​delucis](https://togithub.com/delucis)! - Updates internal dependencies - [#​1993](https://togithub.com/withastro/starlight/pull/1993) [`60165b2`](https://togithub.com/withastro/starlight/commit/60165b20c9d11a08c4c4793615778e045b41b7de) Thanks [@​HiDeoo](https://togithub.com/HiDeoo)! - Fixes an i18n configuration issue when using a single root locale. ### [`v0.24.1`](https://togithub.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0241) [Compare Source](https://togithub.com/withastro/starlight/compare/@astrojs/starlight@0.24.0...@astrojs/starlight@0.24.1) ##### Patch Changes - [#​1978](https://togithub.com/withastro/starlight/pull/1978) [`a5ab8cd6`](https://togithub.com/withastro/starlight/commit/a5ab8cd6a0095cb48b65b9784054714f87bd7e4d) Thanks [@​kylewlacy](https://togithub.com/kylewlacy)! - Add new social icon for Zulip - [#​1962](https://togithub.com/withastro/starlight/pull/1962) [`2ef19a94`](https://togithub.com/withastro/starlight/commit/2ef19a947c54c7d2c085bf8820c862737e2ab08b) Thanks [@​torn4dom4n](https://togithub.com/torn4dom4n)! - Updates Vietnamese UI translations - [#​1976](https://togithub.com/withastro/starlight/pull/1976) [`5a61f73c`](https://togithub.com/withastro/starlight/commit/5a61f73c198a33b27342c9b0371dd5fd22da2190) Thanks [@​jsparkdev](https://togithub.com/jsparkdev)! - Updates Korean UI translations - [#​1987](https://togithub.com/withastro/starlight/pull/1987) [`0b8a8439`](https://togithub.com/withastro/starlight/commit/0b8a843936bd8506ac228608b07c54a76a7add19) Thanks [@​HiDeoo](https://togithub.com/HiDeoo)! - Fixes issues with the locale text direction detection mechanism in some environments like WebContainers or Bun. ### [`v0.24.0`](https://togithub.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0240) [Compare Source](https://togithub.com/withastro/starlight/compare/@astrojs/starlight@0.23.4...@astrojs/starlight@0.24.0) ##### Minor Changes - [#​1841](https://togithub.com/withastro/starlight/pull/1841) [`ee0cd38a`](https://togithub.com/withastro/starlight/commit/ee0cd38a1fae31717fe820e779baeabe693cd67a) Thanks [@​HiDeoo](https://togithub.com/HiDeoo)! - Adds support for `Astro.currentLocale` and Astro’s i18n routing. ⚠️ **Potentially breaking change:** Starlight now configures Astro’s `i18n` option for you based on its `locales` config. If you are currently using Astro’s `i18n` option as well as Starlight’s `locales` option, you will need to remove one of these. In general we recommend using Starlight’s `locales`, but if you have a more advanced configuration you may choose to keep Astro’s `i18n` config instead. - [#​1958](https://togithub.com/withastro/starlight/pull/1958) [`081d1a96`](https://togithub.com/withastro/starlight/commit/081d1a969462633e41ca95a18a1ec121cb4af5d2) Thanks [@​delucis](https://togithub.com/delucis)! - Allows users to opt into displaying a “Built with Starlight” link in the site footer - [#​1530](https://togithub.com/withastro/starlight/pull/1530) [`dd64836a`](https://togithub.com/withastro/starlight/commit/dd64836af45f33df4a99ab864eabb91fc9b8e204) Thanks [@​kevinzunigacuellar](https://togithub.com/kevinzunigacuellar)! - Adds a new `` component
withastro/astro (astro) ### [`v4.10.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4103) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.10.2...astro@4.10.3) ##### Patch Changes - [#​11213](https://togithub.com/withastro/astro/pull/11213) [`94ac7ef`](https://togithub.com/withastro/astro/commit/94ac7efd70fd264b10887805a02d5d1877af8701) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Removes the `PUBLIC_` prefix constraint for `astro:env` public variables - [#​11213](https://togithub.com/withastro/astro/pull/11213) [`94ac7ef`](https://togithub.com/withastro/astro/commit/94ac7efd70fd264b10887805a02d5d1877af8701) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - **BREAKING CHANGE to the experimental `astro:env` feature only** Server secrets specified in the schema must now be imported from `astro:env/server`. Using `getSecret()` is no longer required to use these environment variables in your schema: ```diff - import { getSecret } from 'astro:env/server' - const API_SECRET = getSecret("API_SECRET") + import { API_SECRET } from 'astro:env/server' ``` Note that using `getSecret()` with these keys is still possible, but no longer involves any special handling and the raw value will be returned, just like retrieving secrets not specified in your schema. - [#​11234](https://togithub.com/withastro/astro/pull/11234) [`4385bf7`](https://togithub.com/withastro/astro/commit/4385bf7a4dc9c65bff53a30c660f7a909fcabfc9) Thanks [@​ematipico](https://togithub.com/ematipico)! - Adds a new function called `addServerRenderer` to the Container API. Use this function to manually store renderers inside the instance of your container. This new function should be preferred when using the Container API in environments like on-demand pages: ```ts import type { APIRoute } from 'astro'; import { experimental_AstroContainer } from 'astro/container'; import reactRenderer from '@​astrojs/react/server.js'; import vueRenderer from '@​astrojs/vue/server.js'; import ReactComponent from '../components/button.jsx'; import VueComponent from '../components/button.vue'; // MDX runtime is contained inside the Astro core import mdxRenderer from 'astro/jsx/server.js'; // In case you need to import a custom renderer import customRenderer from '../renderers/customRenderer.js'; export const GET: APIRoute = async (ctx) => { const container = await experimental_AstroContainer.create(); container.addServerRenderer({ renderer: reactRenderer }); container.addServerRenderer({ renderer: vueRenderer }); container.addServerRenderer({ renderer: customRenderer }); // You can pass a custom name too container.addServerRenderer({ name: 'customRenderer', renderer: customRenderer, }); const vueComponent = await container.renderToString(VueComponent); return await container.renderToResponse(Component); }; ``` - [#​11249](https://togithub.com/withastro/astro/pull/11249) [`de60c69`](https://togithub.com/withastro/astro/commit/de60c69aa06c41f76a5510cc1d0bee4c8a5326a5) Thanks [@​markgaze](https://togithub.com/markgaze)! - Fixes a performance issue with JSON schema generation - [#​11242](https://togithub.com/withastro/astro/pull/11242) [`e4fc2a0`](https://togithub.com/withastro/astro/commit/e4fc2a0bafb4723566552d0c5954b25447890f51) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes a case where the virtual module `astro:container` wasn't resolved - [#​11236](https://togithub.com/withastro/astro/pull/11236) [`39bc3a5`](https://togithub.com/withastro/astro/commit/39bc3a5e8161232d6fdc6cc52b1f246083966d8e) Thanks [@​ascorbic](https://togithub.com/ascorbic)! - Fixes a case where symlinked content collection directories were not correctly resolved - [#​11258](https://togithub.com/withastro/astro/pull/11258) [`d996db6`](https://togithub.com/withastro/astro/commit/d996db6f0bf361ebd84b23d022db7bb10fb316e6) Thanks [@​ascorbic](https://togithub.com/ascorbic)! - Adds a new error `RewriteWithBodyUsed` that throws when `Astro.rewrite` is used after the request body has already been read. - [#​11243](https://togithub.com/withastro/astro/pull/11243) [`ba2b14c`](https://togithub.com/withastro/astro/commit/ba2b14cc28bd219c241313cdf142b736e7442014) Thanks [@​V3RON](https://togithub.com/V3RON)! - Fixes a prerendering issue for libraries in `node_modules` when a folder with an underscore is in the path. - [#​11244](https://togithub.com/withastro/astro/pull/11244) [`d07d2f7`](https://togithub.com/withastro/astro/commit/d07d2f7ac9d87af907beaca700ba4116dc1d6f37) Thanks [@​ematipico](https://togithub.com/ematipico)! - Improves the developer experience of the custom `500.astro` page in development mode. Before, in development, an error thrown during the rendering phase would display the default error overlay, even when users had the `500.astro` page. Now, the development server will display the `500.astro` and the original error is logged in the console. - [#​11240](https://togithub.com/withastro/astro/pull/11240) [`2851b0a`](https://togithub.com/withastro/astro/commit/2851b0aa2e2abe80ea603b53c67770e94980a8d3) Thanks [@​ascorbic](https://togithub.com/ascorbic)! - Ignores query strings in module identifiers when matching ".astro" file extensions in Vite plugin - [#​11245](https://togithub.com/withastro/astro/pull/11245) [`e22be22`](https://togithub.com/withastro/astro/commit/e22be22e5729e60220726e92b52d2833c937fd1c) Thanks [@​bluwy](https://togithub.com/bluwy)! - Refactors prerendering chunk handling to correctly remove unused code during the SSR runtime ### [`v4.10.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4102) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.10.1...astro@4.10.2) ##### Patch Changes - [#​11231](https://togithub.com/withastro/astro/pull/11231) [`58d7dbb`](https://togithub.com/withastro/astro/commit/58d7dbb5e0cabea1ac7a35af5b46685fce50d723) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes a regression for `getViteConfig`, where the inline config wasn't merged in the final config. - [#​11228](https://togithub.com/withastro/astro/pull/11228) [`1e293a1`](https://togithub.com/withastro/astro/commit/1e293a1b819024f16bfe482f272df0678cdd7874) Thanks [@​ascorbic](https://togithub.com/ascorbic)! - Updates `getCollection()` to always return a cloned array - [#​11207](https://togithub.com/withastro/astro/pull/11207) [`7d9aac3`](https://togithub.com/withastro/astro/commit/7d9aac376c4b8844917901f7f566f7259d7f66c8) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes an issue in the rewriting logic where old data was not purged during the rewrite flow. This caused some false positives when checking the validity of URL path names during the rendering phase. - [#​11189](https://togithub.com/withastro/astro/pull/11189) [`75a8fe7`](https://togithub.com/withastro/astro/commit/75a8fe7e72b95f20c36f034de2b51b6a9550e27e) Thanks [@​ematipico](https://togithub.com/ematipico)! - Improve error message when using `getLocaleByPath` on path that doesn't contain any locales. - [#​11195](https://togithub.com/withastro/astro/pull/11195) [`0a6ab6f`](https://togithub.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Adds support for enums to `astro:env` You can now call `envField.enum`: ```js import { defineConfig, envField } from 'astro/config'; export default defineConfig({ experimental: { env: { schema: { API_VERSION: envField.enum({ context: 'server', access: 'secret', values: ['v1', 'v2'], }), }, }, }, }); ``` - [#​11210](https://togithub.com/withastro/astro/pull/11210) [`66fc028`](https://togithub.com/withastro/astro/commit/66fc0283d3f1d1a4f17d7db65ca3521a01fb5bec) Thanks [@​matthewp](https://togithub.com/matthewp)! - Close the iterator only after rendering is complete - [#​11195](https://togithub.com/withastro/astro/pull/11195) [`0a6ab6f`](https://togithub.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Adds additional validation options to `astro:env` `astro:env` schema datatypes `string` and `number` now have new optional validation rules: ```js import { defineConfig, envField } from 'astro/config'; export default defineConfig({ experimental: { env: { schema: { FOO: envField.string({ // ... max: 32, min: 3, length: 12, url: true, includes: 'foo', startsWith: 'bar', endsWith: 'baz', }), BAR: envField.number({ // ... gt: 2, min: 3, lt: 10, max: 9, int: true, }), }, }, }, }); ``` - [#​11211](https://togithub.com/withastro/astro/pull/11211) [`97724da`](https://togithub.com/withastro/astro/commit/97724da93ed7b1db19632c0cdb4b3aab1ff84812) Thanks [@​matthewp](https://togithub.com/matthewp)! - Let middleware handle the original request URL - [#​10607](https://togithub.com/withastro/astro/pull/10607) [`7327c6a`](https://togithub.com/withastro/astro/commit/7327c6acb197e1f2ea6cf94cfbc5700bc755f982) Thanks [@​frankbits](https://togithub.com/frankbits)! - Fixes an issue where a leading slash created incorrect conflict resolution between pages generated from static routes and catch-all dynamic routes ### [`v4.10.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4101) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.10.0...astro@4.10.1) ##### Patch Changes - [#​11198](https://togithub.com/withastro/astro/pull/11198) [`8b9a499`](https://togithub.com/withastro/astro/commit/8b9a499d3733e9d0fc6a0bd067ece19bd36f4726) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Fixes a case where `astro:env` `getSecret` would not retrieve environment variables properly in dev and build modes - [#​11206](https://togithub.com/withastro/astro/pull/11206) [`734b98f`](https://togithub.com/withastro/astro/commit/734b98fecf0212cd76be3c935a49f84a9a7dab34) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - **BREAKING CHANGE to the experimental `astro:env` feature only** Updates the adapter `astro:env` entrypoint from `astro:env/setup` to `astro/env/setup` - [#​11205](https://togithub.com/withastro/astro/pull/11205) [`8c45391`](https://togithub.com/withastro/astro/commit/8c4539145f0b6a735b65852b2f2b1a7e9f5a9c3f) Thanks [@​Nin3lee](https://togithub.com/Nin3lee)! - Fixes a typo in the config reference ### [`v4.10.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4100) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.9.3...astro@4.10.0) ##### Minor Changes - [#​10974](https://togithub.com/withastro/astro/pull/10974) [`2668ef9`](https://togithub.com/withastro/astro/commit/2668ef984104574f25f29ef75e2572a0745d1666) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Adds experimental support for the `astro:env` API. The `astro:env` API lets you configure a type-safe schema for your environment variables, and indicate whether they should be available on the server or the client. Import and use your defined variables from the appropriate `/client` or `/server` module:

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.

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



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

netlify[bot] commented 5 months ago

Deploy Preview for openpodcastapi ready!

Name Link
Latest commit 39afcdc0a0f935cfb0eeaf7142d6226fb78bb0f6
Latest deploy log https://app.netlify.com/sites/openpodcastapi/deploys/667211147256170008a96b8d
Deploy Preview https://deploy-preview-92--openpodcastapi.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.