Skip to content

Rename column name from command to name for consistency#7007

Merged
sophiajt merged 1 commit intonushell:mainfrom
dmatos2012:change-column-name
Nov 4, 2022
Merged

Rename column name from command to name for consistency#7007
sophiajt merged 1 commit intonushell:mainfrom
dmatos2012:change-column-name

Conversation

@dmatos2012
Copy link
Copy Markdown
Contributor

Description

This PR should close issue #6922, which renames the column name of $nu.scope.commands from "commands" to "name".

Now, both commands have the same column name which helps for consistency.
image

Tests + Formatting

  • [X]cargo fmt --all -- --check to check standard code formatting (cargo fmt --allapplies these changes) -[X]cargo clippy --workspace --features=extra -- -D warnings -D clippy::unwrap_used -A clippy::needless_collectto check that you're using the standard code style -[X]cargo test --workspace --features=extra` to check that all tests pass

User-Facing Changes

If you're making changes that will affect the user experience of Nushell (ex: adding/removing a command, changing an input/output type, adding a new flag):

@sophiajt sophiajt merged commit b90d701 into nushell:main Nov 4, 2022
@dmatos2012 dmatos2012 deleted the change-column-name branch November 4, 2022 21:48
@rgwood
Copy link
Copy Markdown
Contributor

rgwood commented Nov 4, 2022

Thanks for the fix!

Since this is technically a breaking change, would you mind documenting it in the blog post for the upcoming release? nushell/nushell.github.io#647

@dmatos2012
Copy link
Copy Markdown
Contributor Author

Yes, I just did a PR against the release-notes-0.71 branch. Thanks :)

Hofer-Julian pushed a commit to Hofer-Julian/nushell that referenced this pull request Jan 27, 2023
* Release notes for nushell 0.71

Please add your important new features and breaking changes to the release notes by commiting to/opening a PR against the `release-notes-0.71` branch! Thanks for helping out!

* add right prompt release notes (nushell#650)

* add right prompt release notes

* add a comparison image

* docs: documents the changes from nushell#6904 (nushell#653)

* docs: document changes from nushell#7007 (nushell#659)

Co-authored-by: David Matos <david@track32.nl>

* Update breaking changes

* Breaking change in `format filesize`

* Stubs for themes of the release

Listed some important improvements that might be worth telling the user about.

* mention Reilly's changes for this release

* Update 2022-11-08-nushell-0.71.md (nushell#664)

* finish up blog post

Co-authored-by: nibon7 <nibon7@163.com>
Co-authored-by: Mel Massadian <melmassadian@gmail.com>
Co-authored-by: David Matos <dmatos2012@users.noreply.github.com>
Co-authored-by: David Matos <david@track32.nl>
Co-authored-by: Reilly Wood <26268125+rgwood@users.noreply.github.com>
Co-authored-by: Jakub Žádník <kubouch@gmail.com>
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants