Skip to content

Commit 5920cd5

Browse files
committed
Update date and env_conversions
1 parent 5daa794 commit 5920cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/2024-12-03-configuration_preview.md renamed to blog/2024-12-04-configuration_preview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ $env.config.history = {
141141
- Likewise, a `default_config.nu` is loaded immediately before the user's `config.nu`. View
142142
this file using `config nu --default | nu-highlight | less -R`.
143143

144-
- **_(Breaking Change)_** `ENV_CONVERSIONS` are run several times so that the converted values may be used in `config.nu` and later files. Note that this currently means that `from_string` may be called even when the value is not a string. The `from_string` closure should check the type and only convert a string.
144+
- `ENV_CONVERSIONS` are run several times so that the converted values may be used in `config.nu` and later files. It will now only convert `from_string` if the value was already a string. Otherwise, an already-converted-to-non-string value could cause issues with a `from_string` closure that wasn't expecting to be run multiple times.
145145

146146
- The previous `$light_theme` and `$dark_theme` variables have been replaced by new standard library commands:
147147

0 commit comments

Comments
 (0)