|
| 1 | +--- |
| 2 | +title: 'This week in Nushell #294' |
| 3 | +author: The Nu Authors |
| 4 | +author_site: https://nushell.sh |
| 5 | +author_image: https://www.nushell.sh/blog/images/nu_logo.png |
| 6 | +excerpt: 'Déjà vu edition - More datetime features and much more!' |
| 7 | +--- |
| 8 | + |
| 9 | +# This week in Nushell #294 |
| 10 | + |
| 11 | +Published Friday, 2025-04-11 |
| 12 | + |
| 13 | +## Highlights |
| 14 | + |
| 15 | +- @LoicRiegel continues to improve datetime commands with both some fixes as well as new features. Thanks to this |
| 16 | + work, a datetime can now be constructed (and round-tripped) from a record. |
| 17 | + |
| 18 | +- _And_ also thanks to @LoicRiegel we have a new command in the mix as well - `date from-human` now replaces the former ability |
| 19 | + of `into datetime` to parse human-language date "descriptions" such as "tomorrow" and, err, "overmorrow"? |
| 20 | + |
| 21 | +- Another week, and yet more new Polars commands - Thanks @pyz4 for `polars replace-time-zone`! And @ayax79 for `polars into-schema` |
| 22 | + |
| 23 | +- Cool! @Kissaki added a new BSON plugin in the awesome_nu repo! Thank you! |
| 24 | + |
| 25 | +- And thanks to 0x4D5352 for a new AeroSpace completion in nu_scripts! |
| 26 | + |
| 27 | +- 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! |
| 28 | + |
| 29 | +- Attention all time travelers, if you brought an exabyte drive with you from the future, Nushell will now parse `df` exabyte |
| 30 | + 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. |
| 31 | + This will help support Nushell development. |
| 32 | + |
| 33 | +All of the nitty-gritty (or at least links) on these changes, and more, below! |
| 34 | + |
| 35 | +## Nushell |
| 36 | + |
| 37 | +- LoicRiegel: |
| 38 | + |
| 39 | + - [Fixed a chrono panic and hotfix](https://github.com/nushell/nushell/pull/15549) |
| 40 | + - [Bugfix: datetime parsing and local timezones](https://github.com/nushell/nushell/pull/15544) |
| 41 | + - [Fixed wrong display of human-readable strings](https://github.com/nushell/nushell/pull/15522) |
| 42 | + - [Moved human date parsing into a new command `date from-human`](https://github.com/nushell/nushell/pull/15495) |
| 43 | + - [Added the ability to construct datetime from a record](https://github.com/nushell/nushell/pull/15455) |
| 44 | + - [Replaced some `PipelineMismatch` errors with `OnlySupportsThisInputType` shell errors](https://github.com/nushell/nushell/pull/15447) |
| 45 | + |
| 46 | +- sholderbach: |
| 47 | + |
| 48 | + - [Bumped `crossbeam-channel`](https://github.com/nushell/nushell/pull/15541) |
| 49 | + - [Fixed future clippy lints](https://github.com/nushell/nushell/pull/15519) |
| 50 | + - [Fixed Exbibyte parsing](https://github.com/nushell/nushell/pull/15515) |
| 51 | + |
| 52 | +- blindFS: |
| 53 | + |
| 54 | + - [Fixed LSP command name highlighting/renaming for better accuracy](https://github.com/nushell/nushell/pull/15540) |
| 55 | + - [Fixed several edge cases of inaccurate references in LSP](https://github.com/nushell/nushell/pull/15523) |
| 56 | + - [Improved parser_info-based ID detection for `use`/`overlay` keywords in LSP](https://github.com/nushell/nushell/pull/15517) |
| 57 | + - [Fixed workspace-wide operations that could panic in certain conditions](https://github.com/nushell/nushell/pull/15514) |
| 58 | + - [Refactored LSP to align markdown doc strings with `--help` output](https://github.com/nushell/nushell/pull/15508) |
| 59 | + - [Fixed keyword handling in LSP completion snippets](https://github.com/nushell/nushell/pull/15499) |
| 60 | + - [Added snippet-style completion for commands in LSP](https://github.com/nushell/nushell/pull/15494) |
| 61 | + - [Improved PWD accuracy in LSP: from env to the parent dir of the current file](https://github.com/nushell/nushell/pull/15470) |
| 62 | + |
| 63 | +- pyz4: |
| 64 | + |
| 65 | + - [Added a new `polars` command: `polars replace-time-zone`](https://github.com/nushell/nushell/pull/15538) |
| 66 | + - [Fixed `polars as-datetime` to respect timezone information](https://github.com/nushell/nushell/pull/15490) |
| 67 | + - [Made `polars into-df`/`polars into-lazy`'s `--schema` option more lenient](https://github.com/nushell/nushell/pull/15473) |
| 68 | + |
| 69 | +- fdncred: |
| 70 | + |
| 71 | + - [Fixed `datetime-diff` to report milliseconds, microseconds, and nanoseconds](https://github.com/nushell/nushell/pull/15537) |
| 72 | + - [Reverted a fix for `table -e` wrapping issue](https://github.com/nushell/nushell/pull/15498) |
| 73 | + |
| 74 | +- ayax79: |
| 75 | + |
| 76 | + - [Introduced `polars into-schema`](https://github.com/nushell/nushell/pull/15534) |
| 77 | + - [Added `NuDataType` and the `polars dtype` command](https://github.com/nushell/nushell/pull/15529) |
| 78 | + |
| 79 | +- dependabot[bot]: |
| 80 | + |
| 81 | + - [Bumped `indexmap` from 2.8.0 to 2.9.0](https://github.com/nushell/nushell/pull/15531) |
| 82 | + - [Bumped `titlecase` from 3.4.0 to 3.5.0](https://github.com/nushell/nushell/pull/15530) |
| 83 | + - [Bumped `tokio` from 1.44.1 to 1.44.2](https://github.com/nushell/nushell/pull/15521) |
| 84 | + - [Bumped `openssl` from 0.10.70 to 0.10.72](https://github.com/nushell/nushell/pull/15493) |
| 85 | + |
| 86 | +- vansh284: [Implemented a substring match algorithm](https://github.com/nushell/nushell/pull/15511) |
| 87 | +- fennewald: [Limited allowed `serde_json` versions to match usage](https://github.com/nushell/nushell/pull/15504) |
| 88 | +- zhiburt: |
| 89 | + - [Fixed commit f25525b](https://github.com/nushell/nushell/pull/15500) |
| 90 | + - [Fixed `table -e` wrapping issue](https://github.com/nushell/nushell/pull/15407) |
| 91 | +- NotTheDr01ds: [Added a reminder comment to update docs when adding `$nu` constants](https://github.com/nushell/nushell/pull/15481) |
| 92 | + |
| 93 | +## Documentation |
| 94 | + |
| 95 | +- dependabot[bot]: |
| 96 | + - [Bumped `vite` from 6.1.4 to 6.1.5](https://github.com/nushell/nushell.github.io/pull/1871) |
| 97 | + - [Bumped `vite` from 6.0.13 to 6.0.14](https://github.com/nushell/nushell.github.io/pull/1861) |
| 98 | +- kkoang: |
| 99 | + - [Updated `special_variables.md`](https://github.com/nushell/nushell.github.io/pull/1870) |
| 100 | + - [Updated `custom_commands.md`](https://github.com/nushell/nushell.github.io/pull/1869) |
| 101 | + - [Updated `configuration.md`](https://github.com/nushell/nushell.github.io/pull/1866) |
| 102 | +- hustcer: [Upgraded VuePress and related plugins](https://github.com/nushell/nushell.github.io/pull/1865) |
| 103 | +- sholderbach: [Fixed the sidebar for the background job article](https://github.com/nushell/nushell.github.io/pull/1864) |
| 104 | +- NotTheDr01ds: |
| 105 | + - [Fixed a small typo in TWiN](https://github.com/nushell/nushell.github.io/pull/1863) |
| 106 | + - [Added TWiN #293](https://github.com/nushell/nushell.github.io/pull/1862) |
| 107 | + - [Created a new chapter page collecting the list of special variables](https://github.com/nushell/nushell.github.io/pull/1860) |
| 108 | + |
| 109 | +## Awesome Nu |
| 110 | + |
| 111 | +- Kissaki: |
| 112 | + - [Added `nu_plugin_bson`](https://github.com/nushell/awesome-nu/pull/117) |
| 113 | + - [Dropped non-existent `nu_plugin_template`](https://github.com/nushell/awesome-nu/pull/116) |
| 114 | + - [Updated `nu_plugin_template` URL](https://github.com/nushell/awesome-nu/pull/115) |
| 115 | +- cablehead: [Added `cross.stream` and `http-nu`](https://github.com/nushell/awesome-nu/pull/114) |
| 116 | + |
| 117 | +## NUPM |
| 118 | + |
| 119 | +- mrxiaozhuox: [Fixed hash detection affecting all search results](https://github.com/nushell/nupm/pull/107) |
| 120 | + |
| 121 | +## nufmt |
| 122 | + |
| 123 | +- AucaCoyan: [Added a warning in the README](https://github.com/nushell/nufmt/pull/67) |
| 124 | + |
| 125 | +## Nu_Scripts |
| 126 | + |
| 127 | +- 0x4D5352: [Added AeroSpace completions](https://github.com/nushell/nu_scripts/pull/1080) |
| 128 | +- hongquan: [Completed package name for `uv remove`](https://github.com/nushell/nu_scripts/pull/1072) |
| 129 | + |
| 130 | +## reedline |
| 131 | + |
| 132 | +- WindSoilder: [Fixed clippy: called `next_back` instead of `last` on `DoubleEndedIterator`](https://github.com/nushell/reedline/pull/902) |
0 commit comments