toml-lang / toml

Tom's Obvious, Minimal Language
https://toml.io
MIT License
19.45k stars 847 forks source link

Strategies for supporting unreleased TOML features #927

Closed anhy999 closed 1 year ago

anhy999 commented 1 year ago

Discussed in https://github.com/toml-lang/toml/discussions/915

Originally posted by **awvwgk** July 31, 2022 What is the general strategy of TOML library implementors here to add support for unreleased TOML features? Implementing features early before a release allows to provide access to users of TOML early, but comes with the disadvantage that the feature might change or other TOML related tooling is not compatible yet. I have seen some libraries provide a way to opt-in at compile time / run time for newer features. Testing and validation is also a bit more tricky, especially when previously incorrect TOML documents are becoming valid. Any thoughts on this are welcome.
marzer commented 1 year ago

@anhy999 You've now created three separate issues/discussions from the original #915: this one, #923, and #926.

Please stop. This is spam.