|
| 1 | +## [2.0.0] - 2025-12-29 |
| 2 | +# Changelog |
| 3 | + |
| 4 | +## Features |
| 5 | + |
| 6 | +### Spring Boot 4.0.x Compatibility and 2.0.0 Release Preparations |
| 7 | +- The project has been updated for compatibility with Spring Boot 4.0.x, marking the release of version 2.0.0. |
| 8 | +- Introduced a version compatibility matrix to the README to clearly document which library version to use based on Spring Boot version. Library version 2.0.x is for Spring Boot 4.0.x, considered the current version. |
| 9 | +- Updated annotations for JUnit Jupiter to support version 6.0.x, as well as upgrades for Mockito with the introduction of the `@MockitoBean` annotation. |
| 10 | +- Version numbers in the README for dependency examples were updated to reflect the new 2.0.0 release. |
| 11 | +- Updated `gradle.properties` to version `2.0.0-SNAPSHOT`, preparing for the official 2.0.0 release. |
| 12 | + |
| 13 | +## Fixes |
| 14 | + |
| 15 | +### Improved Documentation of Configuration Properties |
| 16 | +- Documentation improvement in the README to include all configuration properties for the Turnstile API, such as `url`, `connect-timeout`, `read-timeout`, and filter properties like `login.submissionPath`, `login.redirectUrl`, and `token.parameterName`. This ensures better guidance for users setting up the library. |
| 17 | +- Changed the Java code example in the README from field injection to constructor injection using `@RequiredArgsConstructor`, following best practices and promoting better code maintainability. |
| 18 | + |
| 19 | +## Breaking Changes |
| 20 | + |
| 21 | +### Spring Boot 4.0.x Actuator Modularization |
| 22 | +- As part of the Spring Boot 4.0 upgrade, several important API endpoints and packages have been reorganized due to modularization efforts: |
| 23 | + - `ConditionalOnEnabledHealthIndicator` moved to `org.springframework.boot.health.autoconfigure.contributor`. |
| 24 | + - `MeterRegistryCustomizer` moved to `org.springframework.boot.micrometer.metrics.autoconfigure`. |
| 25 | + - `Health` and `HealthIndicator` moved to `org.springframework.boot.health.contributor`. |
| 26 | +- Developers need to update their import statements to these new package paths. |
| 27 | + |
| 28 | +## Documentation |
| 29 | + |
| 30 | +### Comprehensive Update for 2.0.0 Release |
| 31 | +- Added a comprehensive entry for the 2.0.0 release in the `CHANGELOG.md`, and a badge for Spring Boot 4.0.x in the README header. |
| 32 | +- Added a version compatibility table for clarity regarding which library version corresponds with which Spring Boot version, reducing confusion for developers. |
| 33 | + |
| 34 | +## Other Changes |
| 35 | + |
| 36 | +### Dependency Bumps |
| 37 | +- Updated `org.junit.jupiter:junit-jupiter` from 6.0.0 to 6.0.1 for improved test stability and features. |
| 38 | +- Upgraded the Spring Boot dependency from version 3.5.7 to 4.0.1, marking this a major release improvement. |
| 39 | +- Updated `com.vanniktech.maven.publish` plugin from 0.34.0 to 0.35.0, ensuring better publication processes and alignment with the latest tooling features. |
| 40 | + |
| 41 | +### Development Tools and Configuration: |
| 42 | +- Updated Claude configuration in `.claude/settings.local.json` to include additional Bash scripts and fetch capabilities, enabling enhanced integration and operations for the development environment. |
| 43 | + |
| 44 | +These changes illustrate a major upgrade and compatibility overhaul, focusing on long-term maintainability, documentation clarity, and support for modern Spring Boot environments. Developers should thoroughly review the breaking changes, especially around Spring Boot's modularization, to align their projects with these updates. |
| 45 | + |
1 | 46 | ## [2.0.0] - 2025-12-29 |
2 | 47 | ### Changelog |
3 | 48 |
|
|
0 commit comments