Update all minor dependencies #416

Merged
renovate merged 1 commit from renovate/npm-dep-minor into main 2025-07-19 03:02:58 -04:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
@astrojs/netlify (source) 6.4.1 -> 6.5.1 age confidence
astro (source) 5.11.0 -> 5.12.0 age confidence

Release Notes

withastro/astro (@​astrojs/netlify)

v6.5.1

Compare Source

Patch Changes
  • #​14078 38c2255 Thanks @​ascorbic! - Fixes a bug that caused remote images to sometimes not display correctly when using the Netlify Image CDN in local dev

  • #​14078 38c2255 Thanks @​ascorbic! - Adds a new devFeatures configuration option to control some of the behaviors introduced in @astrojs/netlify@6.5.0, which introduced Netlify production features into the dev environment.

    You can now individually configure whether or not to populate your environment with the variables from your linked Netlify site (now disabled by default), and use a local version of the Netlify Image CDN for images (still enabled by default) when running astro dev.

    Additionally, the adapter no longer injects environment variables from Netlify by default when running astro dev.

    @astrojs/netlify@6.5.0 introduced a potentially breaking change that enabled injecting Netlify environment variables in astro dev by default. This could lead to unexpected behavior in Astro projects that do not expect these variables to be present. This now defaults to disabled, and users can enable it by setting the devFeatures.environmentVariables option in their Astro config. Similarly, you can use devFeatures.images to disable using the Netlify Image CDN locally if needed:

    import { defineConfig } from 'astro/config';
    import netlify from '@​astrojs/netlify';
    
    export default defineConfig({
      adapter: netlify({
        devFeatures: {
          environmentVariables: true,
          images: false,
        },
      }),
    });
    

    You can also set devFeatures to true or false to enable or disable all configurable dev features:

    import { defineConfig } from 'astro/config';
    import netlify from '@​astrojs/netlify';
    export default defineConfig({
      adapter: netlify({
        devFeatures: true,
      }),
    });
    
  • Updated dependencies []:

v6.5.0

Compare Source

Minor Changes

This is an implementation update that does not require any change to your project code, but means that astro dev will run with an environment closer to a production deploy on Netlify. This brings several benefits you'll now notice working in dev mode!

For example, your project running in development mode will now use local versions of the Netlify Image CDN for images, and a local Blobs server for sessions. It will also populate your environment with the variables from your linked Netlify site.

While not required for fully static, prerendered web sites, you may still wish to add this for the additional benefits of now working in a dev environment closer to your Netlify production deploy, as well as to take advantage of Netlify-exclusive features such as the Netlify Image CDN.

Patch Changes
withastro/astro (astro)

v5.12.0

Compare Source

Minor Changes
  • #​13971 fe35ee2 Thanks @​adamhl8! - Adds an experimental flag rawEnvValues to disable coercion of import.meta.env values (e.g. converting strings to other data types) that are populated from process.env

    Astro allows you to configure a type-safe schema for your environment variables, and converts variables imported via astro:env into the expected type.

    However, Astro also converts your environment variables used through import.meta.env in some cases, and this can prevent access to some values such as the strings "true" (which is converted to a boolean value), and "1" (which is converted to a number).

    The experimental.rawEnvValues flag disables coercion of import.meta.env values that are populated from process.env, allowing you to use the raw value.

    To enable this feature, add the experimental flag in your Astro config:

    import { defineConfig } from "astro/config"
    
    export default defineConfig({
    +  experimental: {
    +    rawEnvValues: true,
    +  }
    })
    

    If you were relying on this coercion, you may need to update your project code to apply it manually:

    - const enabled: boolean = import.meta.env.ENABLED
    + const enabled: boolean = import.meta.env.ENABLED === "true"
    

    See the experimental raw environment variables reference docs for more information.

  • #​13941 6bd5f75 Thanks @​aditsachde! - Adds support for TOML files to Astro's built-in glob() and file() content loaders.

    In Astro 5.2, Astro added support for using TOML frontmatter in Markdown files instead of YAML. However, if you wanted to use TOML files as local content collection entries themselves, you needed to write your own loader.

    Astro 5.12 now directly supports loading data from TOML files in content collections in both the glob() and the file() loaders.

    If you had added your own TOML content parser for the file() loader, you can now remove it as this functionality is now included:

    // src/content.config.ts
    import { defineCollection } from "astro:content";
    import { file } from "astro/loaders";
    - import { parse as parseToml } from "toml";
    const dogs = defineCollection({
    -  loader: file("src/data/dogs.toml", { parser: (text) => parseToml(text) }),
    + loader: file("src/data/dogs.toml")
      schema: /* ... */
    })
    

    Note that TOML does not support top-level arrays. Instead, the file() loader considers each top-level table to be an independent entry. The table header is populated in the id field of the entry object.

    See Astro's content collections guide for more information on using the built-in content loaders.

Patch Changes

v5.11.2

Compare Source

Patch Changes

v5.11.1

Compare Source

Patch Changes
  • #​14045 3276b79 Thanks @​ghubo! - Fixes a problem where importing animated .avif files returns a NoImageMetadata error.

  • #​14041 0c4d5f8 Thanks @​dixslyf! - Fixes a <ClientRouter /> bug where the fallback view transition animations when exiting a page
    ran too early for browsers that do not support the View Transition API.
    This bug prevented event.viewTransition?.skipTransition() from skipping the page exit animation
    when used in an astro:before-swap event hook.


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@astrojs/netlify](https://docs.astro.build/en/guides/integrations-guide/netlify/) ([source](https://github.com/withastro/astro/tree/HEAD/packages/integrations/netlify)) | [`6.4.1` -> `6.5.1`](https://renovatebot.com/diffs/npm/@astrojs%2fnetlify/6.4.1/6.5.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2fnetlify/6.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2fnetlify/6.4.1/6.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [astro](https://astro.build) ([source](https://github.com/withastro/astro/tree/HEAD/packages/astro)) | [`5.11.0` -> `5.12.0`](https://renovatebot.com/diffs/npm/astro/5.11.0/5.12.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/astro/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/astro/5.11.0/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>withastro/astro (@&#8203;astrojs/netlify)</summary> ### [`v6.5.1`](https://github.com/withastro/astro/blob/HEAD/packages/integrations/netlify/CHANGELOG.md#651) [Compare Source](https://github.com/withastro/astro/compare/@astrojs/netlify@6.5.0...@astrojs/netlify@6.5.1) ##### Patch Changes - [#&#8203;14078](https://github.com/withastro/astro/pull/14078) [`38c2255`](https://github.com/withastro/astro/commit/38c2255ae7ef916e231b31606104d11c149b71b7) Thanks [@&#8203;ascorbic](https://github.com/ascorbic)! - Fixes a bug that caused remote images to sometimes not display correctly when using the Netlify Image CDN in local dev - [#&#8203;14078](https://github.com/withastro/astro/pull/14078) [`38c2255`](https://github.com/withastro/astro/commit/38c2255ae7ef916e231b31606104d11c149b71b7) Thanks [@&#8203;ascorbic](https://github.com/ascorbic)! - Adds a new `devFeatures` configuration option to control some of the behaviors introduced in `@astrojs/netlify@6.5.0`, which introduced Netlify production features into the dev environment. You can now individually configure whether or not to populate your environment with the variables from your linked Netlify site (now disabled by default), and use a local version of the Netlify Image CDN for images (still enabled by default) when running `astro dev`. Additionally, the adapter no longer injects environment variables from Netlify by default when running `astro dev`. `@astrojs/netlify@6.5.0` introduced a potentially breaking change that enabled injecting Netlify environment variables in `astro dev` by default. This could lead to unexpected behavior in Astro projects that do not expect these variables to be present. This now defaults to disabled, and users can enable it by setting the `devFeatures.environmentVariables` option in their Astro config. Similarly, you can use `devFeatures.images` to disable using the Netlify Image CDN locally if needed: ```js import { defineConfig } from 'astro/config'; import netlify from '@&#8203;astrojs/netlify'; export default defineConfig({ adapter: netlify({ devFeatures: { environmentVariables: true, images: false, }, }), }); ``` You can also set `devFeatures` to `true` or `false` to enable or disable all configurable dev features: ```js import { defineConfig } from 'astro/config'; import netlify from '@&#8203;astrojs/netlify'; export default defineConfig({ adapter: netlify({ devFeatures: true, }), }); ``` - Updated dependencies \[]: - [@&#8203;astrojs/underscore-redirects](https://github.com/astrojs/underscore-redirects)@&#8203;1.0.0 ### [`v6.5.0`](https://github.com/withastro/astro/blob/HEAD/packages/integrations/netlify/CHANGELOG.md#650) [Compare Source](https://github.com/withastro/astro/compare/@astrojs/netlify@6.4.1...@astrojs/netlify@6.5.0) ##### Minor Changes - [#&#8203;13768](https://github.com/withastro/astro/pull/13768) [`faa0eff`](https://github.com/withastro/astro/commit/faa0effe3159f4979e6e3a45b38c39a4db703b3a) Thanks [@&#8203;eduardoboucas](https://github.com/eduardoboucas)! - Updates the adapter to use Netlify's [Vite plugin](https://www.npmjs.com/package/@&#8203;netlify/vite-plugin) in development. This is an implementation update that does not require any change to your project code, but means that `astro dev` will run with an environment closer to a production deploy on Netlify. This brings several benefits you'll now notice working in dev mode! For example, your project running in development mode will now use local versions of the Netlify Image CDN for images, and a local Blobs server for sessions. It will also populate your environment with the variables from your linked Netlify site. While not required for fully static, prerendered web sites, you may still wish to add this for the additional benefits of now working in a dev environment closer to your Netlify production deploy, as well as to take advantage of Netlify-exclusive features such as the Netlify Image CDN. ##### Patch Changes - Updated dependencies \[]: - [@&#8203;astrojs/underscore-redirects](https://github.com/astrojs/underscore-redirects)@&#8203;1.0.0 </details> <details> <summary>withastro/astro (astro)</summary> ### [`v5.12.0`](https://github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5120) [Compare Source](https://github.com/withastro/astro/compare/astro@5.11.2...astro@5.12.0) ##### Minor Changes - [#&#8203;13971](https://github.com/withastro/astro/pull/13971) [`fe35ee2`](https://github.com/withastro/astro/commit/fe35ee2835997e7e6c3e1975dc6dacfa1052a765) Thanks [@&#8203;adamhl8](https://github.com/adamhl8)! - Adds an experimental flag `rawEnvValues` to disable coercion of `import.meta.env` values (e.g. converting strings to other data types) that are populated from `process.env` Astro allows you to configure a [type-safe schema for your environment variables](https://docs.astro.build/en/guides/environment-variables/#type-safe-environment-variables), and converts variables imported via `astro:env` into the expected type. However, Astro also converts your environment variables used through `import.meta.env` in some cases, and this can prevent access to some values such as the strings `"true"` (which is converted to a boolean value), and `"1"` (which is converted to a number). The `experimental.rawEnvValues` flag disables coercion of `import.meta.env` values that are populated from `process.env`, allowing you to use the raw value. To enable this feature, add the experimental flag in your Astro config: ```diff import { defineConfig } from "astro/config" export default defineConfig({ + experimental: { + rawEnvValues: true, + } }) ``` If you were relying on this coercion, you may need to update your project code to apply it manually: ```ts diff - const enabled: boolean = import.meta.env.ENABLED + const enabled: boolean = import.meta.env.ENABLED === "true" ``` See the [experimental raw environment variables reference docs](https://docs.astro.build/en/reference/experimental-flags/raw-env-values/) for more information. - [#&#8203;13941](https://github.com/withastro/astro/pull/13941) [`6bd5f75`](https://github.com/withastro/astro/commit/6bd5f75806cb4df39d9e4e9b1f2225dcfdd724b0) Thanks [@&#8203;aditsachde](https://github.com/aditsachde)! - Adds support for TOML files to Astro's built-in `glob()` and `file()` content loaders. In Astro 5.2, Astro added support for using TOML frontmatter in Markdown files instead of YAML. However, if you wanted to use TOML files as local content collection entries themselves, you needed to write your own loader. Astro 5.12 now directly supports loading data from TOML files in content collections in both the `glob()` and the `file()` loaders. If you had added your own TOML content parser for the `file()` loader, you can now remove it as this functionality is now included: ```diff // src/content.config.ts import { defineCollection } from "astro:content"; import { file } from "astro/loaders"; - import { parse as parseToml } from "toml"; const dogs = defineCollection({ - loader: file("src/data/dogs.toml", { parser: (text) => parseToml(text) }), + loader: file("src/data/dogs.toml") schema: /* ... */ }) ``` Note that TOML does not support top-level arrays. Instead, the `file()` loader considers each top-level table to be an independent entry. The table header is populated in the `id` field of the entry object. See Astro's [content collections guide](https://docs.astro.build/en/guides/content-collections/#built-in-loaders) for more information on using the built-in content loaders. ##### Patch Changes - Updated dependencies \[[`6bd5f75`](https://github.com/withastro/astro/commit/6bd5f75806cb4df39d9e4e9b1f2225dcfdd724b0)]: - [@&#8203;astrojs/markdown-remark](https://github.com/astrojs/markdown-remark)@&#8203;6.3.3 ### [`v5.11.2`](https://github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5112) [Compare Source](https://github.com/withastro/astro/compare/astro@5.11.1...astro@5.11.2) ##### Patch Changes - [#&#8203;14064](https://github.com/withastro/astro/pull/14064) [`2eb77d8`](https://github.com/withastro/astro/commit/2eb77d8f54be3faea38370693d33fb220231ea84) Thanks [@&#8203;jp-knj](https://github.com/jp-knj)! - Allows using `tsconfig` `compilerOptions.paths` without setting `compilerOptions.baseUrl` - [#&#8203;14068](https://github.com/withastro/astro/pull/14068) [`10189c0`](https://github.com/withastro/astro/commit/10189c0b44881fd22bac69acc182834d597d9603) Thanks [@&#8203;jsparkdev](https://github.com/jsparkdev)! - Fixes the incorrect CSS import path shown in the terminal message during Tailwind integration setup. ### [`v5.11.1`](https://github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5111) [Compare Source](https://github.com/withastro/astro/compare/astro@5.11.0...astro@5.11.1) ##### Patch Changes - [#&#8203;14045](https://github.com/withastro/astro/pull/14045) [`3276b79`](https://github.com/withastro/astro/commit/3276b798d4ecb41c98f97e94d4ddeaa91aa25013) Thanks [@&#8203;ghubo](https://github.com/ghubo)! - Fixes a problem where importing animated `.avif` files returns a `NoImageMetadata` error. - [#&#8203;14041](https://github.com/withastro/astro/pull/14041) [`0c4d5f8`](https://github.com/withastro/astro/commit/0c4d5f8d57d166fc24d12b37cf208d263f330868) Thanks [@&#8203;dixslyf](https://github.com/dixslyf)! - Fixes a `<ClientRouter />` bug where the fallback view transition animations when exiting a page ran too early for browsers that do not support the View Transition API. This bug prevented `event.viewTransition?.skipTransition()` from skipping the page exit animation when used in an `astro:before-swap` event hook. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zMi4yIiwidXBkYXRlZEluVmVyIjoiNDEuMzIuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsibnBtLWRlcGVuZGVuY2llcyJdfQ==-->
renovate force-pushed renovate/npm-dep-minor from a69704c7ef
All checks were successful
ci/woodpecker/pr/pull-request Pipeline was successful
to de4ca96987
All checks were successful
ci/woodpecker/pr/pull-request Pipeline was successful
2025-07-19 02:03:33 -04:00
Compare
renovate referenced this pull request from a commit 2025-07-19 03:02:59 -04:00
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chrisw-b/astro-watch-watch!416
No description provided.