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
i've used different commits of gojsontoyaml over the years. the behavior of wrapping long lines changes depending on when had go geted as follows:
Pre May 2020: long lines wrap
Between May 2020 and Dec 2020: long lines do not wrap
After Dec 2020: long lines wrap
... and to top that off, at some point in the future with yaml.v3 the default will again be the long lines will not wrap...
This is because of this fun: go-yaml/yaml#670 combined with the timing of updating the go mod for yaml.v2 in this repo (2.2.8 pre may, 2.3.0 may, 2.4.0 dec)
I'd love it if the line wrapping could shift back to the future of not doing it.
The text was updated successfully, but these errors were encountered:
underrun
added a commit
to underrun/gojsontoyaml
that referenced
this issue
Jul 8, 2021
Closesbrancz#7
In v3, go yaml will not wrap lines by default: adopt this now to avoid
churn later and return to the previous default used in v2.3.0 which was
un-defaulted in v2.4.0 back to pre v2.3.0 behavior.
i've used different commits of gojsontoyaml over the years. the behavior of wrapping long lines changes depending on when had
go get
ed as follows:... and to top that off, at some point in the future with yaml.v3 the default will again be the long lines will not wrap...
This is because of this fun: go-yaml/yaml#670 combined with the timing of updating the go mod for yaml.v2 in this repo (2.2.8 pre may, 2.3.0 may, 2.4.0 dec)
I'd love it if the line wrapping could shift back to the future of not doing it.
The text was updated successfully, but these errors were encountered: