Astro: @astrojs/[email protected] Release

Release date:
February 13, 2025
Previous version:
@astrojs/[email protected] (released September 25, 2023)
Magnitude:
165,682 Diff Delta
Contributors:
154 total committers
Data confidence:
Commits:

2309 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored August 14, 2024
Authored October 16, 2023
Authored September 27, 2023
Authored December 3, 2024
Authored July 17, 2024
Authored September 27, 2023
Authored February 20, 2024
Authored January 31, 2024
Authored March 2, 2024
Authored October 25, 2023
Authored May 8, 2024
Authored February 15, 2024
Authored November 18, 2023
Authored March 8, 2024
Authored November 29, 2023
Authored December 18, 2024
Authored February 14, 2024
Authored April 10, 2024
Authored May 22, 2024
Authored March 4, 2024
Authored August 29, 2024
Authored February 15, 2024
Authored October 11, 2023

Top Contributors in @astrojs/[email protected]

ljharb
ematipico
astrobot-houston
bluwy
matthewp
Princesseuh
ascorbic
florian-lefebvre
alexanderniebuhr
martrapp

Directory Browser for @astrojs/[email protected]

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Minor Changes

  • #13194 1b5037b Thanks @dfdez! - Adds includedFiles and excludedFiles configuration options to customize SSR function bundle contents.

    The includeFiles property allows you to explicitly specify additional files that should be bundled with your function. This is useful for files that aren't automatically detected as dependencies, such as:

    • Data files loaded using fs operations
    • Configuration files
    • Template files

    Similarly, you can use the excludeFiles property to prevent specific files from being bundled that would otherwise be included. This is helpful for: - Reducing bundle size - Excluding large binaries - Preventing unwanted files from being deployed

    import { defineConfig } from 'astro/config';
    import netlify from '@astrojs/netlify';
    
    export default defineConfig({
      // ...
      output: 'server',
      adapter: netlify({
        includeFiles: ['./my-data.json'],
        excludeFiles: ['./node_modules/package/**/*', './src/**/*.test.js'],
      }),
    });
    

    See the Netlify adapter documentation for detailed usage instructions and examples.

  • #13145 8d4e566 Thanks @ascorbic! - Automatically configures Netlify Blobs storage when experimental session enabled

    If the experimental.session flag is enabled when using the Netlify adapter, Astro will automatically configure the session storage using the Netlify Blobs driver. You can still manually configure the session storage if you need to use a different driver or want to customize the session storage configuration.

    See the experimental session docs for more information on configuring session storage.

Patch Changes