nushell/crates
Ian Manske 12effd9b4e
Refactor Value cell path functions to fix bugs (#11066)
# Description
Slightly refactors the cell path functions (`insert_data_at_cell_path`,
etc.) for `Value` to fix a few bugs and ensure consistent behavior.
Namely, case (in)sensitivity now applies to lazy records just like it
does for regular `Records`. Also, the insert behavior of `insert` and
`upsert` now match, alongside fixing a few related bugs described below.
Otherwise, a few places were changed to use the `Record` API.

# Tests
Added tests for two bugs:
- `{a: {}} | insert a.b.c 0`: before this PR, doesn't create the
innermost record `c`.
- `{table: [[col]; [{a: 1}], [{a: 1}]]} | insert table.col.b 2`: before
this PR, doesn't add the field `b: 2` to each row.
2023-11-19 21:46:41 +01:00
..
nu_plugin_custom_values Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu_plugin_example Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu_plugin_formats Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu_plugin_gstat Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu_plugin_inc Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu_plugin_python remove vectorize_over_list from python plugin (#9905) 2023-08-03 16:46:48 +02:00
nu_plugin_query Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu-cli Apply nightly clippy fixes (#11083) 2023-11-17 09:15:55 -06:00
nu-cmd-base Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu-cmd-dataframe Apply nightly clippy fixes (#11083) 2023-11-17 09:15:55 -06:00
nu-cmd-extra Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu-cmd-lang remove def-env and export def-env (#10999) 2023-11-19 23:25:09 +08:00
nu-color-config Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu-command Refactor Value cell path functions to fix bugs (#11066) 2023-11-19 21:46:41 +01:00
nu-engine Convert ShellError::CommandNotFound to named fields (#11094) 2023-11-19 21:31:28 +01:00
nu-explore Apply nightly clippy fixes (#11083) 2023-11-17 09:15:55 -06:00
nu-glob Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu-json Apply nightly clippy fixes (#11083) 2023-11-17 09:15:55 -06:00
nu-lsp Apply nightly clippy fixes (#11083) 2023-11-17 09:15:55 -06:00
nu-parser remove def-env and export def-env (#10999) 2023-11-19 23:25:09 +08:00
nu-path Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu-plugin Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu-pretty-hex Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu-protocol Refactor Value cell path functions to fix bugs (#11066) 2023-11-19 21:46:41 +01:00
nu-std std: add cross platform null-device name (#11070) 2023-11-17 14:49:07 +01:00
nu-system bump rust-toolchain to 1.72.1 (#11079) 2023-11-16 15:14:45 -06:00
nu-table optimize/clean up a few of the table changes (#11076) 2023-11-16 11:37:46 -06:00
nu-term-grid Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01:00
nu-test-support Testing support tweaks: exit status in Outcome (#10692) 2023-11-15 23:50:43 +01:00
nu-utils Bump version to 0.87.1 (#11056) 2023-11-15 23:50:11 +01: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.