From f757b07d871e1dfe9d3ae97885936682e7b7079e Mon Sep 17 00:00:00 2001 From: NotTheDr01ds <32344964+NotTheDr01ds@users.noreply.github.com> Date: Fri, 11 Apr 2025 14:57:46 -0400 Subject: [PATCH 1/2] Added TWiN 294 --- blog/2025-04-11-twin0294.md | 132 ++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 blog/2025-04-11-twin0294.md diff --git a/blog/2025-04-11-twin0294.md b/blog/2025-04-11-twin0294.md new file mode 100644 index 00000000000..6f77b8c98a1 --- /dev/null +++ b/blog/2025-04-11-twin0294.md @@ -0,0 +1,132 @@ +--- +title: 'This week in Nushell #294' +author: The Nu Authors +author_site: https://nushell.sh +author_image: https://www.nushell.sh/blog/images/nu_logo.png +excerpt: 'More datetime features and much more!' +--- + +# This week in Nushell #294 + +Published Friday, 2025-04-11 + +## Highlights + +- @LoicRiegel continues to improve datetime commands with both some fixes as well as new features. Thanks to this + work, a datetime can now be constructed (and round-tripped) from a record. + +- _And_ also thanks to @LoicRiegel we have a new command in the mix as well - `date from-human` now replaces the former ability + of `into datetime` to parse human-language date "descriptions" such as "tomorrow" and, err, "overmorrow"? + +- Another week, and yet more new Polars commands - Thanks @pyz4 for `polars replace-time-zone`! And @ayax79 for `polars into-schema` + +- Cool! @Kissaki added a new BSON plugin in the awesome_nu repo! Thank you! + +- And thanks to 0x4D5352 for a new AeroSpace completion in nu_scripts! + +- In a rare update to `nufmt`, @AucaCoyan added a warning to the README. Wait - how dare you? Oh, okay, that's a good call. Thank you! + +- Attention all time travelers, if you brought an exabyte drive with you from the future, Nushell will now parse `df` exabyte + values correctly. Also, please be kind enough to share a few of the upcoming (for the rest of us who are still temporally-challenged) football scores while you are here. + This will help support Nushell development. + +All of the nitty-gritty (or at least links) on these changes, and more, below! + +## Nushell + +- LoicRiegel: + + - [Fixed a chrono panic and hotfix](https://github.com/nushell/nushell/pull/15549) + - [Bugfix: datetime parsing and local timezones](https://github.com/nushell/nushell/pull/15544) + - [Fixed wrong display of human-readable strings](https://github.com/nushell/nushell/pull/15522) + - [Moved human date parsing into a new command `date from-human`](https://github.com/nushell/nushell/pull/15495) + - [Added the ability to construct datetime from a record](https://github.com/nushell/nushell/pull/15455) + - [Replaced some `PipelineMismatch` errors with `OnlySupportsThisInputType` shell errors](https://github.com/nushell/nushell/pull/15447) + +- sholderbach: + + - [Bumped `crossbeam-channel`](https://github.com/nushell/nushell/pull/15541) + - [Fixed future clippy lints](https://github.com/nushell/nushell/pull/15519) + - [Fixed Exbibyte parsing](https://github.com/nushell/nushell/pull/15515) + +- blindFS: + + - [Fixed LSP command name highlighting/renaming for better accuracy](https://github.com/nushell/nushell/pull/15540) + - [Fixed several edge cases of inaccurate references in LSP](https://github.com/nushell/nushell/pull/15523) + - [Improved parser_info-based ID detection for `use`/`overlay` keywords in LSP](https://github.com/nushell/nushell/pull/15517) + - [Fixed workspace-wide operations that could panic in certain conditions](https://github.com/nushell/nushell/pull/15514) + - [Refactored LSP to align markdown doc strings with `--help` output](https://github.com/nushell/nushell/pull/15508) + - [Fixed keyword handling in LSP completion snippets](https://github.com/nushell/nushell/pull/15499) + - [Added snippet-style completion for commands in LSP](https://github.com/nushell/nushell/pull/15494) + - [Improved PWD accuracy in LSP: from env to the parent dir of the current file](https://github.com/nushell/nushell/pull/15470) + +- pyz4: + + - [Added a new `polars` command: `polars replace-time-zone`](https://github.com/nushell/nushell/pull/15538) + - [Fixed `polars as-datetime` to respect timezone information](https://github.com/nushell/nushell/pull/15490) + - [Made `polars into-df`/`polars into-lazy`'s `--schema` option more lenient](https://github.com/nushell/nushell/pull/15473) + +- fdncred: + + - [Fixed `datetime-diff` to report milliseconds, microseconds, and nanoseconds](https://github.com/nushell/nushell/pull/15537) + - [Reverted a fix for `table -e` wrapping issue](https://github.com/nushell/nushell/pull/15498) + +- ayax79: + + - [Introduced `polars into-schema`](https://github.com/nushell/nushell/pull/15534) + - [Added `NuDataType` and the `polars dtype` command](https://github.com/nushell/nushell/pull/15529) + +- dependabot[bot]: + + - [Bumped `indexmap` from 2.8.0 to 2.9.0](https://github.com/nushell/nushell/pull/15531) + - [Bumped `titlecase` from 3.4.0 to 3.5.0](https://github.com/nushell/nushell/pull/15530) + - [Bumped `tokio` from 1.44.1 to 1.44.2](https://github.com/nushell/nushell/pull/15521) + - [Bumped `openssl` from 0.10.70 to 0.10.72](https://github.com/nushell/nushell/pull/15493) + +- vansh284: [Implemented a substring match algorithm](https://github.com/nushell/nushell/pull/15511) +- fennewald: [Limited allowed `serde_json` versions to match usage](https://github.com/nushell/nushell/pull/15504) +- zhiburt: + - [Fixed commit f25525b](https://github.com/nushell/nushell/pull/15500) + - [Fixed `table -e` wrapping issue](https://github.com/nushell/nushell/pull/15407) +- NotTheDr01ds: [Added a reminder comment to update docs when adding `$nu` constants](https://github.com/nushell/nushell/pull/15481) + +## Documentation + +- dependabot[bot]: + - [Bumped `vite` from 6.1.4 to 6.1.5](https://github.com/nushell/nushell.github.io/pull/1871) + - [Bumped `vite` from 6.0.13 to 6.0.14](https://github.com/nushell/nushell.github.io/pull/1861) +- kkoang: + - [Updated `special_variables.md`](https://github.com/nushell/nushell.github.io/pull/1870) + - [Updated `custom_commands.md`](https://github.com/nushell/nushell.github.io/pull/1869) + - [Updated `configuration.md`](https://github.com/nushell/nushell.github.io/pull/1866) +- hustcer: [Upgraded VuePress and related plugins](https://github.com/nushell/nushell.github.io/pull/1865) +- sholderbach: [Fixed the sidebar for the background job article](https://github.com/nushell/nushell.github.io/pull/1864) +- NotTheDr01ds: + - [Fixed a small typo in TWiN](https://github.com/nushell/nushell.github.io/pull/1863) + - [Added TWiN #293](https://github.com/nushell/nushell.github.io/pull/1862) + - [Created a new chapter page collecting the list of special variables](https://github.com/nushell/nushell.github.io/pull/1860) + +## Awesome Nu + +- Kissaki: + - [Added `nu_plugin_bson`](https://github.com/nushell/awesome-nu/pull/117) + - [Dropped non-existent `nu_plugin_template`](https://github.com/nushell/awesome-nu/pull/116) + - [Updated `nu_plugin_template` URL](https://github.com/nushell/awesome-nu/pull/115) +- cablehead: [Added `cross.stream` and `http-nu`](https://github.com/nushell/awesome-nu/pull/114) + +## NUPM + +- mrxiaozhuox: [Fixed hash detection affecting all search results](https://github.com/nushell/nupm/pull/107) + +## nufmt + +- AucaCoyan: [Added a warning in the README](https://github.com/nushell/nufmt/pull/67) + +## Nu_Scripts + +- 0x4D5352: [Added AeroSpace completions](https://github.com/nushell/nu_scripts/pull/1080) +- hongquan: [Completed package name for `uv remove`](https://github.com/nushell/nu_scripts/pull/1072) + +## reedline + +- WindSoilder: [Fixed clippy: called `next_back` instead of `last` on `DoubleEndedIterator`](https://github.com/nushell/reedline/pull/902) From a535ffa33ac324c3d38da1b85dd94891ea82938f Mon Sep 17 00:00:00 2001 From: NotTheDr01ds <32344964+NotTheDr01ds@users.noreply.github.com> Date: Fri, 11 Apr 2025 15:04:00 -0400 Subject: [PATCH 2/2] Excerpt updated --- blog/2025-04-11-twin0294.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/2025-04-11-twin0294.md b/blog/2025-04-11-twin0294.md index 6f77b8c98a1..41f15dfc0d4 100644 --- a/blog/2025-04-11-twin0294.md +++ b/blog/2025-04-11-twin0294.md @@ -3,7 +3,7 @@ title: 'This week in Nushell #294' author: The Nu Authors author_site: https://nushell.sh author_image: https://www.nushell.sh/blog/images/nu_logo.png -excerpt: 'More datetime features and much more!' +excerpt: 'Déjà vu edition - More datetime features and much more!' --- # This week in Nushell #294