Posted 29 Jan 2008 by Nathan Voxland
Liquibase Core 1.5.0 is now available for download from https://download.liquibase.org/download-community/
1.5.0 includes a major refactoring which should not affect most users except for the following items:
Servlet Migrator: The web.xml parameter names have changed. See https://www.liquibase.org/documentation/servlet_listener.html for more information.
If you used the “database.migrator.should.run”, it is must now be changed to “liquibase.should.run”
If you have extended or embedded Liquibase classes or calls directly in your code, changes will be necessary.
Servlet Migrator: The classes to reference in web.xml have changed to liquibase.servlet.LiquibaseStatusServlet and liquibase.servlet.LiquibaseServletListener. The old classes are now simply subclasses of the new and are deprecated so they should work.
Spring Migrator: The class to reference in your spring config has changed to liquibase.spring.SpringLiquibase. The old class still exists as a subclass of the new so existing configurations should continue to work.
Command Line: The “migrate” command has been changed to “update”. “migrate” is now an alias for “update” so existing calls should continue to work
There is now a “defaultSchemaName” parameter available for setting default schema. This schema will be used for all ambiguous database objects as well as for storing the databasechangelog and databasechangeloglock tables.
Ant support has been greatly expanded and now covers most of the functionality available in the command line application. See https://www.liquibase.org/documentation/ant/index.html for more information.
Upgrading is simply a matter of replacing the liquibase.jar file. To take advantage of newer change log features, change your XSD declaration to:
<databasechangelog xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.5" xsi="http://www.w3.org/2001/XMLSchema-instance" schemalocation="http://www.liquibase.org/xml/ns/dbchangelog/1.5 http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.5.xsd">
Depending on feedback received from this release, the 220.127.116.11 releases of the various plug-ins (Maven, Grails, IntelliJ, Eclipse) should be released over the next few days.
As usual, be sure to let us know if you have any questions or issues.