diff --git a/blog/2024-12-24-nushell_0_101_0.md b/blog/2024-12-24-nushell_0_101_0.md index ab7dcc87421..15a9e77925f 100644 --- a/blog/2024-12-24-nushell_0_101_0.md +++ b/blog/2024-12-24-nushell_0_101_0.md @@ -91,6 +91,7 @@ When using multiple groupers, the output is in the form of nested records. [vegetable orange pumpkin] ] | group-by color category ``` + ``` ╭────────┬───────────────────────────────────────────────────────╮ │ │ ╭───────────┬───────────────────────────────────────╮ │ @@ -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 │ @@ -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. @@ -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. @@ -250,9 +254,11 @@ value 4,ddd 5,eee,extra ``` + ```nu .. | from csv --flexible --noheaders ``` + ``` ╭─#─┬─column0─┬─column1─┬─column2─╮ │ 0 │ value │ ❎ │ ❎ │ @@ -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) | @@ -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)| + |[@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)| @@ -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)|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)| @@ -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)|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)|Set `split-by` doc category to "deprecated"|[#14633](https://github.com/nushell/nushell/pull/14633)| + |[@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)| + @@ -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)| + + + |[@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)| @@ -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)| @@ -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)|Fix `commands::network::http::*::*_timeout` tests on non-english system|[#14640](https://github.com/nushell/nushell/pull/14640)| + |[@devyn](https://github.com/devyn)|Turn compile errors into fatal errors|[#14388](https://github.com/nushell/nushell/pull/14388)| @@ -452,7 +488,16 @@ Thanks to all the contributors below for helping us solve issues, improve docume |[@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)|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)| @@ -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)|