Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
de2afb6
Release notes for `0.86`
amtoine Sep 20, 2023
0cc4592
add sections we use these days + note on "warning" banner
amtoine Sep 23, 2023
8316edb
add all the contributions in a raw table
amtoine Oct 14, 2023
942490d
remove the dependency updates
amtoine Oct 14, 2023
0ac37c4
add a section for bug fixes
amtoine Oct 14, 2023
df90317
add a section about the type system
amtoine Oct 14, 2023
9e7b910
add a section about changes to commands
amtoine Oct 14, 2023
abf440b
add a section about our platform support
amtoine Oct 14, 2023
55f9742
add a section about better errors
amtoine Oct 14, 2023
2949139
add a section about internal changes
amtoine Oct 14, 2023
baaa3af
add a section about the documentation
amtoine Oct 14, 2023
94a4717
add a section about completions
amtoine Oct 14, 2023
bf0e358
add a section for the standard library
amtoine Oct 14, 2023
c94b385
write the "hall of fame"
amtoine Oct 15, 2023
238fc1f
write the "type system" section
amtoine Oct 15, 2023
97b2d7d
complete the "hall of fame"
amtoine Oct 15, 2023
6cb6aa0
add TODOs for remaining sections
amtoine Oct 15, 2023
f7ebc1b
make a real note at the top
amtoine Oct 15, 2023
c6e7502
add TODOs for the excerpt
amtoine Oct 15, 2023
2305491
write the "completions" section
amtoine Oct 15, 2023
6ec9b46
write the section about the standard library
amtoine Oct 15, 2023
db7843d
coreutils cp introduction
fdncred Oct 15, 2023
b52ef8d
write the "commands" section
amtoine Oct 15, 2023
4fab30c
move the paragraph about uutils to "commands" section
amtoine Oct 15, 2023
55c232b
add missing most recent contributions
amtoine Oct 15, 2023
d44d36f
write notes about the last contributions in raw table
amtoine Oct 15, 2023
7e856cb
add a table of content
amtoine Oct 15, 2023
d651dfd
add the breaking changes
amtoine Oct 15, 2023
d9827f6
add the full changelog
amtoine Oct 15, 2023
fc7c1c5
update full changelog
amtoine Oct 16, 2023
e0789c4
move sections, add summary
sophiajt Oct 17, 2023
388bba7
breaking change details
sophiajt Oct 17, 2023
d56bb9c
typo
fdncred Oct 17, 2023
cf1b9e6
Extend notes about bool options and def changes (#1109)
kubouch Oct 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
breaking change details
  • Loading branch information
sophiajt committed Oct 17, 2023
commit 388bba77808273862d4914625a722ea21b638856
54 changes: 53 additions & 1 deletion blog/2023-10-17-nushell_0_86.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,12 +443,64 @@ The following commands are being removed from Nushell:

# Breaking changes [[toc](#table-of-content)]

- [#10456](https://github.com/nushell/nushell/pull/10456) differentiating between `--x` and `--x: bool`

In 0.86, we now differentiate between a switch `--x` and a flag with a boolean argument `--x: bool`. If you declare a flag as a parameter and give it the `: bool` type annotation, we now require that the flag is followed by a boolean value. Previously, we took the boolean type to mean that the flag was actually a switch.

- [#10680](https://github.com/nushell/nushell/pull/10680) Use `heck` for string casing (again)

## Before

```
G:/Dev/nu-itself/nushell> [UserID ABCdefGHI foo123bar] | str camel-case
╭───┬───────────╮
│ 0 │ userID │
│ 1 │ abcdefGHI │
│ 2 │ foo123Bar │
╰───┴───────────╯
G:/Dev/nu-itself/nushell> [UserID ABCdefGHI foo123bar] | str snake-case
╭───┬─────────────╮
│ 0 │ user_id │
│ 1 │ ab_cdef_ghi │
│ 2 │ foo_12_3bar │
╰───┴─────────────╯
```

## After

```
G:/Dev/nu-itself/nushell> [UserID ABCdefGHI foo123bar] | str camel-case
╭───┬───────────╮
│ 0 │ userId │
│ 1 │ abCdefGhi │
│ 2 │ foo123bar │
╰───┴───────────╯
G:/Dev/nu-itself/nushell> [UserID ABCdefGHI foo123bar] | str snake-case
╭───┬─────────────╮
│ 0 │ user_id │
│ 1 │ ab_cdef_ghi │
│ 2 │ foo123bar │
╰───┴─────────────╯
```

- [#10341](https://github.com/nushell/nushell/pull/10341) remove `into decimal`
- [#10342](https://github.com/nushell/nushell/pull/10342) remove `random decimal`
- [#10588](https://github.com/nushell/nushell/pull/10588) Remove cd w/ abbreviations

`cd` with abbreviations was a feature you could enable to expand an abbreviated path for you automatically. It would do so after you hit return. In comparing the experience between this and the fish-like path abbreviation completions added in 0.86, we decided the new style of completions satisfied this in a much more visual way.

- [#10526](https://github.com/nushell/nushell/pull/10526) Rename: change the SyntaxShape of `-c` flag from list to record
- [#10456](https://github.com/nushell/nushell/pull/10456) differentiating between `--x` and `--x: bool`

After this change, we need to use -c flag like this:

```
> [[a, b, c]; [1, 2, 3]] | rename -c { a: ham }
But we can rename many columns easily, here is another example:
```

```
> [[a, b, c]; [1, 2, 3]] | rename -c { a: ham, b: ham2 }
```

# Full changelog [[toc](#table-of-content)]

Expand Down