Skip to content

Releases: mybatis/migrations

mybatis-migrations-3.4.0

10 Aug 17:04
Compare
Choose a tag to compare

Pardon our dust, brushing off 2 years of changes...

User

  • Dropped mybatis from project and re-implemented the classes it uses directly to reduce runtime dependencies
  • Use secure https addresses throughout
  • Use copy constructor instead of clone
  • Ensure streams are closed
  • Fix potential memory leak
  • Various coding cleanups

Build

  • Moved from dependabot to renovate
  • Update GHA
  • Update plugins / test dependencies
  • Fix vulnerabilities in test packages
  • Renamed license.txt to LICENSE_HEADER
  • Updated maven build tools
  • Require java 17 to build, still target java 8 runtime
  • Moved java 11 profile into main build
  • Move project into proper maven standard layout

NOTICE: This is expected last java 8 release. Given we had a couple year gap here and lots of changes, we are open to continue with necessary bug fixes if any should occur.

mybatis-migrations-3.3.11

08 Jul 22:27
Compare
Choose a tag to compare

Two bug fixes:

  • Error message was not helpful when the changelog table was missing. #220
  • When the directory specified by --path does not exist, 'init' command did not create the directory as documented. #225

mybatis-migrations-3.3.10

12 Dec 21:13
Compare
Choose a tag to compare

List of user visible changes:

  • Add 'redo' command. #205
  • Add hooks for the 'script' command. #203
  • Possible syntax error when using -- //@DELIMITER in a script. #182

mybatis-migrations-3.3.9

15 Dec 19:43
Compare
Choose a tag to compare

Bug fix:

  • Driver JAR in the lib directory is not correctly picked up. #176

mybatis-migrations-3.3.8

15 Dec 19:38
Compare
Choose a tag to compare
  • Removed -XX:PermSize=128m JVM option when executing migrate command.

mybatis-migrations-3.3.7

13 Feb 17:20
Compare
Choose a tag to compare

Bug fix:

  • version command fails when there is no changelog table. #160

There should be no backward incompatible change since 3.3.6.

mybatis-migrations-3.3.6

27 Aug 18:36
Compare
Choose a tag to compare

Enhancements:

  • It is now possible to define environment settings using Java System Properties or Environment Variables. #114
  • status command now shows locally-missing migrations. #145

Bug fixes:

  • An error could be ignored when one of multiple statements in a script fails. #118

mybatis-migrations-3.3.5

14 Oct 16:39
Compare
Choose a tag to compare

Enhancements:

  • bofore_new and after_new hooks. #106
  • Print a warning when there is a skipped migration or a missing migration script. #125

Bug fixes:

  • Possible ArrayIndexOutOfBoundsException when reading a script. #127
  • 'script' command can generate incomplete script. #121

mybatis-migrations-3.3.4

16 Apr 04:29
Compare
Choose a tag to compare

The previous fix didn't replace variables correctly. #117

mybatis-migrations-3.3.3

20 Mar 16:24
Compare
Choose a tag to compare

Fixed a regression.

  • Down command fails if you don't have have a line break at the end of the UNDO statement. #117