liquibase / liquibase

Main Liquibase Source
https://www.liquibase.org
Apache License 2.0
4.55k stars 1.82k forks source link

Support yaml formatted defaults file #1898

Open nvoxland opened 3 years ago

nvoxland commented 3 years ago

Description

Liquibase supports a "defaultsFile" setting which accepts properties-formatted files. But, some people prefer yaml format.

Additional Context

Spring is a great example of how yaml settings can be set up in addition to properties settings.

nvoxland commented 3 years ago

With 4.4.0, we did a major refactoring of the ConfigurationValueProvider APIs which will allow us to support alternate formats like yaml.

We need to expand the usage of that from the CLI to the other integrations before we can really implement this, however. Planning on making more progress with that in 4.5.0

nvoxland commented 3 years ago

See #1529 as an example of how the properties parser doesn't handle yaml correctly.