Skip to content

Allow raw null as a value for to yaml --non-roundtrip - #18851

Merged
cptpiepmatz merged 2 commits into
nushell:mainfrom
cptpiepmatz:allow-yaml-non-roundtrip-null
Aug 26, 2026
Merged

Allow raw null as a value for to yaml --non-roundtrip#18851
cptpiepmatz merged 2 commits into
nushell:mainfrom
cptpiepmatz:allow-yaml-non-roundtrip-null

Conversation

@cptpiepmatz

Copy link
Copy Markdown
Member

Description

nushell/nushell.github.io#2228 found that to yaml --non-roundtrip null is invalid in 0.115.0. I think that's a bit annoying, so I made it that a raw null is also a valid value here.

User-facing changes (Release notes)

to yaml --non-roundtrip now also accepts a raw null instead of only "null" for the null configuration.

@cptpiepmatz cptpiepmatz added A:file-format Parsing/Writing of file formats/protocols notes:ready Indicates Ready for Release notes notes:additions Noted in "Additions" section labels Aug 17, 2026
@cptpiepmatz
cptpiepmatz merged commit 7b75ae0 into nushell:main Aug 26, 2026
15 checks passed
@cptpiepmatz
cptpiepmatz deleted the allow-yaml-non-roundtrip-null branch August 26, 2026 19:59
@github-actions github-actions Bot added this to the v0.116.0 milestone Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A:file-format Parsing/Writing of file formats/protocols notes:additions Noted in "Additions" section notes:ready Indicates Ready for Release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant