diff --git a/blog/2025-04-04-twin0293.md b/blog/2025-04-04-twin0293.md new file mode 100644 index 00000000000..a89ad7b831b --- /dev/null +++ b/blog/2025-04-04-twin0293.md @@ -0,0 +1,75 @@ +--- +title: 'This week in Nushell #293' +author: The Nu Authors +author_site: https://nushell.sh +author_image: https://www.nushell.sh/blog/images/nu_logo.png +excerpt: 'datetime improvements and more!' +--- + +# This Week in Nushell #293 + +Published Friday, 04-Apr 2025 + +## Highlights + +- Thanks to @LoicRiegel for two improvements `into datetime` this week - The command can now use a timezone flag when parsing a specific format, and it also accepts `float`s as input. +- A few additional improvements come to `into datetime` with the upgrade of the `human-date-parser` crate. While we don't always remember to call out upstream improvements, Nushell + just wouldn't be possible without the contributions of numerous contributors outside and upstream from our repos. A huge thanks to these (usually) unsung heroes. +- @pyz4 improved the `polars cast` command to accept a decimal precision and scale. Thank you! +- @blindFS has enabled tab-complete for the built-in modules `std`, `std-rfc`, and their submodules. Woot! Thanks! +- And thanks to @vansh284 for additional exact-match improvements for completions! +- Finally, @mztikk added support on Windows for running scripts on the path. + +As always, thank you to all the contributors this week! + +## Nushell + +### Features & Fixes + +- mztikk [considered PATH when running a command is a nushell script in Windows](https://github.com/nushell/nushell/pull/15486). +- fdncred: + - [bumped to the latest Rust version](https://github.com/nushell/nushell/pull/15483). + - [updated human-date-parser to 3.0](https://github.com/nushell/nushell/pull/15426). +- blindFS: + - [refactored commands to be identified by name instead of span content](https://github.com/nushell/nushell/pull/15471). + - [added stdlib virtual path completion & exportable completion](https://github.com/nushell/nushell/pull/15270). +- pyz4 [`polars cast`: added a decimal option for the `dtype` parameter](https://github.com/nushell/nushell/pull/15464). +- WindSoilder: + - [updated rand and rand_chacha to 0.9](https://github.com/nushell/nushell/pull/15463). + - [updated shadow-rs to version 1](https://github.com/nushell/nushell/pull/15462). + - [removed `-s` and `-p` options in `do`](https://github.com/nushell/nushell/pull/15456). +- migraine-user [fixed a typo in doc_config.nu and improved the description](https://github.com/nushell/nushell/pull/15461). +- ysthakur: + - [enabled exact match behavior for any path with slashes](https://github.com/nushell/nushell/pull/15458). + - [reverted "Improve completions for exact matches (Issue #14794)"](https://github.com/nushell/nushell/pull/15457). +- hustcer [fixed upgrading and checking of typos](https://github.com/nushell/nushell/pull/15454). +- 132ikl [added boolean examples to `any` and `all`](https://github.com/nushell/nushell/pull/15442). +- vansh284 [improved completions for exact matches (Issue #14794)](https://github.com/nushell/nushell/pull/15387). +- LoicRiegel: + - [fixed `into datetime` ignoring timezone with format](https://github.com/nushell/nushell/pull/15370). + - [made `into duration` accept floats](https://github.com/nushell/nushell/pull/15297). +- dependabot[bot]: + - [bumped crate-ci/typos from 1.31.0 to 1.31.1](https://github.com/nushell/nushell/pull/15469). + - [bumped bytesize from 1.3.2 to 1.3.3](https://github.com/nushell/nushell/pull/15468). + - [bumped array-init-cursor from 0.2.0 to 0.2.1](https://github.com/nushell/nushell/pull/15460). + - [bumped crate-ci/typos from 1.29.10 to 1.30.3](https://github.com/nushell/nushell/pull/15418). + +## Documentation + +- sunnyzanchi [made positional parameters more searchable](https://github.com/nushell/nushell.github.io/pull/1859). +- Anabar [fixed an erratum in the default_shell.md](https://github.com/nushell/nushell.github.io/pull/1857). +- dependabot[bot] [bumped vite from 6.0.11 to 6.0.13](https://github.com/nushell/nushell.github.io/pull/1856). +- bfeitknecht [corrected the `std-rfc` reference](https://github.com/nushell/nushell.github.io/pull/1854). +- Kissaki [clarified immutability to avoid confusion](https://github.com/nushell/nushell.github.io/pull/1853). +- hank20010209 [fixed broken links in configuration.md, environment.md, and explore.md](https://github.com/nushell/nushell.github.io/pull/1852). +- NotTheDr01ds [added TWiN 292](https://github.com/nushell/nushell.github.io/pull/1851). +- antonio-caceres [corrected light theme instructions to use the module](https://github.com/nushell/nushell.github.io/pull/1842). +- cosineblast [added documentation for jobs](https://github.com/nushell/nushell.github.io/pull/1826). + +## Reedline + +- WindSoilder [fixed clippy: replaced `last` with `next_back` on `DoubleEndedIterator`](https://github.com/nushell/reedline/pull/902). + +## Integrations + +- hustcer [added tests when installing Nu on loongarch64](https://github.com/nushell/integrations/pull/45).