You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
excerpt: Today, we're releasing version 0.100.0 of Nu. This release adds...
6
+
excerpt: Today, we're releasing version 0.100.0 of Nu. In addition to being a major milestone, this release adds two new operators for working with strings, improves plugin management, and includes a very large number of other minor improvements and fixes.
7
7
---
8
8
9
-
<!-- TODO: complete the excerpt above -->
10
-
11
9
# Nushell 0.100.0
12
10
13
11
Nushell, or Nu for short, is a new shell that takes a modern, structured approach to your command line. It works seamlessly with the data from your filesystem, operating system, and a growing number of file formats to make it easy to build powerful command line pipelines.
14
12
15
-
<!-- TODO: write this excerpt -->
16
-
17
-
Today, we're releasing version 0.100.0 of Nu. This release adds...
13
+
Today, we're releasing version 0.100.0 of Nu. In addition to being a major milestone, this release adds two new operators for working with strings, improves plugin management, and includes a very large number of other minor improvements and fixes.
18
14
19
15
# Where to get it
20
16
@@ -26,9 +22,10 @@ As part of this release, we also publish a set of optional plugins you can insta
26
22
27
23
-[_Highlights and themes of this release_](#highlights-and-themes-of-this-release-toc)
28
24
-[_Cheers to a century!_](#cheers-to-a-century-toc)
25
+
-[_`like` and `not-like` operators_](#like-and-not-like-operators-toc)
26
+
-[_`plugin list`_](#plugin-list-toc)
29
27
-[_Changes_](#changes-toc)
30
28
-[_Additions_](#additions-toc)
31
-
-[_`like` and `not-like` operators_](#like-and-not-like-operators-toc)
@@ -96,6 +92,43 @@ As part of this release, we also publish a set of optional plugins you can insta
96
92
97
93
We wish to express our heartfelt gratitude and congratulations to all of our contributors and users on releasing version 0.100.0! Thanks for sticking with us and making Nushell great. Here's to a hundred more! 🎉
98
94
95
+
## `like` and `not-like` operators [[toc](#table-of-content)]
96
+
97
+
With [#14072](https://github.com/nushell/nushell/pull/14072), this release adds two "new" operators: `like` and `not-like`. These operators are alternative forms of the preexisting `=~` and `!~` operators, respectively. The only reason to use one form over the other is preference. For example, people familiar with SQL may prefer using `like` and `not-like`. In the future, there is a chance that the shorter forms may be removed, but there are no plans to do so yet, if at all.
98
+
99
+
## `plugin list`[[toc](#table-of-content)]
100
+
101
+
::: warning Breaking change
102
+
See a full overview of the [breaking changes](#breaking-changes-toc)
103
+
:::
104
+
105
+
The `plugin list` command has been changed in [#14085](https://github.com/nushell/nushell/pull/14085) to consider both the plugins currently present in the engine state as well as the plugins stored in the registry file. Changes made by `plugin add` and `plugin rm` should now be more obvious.
106
+
107
+
As part of this change, the `is_running` column has been replaced by a `status` column, which now displays many possible states a plugin can be in:
108
+
109
+
-`added`: The plugin is present in the plugin registry file, but not in the engine.
110
+
-`loaded`: The plugin is present both in the plugin registry file and in the engine, but is not running.
111
+
-`running`: The plugin is currently running, and the `pid` column should contain its process ID.
112
+
-`modified`: The plugin state present in the plugin registry file is different from the state in the engine.
113
+
-`removed`: The plugin is still loaded in the engine, but is not present in the plugin registry file.
114
+
-`invalid`: The data in the plugin registry file couldn't be deserialized, and the plugin most likely needs to be added again.
115
+
116
+
`running` always has high priority as a state, so other statuses won't be visible if a plugin is currently running. This means that
117
+
118
+
```nushell
119
+
# 0.99.0
120
+
plugin list | where is_running
121
+
```
122
+
123
+
can now always be replaced by:
124
+
125
+
```nushell
126
+
# 0.100.0
127
+
plugin list | where status == running
128
+
```
129
+
130
+
In case you want to avoid loading the plugin registry file (e.g. for performance reasons), you can now use the `--engine` flag to do so. Similarly, the `--registry` flag will only display the contents of the registry, without comparing them against the state of the engine (but all plugins will appear as `added`). The `--plugin-config` flag is now supported to allow use of a separate plugin registry file, identically to the other `plugin` commands.
131
+
99
132
# Changes [[toc](#table-of-content)]
100
133
101
134
## Additions [[toc](#table-of-content)]
@@ -297,6 +330,10 @@ Otherwise, the implementation of all the division related operators has been imp
297
330
298
331
### Lone, leading pipe in closures [[toc](#table-of-content)]
299
332
333
+
::: warning Breaking change
334
+
See a full overview of the [breaking changes](#breaking-changes-toc)
335
+
:::
336
+
300
337
Currently, a leading pipe character is allowed for pipelines in Nushell:
301
338
302
339
```nu
@@ -378,6 +415,8 @@ The method used for case insensitive comparisons and sorting has been updated/im
378
415
379
416
In [#14184](https://github.com/nushell/nushell/pull/14184), `ansi clear_entire_screen_plus_buffer` now returns an ansi code that clears both the screen and scrollback buffer. Previously, it would only clear the scrollback buffer. In addition, a new `clear_scrollback_buffer` entry has been added to the `ansi` command. This will clear only the scrollback buffer.
The `NU_DISABLE_IR` environment variable as well as the AST evaluation engine itself is planned to be removed in the next release, and is now deprecated. We consider the IR evaluator to now be mature enough that it's time to stop maintaining the old evaluator.
0 commit comments