memiiso / pyliquibase

Use liquibase java application within python
Apache License 2.0
46 stars 17 forks source link

feat: added support for liquibase version selection #24

Closed raikwallace closed 2 years ago

raikwallace commented 2 years ago

This PR adds support for instantiating PyLiquibase with a version as a parameter, and, if the version is compatible, PyLiquibase will use it for executing commands.

If the version passed as a parameter is not in the list of compatible versions, PyLiquibase will use the last stable known version.

This also lets remove the Liquibase files of the repo, because they should be downloaded only when are needed and from the original repo.

ismailsimsek commented 2 years ago

rebased and adressed review comments. merging. Thank you @raikwallace this is great addition