Want to use Liquibase™ across your enterprise? Try our enterprise version
2018 Survey

Liquibase 3.0 Beta 2

POSTED 28 Mar 2013 by Nathan Voxland

Liquibase 3.0 beta 2 is now available.

Major changes since beta 1 include:

  • Support for YAML and JSON formatted changelogs (see below)
  • Support for excluding databases in dbms attribute (see below)
  • Support for setting the dbms attribute on sql and sqlfile changes
  • Can generate rollback script file on startup with SpringLiquibase
  • Improved UTF8 support
  • Improvements to case-sensitive database support
  • Bugfixes

Excluding from dbms list

The dbms attribute now supports prepending a database name with ā€œ!ā€ to specify which databases a changeset should not run on. For example: <changeSet dbms="!oracle">

JSON and YAML changelog support

For all you XML-haters out there, Liquibase not natively supports JSON and YAML formatted changelogs. The syntax and tags are very similar between the JSON, YAML and XML formats.

YAML example: https://raw.github.com/liquibase/liquibase/master/liquibase-integration-tests/src/test/resources/changelogs/yaml/common.tests.changelog.yaml

JSON example: https://raw.github.com/liquibase/liquibase/master/liquibase-integration-tests/src/test/resources/changelogs/json/common.tests.changelog.json

If you chose to use YAML or JSON format, you will need to include snakeyaml 1.12 in your classpath.

Iā€™m continuing to work on shifting the documentation to github from the current wiki, and while there is still much more to do, you can at least see YAML and JSON change syntax example at http://liquibase.github.com/documentation/changes/add_auto_increment.html.

Download

As always, you can download the release from http://liquibase.org/download and direct any comments or questions for http://forum.liquibase.org


Missing, incomplete or wrong information? Please send a pull request