You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blog/2025-10-14-nushell_v0_108_0.md
+30-35Lines changed: 30 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -889,16 +889,18 @@ If you are manually building Nushell without default features (`cargo build --no
889
889
### Improved error messages for binary literals
890
890
Previously, a generic shell error is thrown for invalid binary strings. Now, an improve error message is thrown for invalid binary, hexadecimal, and octal strings.
891
891
```nushell
892
-
> 0b[121]
893
-
# => Error: nu::parser::invalid_binary_string
894
-
# =>
895
-
# => × Invalid binary string.
896
-
# => ╭─[entry #1:1:1]
897
-
# => 1 │ 0b[121]
898
-
# => · ───┬───
899
-
# => · ╰── invalid binary string
900
-
# => ╰────
901
-
# => help: binary strings may contain only 0 or 1.
892
+
0b[121]
893
+
```
894
+
```ansi:no-line-numbers
895
+
Error: [31mnu::parser::invalid_binary_string
896
+
897
+
[39m [31m×[39m Invalid binary string.
898
+
╭─[[22;1;36;4mentry #3:1:1[22;39;24m]
899
+
[22;2m1[22m │ 0b[121]
900
+
· [22;1;35m───┬───
901
+
[22;39m · [22;1;35m╰── invalid binary string
902
+
[22;39m ╰────
903
+
[36m help: [39mbinary strings may contain only 0 or 1.[m
902
904
```
903
905
904
906
### Polars 50.1 upgrade
@@ -927,31 +929,32 @@ toolkit run pr <number>
927
929
928
930
### Additional changes
929
931
930
-
* The `which` command now lists all commands (internal and external) when no application parameter is passed to it ([#16551](https://github.com/nushell/nushell/pull/16551))
932
+
* The `which` command now lists all commands (internal and external) when no argument is passed to it ([#16551](https://github.com/nushell/nushell/pull/16551))
933
+
931
934
## Bug fixes
932
935
933
936
### Discard `path add` input
934
-
Previously `std path add` could fail if it was fed `any` input. Example:
935
-
936
-
```console
937
-
❯ ls | each {} | path add
938
-
Error: nu::shell::incompatible_parameters
937
+
Previously `path add`(from `std/util`) could fail if it was fed `any` input.
Previously this error wasn't caught during compilation, and manifested as a runtime error when the execution reached the invalid `break`/`continue` call.
0 commit comments