diff --git a/blog/2024-12-24-nushell_0_101_0.md b/blog/2024-12-24-nushell_0_101_0.md index 45c70759b16..cf6c802ebbe 100644 --- a/blog/2024-12-24-nushell_0_101_0.md +++ b/blog/2024-12-24-nushell_0_101_0.md @@ -137,6 +137,14 @@ With [#14295](https://github.com/nushell/nushell/pull/14295), dates can now be a In [#14468](https://github.com/nushell/nushell/pull/14468) thanks to [@paulie4](https://github.com/paulie4), more default keybindings were added to `explore` to better match `less`. +### Version in Startup banner + +With [#14625](https://github.com/nushell/nushell/pull/14625), the Nushell version now displays at startup in the banner. + +### `input --default` + +Thanks to [@WindSoilder](https://github.com/WindSoilder) in [#14374](https://github.com/nushell/nushell/pull/14374), the `input` command now has a `--default` parameter to set a default value when none is provided in the input. + ## Breaking changes ### `++` operator @@ -372,6 +380,10 @@ In [#14424](https://github.com/nushell/nushell/pull/14424), some changes were ma Thanks to [@sgvictorino](https://github.com/sgvictorino) in [#14353](https://github.com/nushell/nushell/pull/14353), modules with special characters in their name will be normalized by converting these special characters to underscores (`_`). Previously, it was not possible to use these modules after importing them. +### `du` flag changes + +Thanks to [@WindSoilder](https://github.com/WindSoilder) in [#14407](https://github.com/nushell/nushell/pull/14407), the `du` command shows a more condensed output by default. The `files` and (recursive) `directories` are not shown by default. Use `du --long (-l)` to show these columns. The `--all (-a)` switch has been removed -- Files and directories will both be shown with `--long (-l)`. + ## Deprecations ### `split-by` @@ -380,9 +392,15 @@ In [#14019](https://github.com/nushell/nushell/pull/14019), the `split-by` comma ### `date to-record` and `date to-table` +In [#14319](https://github.com/nushell/nushell/pull/14319): + - `date to-record` has been deprecated and will be removed in a future release. Please use `into record` in its place. - `date to-table` has been deprecated and will be removed in a future release. Please use `into record | transpose | transpose -r` in its place. +### `do --ignore-shell-errors` and `--ignore-program-errors` + +Thanks to [@WindSoilder](https://github.com/WindSoilder) in [#14385](https://github.com/nushell/nushell/pull/14385), `--ignore-shell-errors` and `--ignore-program-errors` for the `do` command have been deprecated. Use `--ignore-errors (-i)` instead. + ## Removals ### `NU_DISABLE_IR` @@ -488,38 +506,28 @@ Thanks to all the contributors below for helping us solve issues, improve docume |[@IanManske](https://github.com/IanManske)|Add `--long` flag for `sys cpu`|[#14485](https://github.com/nushell/nushell/pull/14485)| |[@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)| - - - - - - +|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Load `default_env.nu`/`default_config.nu` before user `env.nu`/`config.nu`|[#14249](https://github.com/nushell/nushell/pull/14249)| +|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Allow date to be added to duration|[#14295](https://github.com/nushell/nushell/pull/14295)| +|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Deprecate `date to-record` and `date to-table`|[#14319](https://github.com/nushell/nushell/pull/14319)| +|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add proper config defaults for hooks|[#14341](https://github.com/nushell/nushell/pull/14341)| |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Fix small typos in std/dirs|[#14422](https://github.com/nushell/nushell/pull/14422)| - - - +|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Always populate config record during startup|[#14435](https://github.com/nushell/nushell/pull/14435) |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Remove long-unused `autoenv` tests|[#14436](https://github.com/nushell/nushell/pull/14436)| |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add example for PROMPT_COMMAND_RIGHT|[#14439](https://github.com/nushell/nushell/pull/14439)| |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Bump reedline to current main|[#14455](https://github.com/nushell/nushell/pull/14455)| |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Update default-files README|[#14461](https://github.com/nushell/nushell/pull/14461)| - - - - - - - +|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Allow inherited environment variables|[#14467](https://github.com/nushell/nushell/pull/14467)| +|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Only run `from_string` conversion on strings|[#14509](https://github.com/nushell/nushell/pull/14509)| +|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Use const NU_LIB_DIRS in startup|[#14549](https://github.com/nushell/nushell/pull/14549)| +|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Allow both NU_PLUGIN_DIRS const and env at the same time|[#14553](https://github.com/nushell/nushell/pull/14553)| +|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Set empty `ENV_CONVERSIONS` record by default|[#14566](https://github.com/nushell/nushell/pull/14566)| |[@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)| @@ -528,20 +536,16 @@ Thanks to all the contributors below for helping us solve issues, improve docume |[@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)| |[@WindSoilder](https://github.com/WindSoilder)|Tests: add a test to make sure that function can't use mutable variable|[#14314](https://github.com/nushell/nushell/pull/14314)| |[@WindSoilder](https://github.com/WindSoilder)|make std help more user friendly|[#14347](https://github.com/nushell/nushell/pull/14347)| - - - - - - - +|[@WindSoilder](https://github.com/WindSoilder)|add `--default` flag to input command|[#14374](https://github.com/nushell/nushell/pull/14374) +|[@WindSoilder](https://github.com/WindSoilder)|deprecate --ignore-shell-errors and --ignore-program-errors in `do` |[#14385](https://github.com/nushell/nushell/pull/14385)| +|[@WindSoilder](https://github.com/WindSoilder)|remove deprecated warnings|[#14386](https://github.com/nushell/nushell/pull/14386)| +|[@WindSoilder](https://github.com/WindSoilder)|raise ParseError if assign to a non-variable or non-mutable-variable|[#14405](https://github.com/nushell/nushell/pull/14405)| +|[@WindSoilder](https://github.com/WindSoilder)|du: add `-l/--long` flag, remove `-a/--all` flag|[#14407](https://github.com/nushell/nushell/pull/14407)| |[@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)|