4 Commits
Author SHA1 Message Date
Deepesh Varatharajan d22818f488 nushell: upgrade 0.114.1 -> 0.116.0
Update nushell from 0.114.1 to 0.116.0.

Highlights across v0.115.0 - v0.116.0:

Breaking changes:
- YAML support reworked on serde-saphyr/granit-parser: defaults to YAML 1.2
  (use --spec 1.1 for old behavior), proper tag support, multi-document
  streams, anchors/aliases/merge keys, stricter mapping keys
- Parser keywords can no longer be shadowed (e.g. `def def [] {}` errors)
- The `nu` binary no longer ships with `--testbin`
- Removed `idx import`/`idx export`; `idx init` is now the single way to
  build the in-memory index
- Unified custom completions: one shared input/output model across
  parameter, command-wide, external completers and menu sources; existing
  custom completers/menu sources may need updating. Removed the global
  `background-completions` option (use the `@interactive` attribute)
- `to yaml`/`to yml` `--compact-list-indent` replaced with `--list-indent`

Features:
- New `$ans` reserved variable holding the last REPL result (output,
  duration, exit code, command); `$ans.last` opt-in via
  $env.config.max_last_result_size
- New Helix/Kakoune-style `helix` edit mode
- New `matrix` custom value type with 21 subcommands (ndarray-backed)
- New `tui` command family to build interactive terminal UIs from a pipeline
- `nu --dap` starts a Debug Adapter Protocol server for debugging scripts
- KDL v1/v2 support and JSON-in-KDL output for `from kdl`/`to kdl`
- Comparison operators and loose parsing for `semver` values
- More interactive `tutor` lessons (shortcuts, $env, custom commands,
  pipeline input, if/match/where)
- `any`/`all` accept row conditions like `where`; `--include` for
  `take while`/`take until`; `hash sha512`; `mkdir --fail-if-exists`;
  `save --force` creates parent dirs; `update cells --recursive`;
  named-flag null omit/pass-through and record spread into named flags

Bugfixes:
- Numerous fixes to try/catch/finally ordering, completions, YAML float
  token parsing, format date locales, tables, and more

Release notes:
- https://www.nushell.sh/blog/2026-08-15-nushell_v0_115_0.html
- https://www.nushell.sh/blog/2026-09-26-nushell_v0_116_0.html

Assisted-by: Kiro CLI 2.12.0 (AI assistant)
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-30 19:09:33 -07:00
Ross Burton 0a60011ec1 nushell: add missing build dependencies
Needed since our cargo class now stops the git2-sys and sqlite3-sys
crates from using a bundled copies of the libraries.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 16:53:10 -07:00
Deepesh Varatharajan e93799db0e nushell: upgrade 0.111.0 -> 0.114.1
Update nushell from 0.111.0 to 0.114.1.

Highlights across v0.112.0 - v0.114.1:

New features:
- Sharper type system with pipeline-aware type inference
- Runtime type checking (enforce-runtime-annotations) now on
  by default
- POSIX '--' end-of-options support for all command types
- 'run' command to use scripts as pipeline stages
- Semantic Versioning support (into semver, semver bump, etc.)
- KDL format support (to kdl, from kdl)
- Set operation commands (union, intersect, difference,
  combinations, permutations)
- 'idx' command family for fast in-memory filesystem indexing
- 'peek' command to inspect stream metadata
- Fish-style abbreviation expansion
- 'random pass' password generator
- 'commandline complete' for programmatic completions access
- Polars upgraded to 0.54 with map-batches and bitwise commands
- New experimental globbing engine (dc-glob)

Breaking changes:
- Submodules no longer implicitly imported
- enforce-runtime-annotations enabled by default
- Reedline vi mode overhaul with visual mode
- from xlsx/from ods reworked (removed --header-row, added
  --noheaders and --first-row)
- Error 'details' field replaces 'json' field in catch blocks
- parse no longer implicitly splits byte streams into lines
- Deprecated str upcase/str downcase replaced by
  str uppercase/str lowercase

Notable bug fixes:
- Fix uninitialized value in let_cxx_string! on panic
- Fix nested update with closure for table columns
- Fix flatten conflicting column renaming
- Fix float ranges (0.1..0.3 now produces [0.1, 0.2, 0.3])
- Fix aliases breaking when shadowed variables
- Fix math abs panic on i64::MIN
- Prevent SIGABRT on terminal close
- Fix try blocks executing code twice
- Fix closure input type incorrectly inheriting from scope
- Better assignment error messages for type mismatches
- Fix for loop variable type inference with union iterables

v0.114.1 is a patch release fixing issues with the new
enforce-runtime-annotations default behavior.

Assisted-by: Kiro CLI 2.12.0 (AI assistant)
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-14 10:25:16 -07:00
Deepesh Varatharajan 7125b918bd nushell: Add nushell recipe
Nushell is a modern, cross-platform shell and programming language.

It is designed to work with structured data rather than plain text, and takes
inspiration from traditional shells like bash, object-based shells like
PowerShell, gradually typed languages such as TypeScript, functional
programming, and systems programming.

Add recipe for the latest release

- Written in Rust
- Combines a full-featured shell with a rich, structured programming language
- Operates on structured data instead of plain text
- Provides clear error messages and strong IDE support
- Designed for modern, cross-platform workflows

More information: https://crates.io/crates/nu

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-03 06:55:00 -08:00