Netlify configuration file support for YAML and JSON syntax was introduced as a work-in-progress feature. This issue is being opened in response to the following:
This issue is not about whether we should support this, but about requiring that we support it well if and when we have resources to do so.
Plan for removing support
Future support
To support multiple configuration file formats, this should be re-introduced as a standalone feature with product and engineering input during a discovery phase, and prioritized for proper implementation.
cc/ @verythorough
Thanks for the mention! The gradual plan makes sense to me. I'll file associated docs issues as needed (and link them here).
First step done: replacing test fixtures (#1146).
Since I had issues finding a TOML serializer that works, I actually had to do a bunch of sed queries, combined with manual editing on ~250 netlify.yml files :(
But this is done now.
The next step is: add deprecation warnings and convert users netlify.yml to netlify.toml (when run locally). This is done in #1171.
The only thing left after this is in production is (in the future) removing deprecation warnings, conversion and YAML/JSON parsing, making it a breaking change.
Done.
Most helpful comment
First step done: replacing test fixtures (#1146).
Since I had issues finding a TOML serializer that works, I actually had to do a bunch of
sedqueries, combined with manual editing on ~250netlify.ymlfiles :(But this is done now.