FRONTEND
Astro v0.8.0
RESUMEN
Minor Changes - #15778 `4ebc1e3` Thanks @ematipico! - Added a new entry point called `/request`, which exposes utilities to wo
Descripción Detallada
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. Patch Changes - #15700 `4e7f3e8` Thanks @ocavue! - Adds a fork of `createFilter` from `@rollup/pluginutils` without Node.js APIs.
Astro v0.8.0 añade un nuevo punto de entrada y mejora utilidades relacionadas con IP.
- Se agregó el punto de entrada `/request` con utilidades para trabajar con el tipo `Request`.
- Nuevas funciones: `getFirstForwardedValue`, `isValidIpAddress`, `getValidatedIpFromHeader`, `getClientIpAddress`.
- Se añadió un fork de `createFilter` de `@rollup/pluginutils` sin APIs de Node.js.
A quién le importa
Todos los que usan Astro y necesitan trabajar con direcciones IP.
Generado por IA · puede contener errores
Releases Relacionados
FRONTEND
Astro v6.4.8
### Patch Changes - [#17109](https://github.com/withastro/astro/pull/17109) [`27c80ea`](https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785) Thanks [@ematipico](https://github.com/ematipico)! - Harden the limits on the number of decoding on the URL.
FRONTEND
Astro v6.4.7
### Patch Changes - [#17035](https://github.com/withastro/astro/pull/17035) [`197e50e`](https://github.com/withastro/astro/commit/197e50e2e37168a9b9e8a014c13d1308b2220ca1) Thanks [@astrobot-houston](https://github.com/astrobot-houston)! - Fixes `getRelativeLocaleUrl`, `getAbsoluteLocaleUrl`, and