nushell/crates
Devyn Cairns cbf7feef22
Make drop notification timing for plugin custom values more consistent (#12341)
# Description
This keeps plugin custom values that have requested drop notification
around during the lifetime of a plugin call / stream by sending them to
a channel that gets persisted during the lifetime of the call.

Before this change, it was very likely that the drop notification would
be sent before the plugin ever had a chance to handle the value it
received.

Tests have been added to make sure this works - see the `custom_values`
plugin.

cc @ayax79 

# User-Facing Changes
This is basically just a bugfix, just a slightly big one.

However, I did add an `as_mut_any()` function for custom values, to
avoid having to clone them. This is a breaking change.
2024-04-04 09:13:25 +02:00
..
nu_plugin_custom_values Make drop notification timing for plugin custom values more consistent (#12341) 2024-04-04 09:13:25 +02:00
nu_plugin_example Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu_plugin_formats Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu_plugin_gstat Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu_plugin_inc Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu_plugin_python bump python plugin nushell version (#12367) 2024-04-03 15:33:37 +02:00
nu_plugin_query Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-cli Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-cmd-base Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-cmd-dataframe Make drop notification timing for plugin custom values more consistent (#12341) 2024-04-04 09:13:25 +02:00
nu-cmd-extra Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-cmd-lang Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-color-config Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-command Make drop notification timing for plugin custom values more consistent (#12341) 2024-04-04 09:13:25 +02:00
nu-engine Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-explore Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-glob Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-json Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-lsp Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-parser Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-path Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-plugin Make drop notification timing for plugin custom values more consistent (#12341) 2024-04-04 09:13:25 +02:00
nu-plugin-test-support Make drop notification timing for plugin custom values more consistent (#12341) 2024-04-04 09:13:25 +02:00
nu-pretty-hex Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-protocol Make drop notification timing for plugin custom values more consistent (#12341) 2024-04-04 09:13:25 +02:00
nu-std Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-system Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-table Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-term-grid Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-test-support Bump version for 0.92.0 release (#12349) 2024-04-02 20:50:26 +03:00
nu-utils Make default config conservative about clipboard (#12385) 2024-04-04 09:10:41 +02:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00

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.