Astro: @astrojs/[email protected] Release

Release date:
March 10, 2026
Previous version:
@astrojs/[email protected] (released March 6, 2026)
Magnitude:
7,932 Diff Delta
Contributors:
5 total committers
Data confidence:
Commits:

Top Contributors in @astrojs/[email protected]

ematipico
florian-lefebvre
Princesseuh
trueberryless
sarah11918

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

  • #15778 4ebc1e3 Thanks @ematipico! - Added a new entry point called /request, which exposes utilities to work with the Request type:

    • getFirstForwardedValue: retrieves the first value of a multi-value header.
    • isValidIpAddress: checks whether a string contains only characters valid in IPv4/IPv6 addresses.
    • getValidatedIpFromHeader: extracts the first value from a header and validates it as an IP address.
    • getClientIpAddress: retrieves and validates the first IP from the x-forwarded-for header.
  • #15077 a164c77 Thanks @matthewp! - Adds normalizePathname() utility function for normalizing URL pathnames to match the canonical form used by route generation.

  • #15419 a18d727 Thanks @ematipico! - Adds a new /cli specifier and the utility NPM_PACKAGE_NAME_REGEX.

  • #15369 240c317 Thanks @florian-lefebvre! - BREAKING CHANGE

    Removes collapseDuplicateSlashes(), startsWithForwardSlash(), startsWithDotDotSlash(), startsWithDotSlash() and isAbsolutePath() from the /path export

  • #15771 745e632 Thanks @rururux! - Adds the new utilities MANY_LEADING_SLASHES and collapseDuplicateLeadingSlashes.

Patch Changes

  • #15700 4e7f3e8 Thanks @ocavue! - Adds a fork of createFilter from @rollup/pluginutils without Node.js APIs.

  • #15779 cf6ea6b Thanks @Princesseuh! - Fixes glob matching of remote patterns matching more paths than intended in select situations