|
| 1 | +--- |
| 2 | +title: 'This week in Nushell #286' |
| 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: 'Some exciting changes this week in main and nightlies include the first drop of a new Custom Attributes feature - Thanks @Bahex!' |
| 7 | +--- |
| 8 | + |
| 9 | +# This Week in Nushell #286 |
| 10 | + |
| 11 | +Published Friday, 2025-02-14 |
| 12 | + |
| 13 | +## Highlights |
| 14 | + |
| 15 | +Happy Valentine's Day from TWiN! |
| 16 | + |
| 17 | +Some exciting changes this week in `main` and nightlies include the first drop of a new Custom Attributes feature - Thanks @Bahex! |
| 18 | +This has been a much anticpiated (and discussed) feature. Attributes can now be defined and assigned to custom commands. |
| 19 | +Custom Attributes are currently being used to attach nicely-formatted examples to the custom commands in the Standard Library (`std`), |
| 20 | +define test cases for the those commands, and even assign new search terms to the help. And there's more to come! |
| 21 | + |
| 22 | +In addition, `std-rfc` has been moved into Nushell-proper (and updated with custom attributes as well). These "early look"/preview |
| 23 | +commands can now be used out-of-the-box with `use std-rfc/<submodule>`. |
| 24 | + |
| 25 | +And those who have already wasted far too much time theming their shell can now also custom-theme the Welcome Banner. |
| 26 | + |
| 27 | +## Nushell |
| 28 | + |
| 29 | +- Bahex |
| 30 | + |
| 31 | + - [Added custom command attributes](https://github.com/nushell/nushell/pull/14906) |
| 32 | + - [Made `chunks` easier to discover for binary data](https://github.com/nushell/nushell/pull/15117) |
| 33 | + - [Fixed scanning tests being affected by user config](https://github.com/nushell/nushell/pull/15113) |
| 34 | + - [Updated `std-rfc docs` with actual examples](https://github.com/nushell/nushell/pull/15097) |
| 35 | + - [Implemented `run_const` for `const`](https://github.com/nushell/nushell/pull/15082) |
| 36 | + - [Exposed constants with `overlay use`](https://github.com/nushell/nushell/pull/15081) |
| 37 | + - [Retained state in subshells or with exec-restarts in `std/dirs`](https://github.com/nushell/nushell/pull/15080) |
| 38 | + - [Switched to 0-indexing in `explore`](https://github.com/nushell/nushell/pull/15079) |
| 39 | + - [Fixed block spans for the `module` keyword](https://github.com/nushell/nushell/pull/15078) |
| 40 | + |
| 41 | +- blindFS |
| 42 | + |
| 43 | + - [Added hover showing manpages for external commands in LSP](https://github.com/nushell/nushell/pull/15115) |
| 44 | + - [Fixed inlay hints span issue with user config scripts](https://github.com/nushell/nushell/pull/15071) |
| 45 | + - [Fixed LSP exit on `null root_dir`](https://github.com/nushell/nushell/pull/15051) |
| 46 | + - [Refactored variable/cell_path completion to be expression-based](https://github.com/nushell/nushell/pull/15033) |
| 47 | + |
| 48 | +- sholderbach |
| 49 | + |
| 50 | + - [Reverted `/` vi binding due to priority bug](https://github.com/nushell/nushell/pull/15111) |
| 51 | + - [Bumped Ubuntu runners to 22.04 LTS for tests](https://github.com/nushell/nushell/pull/15109) |
| 52 | + - [Bumped yanked dependencies](https://github.com/nushell/nushell/pull/15090) |
| 53 | + - [Fixed `match` blocks in `std-rfc/kv` implementation](https://github.com/nushell/nushell/pull/15089) |
| 54 | + - [Bumped `bytesize` to fix `into filesize`](https://github.com/nushell/nushell/pull/15088) |
| 55 | + - [Refactored/fixed tests affecting the whole command set](https://github.com/nushell/nushell/pull/15073) |
| 56 | + - [Used `build_target` information in startup banner](https://github.com/nushell/nushell/pull/15046) |
| 57 | + - [Fixed usages of `fmt` to `format number`](https://github.com/nushell/nushell/pull/15041) |
| 58 | + - [Triggered tests for patch release branch pushes](https://github.com/nushell/nushell/pull/15037) |
| 59 | + - [Implemented fuzzing more realistically with keyword const eval](https://github.com/nushell/nushell/pull/15036) |
| 60 | + |
| 61 | +- hustcer |
| 62 | + |
| 63 | + - [Refactored `kv` commands to replace inline params in SQL queries](https://github.com/nushell/nushell/pull/15108) |
| 64 | + |
| 65 | +- dependabot[bot] |
| 66 | + |
| 67 | + - [Bumped `data-encoding` from 2.7.0 to 2.8.0](https://github.com/nushell/nushell/pull/15101) |
| 68 | + |
| 69 | +- NotTheDr01ds |
| 70 | + |
| 71 | + - [Moved `std-rfc` into Nushell](https://github.com/nushell/nushell/pull/15042) |
| 72 | + - [Updated `std-rfc` tests to use `@test` attributes](https://github.com/nushell/nushell/pull/15098) |
| 73 | + - [Enabled theming the Welcome Banner](https://github.com/nushell/nushell/pull/15095) |
| 74 | + - [Added `std-rfc` README](https://github.com/nushell/nushell/pull/15066) |
| 75 | + - [Fixed `char lsep` assignment](https://github.com/nushell/nushell/pull/15065) |
| 76 | + - [Added platform-agnostic EoL separator to `char` command](https://github.com/nushell/nushell/pull/15059) |
| 77 | + - [Removed `--no-default-features` for `std-lib-and-python-virtualenv` CI](https://github.com/nushell/nushell/pull/15045) |
| 78 | + |
| 79 | +- cptpiepmatz |
| 80 | + |
| 81 | + - [Switched to `proc-macro-error2` from `proc-macro-error`](https://github.com/nushell/nushell/pull/15093) |
| 82 | + - [Replaced `IoError::new_with_additional_context` calls with proper spans](https://github.com/nushell/nushell/pull/15056) |
| 83 | + |
| 84 | +- WindSoilder |
| 85 | + |
| 86 | + - [Made plugin compatible with nightly Nushell version](https://github.com/nushell/nushell/pull/15084) |
| 87 | + - [Fixed "missing required overlay" error](https://github.com/nushell/nushell/pull/15058) |
| 88 | + - [Allowed `export alias` in REPL](https://github.com/nushell/nushell/pull/15054) |
| 89 | + |
| 90 | +- sgvictorino |
| 91 | + |
| 92 | + - [Fixed ranges over zero-length input](https://github.com/nushell/nushell/pull/15062) |
| 93 | + - [Removed `nu-check` examples with the `--all` flag](https://github.com/nushell/nushell/pull/15047) |
| 94 | + |
| 95 | +- 132ikl |
| 96 | + |
| 97 | + - [Fixed `match` running closures as blocks](https://github.com/nushell/nushell/pull/15032) |
| 98 | + |
| 99 | +- ysthakur |
| 100 | + |
| 101 | + - [Fixed spread operator lexing in records](https://github.com/nushell/nushell/pull/15023) |
| 102 | + |
| 103 | +- IanManske |
| 104 | + - [Reworked operator type errors](https://github.com/nushell/nushell/pull/14429) |
| 105 | + |
| 106 | +## Documentation |
| 107 | + |
| 108 | +- Tyarel8 |
| 109 | + |
| 110 | + - [Fixed typo in `custom_commands`](https://github.com/nushell/nushell.github.io/pull/1802) |
| 111 | + |
| 112 | +- NotTheDr01ds |
| 113 | + |
| 114 | + - [Fixed bad localhost link in TWiN 285](https://github.com/nushell/nushell.github.io/pull/1801) |
| 115 | + - [Added `def --wrapped` documentation](https://github.com/nushell/nushell.github.io/pull/1792) |
| 116 | + - [Published This Week in Nushell #285](https://github.com/nushell/nushell.github.io/pull/1791) |
| 117 | + |
| 118 | +- Bahex |
| 119 | + |
| 120 | + - [Removed mention of `build-string` from `coloring_and_theming.md`](https://github.com/nushell/nushell.github.io/pull/1800) |
| 121 | + |
| 122 | +- Kissaki |
| 123 | + |
| 124 | + - [Combined command and output code blocks](https://github.com/nushell/nushell.github.io/pull/1799) |
| 125 | + - [Made code examples executable](https://github.com/nushell/nushell.github.io/pull/1798) |
| 126 | + - [Fixed code block spacing](https://github.com/nushell/nushell.github.io/pull/1797) |
| 127 | + - [Fixed typos and CI failure caused by typos](https://github.com/nushell/nushell.github.io/pull/1796) |
| 128 | + - [Added missing code block language](https://github.com/nushell/nushell.github.io/pull/1795) |
| 129 | + - [Dropped empty closing line from code blocks](https://github.com/nushell/nushell.github.io/pull/1794) |
| 130 | + |
| 131 | +- massongit |
| 132 | + - [Fixed typo in Japanese README](https://github.com/nushell/nushell.github.io/pull/1793) |
| 133 | + |
| 134 | +## Nu_Scripts |
| 135 | + |
| 136 | +- hongquan |
| 137 | + |
| 138 | + - [Updated `toolkit.nu` per removal of `stdlib-candidate`](https://github.com/nushell/nu_scripts/pull/1046) |
| 139 | + - [Provided completion for git subcommands](https://github.com/nushell/nu_scripts/pull/1044) |
| 140 | + - [Added autocomplete for "docker image rm"](https://github.com/nushell/nu_scripts/pull/1040) |
| 141 | + |
| 142 | +- hustcer |
| 143 | + |
| 144 | + - [Fixed `from env` custom command](https://github.com/nushell/nu_scripts/pull/1045) |
| 145 | + |
| 146 | +- NotTheDr01ds |
| 147 | + |
| 148 | + - [Deprecated the `nu_scripts` version of `stdlib-candidate`](https://github.com/nushell/nu_scripts/pull/1042) |
| 149 | + - [Added `std-rfc/conversions`](https://github.com/nushell/nu_scripts/pull/1032) |
| 150 | + |
| 151 | +- flying-sheep |
| 152 | + - [Added subcommand list to `task` module](https://github.com/nushell/nu_scripts/pull/1039) |
| 153 | + |
| 154 | +## reedline |
| 155 | + |
| 156 | +- thomasschafer |
| 157 | + |
| 158 | + - [Implemented clearing the selection when exiting visual mode](https://github.com/nushell/reedline/pull/878) |
| 159 | + - [Added Vi `o` command to swap anchor and cursor](https://github.com/nushell/reedline/pull/877) |
| 160 | + |
| 161 | +- deephbz |
| 162 | + - [Added atomic unified commands for ChangeInside/DeleteInside in Vi-Mode](https://github.com/nushell/reedline/pull/874) |
| 163 | + - [Implemented vi-mode "Yank" (copy)](https://github.com/nushell/reedline/pull/868) |
| 164 | + - [Improved Visual Mode Selection and Command Consistency](https://github.com/nushell/reedline/pull/867) |
0 commit comments