Skip to content

Releases: mybatis/ibatis-2

iBATIS 2.8.1

Choose a tag to compare

@hazendaz hazendaz released this 01 Jul 21:39
mybatis2-2.8.1
a18688b
  • build / library updates
  • improve test coverage

iBATIS 2.8.0 - Transactional support EE - Javax/Jakarta

Choose a tag to compare

@hazendaz hazendaz released this 10 Jan 20:55
mybatis2-2.8.0
da444d5

For internal transaction support, this project now supported user provided transaction api of either javax or jakarta. The preference is on jakarta in case where both supplied incorrectly.

iBATIS 2.7.6 – Modernization & Code Cleanup Release

Choose a tag to compare

@hazendaz hazendaz released this 10 Jan 17:34
mybatis2-2.7.6
183d5bf

Continued Modernization effort focused mostly around conditional statement cleanup.

This release is removal of a single duplicate null check in source code. The remainder is cleanup on test cases only. So this is a pure no-op above 2.7.5 release in order to allow easier bypass of diff given test cleanup size.

Upgrade Notes

• No intended breaking changes, but due to the scope of modernization, please test your applications thoroughly before deploying to production.
• If you encounter issues, reverting to the previous release should be straightforward.
• This is the first in a series of incremental modernization releases; more improvements will follow.

Thank you for helping keep iBATIS 2.x robust and modern! Please report any issues you encounter.

iBATIS 2.7.5 – Modernization & Code Cleanup Release

Choose a tag to compare

@hazendaz hazendaz released this 10 Jan 16:28
mybatis2-2.7.5
787b66c

Continued Modernization effort focused mostly around conditional statement cleanup.

This release sees all methods in deprecated classes as being flagged deprecated as well. As a result, tools that check for deprecations will find a higher number depending on usage now.

Upgrade Notes

• No intended breaking changes, but due to the scope of modernization, please test your applications thoroughly before deploying to production.
• If you encounter issues, reverting to the previous release should be straightforward.
• This is the first in a series of incremental modernization releases; more improvements will follow.

Thank you for helping keep iBATIS 2.x robust and modern! Please report any issues you encounter.

iBATIS 2.7.4 – Modernization & Code Cleanup Release

Choose a tag to compare

@hazendaz hazendaz released this 01 Jan 23:48
mybatis2-2.7.4
76230d8

Continued Modernization effort focused mostly around conditional statement cleanup.

Upgrade Notes

• No intended breaking changes, but due to the scope of modernization, please test your applications thoroughly before deploying to production.
• If you encounter issues, reverting to the previous release should be straightforward.
• This is the first in a series of incremental modernization releases; more improvements will follow.

Thank you for helping keep iBATIS 2.x robust and modern! Please report any issues you encounter.

iBATIS 2.7.3 – Modernization & Code Cleanup Release

Choose a tag to compare

@hazendaz hazendaz released this 28 Dec 21:45
mybatis2-2.7.3
af304a5

• Modernized codebase: replaced index-based for-loops with enhanced for-loops, flattened conditional logic, and improved null/type checks.
• Updated static empty array initializations to use {}.
• Added serialVersionUID to serializable classes.
• Improved error handling, resource lookup, and code style consistency.
• README: Added section clarifying Javax/Jakarta namespace support.
• Renovate config: now pins GitHub Action digests and supports multiple base branches.
• Minor bug fixes in page navigation, property access, and dynamic SQL tag handlers.

Upgrade Notes

• No intended breaking changes, but due to the scope of modernization, please test your applications thoroughly before deploying to production.
• If you encounter issues, reverting to the previous release should be straightforward.
• This is the first in a series of incremental modernization releases; more improvements will follow.

Thank you for helping keep iBATIS 2.x robust and modern! Please report any issues you encounter.

iBATIS 2.7.2 – Modernization & Code Cleanup Release

Choose a tag to compare

@hazendaz hazendaz released this 28 Dec 20:48
mybatis2-2.7.2
50583ee

Build/CI
• Updated all GitHub Actions to use pinned SHAs for improved security.
• Modernized CI matrix: now tests on JDK 21, 25, 26-ea.
• Increased parallelism and added timeouts to workflows.
• Added workflow concurrency controls.
• Added scheduled cleanup of old workflow runs.
• Updated CodeQL workflow to v4, simplified configuration.
• Updated Maven commands for better output and reproducibility.

Maven Wrapper
• Upgraded Maven Wrapper to 3.3.4 and Maven to 3.9.12.
• Improved security and compatibility in wrapper scripts.

Dependencies
• ASM updated to 9.9.1.
• Commons DBCP2 updated to 2.14.0.
• JUnit Jupiter Engine updated to 6.0.1.

Code
• Modernized Java interfaces (removed redundant public).
• Added @OverRide annotations.
• Updated copyright years.
• Improved import statements and code style.

Other
• Updated parent POM to version 51.
• Updated reproducible build timestamp.

Upgrade Notes

•  No intended breaking changes, but due to the scope of modernization, please test your applications thoroughly before deploying to production.
•  If you encounter issues, reverting to the previous release should be straightforward.
•  This is the first in a series of incremental modernization releases; more improvements will follow.

Thank you for helping keep iBATIS 2.x robust and modern! Please report any issues you encounter.

iBATIS 2.7.1 – Modernization & Code Cleanup Release

Choose a tag to compare

@hazendaz hazendaz released this 28 Dec 19:46
mybatis2-2.7.1
3433ea7

• Modernized codebase with explicit imports, replacing wildcard imports for improved clarity.
• Added @OverRide annotations to all interface method implementations, enhancing code safety and maintainability.
• Updated string checks to use isEmpty() for better readability and performance.
• Simplified boolean parsing with Boolean.parseBoolean() and related idioms.
• Added serialVersionUID to all serializable classes.
• Removed unnecessary else branches after return statements for cleaner code.
• Updated copyright years.
• No functional changes or breaking changes introduced.

Upgrade Notes

•  No intended breaking changes, but due to the scope of modernization, please test your applications thoroughly before deploying to production.
•  If you encounter issues, reverting to the previous release should be straightforward.
•  This is the first in a series of incremental modernization releases; more improvements will follow.

Thank you for helping keep iBATIS 2.x robust and modern! Please report any issues you encounter.

iBATIS 2.7.0 – Modernization & Code Cleanup Release

Choose a tag to compare

@hazendaz hazendaz released this 27 Dec 19:59
mybatis2-2.7.0
3f1e7f6

Summary:
This release begins a series of incremental modernization updates for iBATIS 2.x. The focus is on code cleanup, improved code quality, and better compatibility with modern Java environments. No intentional behavioral changes or breaking API changes are included, but users are encouraged to test thoroughly.

Highlights

•  Modernized codebase:
•  Replaced raw types with generics and diamond operator (<>)
•  Used Boolean.valueOf(...) and similar modern idioms
•  Used isEmpty() for string checks
•  Added @Deprecated annotations to deprecated APIs
•  Added serialVersionUID to serializable classes
•  Improved utility class patterns (private constructors)
•  Minor spelling and comment corrections
•  Dependency and build updates:
•  Updated and added dependencies in pom.xml (e.g., commons-logging, asm)
•  Cleaned up test dependencies
•  Test code modernization for consistency
•  Corrected osgi header for ibatis

Upgrade Notes

•  No intended breaking changes, but due to the scope of modernization, please test your applications thoroughly before deploying to production.
•  If you encounter issues, reverting to the previous release should be straightforward.
•  This is the first in a series of incremental modernization releases; more improvements will follow.

Thank you for helping keep iBATIS 2.x robust and modern! Please report any issues you encounter.

Mybatis2 (aka ibatis) - 2.6.1 (javax namespace)

Choose a tag to compare

@hazendaz hazendaz released this 26 May 17:00
mybatis2-2.6.1
7eca551
  • fix bug reading DTD per #276
  • more NIO usage
  • Remove support for 'ibatis.com' as its non existent. When upgrading use correct DTDs found in this project for 'ibatis.apache.org'