You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[@cosineblast](https://github.com/cosineblast)| Jobs |[#14883](https://github.com/nushell/nushell/pull/14883)|
33
35
36
+
## Save to YAML files with either `to yaml` or `to yml`
37
+
38
+
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`.
39
+
Now you can use either `to yaml` or `to yml` indistinctly to save data into YAML files.
40
+
41
+
```nu
42
+
> [[foo bar]; ["1" "2"]] | to yml
43
+
- foo: '1'
44
+
bar: '2'
45
+
```
46
+
47
+
Thanks to this, the `save` command can also be used with the `.yml` extension:
48
+
```nu
49
+
> [[foo bar]; ["1" "2"]] | save test.yml
50
+
```
51
+
34
52
<!-- NOTE: if you wanna write a section about a breaking change, when it's a very important one,
35
53
please add the following snippet to have a "warning" banner :)
36
54
> see [an example](https://www.nushell.sh/blog/2023-09-19-nushell_0_85_0.html#pythonesque-operators-removal)
@@ -49,6 +67,8 @@ As part of this release, we also publish a set of [optional plugins](https://www
49
67
50
68
## Additions
51
69
70
+
| author | title | link |
71
+
| ------ | ----- | ---- |
52
72
|[@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)|
@@ -63,6 +83,8 @@ As part of this release, we also publish a set of [optional plugins](https://www
63
83
64
84
## Breaking changes
65
85
86
+
| author | title | link |
87
+
| ------ | ----- | ---- |
66
88
|[@132ikl](https://github.com/132ikl)| Fix match running closures as block |[#15032](https://github.com/nushell/nushell/pull/15032)|
67
89
|[@Bahex](https://github.com/Bahex)| use 0-indexing in `explore`|[#15079](https://github.com/nushell/nushell/pull/15079)|
68
90
|[@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)|
@@ -73,12 +95,16 @@ As part of this release, we also publish a set of [optional plugins](https://www
73
95
74
96
## Removals
75
97
98
+
| author | title | link |
99
+
| ------ | ----- | ---- |
76
100
|[@sholderbach](https://github.com/sholderbach)| Remove `range` command after deprecation |[#15038](https://github.com/nushell/nushell/pull/15038)|
77
101
|[@sholderbach](https://github.com/sholderbach)| Remove `into bits` after deprecation |[#15039](https://github.com/nushell/nushell/pull/15039)|
78
102
|[@sholderbach](https://github.com/sholderbach)| Remove `fmt` after deprecation |[#15040](https://github.com/nushell/nushell/pull/15040)|
79
103
80
104
## Bug fixes and other changes
81
105
106
+
| author | title | link |
107
+
| ------ | ----- | ---- |
82
108
|[@Bahex](https://github.com/Bahex)| make `echo` const |[#14997](https://github.com/nushell/nushell/pull/14997)|
83
109
|[@Bahex](https://github.com/Bahex)| feat(std/dirs): retain state in subshells or with exec-restarts |[#15080](https://github.com/nushell/nushell/pull/15080)|
84
110
|[@Bahex](https://github.com/Bahex)| feat(overlay): expose constants with `overlay use`|[#15081](https://github.com/nushell/nushell/pull/15081)|
0 commit comments