Bump astro from 5.11.1 to 5.12.1
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(8 months ago)
(8 months ago)
dependencies javascript
Bumps astro from 5.11.1 to 5.12.1.
Release notes
Sourced from astro's releases.
astro@5.12.1
Patch Changes
#14094
22e9087Thanks@ascorbic! - Correct types to allowpriorityon all images#14091
26c6b6dThanks@ascorbic! - Fixes a bug that caused a type error when defining session options without a driver#14082
93322cbThanks@louisescher! - Fixes an issue where Astro's default 404 route would incorrectly match routes containing "/404" in dev#14089
687d253Thanks@florian-lefebvre! - Fixes a case whereastro:envwould not load the right environments variables in dev#14092
6692c71Thanks@ascorbic! - Improves error handling in live collections#14074
144a950Thanks@abcfy2! - Fixes a bug that caused some image service builds to fail#14092
6692c71Thanks@ascorbic! - Fixes a case where zod could not be imported fromastro:contentvirtual module in live collection configastro@5.12.0
Minor Changes
#13971
fe35ee2Thanks@adamhl8! - Adds an experimental flagrawEnvValuesto disable coercion ofimport.meta.envvalues (e.g. converting strings to other data types) that are populated fromprocess.envAstro allows you to configure a type-safe schema for your environment variables, and converts variables imported via
astro:envinto the expected type.However, Astro also converts your environment variables used through
import.meta.envin 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.rawEnvValuesflag disables coercion ofimport.meta.envvalues that are populated fromprocess.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
6bd5f75Thanks@aditsachde! - Adds support for TOML files to Astro's built-inglob()andfile()content loaders.
... (truncated)
Changelog
Sourced from astro's changelog.
5.12.1
Patch Changes
#14094
22e9087Thanks@ascorbic! - Correct types to allowpriorityon all images#14091
26c6b6dThanks@ascorbic! - Fixes a bug that caused a type error when defining session options without a driver#14082
93322cbThanks@louisescher! - Fixes an issue where Astro's default 404 route would incorrectly match routes containing "/404" in dev#14089
687d253Thanks@florian-lefebvre! - Fixes a case whereastro:envwould not load the right environments variables in dev#14092
6692c71Thanks@ascorbic! - Improves error handling in live collections#14074
144a950Thanks@abcfy2! - Fixes a bug that caused some image service builds to fail#14092
6692c71Thanks@ascorbic! - Fixes a case where zod could not be imported fromastro:contentvirtual module in live collection config5.12.0
Minor Changes
#13971
fe35ee2Thanks@adamhl8! - Adds an experimental flagrawEnvValuesto disable coercion ofimport.meta.envvalues (e.g. converting strings to other data types) that are populated fromprocess.envAstro allows you to configure a type-safe schema for your environment variables, and converts variables imported via
astro:envinto the expected type.However, Astro also converts your environment variables used through
import.meta.envin 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.rawEnvValuesflag disables coercion ofimport.meta.envvalues that are populated fromprocess.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.
... (truncated)
Commits
d271698[ci] release (#14093)6692c71fix: give live collections their own astro:content entrypoint (#14092)144a950fix(astro): prevent image service resolution on client build (#14074)fa9936bdocs: fix store.set in docs (#14096)04e6011[ci] format22e9087fix: move priority prop to shared image props (#14094)a4065bb[ci] format93322cbfix: Modify route priority logic so user routes are preferred (#14082)687d253fix(astro): refresh loaded env (#14089)26c6b6dfix: session options type fix (#14091)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+37
-48
Package Dependencies
Technical Details
| ID: | 3972800 |
| UUID: | 2683384211 |
| Node ID: | PR_kwDOKJHWfM6f8TGT |
| Host: | GitHub |
| Repository: | TurtleCode84/turtlecode.dev |
| Merge State: | Unknown |