Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions blog/2024-12-24-nushell_0_101_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ When using multiple groupers, the output is in the form of nested records.
[vegetable orange pumpkin]
] | group-by color category
```

```
╭────────┬───────────────────────────────────────────────────────╮
│ │ ╭───────────┬───────────────────────────────────────╮ │
Expand Down Expand Up @@ -128,6 +129,7 @@ Each column corresponding to a `grouper` is named after it. For closure groupers
```nu
.. | group-by color category --to-table
```

```
╭───┬────────┬───────────┬───────────────────────────────────────╮
│ # │ color │ category │ items │
Expand Down Expand Up @@ -168,6 +170,7 @@ const this_directory = path self .
```

### `term query`

Thanks to [@Bahex](https://github.com/Bahex) in [#14427](https://github.com/nushell/nushell/pull/14427), this release adds the `term query` command.
`term query` allows sending a query to your terminal emulator and reading the reply.

Expand Down Expand Up @@ -236,6 +239,7 @@ To make the deferred evaluation more explicit, the `timeit` command can now only
The `cpu_usage` column outputted by `sys cpu` works by sampling the CPU over a 400ms period. This wait long time is unhelpful if you are only interested in other information about the CPU like the number of cores (i.e., `sys cpu | length`). With [#14485](https://github.com/nushell/nushell/pull/14485), the `cpu_usage` column is now gated behind the `--long` flag. This way, `sys cpu` will take around 0-2ms instead of 400ms by default.

### `from csv` and `from tsv`

Thanks to [@Bahex](https://github.com/Bahex) in [#14399](https://github.com/nushell/nushell/pull/14399), parsing csv and tsv content with the `--flexible` flag is more flexible than before.
Previously, the first row of csv or tsv content would determine the number of columns, and rows containing more values than the determined columns would be truncated, losing those extra values.

Expand All @@ -250,9 +254,11 @@ value
4,ddd
5,eee,extra
```

```nu
.. | from csv --flexible --noheaders
```

```
╭─#─┬─column0─┬─column1─┬─column2─╮
│ 0 │ value │ ❎ │ ❎ │
Expand Down Expand Up @@ -301,12 +307,15 @@ Thanks to all the contributors below for helping us solve issues, improve docume
| -------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ------------------------------------------------------- |
| [@132ikl](https://github.com/132ikl) | Change tests which may invoke externals to use non-conflicting names | [#14516](https://github.com/nushell/nushell/pull/14516) |
| [@Bahex](https://github.com/Bahex) | docs(reduce): add example demonstrating accumulator as pipeline input | [#14593](https://github.com/nushell/nushell/pull/14593) |
| [@Bahex](https://github.com/Bahex) | test(path self): Add tests | [#14607](https://github.com/nushell/nushell/pull/14607) |
| [@DziubaMaksym](https://github.com/DziubaMaksym) | fix: sample_config | [#14465](https://github.com/nushell/nushell/pull/14465) |
| [@Jasha10](https://github.com/Jasha10) | enable test_cp_recurse on macos | [#14358](https://github.com/nushell/nushell/pull/14358) |
| [@Kissaki](https://github.com/Kissaki) | Fix doc and code comment typos | [#14366](https://github.com/nushell/nushell/pull/14366) |
| [@PegasusPlusUS](https://github.com/PegasusPlusUS) | Fix unstable test case: One time my windows report drive letter as lowercase | [#14451](https://github.com/nushell/nushell/pull/14451) |
| [@PerchunPak](https://github.com/PerchunPak) | Fix issues in the example configs | [#14601](https://github.com/nushell/nushell/pull/14601) |
| [@alex-kattathra-johnson](https://github.com/alex-kattathra-johnson) | Shorten --max-time in tests and use a more stable error check | [#14494](https://github.com/nushell/nushell/pull/14494) |
| [@cptpiepmatz](https://github.com/cptpiepmatz) | Fix missing `installed_plugins` field in `version` command | [#14488](https://github.com/nushell/nushell/pull/14488) |
| [@cptpiepmatz](https://github.com/cptpiepmatz) | Fix `commands::network::http::*::*_timeout` tests on non-english system | [#14640](https://github.com/nushell/nushell/pull/14640) |
| [@maxim-uvarov](https://github.com/maxim-uvarov) | rewrite error message to not use the word `function` | [#14533](https://github.com/nushell/nushell/pull/14533) |
| [@sgvictorino](https://github.com/sgvictorino) | skip `test_iteration_errors` if `/root` is missing | [#14299](https://github.com/nushell/nushell/pull/14299) |

Expand All @@ -323,6 +332,7 @@ Thanks to all the contributors below for helping us solve issues, improve docume

|[@132ikl](https://github.com/132ikl)|Change tests which may invoke externals to use non-conflicting names|[#14516](https://github.com/nushell/nushell/pull/14516)|

<!-- |[@132ikl](https://github.com/132ikl)|Add `merge deep` command|[#14525](https://github.com/nushell/nushell/pull/14525)| -->
<!-- |[@132ikl](https://github.com/132ikl)|Remove grid icons deprecation warning|[#14526](https://github.com/nushell/nushell/pull/14526)| -->

|[@Bahex](https://github.com/Bahex)|Add `path self` command for getting absolute paths to files at parse time|[#14303](https://github.com/nushell/nushell/pull/14303)|
Expand All @@ -337,6 +347,10 @@ Thanks to all the contributors below for helping us solve issues, improve docume
|[@Bahex](https://github.com/Bahex)|remove the deprecated index argument from filter commands' closure signature|[#14594](https://github.com/nushell/nushell/pull/14594)|
|[@Bahex](https://github.com/Bahex)|`std/iter scan`: change closure signature to be consistent with `reduce`|[#14596](https://github.com/nushell/nushell/pull/14596)|

<!-- |[@Bahex](https://github.com/Bahex)|remove `content_type` metadata from pipeline after `from ...` commands|[#14602](https://github.com/nushell/nushell/pull/14602)| -->

|[@Bahex](https://github.com/Bahex)|test(path self): Add tests|[#14607](https://github.com/nushell/nushell/pull/14607)|

<!-- |[@Beinsezii](https://github.com/Beinsezii)|command/http/client use CRLF for headers join instead of LF|[#14417](https://github.com/nushell/nushell/pull/14417)| -->

|[@DziubaMaksym](https://github.com/DziubaMaksym)|fix: sample_config|[#14465](https://github.com/nushell/nushell/pull/14465)|
Expand Down Expand Up @@ -375,10 +389,23 @@ Thanks to all the contributors below for helping us solve issues, improve docume

|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Update sample and scaffold files|[#14568](https://github.com/nushell/nushell/pull/14568)|

<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Moves additional env vars out of default_env and updates some transient prompt vars|[#14579](https://github.com/nushell/nushell/pull/14579)| -->
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add missing color_config settings|[#14603](https://github.com/nushell/nushell/pull/14603)| -->

|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Doc file fixes|[#14608](https://github.com/nushell/nushell/pull/14608)|
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Remove duplicate version line|[#14611](https://github.com/nushell/nushell/pull/14611)|

<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add version info to startup banner|[#14625](https://github.com/nushell/nushell/pull/14625)| -->
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add shape_garbage|[#14626](https://github.com/nushell/nushell/pull/14626)| -->

|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Set `split-by` doc category to "deprecated"|[#14633](https://github.com/nushell/nushell/pull/14633)|

<!-- |[@PegasusPlusUS](https://github.com/PegasusPlusUS)|Feature: PWD-per-drive to facilitate working on multiple drives at Windows|[#14411](https://github.com/nushell/nushell/pull/14411)| -->

|[@PegasusPlusUS](https://github.com/PegasusPlusUS)|Fix unstable test case: One time my windows report drive letter as lowercase|[#14451](https://github.com/nushell/nushell/pull/14451)|

|[@PerchunPak](https://github.com/PerchunPak)|Fix issues in the example configs|[#14601](https://github.com/nushell/nushell/pull/14601)|

<!-- |[@RobbingDaHood](https://github.com/RobbingDaHood)|#14238 Now the file completion is triggered on a custom command after the first parameter.|[#14481](https://github.com/nushell/nushell/pull/14481)| -->
<!-- |[@RobbingDaHood](https://github.com/RobbingDaHood)|For `#` to start a comment, then it either need to be the first chara…|[#14562](https://github.com/nushell/nushell/pull/14562)| -->

Expand All @@ -394,6 +421,10 @@ Thanks to all the contributors below for helping us solve issues, improve docume
|[@WindSoilder](https://github.com/WindSoilder)|update miette to 7.3|[#14454](https://github.com/nushell/nushell/pull/14454)|
|[@WindSoilder](https://github.com/WindSoilder)|update unicode-width to 0.2|[#14456](https://github.com/nushell/nushell/pull/14456)|
|[@WindSoilder](https://github.com/WindSoilder)|run `cargo update` manually to update dependencies|[#14569](https://github.com/nushell/nushell/pull/14569)|
|[@WindSoilder](https://github.com/WindSoilder)|update shadow-rs to 0.37|[#14617](https://github.com/nushell/nushell/pull/14617)|

<!-- |[@WindSoilder](https://github.com/WindSoilder)|Remove `-a/-all` flag in du.|[#14618](https://github.com/nushell/nushell/pull/14618)| -->

|[@alex-kattathra-johnson](https://github.com/alex-kattathra-johnson)|Shorten --max-time in tests and use a more stable error check|[#14494](https://github.com/nushell/nushell/pull/14494)|
|[@amtoine](https://github.com/amtoine)|add `from ndnuon` and `to ndnuon` to stdlib|[#14334](https://github.com/nushell/nushell/pull/14334)|
|[@amtoine](https://github.com/amtoine)|fix multiline strings in NDNUON|[#14519](https://github.com/nushell/nushell/pull/14519)|
Expand All @@ -414,11 +445,13 @@ Thanks to all the contributors below for helping us solve issues, improve docume
|[@app/dependabot](https://github.com/app/dependabot)|Bump ureq from 2.10.1 to 2.12.0|[#14507](https://github.com/nushell/nushell/pull/14507)|
|[@app/dependabot](https://github.com/app/dependabot)|Bump bytes from 1.8.0 to 1.9.0|[#14508](https://github.com/nushell/nushell/pull/14508)|
|[@app/dependabot](https://github.com/app/dependabot)|Bump scraper from 0.21.0 to 0.22.0|[#14557](https://github.com/nushell/nushell/pull/14557)|
|[@app/dependabot](https://github.com/app/dependabot)|Bump crate-ci/typos from 1.28.2 to 1.28.4|[#14614](https://github.com/nushell/nushell/pull/14614)|
|[@ayax79](https://github.com/ayax79)|Add support for converting polars decimal values to nushell values|[#14343](https://github.com/nushell/nushell/pull/14343)|
|[@ayax79](https://github.com/ayax79)|Upgrading to polars 0.44|[#14478](https://github.com/nushell/nushell/pull/14478)|
|[@ayax79](https://github.com/ayax79)|Convert Filesize to Int|[#14491](https://github.com/nushell/nushell/pull/14491)|
|[@ayax79](https://github.com/ayax79)|Documentation and error handling around `polars with-column --name`|[#14527](https://github.com/nushell/nushell/pull/14527)|
|[@ayax79](https://github.com/ayax79)|Improve handling of columns with null values|[#14588](https://github.com/nushell/nushell/pull/14588)|
|[@ayax79](https://github.com/ayax79)|Added flag --coalesce-columns to allow columns to be coalesced on full joins|[#14578](https://github.com/nushell/nushell/pull/14578)|

<!-- |[@cosineblast](https://github.com/cosineblast)|Implement chunk_by operation|[#14410](https://github.com/nushell/nushell/pull/14410)| -->
<!-- |[@cptpiepmatz](https://github.com/cptpiepmatz)|Start to Add WASM Support Again|[#14418](https://github.com/nushell/nushell/pull/14418)| -->
Expand All @@ -427,6 +460,9 @@ Thanks to all the contributors below for helping us solve issues, improve docume
|[@cptpiepmatz](https://github.com/cptpiepmatz)|Fix `table` command when targeting WASM|[#14530](https://github.com/nushell/nushell/pull/14530)|

<!-- |[@cptpiepmatz](https://github.com/cptpiepmatz)|Expose "to html" command|[#14536](https://github.com/nushell/nushell/pull/14536)| -->

|[@cptpiepmatz](https://github.com/cptpiepmatz)|Fix `commands::network::http::*::*_timeout` tests on non-english system|[#14640](https://github.com/nushell/nushell/pull/14640)|

<!-- |[@devyn](https://github.com/devyn)|Remove the `NU_DISABLE_IR` option|[#14293](https://github.com/nushell/nushell/pull/14293)| -->

|[@devyn](https://github.com/devyn)|Turn compile errors into fatal errors|[#14388](https://github.com/nushell/nushell/pull/14388)|
Expand All @@ -452,7 +488,16 @@ Thanks to all the contributors below for helping us solve issues, improve docume
<!-- |[@fdncred](https://github.com/fdncred)|fix 64-bit hex number parsing|[#14571](https://github.com/nushell/nushell/pull/14571)| -->

|[@fdncred](https://github.com/fdncred)|tweak polars join for better cross joins|[#14586](https://github.com/nushell/nushell/pull/14586)|

<!-- |[@fdncred](https://github.com/fdncred)|allow `view source` to take `int` as a parameter|[#14609](https://github.com/nushell/nushell/pull/14609)| -->
<!-- |[@fdncred](https://github.com/fdncred)|add `view blocks` command|[#14610](https://github.com/nushell/nushell/pull/14610)| -->
<!-- |[@fdncred](https://github.com/fdncred)|add `config flatten` command|[#14621](https://github.com/nushell/nushell/pull/14621)| -->
<!-- |[@fdncred](https://github.com/fdncred)|better error handling for `view source`|[#14624](https://github.com/nushell/nushell/pull/14624)| -->
<!-- |[@fdncred](https://github.com/fdncred)|lookup closures/blockids and get content in `config flatten`|[#14635](https://github.com/nushell/nushell/pull/14635)| -->

|[@fdncred](https://github.com/fdncred)|tweaks to `config flatten`|[#14639](https://github.com/nushell/nushell/pull/14639)|
|[@hustcer](https://github.com/hustcer)|Bump to dev version 0.100.1|[#14328](https://github.com/nushell/nushell/pull/14328)|
|[@hustcer](https://github.com/hustcer)|Fix the document CI error for `polars profile` command|[#14642](https://github.com/nushell/nushell/pull/14642)|
|[@maxim-uvarov](https://github.com/maxim-uvarov)|rewrite error message to not use the word `function`|[#14533](https://github.com/nushell/nushell/pull/14533)|
|[@michel-slm](https://github.com/michel-slm)|Bump quick-xml to 0.37.0|[#14354](https://github.com/nushell/nushell/pull/14354)|
|[@michel-slm](https://github.com/michel-slm)|Bump titlecase dependency|[#14502](https://github.com/nushell/nushell/pull/14502)|
Expand All @@ -479,6 +524,9 @@ Thanks to all the contributors below for helping us solve issues, improve docume
|[@sholderbach](https://github.com/sholderbach)|Remove unused `FlatShape`s `And`/`Or`|[#14476](https://github.com/nushell/nushell/pull/14476)|
|[@sholderbach](https://github.com/sholderbach)|Add `remove` as a search term on `drop` commands|[#14493](https://github.com/nushell/nushell/pull/14493)|
|[@sholderbach](https://github.com/sholderbach)|Improve `sleep` example using multiple durations|[#14520](https://github.com/nushell/nushell/pull/14520)|
|[@sholderbach](https://github.com/sholderbach)|Remove unused `sample_login.nu` file|[#14632](https://github.com/nushell/nushell/pull/14632)|
|[@sholderbach](https://github.com/sholderbach)|Remove `pub` on some command internals|[#14636](https://github.com/nushell/nushell/pull/14636)|
|[@sholderbach](https://github.com/sholderbach)|Pin reedline to 0.38.0 release|[#14651](https://github.com/nushell/nushell/pull/14651)|

<!-- |[@userwiths](https://github.com/userwiths)|Fix inconsistency in `ls` sort-order|[#13875](https://github.com/nushell/nushell/pull/13875)| -->
<!-- |[@ysthakur](https://github.com/ysthakur)|Add utouch command from uutils/coreutils|[#11817](https://github.com/nushell/nushell/pull/11817)| -->
Expand Down
Loading