Skip to content

Commit 24fafa1

Browse files
committed
typos fix
1 parent 1f5a47e commit 24fafa1

1 file changed

Lines changed: 36 additions & 32 deletions

File tree

blog/2026-07-11-nushell_v0_114_1.md

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ As part of this release, we also publish a set of optional [plugins](https://www
5050

5151
With `enforce-runtime-annotations` enabled, assignments with incorrect types raise errors.
5252

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.
5454

5555
This error has been switched to `nu::shell::type_mismatch` and now points to the failed assignment in addition to the value's origin.
5656

5757
##### example 1
58+
5859
<table>
5960
<tr>
6061
<td>Code</td>
@@ -108,6 +109,7 @@ Error: nu::shell::type_mismatch
108109
</table>
109110

110111
##### example 2
112+
111113
<table>
112114
<tr>
113115
<td>Code</td>
@@ -163,9 +165,9 @@ Error: nu::shell::type_mismatch
163165
· ──┬──
164166
· ╰── the value is a string
165167
6 │ }
166-
7 │
168+
7 │
167169
8 │ mut x = 1
168-
9 │
170+
9 │
169171
10 │ $x = $stuff.foo
170172
· ┬
171173
· ╰── expected int, got string
@@ -186,11 +188,13 @@ Error: nu::shell::type_mismatch
186188
With last release, pipeline input type and how it affects various expressions are being tracked in a lot more cases.
187189

188190
In fact, at least one too many:
191+
189192
```nushell
190193
def mk-add-suffix [suffix: string]: nothing -> closure {
191194
{|| $in ++ $suffix }
192195
}
193196
```
197+
194198
```
195199
Error: nu::parser::operator_unsupported_type
196200
@@ -209,17 +213,18 @@ This is now fixed, and closures' input type will be inferred as `any`, the way i
209213

210214
### Add list input type to more date commands <JumpToc/> <PrBy :pr="18536" user="fdncred" />
211215

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
217222
- into datetime
218223

219224
### Fix type comparisons between `table` and `list<oneof>` <JumpToc/> <PrBy :pr="18560" user="Bahex" />
220225

221226
- 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.
223228

224229
### `uname` signature, and add detailed column info <JumpToc/> <PrBy :pr="18568" user="Bahex" />
225230

@@ -228,36 +233,35 @@ Allow more date commands to have a list as input_output. These are the commands
228233

229234
### Other fixes <JumpToc/>
230235

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))
236240

237241
# Notes for plugin developers <JumpToc/>
238242

239243
# Hall of fame <JumpToc/>
240244

241245
Thanks to all the contributors below for helping us solve issues, improve documentation, refactor code, and more! :pray:
242246

243-
| author | change | link |
244-
| --- | --- | --- |
245-
| [@cptpiepmatz](https://github.com/cptpiepmatz) | `cargo update` crossbeam crates | [#18554](https://github.com/nushell/nushell/pull/18554) |
246-
| [@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+
| author | change | link |
248+
| ---------------------------------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------- |
249+
| [@cptpiepmatz](https://github.com/cptpiepmatz) | `cargo update` crossbeam crates | [#18554](https://github.com/nushell/nushell/pull/18554) |
250+
| [@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) |
247251

248252
# Full changelog <JumpToc/>
249253

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&lt;oneof&gt;` | [#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) |
261-
| [@cptpiepmatz](https://github.com/cptpiepmatz) | `cargo update` crossbeam crates | [#18554](https://github.com/nushell/nushell/pull/18554) |
262-
| [@fdncred](https://github.com/fdncred) | add list input type to more date commands | [#18536](https://github.com/nushell/nushell/pull/18536) |
263-
| [@hexbinoct](https://github.com/hexbinoct) | Fix `run` binding forwarded flags to the wrong parameter | [#18533](https://github.com/nushell/nushell/pull/18533) |
254+
| author | title | link |
255+
| ---------------------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------- |
256+
| [@Alb-O](https://github.com/Alb-O) | fix(idx): correct search context help example | [#18550](https://github.com/nushell/nushell/pull/18550) |
257+
| [@Alb-O](https://github.com/Alb-O) | fix(parser): infer for loop items from iterable unions | [#18551](https://github.com/nushell/nushell/pull/18551) |
258+
| [@Bahex](https://github.com/Bahex) | fix: assignment errors point to the assignment | [#18531](https://github.com/nushell/nushell/pull/18531) |
259+
| [@Bahex](https://github.com/Bahex) | fix: `input listen`'s output type | [#18535](https://github.com/nushell/nushell/pull/18535) |
260+
| [@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&lt;oneof&gt;` | [#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) |
265+
| [@cptpiepmatz](https://github.com/cptpiepmatz) | `cargo update` crossbeam crates | [#18554](https://github.com/nushell/nushell/pull/18554) |
266+
| [@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

Comments
 (0)