Skip to content

chore(deps): bump org.mybatis:mybatis from 3.5.19 to 3.6.0 - #88

Merged
htcom-code merged 1 commit into
mainfrom
chore/mybatis-3.6.0
Oct 27, 2026
Merged

htcom-code merged 1 commit into
mainfrom
chore/mybatis-3.6.0

Conversation

@htcom-code

Copy link
Copy Markdown
Owner

Summary

Bump org.mybatis:mybatis from 3.5.19 to 3.6.0 (test scope). Supersedes #87, which proposed the same one-line change; this PR carries the release-note review and the local verification.

Release-note review (3.5.19 → 3.6.0)

Local verification

./gradlew clean bootJar
./gradlew test
  • gradle clean bootJar assembles
  • gradle test passes: 599 tests, 0 failures, 0 errors, 0 skipped
  • Container/isolation tests ran (-boot.jar present, Docker up, 0 skipped)
  • Resolved testRuntimeClasspath shows org.mybatis:mybatis:3.6.0

Test scope only: MyBatis backs the two e2e tests that simulate a consumer
bundling MyBatis on the host. Nothing ships in the published jar or POM.

3.6.0 requires Java 11 (toolchain is 21) and changes type handler
resolution to use java.lang.reflect.Type, constructor auto-mapping, and
<choose> validation. The tests use a plain resultType="int" count query,
so none of these apply. It also fixes an ErrorContext ThreadLocal leak in
lazy loading, which lines up with the classloader-reclaim test.

mybatis-spring stays at 3.0.4 and works with 3.6.0 in these tests.

Verified locally: bootJar then test, 599 tests, 0 failures, 0 skipped.

Related: #87
Co-Authored-By: htjulia <htjulia1@gmail.com>
@htcom-code
htcom-code merged commit 6746f82 into main Oct 27, 2026
7 checks passed
@htcom-code
htcom-code deleted the chore/mybatis-3.6.0 branch October 27, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant