Skip to content

Release note addition for 'to yml' #1828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
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
26 changes: 26 additions & 0 deletions blog/2025-03-18-nushell_0_103_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,27 @@ As part of this release, we also publish a set of [optional plugins](https://www

# Highlights and themes of this release

| author | title | link |
| ------ | ----- | ---- |
| [@Bahex](https://github.com/Bahex) | Custom command attributes | [#14906](https://github.com/nushell/nushell/pull/14906) |
| [@cosineblast](https://github.com/cosineblast) | Jobs | [#14883](https://github.com/nushell/nushell/pull/14883) |

## Save to YAML files with either `to yaml` or `to yml`

As pointed out in [#15240](https://github.com/nushell/nushell/issues/15240), it was previously possible to load data from YAML files using the `from yaml` or `from yml` commands, but only possible to save data using `to yaml`.
Now you can use either `to yaml` or `to yml` indistinctly to save data into YAML files.

```nu
> [[foo bar]; ["1" "2"]] | to yml
- foo: '1'
bar: '2'
```

Thanks to this, the `save` command can also be used with the `.yml` extension:
```nu
> [[foo bar]; ["1" "2"]] | save test.yml
```

<!-- NOTE: if you wanna write a section about a breaking change, when it's a very important one,
please add the following snippet to have a "warning" banner :)
> see [an example](https://www.nushell.sh/blog/2023-09-19-nushell_0_85_0.html#pythonesque-operators-removal)
Expand All @@ -49,6 +67,8 @@ As part of this release, we also publish a set of [optional plugins](https://www

## Additions

| author | title | link |
| ------ | ----- | ---- |
| [@132ikl](https://github.com/132ikl) | Parse XML documents with DTDs by default, and add `--disallow-dtd` flag | [#15272](https://github.com/nushell/nushell/pull/15272) |
| [@Bahex](https://github.com/Bahex) | Custom command attributes | [#14906](https://github.com/nushell/nushell/pull/14906) |
| [@IanManske](https://github.com/IanManske) | Add `filesize.show_unit` config option | [#15276](https://github.com/nushell/nushell/pull/15276) |
Expand All @@ -63,6 +83,8 @@ As part of this release, we also publish a set of [optional plugins](https://www

## Breaking changes

| author | title | link |
| ------ | ----- | ---- |
| [@132ikl](https://github.com/132ikl) | Fix match running closures as block | [#15032](https://github.com/nushell/nushell/pull/15032) |
| [@Bahex](https://github.com/Bahex) | use 0-indexing in `explore` | [#15079](https://github.com/nushell/nushell/pull/15079) |
| [@Bahex](https://github.com/Bahex) | `split list`: add streaming, closure argument, and splitting before/after a separator | [#15161](https://github.com/nushell/nushell/pull/15161) |
Expand All @@ -73,12 +95,16 @@ As part of this release, we also publish a set of [optional plugins](https://www

## Removals

| author | title | link |
| ------ | ----- | ---- |
| [@sholderbach](https://github.com/sholderbach) | Remove `range` command after deprecation | [#15038](https://github.com/nushell/nushell/pull/15038) |
| [@sholderbach](https://github.com/sholderbach) | Remove `into bits` after deprecation | [#15039](https://github.com/nushell/nushell/pull/15039) |
| [@sholderbach](https://github.com/sholderbach) | Remove `fmt` after deprecation | [#15040](https://github.com/nushell/nushell/pull/15040) |

## Bug fixes and other changes

| author | title | link |
| ------ | ----- | ---- |
| [@Bahex](https://github.com/Bahex) | make `echo` const | [#14997](https://github.com/nushell/nushell/pull/14997) |
| [@Bahex](https://github.com/Bahex) | feat(std/dirs): retain state in subshells or with exec-restarts | [#15080](https://github.com/nushell/nushell/pull/15080) |
| [@Bahex](https://github.com/Bahex) | feat(overlay): expose constants with `overlay use` | [#15081](https://github.com/nushell/nushell/pull/15081) |
Expand Down
Loading