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/2026-07-11-nushell_v0_114_1.md
+36-32Lines changed: 36 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,11 +50,12 @@ As part of this release, we also publish a set of optional [plugins](https://www
50
50
51
51
With `enforce-runtime-annotations` enabled, assignments with incorrect types raise errors.
52
52
53
-
Previously this error was `nu::shell::cant_convert` originally used for unsuccessful type coercions of command arguments. Unfortunately, this error only pointed at the assigned values *origin* and not at the failed assignment.
53
+
Previously this error was `nu::shell::cant_convert` originally used for unsuccessful type coercions of command arguments. Unfortunately, this error only pointed at the assigned values _origin_ and not at the failed assignment.
54
54
55
55
This error has been switched to `nu::shell::type_mismatch` and now points to the failed assignment in addition to the value's origin.
@@ -209,17 +213,18 @@ This is now fixed, and closures' input type will be inferred as `any`, the way i
209
213
210
214
### Add list input type to more date commands <JumpToc/> <PrBy:pr="18536"user="fdncred" />
211
215
212
-
Allow more date commands to have a list as input_output. These are the commands that were updated:
213
-
- date humanize
214
-
- date from-human
215
-
- date to-timezone
216
-
- format date
216
+
Allow more date commands to have a list as input_output. These are the commands that were updated:
217
+
218
+
- date humanize
219
+
- date from-human
220
+
- date to-timezone
221
+
- format date
217
222
- into datetime
218
223
219
224
### Fix type comparisons between `table` and `list<oneof>` <JumpToc/> <PrBy:pr="18560"user="Bahex" />
220
225
221
226
- Type checking treats `table` and `list<record>` as compatible (provided the columns aren't disjoint), but that did not extend to `list<oneof<record, ...>>`. This has been fixed.
222
-
- Runtime type checking of *non-stream* pipeline data is now more accurate.
227
+
- Runtime type checking of _non-stream_ pipeline data is now more accurate.
223
228
224
229
### `uname` signature, and add detailed column info <JumpToc/> <PrBy:pr="18568"user="Bahex" />
225
230
@@ -228,36 +233,35 @@ Allow more date commands to have a list as input_output. These are the commands
228
233
229
234
### Other fixes <JumpToc/>
230
235
231
-
* Fixed an issue where `run script.nu --some-flag` could bind the value to the wrong flag of the script's `main` when `main` declared multiple flags, causing shifted positional arguments or a value being accepted into a flag of the wrong type. Flags passed to `run` are now matched to `main` parameters by name. ([#18533](https://github.com/nushell/nushell/pull/18533))
232
-
* Fixed an incorrect `idx search --help` example. ([#18550](https://github.com/nushell/nushell/pull/18550))
233
-
*- Type checking of lists are relaxed. ([#18555](https://github.com/nushell/nushell/pull/18555))
234
-
*- Fixed an issue in `for` loops where type of the looping variable was inferred incorrectly when iterating over a value/stream with a union type (`oneof<list, table, binary>`). This could manifest as a runtime type checking error with `enforce-runtime-annotations` enabled. ([#18551](https://github.com/nushell/nushell/pull/18551))
235
-
236
+
- Fixed an issue where `run script.nu --some-flag` could bind the value to the wrong flag of the script's `main` when `main` declared multiple flags, causing shifted positional arguments or a value being accepted into a flag of the wrong type. Flags passed to `run` are now matched to `main` parameters by name. ([#18533](https://github.com/nushell/nushell/pull/18533))
237
+
- Fixed an incorrect `idx search --help` example. ([#18550](https://github.com/nushell/nushell/pull/18550))
238
+
-- Type checking of lists are relaxed. ([#18555](https://github.com/nushell/nushell/pull/18555))
239
+
-- Fixed an issue in `for` loops where type of the looping variable was inferred incorrectly when iterating over a value/stream with a union type (`oneof<list, table, binary>`). This could manifest as a runtime type checking error with `enforce-runtime-annotations` enabled. ([#18551](https://github.com/nushell/nushell/pull/18551))
236
240
237
241
# Notes for plugin developers <JumpToc/>
238
242
239
243
# Hall of fame <JumpToc/>
240
244
241
245
Thanks to all the contributors below for helping us solve issues, improve documentation, refactor code, and more! :pray:
|[@Juhan280](https://github.com/Juhan280)| Initialize `start_time` for MCP only in MCP mode to avoid cargo warning |[#18530](https://github.com/nushell/nushell/pull/18530)|
|[@Juhan280](https://github.com/Juhan280)| Initialize `start_time` for MCP only in MCP mode to avoid cargo warning |[#18530](https://github.com/nushell/nushell/pull/18530)|
247
251
248
252
# Full changelog <JumpToc/>
249
253
250
-
| author | title | link |
251
-
| --- | --- | --- |
252
-
|[@Alb-O](https://github.com/Alb-O)| fix(idx): correct search context help example |[#18550](https://github.com/nushell/nushell/pull/18550)|
253
-
|[@Alb-O](https://github.com/Alb-O)| fix(parser): infer for loop items from iterable unions |[#18551](https://github.com/nushell/nushell/pull/18551)|
254
-
|[@Bahex](https://github.com/Bahex)| fix: assigment errors point to the assigment|[#18531](https://github.com/nushell/nushell/pull/18531)|
255
-
|[@Bahex](https://github.com/Bahex)| fix: `input listen`'s output type |[#18535](https://github.com/nushell/nushell/pull/18535)|
256
-
|[@Bahex](https://github.com/Bahex)| fix: closure's input type shouldn't be inherited from scope |[#18540](https://github.com/nushell/nushell/pull/18540)|
257
-
|[@Bahex](https://github.com/Bahex)| fix: relax assignability of list types |[#18555](https://github.com/nushell/nushell/pull/18555)|
258
-
|[@Bahex](https://github.com/Bahex)| fix type comparisons between `table` and `list<oneof>`|[#18560](https://github.com/nushell/nushell/pull/18560)|
259
-
|[@Bahex](https://github.com/Bahex)| fix: `uname` signature, and add detailed column info |[#18568](https://github.com/nushell/nushell/pull/18568)|
260
-
|[@Juhan280](https://github.com/Juhan280)| fix(mcp): initialize `start_time` for MCP only in MCP mode to avoid cargo warning |[#18530](https://github.com/nushell/nushell/pull/18530)|
|[@Bahex](https://github.com/Bahex)| fix: closure's input type shouldn't be inherited from scope|[#18540](https://github.com/nushell/nushell/pull/18540)|
261
+
|[@Bahex](https://github.com/Bahex)| fix: relax assignability of list types|[#18555](https://github.com/nushell/nushell/pull/18555)|
262
+
|[@Bahex](https://github.com/Bahex)| fix type comparisons between `table` and `list<oneof>`|[#18560](https://github.com/nushell/nushell/pull/18560)|
263
+
|[@Bahex](https://github.com/Bahex)| fix: `uname` signature, and add detailed column info|[#18568](https://github.com/nushell/nushell/pull/18568)|
264
+
|[@Juhan280](https://github.com/Juhan280)| fix(mcp): initialize `start_time` for MCP only in MCP mode to avoid cargo warning |[#18530](https://github.com/nushell/nushell/pull/18530)|
|[@fdncred](https://github.com/fdncred)| add list input type to more date commands|[#18536](https://github.com/nushell/nushell/pull/18536)|
267
+
|[@hexbinoct](https://github.com/hexbinoct)| Fix `run` binding forwarded flags to the wrong parameter|[#18533](https://github.com/nushell/nushell/pull/18533)|
0 commit comments