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 #917

Closed anhy999 closed 2 years ago

anhy999 commented 2 years 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 2 years ago

Not to be "that guy", but does this need to be an issue, if a discussion topic already exists? It's a pretty open-ended question; a discussion topic is probably already the right format.