mirror of
https://github.com/nushell/nushell.git
synced 2025-05-07 00:12:58 +00:00
# Description When a closure if provided to `group-by`, errors that occur in the closure are currently ignored. That is, `group-by` will fall back and use the `"error"` key if an error occurs. For example, the code snippet below will group all `ls` entries under the `"error"` column. ```nushell ls | group-by { get nope } ``` This PR changes `group-by` to instead bubble up any errors triggered inside the closure. In addition, this PR also does some refactoring and cleanup inside `group-by`. # User-Facing Changes Errors are now returned from the closure provided to `group-by` instead of falling back to the `"error"` group/key.
Nushell core libraries and plugins
These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.
Foundational libraries are split into two kinds of crates:
- Core crates - those crates that work together to build the Nushell language engine
- Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.
Plugins are likewise also split into two types:
- Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
- Extra plugins - these plugins run a wide range of different capabilities like working with different file types, charting, viewing binary data, and more.