You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
easy-paging-spring-boot-starter 0.5.0 released to Maven Central β first cut of the Spring Boot 4 line (Spring Framework 7 / Jackson 3 / PageHelper 4.0 / mybatis-spring-boot-starter 4.0).
The 0.4.x branch continues as the SB 3.3β3.5 maintenance line β already received its first patch bumps after the split.
4 new SB4 demos added in this repo (easy-paging-sb4-demo, -sb4-keyset-demo, -sb4-postgres-demo, -sb4-reactive-demo) alongside the existing 4 SB3 demos.
API surface is the same on both lines β @AutoPaginate, @KeysetPaginate, PageResponse<T>, KeysetPage<T>, R2dbcOffsetPagingSupport, etc. all carried over identically. Only the underlying runtime BOM differs.
SB4 migration notes (if you are coming from 0.4.x)
The 0.5.0 release captured every surprise from the migration in the PR body β main ones to watch for in your own code:
io.spring.dependency-management 1.1.6 is silently incompatible with the SB4 BOM β bump to 1.1.7.
spring-boot-starter-aop was renamed to spring-boot-starter-aspectj in SB4. The error message just says "Could not find ... -aop:." (empty version), not "wrong artifact ID" β easy to misread.
@AutoConfigureMockMvc / @AutoConfigureWebTestClient moved out of spring-boot-test-autoconfigure into dedicated spring-boot-starter-{webmvc,webflux}-test modules with new package paths.
Jackson 2 β 3 package move (com.fasterxml.jackson.* β tools.jackson.*), JavaTimeModule auto-registered (no longer needs explicit .registerModule(...)), JsonNode.asText() deprecated β asString(), spring.jackson.serialization.write-dates-as-timestamps removed (default is now ISO-8601).
SB4 dropped auto-registration of PageableHandlerMethodArgumentResolver for servlet MVC β starter 0.5.0 wires it itself (and the reactive equivalent), so you no longer need a per-app WebMvcConfigurer/WebFluxConfigurer for Pageable pageable controller parameters.
Testcontainers 2.x rename: artifact IDs got a testcontainers- prefix (postgresql β testcontainers-postgresql), classes moved out of org.testcontainers.containers.* into dedicated per-module packages, and the self-typed generic on PostgreSQLContainer<SELF> / MySQLContainer<SELF> was removed.
Gradle β₯ 8.14 required (SB4 plugin refuses to apply on older Gradle).
If you bump the demos directly: PR #50 on the starter and PR #39 on this repo are the reference walkthroughs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
English Β· νκ΅μ΄
TL;DR
easy-paging-spring-boot-starter 0.5.0released to Maven Central β first cut of the Spring Boot 4 line (Spring Framework 7 / Jackson 3 / PageHelper 4.0 / mybatis-spring-boot-starter 4.0).0.4.xbranch continues as the SB 3.3β3.5 maintenance line β already received its first patch bumps after the split.easy-paging-sb4-demo,-sb4-keyset-demo,-sb4-postgres-demo,-sb4-reactive-demo) alongside the existing 4 SB3 demos.Choose your line
kr.devslab:easy-paging-spring-boot-starter:0.5.0easy-paging-sb4-demo,-sb4-keyset-demo,-sb4-postgres-demo,-sb4-reactive-demokr.devslab:easy-paging-spring-boot-starter:0.4.0easy-paging-demo,-keyset-demo,-postgres-demo,-reactive-demoAPI surface is the same on both lines β
@AutoPaginate,@KeysetPaginate,PageResponse<T>,KeysetPage<T>,R2dbcOffsetPagingSupport, etc. all carried over identically. Only the underlying runtime BOM differs.SB4 migration notes (if you are coming from 0.4.x)
The 0.5.0 release captured every surprise from the migration in the PR body β main ones to watch for in your own code:
io.spring.dependency-management1.1.6 is silently incompatible with the SB4 BOM β bump to 1.1.7.spring-boot-starter-aopwas renamed tospring-boot-starter-aspectjin SB4. The error message just says"Could not find ... -aop:."(empty version), not "wrong artifact ID" β easy to misread.@AutoConfigureMockMvc/@AutoConfigureWebTestClientmoved out ofspring-boot-test-autoconfigureinto dedicatedspring-boot-starter-{webmvc,webflux}-testmodules with new package paths.com.fasterxml.jackson.*βtools.jackson.*),JavaTimeModuleauto-registered (no longer needs explicit.registerModule(...)),JsonNode.asText()deprecated βasString(),spring.jackson.serialization.write-dates-as-timestampsremoved (default is now ISO-8601).PageableHandlerMethodArgumentResolverfor servlet MVC β starter 0.5.0 wires it itself (and the reactive equivalent), so you no longer need a per-appWebMvcConfigurer/WebFluxConfigurerforPageable pageablecontroller parameters.testcontainers-prefix (postgresqlβtestcontainers-postgresql), classes moved out oforg.testcontainers.containers.*into dedicated per-module packages, and the self-typed generic onPostgreSQLContainer<SELF>/MySQLContainer<SELF>was removed.If you bump the demos directly:
PR #50on the starter andPR #39on this repo are the reference walkthroughs.Related links
νκ΅μ΄ β νλμ
easy-paging-spring-boot-starter 0.5.0**μ΄ Maven Centralμ publish β Spring Boot 4 λΌμΈ 첫 release (Spring Framework 7 / Jackson 3 / PageHelper 4.0 / mybatis-spring-boot-starter 4.0).0.4.xλΈλμΉλ SB 3.3β3.5 maintenance λΌμΈμΌλ‘ κ³μ μ μ§ β λΆκΈ° μ§ν 첫 ν¨μΉ bumpλ€λ λ€μ΄μ΄.easy-paging-sb4-demo,-sb4-keyset-demo,-sb4-postgres-demo,-sb4-reactive-demo) β κΈ°μ‘΄ 4κ° SB3 λ°λͺ¨μ λλν.μ΄λ λΌμΈ μ°μΈμ?
kr.devslab:easy-paging-spring-boot-starter:0.5.0easy-paging-sb4-demoμΈ 3κ°kr.devslab:easy-paging-spring-boot-starter:0.4.0easy-paging-demoμΈ 3κ°API νλ©΄μ μμͺ½ λΌμΈ λμΌ β
@AutoPaginate,@KeysetPaginate,PageResponse<T>,KeysetPage<T>,R2dbcOffsetPagingSupportλ± λͺ¨λ κ·Έλλ‘. λ¨ BOMκ³Ό λ°νμ μμ‘΄μ±λ§ SB λ©μ΄μ λ°λΌ λ€λ¦.SB4 λ§μ΄κ·Έλ μ΄μ λ ΈνΈ (0.4.xμμ μ¬λΌμ€λ κ²½μ°)
λ§μ΄κ·Έλ μ΄μ μ€ λ§λ λͺ¨λ surpriseλ 0.5.0 release PR λ³Έλ¬Έμ κΈ°λ‘λμ΄ μκ³ , μ§μ μ½λ λ§μ΄κ·Έλ μ΄μ ν λ μ£Όμν ν° νλͺ©λ€:
io.spring.dependency-management1.1.6μ SB4 BOMκ³Ό silently νΈν μ λ¨ β 1.1.7λ‘ bump.spring-boot-starter-aopκ° SB4μμspring-boot-starter-aspectjλ‘ renameλ¨. μλ¬ λ©μμ§λ"Could not find ... -aop:."(version λΉ μ±) β "wrong artifact ID" κ° μλλΌ "version λͺ» μ°Ύμ"μΌλ‘ 보μ.@AutoConfigureMockMvc/@AutoConfigureWebTestClientμ΄λ βspring-boot-test-autoconfigureμμ λΉ μ§κ³spring-boot-starter-{webmvc,webflux}-testλ³λ λͺ¨λ + μ ν¨ν€μ§ κ²½λ‘.com.fasterxml.jackson.*βtools.jackson.*),JavaTimeModuleμλ λ±λ‘λ¨ (λ³λ.registerModule(...)λΆνμ),JsonNode.asText()deprecated βasString(),spring.jackson.serialization.write-dates-as-timestampsμ κ±° (κΈ°λ³Έμ΄ ISO-8601).PageableHandlerMethodArgumentResolverauto-configμ dropping β starter 0.5.0μ΄ μ체 λ±λ‘ (reactiveλ λμΌ). λ μ΄μ μ±λ³WebMvcConfigurer/WebFluxConfigurerλ‘Pageable pageable컨νΈλ‘€λ¬ νλΌλ―Έν°λ₯Ό wireν νμ μμ.testcontainers-prefix μΆκ° (postgresqlβtestcontainers-postgresql), ν΄λμ€κ°org.testcontainers.containers.*μμ λͺ¨λλ³ ν¨ν€μ§λ‘ μ΄λ,PostgreSQLContainer<SELF>/MySQLContainer<SELF>μ self-typed generic μ κ±°.λ°λͺ¨ μ§μ bump μ°Έκ³ : μ€νν°
PR #50, μ΄ repoPR #39.λ§ν¬
Beta Was this translation helpful? Give feedback.
All reactions