Releases: mybatis/freemarker-scripting
Releases · mybatis/freemarker-scripting
Mybatis Freemarker 1.3.0
- Support the _databaseId variable in sql template #152
- Requires java 11 or better
- Allows for freemarker java 9 classes now. For java 16 classes, use java 17 or better
- Library Updates / Build Updates
mybatis-freemarker-1.2.4
- Upgrade to Mybatis 3.5.11
- Upgrade commons text to 1.10.0
mybatis-freemarker-1.2.3
Here is the complete list of changes.
Dependencies Updates
mybatis-freemarker-1.2.2
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
mybatis-freemarker-1.2.1
Here is the complete list of changes.
Dependencies Updates
mybatis-freemarker-1.2.0
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
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
1st version in Maven Central
mybatis-freemarker-1.1
Suppor for autogenerated prepared statements
mybatis-freemarker-1.0
Initial Release