From 705d6fc001d346d2ad5966b144d5d2cdc1ba716a Mon Sep 17 00:00:00 2001 From: NotTheDr01ds <32344964+NotTheDr01ds@users.noreply.github.com> Date: Tue, 29 Apr 2025 09:32:32 -0400 Subject: [PATCH] Added TWiN 296 --- blog/2025-04-25-twin0296.md | 102 ++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 blog/2025-04-25-twin0296.md diff --git a/blog/2025-04-25-twin0296.md b/blog/2025-04-25-twin0296.md new file mode 100644 index 00000000000..5262ff79d99 --- /dev/null +++ b/blog/2025-04-25-twin0296.md @@ -0,0 +1,102 @@ +--- +title: 'This week in Nushell #296' +author: The Nu Authors +author_site: https://nushell.sh +author_image: https://www.nushell.sh/blog/images/nu_logo.png +excerpt: 'Déjà vu edition - More datetime features and much more!' +--- + +# This Week in Nushell #296 + +### Published 2025-04-29, with PR Updates through 2025-04-25 + +## Highlights + +- Ack! I'm late; I'm late! TWiN #296 apologies for this week's delay. Something about a dog, homework, and a giant bouncy house? +- Wow - @Kissaki did some awesome work in `nu_scripts` with _15 PRs_! Thank you! +- Another new Polars command joins the team courtesy of @MMesch — `polars join_where`. + Did you know that brings us to a total of _three_ SQL-like `join` commands in Nushell? +- Job control continues to progress with @cosineblast's addition of tags! And as a sneak preview, there's a special + job-control surprise in store that just missed the cutoff for this week's TWiN. You can read all about it in ... +- The 0.104 release notes! That's right - This week is release week! + +As always, special thanks to _all_ our wonderful contributors for the PRs below. + +## Nushell + +- Bahex [added `:nu` back to the help text in explore](https://github.com/nushell/nushell/pull/15644). +- cptpiepmatz [added `cat` and `get-content` to `open`'s search terms](https://github.com/nushell/nushell/pull/15643). +- pyz4 made several improvements and fixes for Polars: + - [Fixed conversion from nanoseconds to time_units in Datetime and Duration parsing](https://github.com/nushell/nushell/pull/15637). + - [Enabled parsing decimals in Polars schemas](https://github.com/nushell/nushell/pull/15632). + - [Removed the requirement that pivot columns must be the same type in `polars pivot`](https://github.com/nushell/nushell/pull/15608). + - [Mapped the `//` operator to FloorDivide for custom values and in Polars](https://github.com/nushell/nushell/pull/15599). + - [Added the `pow` (`**`) operator for Polars expressions](https://github.com/nushell/nushell/pull/15598). + - [Enabled `as_date` and `as_datetime` to handle expressions as inputs](https://github.com/nushell/nushell/pull/15590). +- MMesch: + - [Added the `polars join_where` command](https://github.com/nushell/nushell/pull/15635). + - [Fixed a mistake in the description of the Polars pivot command](https://github.com/nushell/nushell/pull/15621). +- sholderbach [fixed the labeling of plugins through the correct glob](https://github.com/nushell/nushell/pull/15634). +- SkillFlame [fixed an issue where `to md` breaks on tables with empty values](https://github.com/nushell/nushell/pull/15631). +- LoicRiegel: + - [Fixed the output of `start_timestamp` as datetime instead of string in SQLite history tables](https://github.com/nushell/nushell/pull/15630). + - [Made `str join` output dates consistently (RFC2822 when possible)](https://github.com/nushell/nushell/pull/15629). + - [Fixed the loss of precision when parsing values with units](https://github.com/nushell/nushell/pull/15606). + - [Added support for creating durations from records](https://github.com/nushell/nushell/pull/15600). +- AucaCoyan [added a labeler bot](https://github.com/nushell/nushell/pull/15627). +- sebasnallar [added the `--follow-symlinks` flag to the `glob` command](https://github.com/nushell/nushell/pull/15626). +- WindSoilder: + - [Raised a reasonable error when using subexpressions with the `and` operator](https://github.com/nushell/nushell/pull/15623). + - [Allowed subexpressions with redirection in IR](https://github.com/nushell/nushell/pull/15617). + - [Kept PWD after activating an overlay through a file](https://github.com/nushell/nushell/pull/15566). +- suimong [improved the performance of `std/log`](https://github.com/nushell/nushell/pull/15614). +- hfrentzel [enabled running scripts of any file extension in PATHEXT on Windows](https://github.com/nushell/nushell/pull/15611). +- blindFS [fixed a regression in semantic tokens for module-prefixed commands](https://github.com/nushell/nushell/pull/15603). +- scarlet-storm [enabled SOCKS proxy support in ureq](https://github.com/nushell/nushell/pull/15597). +- fdncred [added more details to `describe -d`](https://github.com/nushell/nushell/pull/15591). +- Tyarel8 [fixed `kv set` with a closure argument](https://github.com/nushell/nushell/pull/15588). +- NotTheDr01ds [added env-conversion helpers to `std`](https://github.com/nushell/nushell/pull/15569). +- cosineblast [added job tags](https://github.com/nushell/nushell/pull/15555). +- lazenga [fixed outer joins incorrectly removing unmatched rows](https://github.com/nushell/nushell/pull/15472). + +## Documentation + +- thesoulless [fixed a constant](https://github.com/nushell/nushell.github.io/pull/1885). +- marcransome [fixed the example of multi-dot shortcut path expansion](https://github.com/nushell/nushell.github.io/pull/1884). +- Beinsezii [updated fish quotes in the external completers documentation](https://github.com/nushell/nushell.github.io/pull/1883). +- NotTheDr01ds [added TWiN 295](https://github.com/nushell/nushell.github.io/pull/1882). +- LoicRiegel [highlighted datetime handling in the 0.104.0 release notes](https://github.com/nushell/nushell.github.io/pull/1873). + +## Awesome Nu + +- LoicRiegel [added `uv` to Integrations](https://github.com/nushell/awesome-nu/pull/118). + +## Integrations + +- hustcer [fixed the format of Nu scripts to Unix format](https://github.com/nushell/integrations/pull/47). + +## Nu_Scripts + +- mn9891 [updated Mamba/Conda info parsing and fixed syntax errors](https://github.com/nushell/nu_scripts/pull/1104). +- Kissaki made many improvements: + - [Updated some fish-sourced generated completion files](https://github.com/nushell/nu_scripts/pull/1103). + - [Updated more fish-sourced generated completion files](https://github.com/nushell/nu_scripts/pull/1102). + - [Dropped the generated `highlight.nu` file](https://github.com/nushell/nu_scripts/pull/1101). + - [Dropped added PATHs on folder leave](https://github.com/nushell/nu_scripts/pull/1098). + - [Used `path join` to join path parts](https://github.com/nushell/nu_scripts/pull/1097). + - [Supported configs with no hooks in `rusty-paths.nu`](https://github.com/nushell/nu_scripts/pull/1096). + - [Fixed `parse-fish.nu`](https://github.com/nushell/nu_scripts/pull/1094). + - [Improved the auto-generated `README.md`](https://github.com/nushell/nu_scripts/pull/1093). + - [Removed duplicate "moved" auto-generated files from the old location](https://github.com/nushell/nu_scripts/pull/1092). + - [Fixed `winget show` completions](https://github.com/nushell/nu_scripts/pull/1091). + - [Fixed `winget` completions breaking `winget show`](https://github.com/nushell/nu_scripts/pull/1090). + - [Added `md-to-clip` custom completions](https://github.com/nushell/nu_scripts/pull/1089). + - [Dropped a draft note](https://github.com/nushell/nu_scripts/pull/1088). + - [Improved git completions](https://github.com/nushell/nu_scripts/pull/1087). + - [Ported `parse_aws_s3_ls.nu` from before v0.60](https://github.com/nushell/nu_scripts/pull/1086). +- kiil [added a games folder with a simple game demonstrating Nu code concepts](https://github.com/nushell/nu_scripts/pull/1100). +- jaredmontoya [added a `capture-foreign-env` module](https://github.com/nushell/nu_scripts/pull/1099). + +## Reedline + +- WindSoilder [introduced a KillLine command and bound it to `ctrl_k` in emacs mode](https://github.com/nushell/reedline/pull/901).