Skip to content

Commit 9652f45

Browse files
committed
Finish PRs and changes
1 parent 2d2cec6 commit 9652f45

File tree

1 file changed

+34
-12
lines changed

1 file changed

+34
-12
lines changed

blog/2024-11-12-nushell_0_100_0.md

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,19 @@ In [#14082](https://github.com/nushell/nushell/pull/14082), two additional colum
105105
- `json`: a string containing the error data as JSON.
106106
- `rendered`: a string containing the pretty formatted error message, roughly the same as you would see in your terminal.
107107

108+
### `url split-query` [[toc](#table-of-content)]
109+
110+
This release adds a new `url split-query` command in [#14211](https://github.com/nushell/nushell/pull/14211) thanks to [@Bahex](https://github.com/Bahex). It is the counterpart to `url build-query` and splits a url query string into its different parameters. It returns a table with two columns: `key` and `value`.
111+
112+
### `url build-query`
113+
114+
Thanks to [@adaschma](https://github.com/adaschma) in [#14073](https://github.com/nushell/nushell/pull/14073), `url build-query` now allows list values in the parameter record. For example:
115+
116+
```nu
117+
{ a: [1 2], b: 3 } | url build-query
118+
# a=1&a=2&b=3
119+
```
120+
108121
### `touch --no-deref`
109122

110123
Thanks to [@Dorumin](https://github.com/Dorumin) in [#14214](https://github.com/nushell/nushell/pull/14214), a new `--no-deref` flag was added to `touch`. Providing this flag will make `touch` not follow symlinks.
@@ -117,15 +130,6 @@ The `help commands` and `scope commands` now output an `is_const` column indicat
117130

118131
On macOS, `ps -l` now lists the `start_time` of the processes. Windows and Linux already listed a `start_time` column ([#14127](https://github.com/nushell/nushell/pull/14127)).
119132

120-
### `url build-query`
121-
122-
Thanks to [@adaschma](https://github.com/adaschma) in [#14073](https://github.com/nushell/nushell/pull/14073), `url build-query` now allows list values in the parameter record. For example:
123-
124-
```nu
125-
{ a: [1 2], b: 3 } | url build-query
126-
# a=1&a=2&b=3
127-
```
128-
129133
### `length`
130134

131135
Thanks to [@sgvictorino](https://github.com/sgvictorino) in [#14224](https://github.com/nushell/nushell/pull/14224), the `length` command now supports binary values as input and returns the number of bytes.
@@ -288,6 +292,10 @@ plugin list | where status == running
288292

289293
In case you want to avoid loading the plugin registry file (e.g. for performance reasons), you can now use the `--engine` flag to do so. Similarly, the `--registry` flag will only display the contents of the registry, without comparing them against the state of the engine (but all plugins will appear as `added`). The `--plugin-config` flag is now supported to allow use of a separate plugin registry file, identically to the other `plugin` commands.
290294

295+
### `url parse`
296+
297+
Thanks to [@Bahex](https://github.com/Bahex) in [#14211](https://github.com/nushell/nushell/pull/14211), the `params` field output for `url parse` is now a table with a `key` and `value` column instead of a record to match the new `url split-query` command ([see above](#url-split-query-toc)).
298+
291299
### `http` `--max-time`
292300

293301
With [#14237](https://github.com/nushell/nushell/pull/14237), the `--max-time` flag for the `http` family of commands now takes a duration value instead of a integer number of seconds. Thanks to [@alex-kattathra-johnson](https://github.com/alex-kattathra-johnson) for making this change!
@@ -308,14 +316,20 @@ match [] {
308316
}
309317
```
310318

319+
### Case insensitive sorting
320+
321+
The method used for case insensitive comparisons and sorting has been updated/improved this release in [#14255](https://github.com/nushell/nushell/pull/14255) thanks to [@132ikl](https://github.com/132ikl). This will affect the output of `sort -i`, `uniq -i`, `get -s`, `find -i`, `str contains -i`, `str starts-with -i`, `str ends-with -i`, tab completions, and probably a few other commands (this list is not exhaustive).
322+
311323
### `ansi clear_entire_screen_plus_buffer`
312324

313325
In [#14184](https://github.com/nushell/nushell/pull/14184), `ansi clear_entire_screen_plus_buffer` now returns an ansi code that clears both the screen and scrollback buffer. Previously, it would only clear the scrollback buffer. In addition, a new `clear_scrollback_buffer` entry has been added to the `ansi` command. This will clear only the scrollback buffer.
314326

315-
## Deprecations [[toc](#table-of-content)]
316-
317327
## Removals [[toc](#table-of-content)]
318328

329+
### `std/dirs`
330+
331+
The `std/dirs` module is no longer loaded by default on startup after [#14242](https://github.com/nushell/nushell/pull/14242). See the [previous release notes](https://www.nushell.sh/blog/2024-10-15-nushell_0_99_0.html#standard-library-std-dirs-toc) for more information.
332+
319333
## Bug fixes and other changes [[toc](#table-of-content)]
320334

321335
### `return`, `break`, and `continue`
@@ -360,13 +374,21 @@ The formatting has also been changed in [#14197](https://github.com/nushell/nush
360374

361375
The step value for ranges was previously not taken into account when checking if a value was `in` a range. Thanks to [@JoaquinTrinanes](https://github.com/JoaquinTrinanes), this has been fixed with [#14011](https://github.com/nushell/nushell/pull/14011).
362376

377+
### `into datetime`
378+
379+
After [#14266](https://github.com/nushell/nushell/pull/14266), times are kept intact when performing conversion to the local time zone for parsed human date strings.
380+
363381
### `ansi -l`
364382

365383
The preview column from `ansi -l` now also shows bold, dimmed, blink, and other effects thanks to [@NotTheDr01ds](https://github.com/NotTheDr01ds) in [#14196](https://github.com/nushell/nushell/pull/14196).
366384

367385
### `join`
368386

369-
An issue where table literal agruements to `join` were not parsed correctly has been fixed in [#14190](https://github.com/nushell/nushell/pull/14190) thanks to [@sgvictorino](https://github.com/sgvictorino).
387+
An issue where table literal arguments to `join` were not parsed correctly has been fixed in
388+
389+
### Table literals as arguments
390+
391+
An issue where table literals were incorrectly parsed when used as arguments to commands has been fixed in [#14190](https://github.com/nushell/nushell/pull/14190) and [#14226](https://github.com/nushell/nushell/pull/14226) thanks to [@sgvictorino](https://github.com/sgvictorino).
370392

371393
### `clear`
372394

0 commit comments

Comments
 (0)