Skip to content

Releases: mybatis/freemarker-scripting

mybatis-freemarker-1.2.4

02 Dec 23:35
Compare
Choose a tag to compare
  • Upgrade to Mybatis 3.5.11
  • Upgrade commons text to 1.10.0

mybatis-freemarker-1.2.3

30 Dec 12:05
Compare
Choose a tag to compare

Here is the complete list of changes.

Dependencies Updates

  • Upgrade to mybatis 3.5.9 #110
  • Upgrade to freemarker 2.3.31 #96
  • Upgrade to commons-text 1.9 #87

mybatis-freemarker-1.2.2

05 Jun 10:48
Compare
Choose a tag to compare

Here is the complete list of changes.

Bug Fixes

  • SQL template file not found in case the application is embedded in spring boot jar file #79

Dependencies Updates

  • Upgrade to mybatis 3.5.5 #81
  • Upgrade to freemarker 2.3.30 #76

mybatis-freemarker-1.2.1

06 Jan 16:58
Compare
Choose a tag to compare

Here is the complete list of changes.

Dependencies Updates

  • Upgrade to mybatis 3.5.3 #65
  • Upgrade to freemarker 2.3.29 #66
  • Upgrade to commons-text 1.8 #71

mybatis-freemarker-1.2.0

15 Jul 04:16
Compare
Choose a tag to compare

This version is required Java 8+. Here is the complete list of changes.

New Features

  • Support to configure FreeMarker settings using properties file #51
  • Add SQL provider class that help detecting a template file automatically #56

Enhancements

  • Support to configure disable that #{...} is interpreted #43
  • Add FreeMarkerLanguageDriverConfig like as mybatis-thymeleaf #44
  • Requires Java 8+ #45
  • Add 'templateFile.baseDir' instead of 'basePackage' #58

Dependencies Updates

  • Upgrade to MyBatis 3.5.2 #62
  • Add Apache Commons Text 1.7 #44 #64

Migration guide

In this section, we provides migration guide from 1.1.

1. Change property key that specify base package that load template file

In this version, new property key format has been supported. Following settings are same mean.

Previous version(1.1):

basePackage = sql 

New version(1.2+):

# 'template-file.base-dir' (kebab-case) can be used too
templateFile.baseDir = sql

NOTE: basePackage is deprecated.

mybatis-freemarker-1.1.1

26 May 17:27
Compare
Choose a tag to compare

1st version in Maven Central

mybatis-freemarker-1.1

24 May 06:18
Compare
Choose a tag to compare

Suppor for autogenerated prepared statements

mybatis-freemarker-1.0

24 May 06:16
Compare
Choose a tag to compare

Initial Release