Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 23, 2026

Bumps astro from 5.16.12 to 5.16.14.

Release notes

Sourced from astro's releases.

astro@5.16.14

Patch Changes

  • #15213 c775fce Thanks @​florian-lefebvre! - BREAKING CHANGE to the experimental Fonts API only

    Updates how the local provider must be used when using the experimental Fonts API

    Previously, there were 2 kinds of font providers: remote and local.

    Font providers are now unified. If you are using the local provider, the process for configuring local fonts must be updated:

    -import { defineConfig } from "astro/config";
    +import { defineConfig, fontProviders } from "astro/config";
    export default defineConfig({
    experimental: {
    fonts: [{
    name: "Custom",
    cssVariable: "--font-custom",
    
    
           provider: "local",
    
    
    
    
    
           provider: fontProviders.local(),
    
    
    
           options: {
          variants: [
              {
                  weight: 400,
                  style: "normal",
                  src: ["./src/assets/fonts/custom-400.woff2"]
              },
              {
                  weight: 700,
                  style: "normal",
                  src: ["./src/assets/fonts/custom-700.woff2"]
              }
              // ...
          ]
    
    
    
           }
      }]
    
    }
    });

Once configured, there is no change to using local fonts in your project. However, you should inspect your deployed site to confirm that your new font configuration is being applied.

See the experimental Fonts API docs for more information.

  • #15213 c775fce Thanks @​florian-lefebvre! - Exposes root on FontProvider init() context

    When building a custom FontProvider for the experimental Fonts API, the init() method receives a context. This context now exposes a root URL, useful for resolving local files:

  • ... (truncated)

    Changelog

    Sourced from astro's changelog.

    5.16.14

    Patch Changes

    • #15213 c775fce Thanks @​florian-lefebvre! - BREAKING CHANGE to the experimental Fonts API only

      Updates how the local provider must be used when using the experimental Fonts API

      Previously, there were 2 kinds of font providers: remote and local.

      Font providers are now unified. If you are using the local provider, the process for configuring local fonts must be updated:

      -import { defineConfig } from "astro/config";
      +import { defineConfig, fontProviders } from "astro/config";
      export default defineConfig({
      experimental: {
      fonts: [{
      name: "Custom",
      cssVariable: "--font-custom",
      
      
             provider: "local",
      
      
      
      
      
             provider: fontProviders.local(),
      
      
      
             options: {
            variants: [
                {
                    weight: 400,
                    style: "normal",
                    src: ["./src/assets/fonts/custom-400.woff2"]
                },
                {
                    weight: 700,
                    style: "normal",
                    src: ["./src/assets/fonts/custom-700.woff2"]
                }
                // ...
            ]
      
      
      
             }
        }]
      
      }
      });

    Once configured, there is no change to using local fonts in your project. However, you should inspect your deployed site to confirm that your new font configuration is being applied.

    See the experimental Fonts API docs for more information.

  • #15213 c775fce Thanks @​florian-lefebvre! - Exposes root on FontProvider init() context

    When building a custom FontProvider for the experimental Fonts API, the init() method receives a context. This context now exposes a root URL, useful for resolving local files:

  • ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

    Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 5.16.12 to 5.16.14.
    - [Release notes](https://github.com/withastro/astro/releases)
    - [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
    - [Commits](https://github.com/withastro/astro/commits/astro@5.16.14/packages/astro)
    
    ---
    updated-dependencies:
    - dependency-name: astro
      dependency-version: 5.16.14
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    @dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 23, 2026
    @github-actions github-actions bot merged commit 4e8a16c into Current Jan 23, 2026
    9 of 10 checks passed
    @github-actions github-actions bot deleted the dependabot/npm_and_yarn/astro-5.16.14 branch January 23, 2026 04:24
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

    Development

    Successfully merging this pull request may close these issues.

    2 participants