Skip to content

Commit 87a3ff6

Browse files
committed
Merge branch 'release-notes-0.101.0' into stefan-summary
2 parents 939a8f8 + efda72e commit 87a3ff6

File tree

1 file changed

+38
-34
lines changed

1 file changed

+38
-34
lines changed

blog/2024-12-24-nushell_0_101_0.md

Lines changed: 38 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,14 @@ With [#14295](https://github.com/nushell/nushell/pull/14295), dates can now be a
183183

184184
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`.
185185

186+
### Version in Startup banner
187+
188+
With [#14625](https://github.com/nushell/nushell/pull/14625), the Nushell version now displays at startup in the banner.
189+
190+
### `input --default`
191+
192+
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.
193+
186194
## Breaking changes
187195

188196
### `++` operator
@@ -423,6 +431,10 @@ With [#14361](https://github.com/nushell/nushell/pull/14361) by [@132ikl](https:
423431
If a `$env.config.hooks.display_output` hook is set, it is fully responsible for formatting the structured data, e.g. by invoking `table` with custom settings. Only if it is not set by `null` will `table` without arguments be run by default.
424432
Previously the output logic would invoke `table` regardless on top of the formatting by your `display_output` hook. This avoids some spurious formatting attempts.
425433

434+
### `du` flag changes
435+
436+
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)`.
437+
426438
## Deprecations
427439

428440
### `split-by`
@@ -431,9 +443,15 @@ In [#14019](https://github.com/nushell/nushell/pull/14019), the `split-by` comma
431443

432444
### `date to-record` and `date to-table`
433445

446+
In [#14319](https://github.com/nushell/nushell/pull/14319):
447+
434448
- `date to-record` has been deprecated and will be removed in a future release. Please use `into record` in its place.
435449
- `date to-table` has been deprecated and will be removed in a future release. Please use `into record | transpose | transpose -r` in its place.
436450

451+
### `do --ignore-shell-errors` and `--ignore-program-errors`
452+
453+
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.
454+
437455
## Removals
438456

439457
### `NU_DISABLE_IR`
@@ -541,38 +559,28 @@ Thanks to all the contributors below for helping us solve issues, improve docume
541559
|[@IanManske](https://github.com/IanManske)|Add `--long` flag for `sys cpu`|[#14485](https://github.com/nushell/nushell/pull/14485)|
542560
|[@Jasha10](https://github.com/Jasha10)|enable test_cp_recurse on macos|[#14358](https://github.com/nushell/nushell/pull/14358)|
543561
|[@Kissaki](https://github.com/Kissaki)|Fix doc and code comment typos|[#14366](https://github.com/nushell/nushell/pull/14366)|
544-
545-
<!-- |[@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)| -->
546-
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Allow date to be added to duration|[#14295](https://github.com/nushell/nushell/pull/14295)| -->
547-
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Deprecate `date to-record` and `date to-table`|[#14319](https://github.com/nushell/nushell/pull/14319)| -->
548-
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add proper config defaults for hooks|[#14341](https://github.com/nushell/nushell/pull/14341)| -->
549-
562+
|[@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)|
563+
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Allow date to be added to duration|[#14295](https://github.com/nushell/nushell/pull/14295)|
564+
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Deprecate `date to-record` and `date to-table`|[#14319](https://github.com/nushell/nushell/pull/14319)|
565+
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add proper config defaults for hooks|[#14341](https://github.com/nushell/nushell/pull/14341)|
550566
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Fix small typos in std/dirs|[#14422](https://github.com/nushell/nushell/pull/14422)|
551-
552-
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Always populate config record during startup|[#14435](https://github.com/nushell/nushell/pull/14435)| -->
553-
567+
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Always populate config record during startup|[#14435](https://github.com/nushell/nushell/pull/14435)
554568
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Remove long-unused `autoenv` tests|[#14436](https://github.com/nushell/nushell/pull/14436)|
555569
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add example for PROMPT_COMMAND_RIGHT|[#14439](https://github.com/nushell/nushell/pull/14439)|
556570
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Bump reedline to current main|[#14455](https://github.com/nushell/nushell/pull/14455)|
557571
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Update default-files README|[#14461](https://github.com/nushell/nushell/pull/14461)|
558-
559-
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Allow inherited environment variables|[#14467](https://github.com/nushell/nushell/pull/14467)| -->
560-
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Only run `from_string` conversion on strings|[#14509](https://github.com/nushell/nushell/pull/14509)| -->
561-
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Use const NU_LIB_DIRS in startup|[#14549](https://github.com/nushell/nushell/pull/14549)| -->
562-
<!-- |[@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)| -->
563-
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Set empty `ENV_CONVERSIONS` record by default|[#14566](https://github.com/nushell/nushell/pull/14566)| -->
564-
572+
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Allow inherited environment variables|[#14467](https://github.com/nushell/nushell/pull/14467)|
573+
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Only run `from_string` conversion on strings|[#14509](https://github.com/nushell/nushell/pull/14509)|
574+
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Use const NU_LIB_DIRS in startup|[#14549](https://github.com/nushell/nushell/pull/14549)|
575+
|[@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)|
576+
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Set empty `ENV_CONVERSIONS` record by default|[#14566](https://github.com/nushell/nushell/pull/14566)|
565577
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Update sample and scaffold files|[#14568](https://github.com/nushell/nushell/pull/14568)|
566-
567-
<!-- |[@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)| -->
568-
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add missing color_config settings|[#14603](https://github.com/nushell/nushell/pull/14603)| -->
569-
578+
|[@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)|
579+
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add missing color_config settings|[#14603](https://github.com/nushell/nushell/pull/14603)|
570580
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Doc file fixes|[#14608](https://github.com/nushell/nushell/pull/14608)|
571581
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Remove duplicate version line|[#14611](https://github.com/nushell/nushell/pull/14611)|
572-
573-
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add version info to startup banner|[#14625](https://github.com/nushell/nushell/pull/14625)| -->
574-
<!-- |[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add shape_garbage|[#14626](https://github.com/nushell/nushell/pull/14626)| -->
575-
582+
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add version info to startup banner|[#14625](https://github.com/nushell/nushell/pull/14625)|
583+
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Add shape_garbage|[#14626](https://github.com/nushell/nushell/pull/14626)|
576584
|[@NotTheDr01ds](https://github.com/NotTheDr01ds)|Set `split-by` doc category to "deprecated"|[#14633](https://github.com/nushell/nushell/pull/14633)|
577585
|[@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)|
578586
|[@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)|
@@ -581,20 +589,16 @@ Thanks to all the contributors below for helping us solve issues, improve docume
581589
|[@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)|
582590
|[@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)|
583591
|[@WindSoilder](https://github.com/WindSoilder)|make std help more user friendly|[#14347](https://github.com/nushell/nushell/pull/14347)|
584-
585-
<!-- |[@WindSoilder](https://github.com/WindSoilder)|add `--default` flag to input command|[#14374](https://github.com/nushell/nushell/pull/14374)| -->
586-
<!-- |[@WindSoilder](https://github.com/WindSoilder)|deprecate --ignore-shell-errors and --ignore-program-errors in `do` |[#14385](https://github.com/nushell/nushell/pull/14385)| -->
587-
<!-- |[@WindSoilder](https://github.com/WindSoilder)|remove deprecated warnings|[#14386](https://github.com/nushell/nushell/pull/14386)| -->
588-
<!-- |[@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)| -->
589-
<!-- |[@WindSoilder](https://github.com/WindSoilder)|du: add `-l/--long` flag, remove `-a/--all` flag|[#14407](https://github.com/nushell/nushell/pull/14407)| -->
590-
592+
|[@WindSoilder](https://github.com/WindSoilder)|add `--default` flag to input command|[#14374](https://github.com/nushell/nushell/pull/14374)
593+
|[@WindSoilder](https://github.com/WindSoilder)|deprecate --ignore-shell-errors and --ignore-program-errors in `do` |[#14385](https://github.com/nushell/nushell/pull/14385)|
594+
|[@WindSoilder](https://github.com/WindSoilder)|remove deprecated warnings|[#14386](https://github.com/nushell/nushell/pull/14386)|
595+
|[@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)|
596+
|[@WindSoilder](https://github.com/WindSoilder)|du: add `-l/--long` flag, remove `-a/--all` flag|[#14407](https://github.com/nushell/nushell/pull/14407)|
591597
|[@WindSoilder](https://github.com/WindSoilder)|update miette to 7.3|[#14454](https://github.com/nushell/nushell/pull/14454)|
592598
|[@WindSoilder](https://github.com/WindSoilder)|update unicode-width to 0.2|[#14456](https://github.com/nushell/nushell/pull/14456)|
593599
|[@WindSoilder](https://github.com/WindSoilder)|run `cargo update` manually to update dependencies|[#14569](https://github.com/nushell/nushell/pull/14569)|
594600
|[@WindSoilder](https://github.com/WindSoilder)|update shadow-rs to 0.37|[#14617](https://github.com/nushell/nushell/pull/14617)|
595-
596-
<!-- |[@WindSoilder](https://github.com/WindSoilder)|Remove `-a/-all` flag in du.|[#14618](https://github.com/nushell/nushell/pull/14618)| -->
597-
601+
|[@WindSoilder](https://github.com/WindSoilder)|Remove `-a/-all` flag in du.|[#14618](https://github.com/nushell/nushell/pull/14618)|
598602
|[@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)|
599603
|[@amtoine](https://github.com/amtoine)|add `from ndnuon` and `to ndnuon` to stdlib|[#14334](https://github.com/nushell/nushell/pull/14334)|
600604
|[@amtoine](https://github.com/amtoine)|fix multiline strings in NDNUON|[#14519](https://github.com/nushell/nushell/pull/14519)|

0 commit comments

Comments
 (0)