diff --git a/blog/2025-01-30-twin00283.md b/blog/2025-01-30-twin00283.md new file mode 100644 index 00000000000..fda5acee3c1 --- /dev/null +++ b/blog/2025-01-30-twin00283.md @@ -0,0 +1,135 @@ +--- +title: This week in Nushell 283 and 284 +author: The Nu Authors +author_site: https://twitter.com/nu_shell +author_image: https://www.nushell.sh/blog/images/nu_logo.png +excerpt: The last week of contributions brings us (yet more) completion improvements, a new `version check` command, the ability to Rickroll directly in Nushell (and far more useful actions) using `start` with application URIs, an easier to remember (renamed) `format number` command, and more. +--- + +# This week in Nushell #283 and #284 + +Posted Thursday, 2025-01-30. + +## Front Matter + +With this edition, TWiN transitions to being a regular post on the main Nushell blog and Discord server. We welcome and encourage reposts on your preferred social media sites. + +Due to this transition, we're a few days behind. This catch-up edition includes the last 12 days of contributions. The next edition is planned for Saturday, February 8th and should cover the intervening 9 days. + +Finally, it seems that issue #280 was inadvertently posted two weeks in a row, and #281 was never posted. Look for it soon in the archives! + +## Highlights + +Reminder - We're now on a six-week release cycle. The next Nushell release (0.102.0) is scheduled for this coming Tuesday! + +The most recent week (give or take) of contributions brings us more completion improvements, a new `version check` command, the ability for `start` to launch application URIs, an easier to remember (renamed) `format number` command, and more. + +## Nushell + +- **NotTheDr01ds**: + + - [Renamed `std/core` to `std/prelude`](https://github.com/nushell/nushell/pull/14962) + - [Fixed: Directories using a tilde to represent HOME now convert to absolute paths before running externals](https://github.com/nushell/nushell/pull/14959) + - [Fixed improperly escaped strings in `stor update`](https://github.com/nushell/nushell/pull/14921) + - [Linked to the blog in the welcome banner](https://github.com/nushell/nushell/pull/14914) + - [Added the correct path from `data-dir`](https://github.com/nushell/nushell/pull/14894) + - [Improved the example for `epoch -> datetime`](https://github.com/nushell/nushell/pull/14886) + - [Used `$nu.data-dir` as the last directory for vendor autoloads on all platforms](https://github.com/nushell/nushell/pull/14879) + - [Fixed the retrieval of the config directory for user autoloads](https://github.com/nushell/nushell/pull/14877) + +- **blindFS**: + + - [Fixed `DotNuCompletion` to complete Nu scripts in `const $NU_LIB_DIRS`](https://github.com/nushell/nushell/pull/14955) + - [Added value display on hover for `const` variables and `CellPaths` in LSP](https://github.com/nushell/nushell/pull/14940) + - [Fixed the span of keyword expressions](https://github.com/nushell/nushell/pull/14928) + - [Fixed goto/hover on module names in some commands](https://github.com/nushell/nushell/pull/14924) + - [Refactored the parser to use `var_id` for most constants in `ResolvedImportPattern`](https://github.com/nushell/nushell/pull/14920) + - [Improved completion item documentation in LSP](https://github.com/nushell/nushell/pull/14905) + - [Added document highlight support in LSP](https://github.com/nushell/nushell/pull/14898) + - [Fixed renaming of flag variables](https://github.com/nushell/nushell/pull/14890) + - [Fixed the missing span of the entire block in module files](https://github.com/nushell/nushell/pull/14889) + - [Fixed missing references in the `use` command](https://github.com/nushell/nushell/pull/14861) + +- **dependabot[bot]**: + + - [Bumped `shadow-rs` from 0.37.0 to 0.38.0](https://github.com/nushell/nushell/pull/14952) + - [Bumped `brotli` from 6.0.0 to 7.0.0](https://github.com/nushell/nushell/pull/14949) + - [Bumped `similar` from 2.6.0 to 2.7.0](https://github.com/nushell/nushell/pull/14888) + +- **cptpiepmatz**: + + - [Fixed `cargo doc` warnings](https://github.com/nushell/nushell/pull/14948) + - [Refactored I/O errors](https://github.com/nushell/nushell/pull/14927) + +- **Bahex**: [Fixed `help operators` to include `has` and `not-has` operators](https://github.com/nushell/nushell/pull/14943) + +- **dam4rus**: [Fixed `esc` immediately closing `explore` in expand and try view](https://github.com/nushell/nushell/pull/14941) + +- **ayax79**: [Upgraded Polars to 0.46](https://github.com/nushell/nushell/pull/14933) + +- **cosineblast**: [Fixed reject regression](https://github.com/nushell/nushell/pull/14931) + +- **pyz4**: + + - [Added `polars into-repr` to display dataframes in portable repr format](https://github.com/nushell/nushell/pull/14917) + - [Generalized `seq date` to allow any duration for the `--increment` argument](https://github.com/nushell/nushell/pull/14903) + +- **IanManske**: + + - [Removed unused types](https://github.com/nushell/nushell/pull/14916) + - [Used `ref-cast` crate to remove some `unsafe` code](https://github.com/nushell/nushell/pull/14897) + - [Improved and fixed filesize formatting/display](https://github.com/nushell/nushell/pull/14397) + +- **ysthakur**: + + - [Used a single atom for fuzzy matching (fix #14904)](https://github.com/nushell/nushell/pull/14913) + - [Fell back to the file completer in custom/external completers](https://github.com/nushell/nushell/pull/14781) + +- **zhiburt**: [Fixed #14842](https://github.com/nushell/nushell/pull/14885) + +- **Tyarel8**: + + - [Made `into glob` a noop when the input is already a glob](https://github.com/nushell/nushell/pull/14882) + - [Made `into cell-path` a noop when the input is already a cell-path](https://github.com/nushell/nushell/pull/14881) + +- **fdncred**: [Added a `version check` command](https://github.com/nushell/nushell/pull/14880) + +- **132ikl**: [Renamed `fmt` to `format number`](https://github.com/nushell/nushell/pull/14875) + +- **sgvictorino**: [Updated uutils crates to `0.0.29`](https://github.com/nushell/nushell/pull/14867) + +- **tmillr**: [Fixed completion in nested blocks](https://github.com/nushell/nushell/pull/14856) + +- **anomius**: [Enabled non-HTTP(s) URLs to work with `start`](https://github.com/nushell/nushell/pull/14370) + +## Documentation + +- **RolandMarchand**: [Added `$?` equivalent to `$env.LAST_EXIT_CODE`](https://github.com/nushell/nushell.github.io/pull/1757) + +- **vyadh**: [Added draft front matter for todo/placeholder pages](https://github.com/nushell/nushell.github.io/pull/1755) + +- **RalfNorthman**: [Fixed shell aliases module name mismatch](https://github.com/nushell/nushell.github.io/pull/1753) + +- **dependabot[bot]**: + - [Bumped `undici` from 6.21.0 to 6.21.1](https://github.com/nushell/nushell.github.io/pull/1752) + - [Bumped `vite` from 6.0.3 to 6.0.11](https://github.com/nushell/nushell.github.io/pull/1751) + +## Nu_Scripts + +- **dam5h**: [Added git reset completion](https://github.com/nushell/nu_scripts/pull/1027) + +- **NotTheDr01ds**: + + - [Moved Table/List helper module to new `std-rfc`](https://github.com/nushell/nu_scripts/pull/1025) + - [Fixed an issue with `testing.nu` in 0.101.1](https://github.com/nushell/nu_scripts/pull/1023) + - [Added a key-value module for `std-rfc`](https://github.com/nushell/nu_scripts/pull/965) + +- **Bahex**: [Fixed aggregate input-output types to provide more helpful error messages](https://github.com/nushell/nu_scripts/pull/1024) + +- **AucaCoyan**: + + - [Unsort the completions in `git checkout`](https://github.com/nushell/nu_scripts/pull/1022) + - [Removed `gstat` dependency from `git-aliases`](https://github.com/nushell/nu_scripts/pull/1020) + - [Fixed an additional `+ ` in `git local branches`](https://github.com/nushell/nu_scripts/pull/1019) + +- **xav-ie**: [Fixed newline handling in `from env`](https://github.com/nushell/nu_scripts/pull/1021)