---
title: "nu-protocol 0.117.0 Breaking Changes on crates.io"
description: "What each nu-protocol release removed, renamed or changed: 40 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/nu-protocol
last_updated: 2026-12-04
---

# nu-protocol breaking changes

nu-protocol 0.117.0 (November 10, 2026) is its newest release with breaking changes, 40 of them. The first: Removed nu_protocol::ast::Call::positional_len. Every breaking API change we have recorded in nu-protocol on crates.io: 40 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.117.0`, released November 10, 2026. [Source repository](https://github.com/nushell/nushell/tree/main/crates/nu-protocol)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## nu-protocol 0.117.0 breaking changes

nu-protocol 0.117.0, released November 10, 2026: 40 breaking changes.

- **Removed** `nu_protocol::ast::Call::positional_len`  

nu_protocol::ast::Call::positional_len was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::ast::Call::positional_nth`  

nu_protocol::ast::Call::positional_nth was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::ConfigWarning::SharedKeybindingName`  

nu_protocol::ConfigWarning::SharedKeybindingName was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::engine::Argument::ast_expression`  

nu_protocol::engine::Argument::ast_expression was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::engine::Call::new`  

nu_protocol::engine::Call::new was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::engine::Call::positional_nth`  

nu_protocol::engine::Call::positional_nth was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::engine::Command::requires_ast_for_arguments`  

nu_protocol::engine::Command::requires_ast_for_arguments was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::engine::EngineState::current_work_dir`  

Use EngineState::cwd instead. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::engine::StateWorkingSet::get_cwd`  

Use EngineState::cwd instead. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::ir::Call::positional_ast`  

nu_protocol::ir::Call::positional_ast was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::ir::IrAstRef`  

nu_protocol::ir::IrAstRef was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::ir::IrBlock::ast`  

nu_protocol::ir::IrBlock::ast was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::shell_error::ShellError::DeprecationWarning`  

nu_protocol::shell_error::ShellError::DeprecationWarning was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::shell_error::ShellError::GenericError`  

Use ShellError::Generic instead. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::ShellError::DeprecationWarning`  

nu_protocol::ShellError::DeprecationWarning was removed in nu-protocol 0.117.0 [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Removed** `nu_protocol::ShellError::GenericError`  

Use ShellError::Generic instead. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::CompileError::AutomaticEnvVarSetManually`  

Was AutomaticEnvVarSetManually {envvar_name: String, #\[label("cannot set '{envvar_name}' manually")\] span: Span}; now AutomaticEnvVarSetManually {envvar_name: String, #\[label("cannot change '{}' manually"... [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::engine::Argument::Named`  

Was Named {data: Arc<\[u8\]>, name: DataSlice, short: DataSlice, span: Span, val: Value, ast: Option\<Arc\<Expression>>}; now Named {data: Arc<\[u8\]>, name: DataSlice, short: DataSlice, span: Span, val: Value}. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::engine::Argument::Positional`  

Was Positional {span: Span, val: Value, ast: Option\<Arc\<Expression>>}; now Positional {span: Span, val: Value}. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::engine::Argument::Spread`  

Was Spread {span: Span, vals: Value, ast: Option\<Arc\<Expression>>}; now Spread {span: Span, vals: Value}. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::engine::EngineState::scope`  

Was scope: ScopeFrame; now scope: Arc\<ScopeFrame>. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::engine::EngineState::spans`  

Was spans: Vec\<Span>; now spans: Arc\<Vec\<Span>>. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::engine::PromptState::apply`  

Was fn apply(&self, overrides: impl FnOnce(&mut PromptContents)); now fn apply(&self, pushed: PromptContents, root_job: JobId). [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::engine::PromptState::set`  

Was fn set(&self, segment: PromptSegment, content: impl Into\<Arc\<str>>); now fn set(&self, segment: PromptSegment, content: impl Into\<Arc\<str>>, root_job: JobId). [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::engine::ThreadJob::new`  

Was fn new(signals: Signals, description: Option\<String>, sender: Sender\<Mail>) -> Self; now fn new(signals: Signals, description: Option\<String>, auto_kill: bool, sender: Sender\<Mail>) -> Self. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::ParseError::AliasNotValid`  

Was AliasNotValid(#\[label = "alias name can't be a number, a filesize, or contain #, ^, or %"\] Span); now AliasNotValid(#\[label = "alias name must not be a number, a filesize, a duration, a datetime, a binary literal or a range, contain #... [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::ParseError::CommandDefNotValid`  

Was CommandDefNotValid(#\[label = "command name can't be a number, a filesize, or contain #, ^, or %"\] Span); now CommandDefNotValid(#\[label = "command name can't be a number, a filesize, a duration, a datetime, a binary literal or a range... [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::ParseError::unclosed`  

Was fn unclosed(delimiter: &'static str, open_span: Span, end_span: Span) -> Self; now fn unclosed(delimiter: impl Into\<Cow<'static, str>>, open_span: Span, end_span: Span) -> Self. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::ParseError::Unclosed`  

Was Unclosed(&'static str, #\[label("unclosed - opens here (need \`{0}\`)")\] Span, #\[label(primary, "expected \`{0}\` here")\] Span, String); now Unclosed(Cow<'static, str>, #\[label("unclosed - opens here (need \`{0}\`)")\] Span, #\[label(primary... [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::ParseError::unclosed_with_hint`  

Was fn unclosed_with_hint(delimiter: &'static str, open_span: Span, end_span: Span, structure_hint: Option<&str>) -> Self; now fn unclosed_with_hint(delimiter: impl Into\<Cow<'static, str>>, open_span: Span, end_span: Span, structure_hint... [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::process::ChildProcess::into_bytes`  

Was fn into_bytes(self) -> Result\<Vec\<u8>, ShellError>; now fn into_bytes(mut self) -> Result\<Vec\<u8>, ShellError>. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::ResolvedImportPattern::new`  

Was fn new(decls: Vec<(Vec\<u8>, DeclId)>, modules: Vec<(Vec\<u8>, ModuleId)>, constants: Vec<(Vec\<u8>, VarId)>, constant_values: Vec<(Vec\<u8>, Value)>) -> Self; now fn new(decls: Vec<(Vec\<u8>, DeclId)>, modules: Vec<(Vec\<u8>, ModuleId)>... [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::shell_error::ShellError::AccessEmptyContent`  

Was AccessEmptyContent {#\[label = "index too large (empty content)"\] span: Span}; now AccessEmptyContent {#\[label = "content is empty"\] span: Span}. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::shell_error::ShellError::AutomaticEnvVarSetManually`  

Was AutomaticEnvVarSetManually {envvar_name: String, #\[label("cannot set '{envvar_name}' manually")\] span: Span}; now AutomaticEnvVarSetManually {envvar_name: String, #\[label("cannot change '{}' manually"... [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::shell_error::ShellError::ColumnDefinedTwice`  

Was ColumnDefinedTwice {col_name: String, #\[label = "field redefined here"\] second_use: Span, #\[label = "field first defined here"\] first_use: Span}; now ColumnDefinedTwice {col_name: String, #\[label = "field redefined here"\] second_use... [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::shell_error::ShellError::EvalBlockWithInput`  

Was EvalBlockWithInput {#\[label("source value")\] span: Span, #\[related\] sources: Vec\<ShellError>}; now EvalBlockWithInput(eval_block_with_input::EvalBlockWithInputError). [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::ShellError::AccessEmptyContent`  

Was AccessEmptyContent {#\[label = "index too large (empty content)"\] span: Span}; now AccessEmptyContent {#\[label = "content is empty"\] span: Span}. [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::ShellError::AutomaticEnvVarSetManually`  

Was AutomaticEnvVarSetManually {envvar_name: String, #\[label("cannot set '{envvar_name}' manually")\] span: Span}; now AutomaticEnvVarSetManually {envvar_name: String, #\[label("cannot change '{}' manually"... [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::ShellError::ColumnDefinedTwice`  

Was ColumnDefinedTwice {col_name: String, #\[label = "field redefined here"\] second_use: Span, #\[label = "field first defined here"\] first_use: Span}; now ColumnDefinedTwice {col_name: String, #\[label = "field redefined here"\] second_use... [crates.io](https://crates.io/crates/nu-protocol/0.117.0)
- **Signature changed** `nu_protocol::ShellError::EvalBlockWithInput`  

Was EvalBlockWithInput {#\[label("source value")\] span: Span, #\[related\] sources: Vec\<ShellError>}; now EvalBlockWithInput(eval_block_with_input::EvalBlockWithInputError). [crates.io](https://crates.io/crates/nu-protocol/0.117.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
