Releases: microsphere-projects/microsphere-spring-boot
0.2.11
Release Notes for Version 0.2.11
New Features
- Introduced
Use MockEnvironment.withPropertyin tests for enhanced configuration (c7e2eb2). - Added support for Spring Boot 3.5.14 and 4.0.6 (3f1a57f).
- Added test class annotations to
SpringBootTest(1ffa066). - Added assertions and constants for
MeterRegistryclass names for better test coverage (34bf684, 525068f).
Dependency Updates
- Bumped
Spring Boot 4.0to version4.0.6(3665d16). - Bumped
microsphere-springto0.2.14(76a0385) and0.2.13(e5665d5). - Added JUnit BOM and Spring milestone repository (5b475ec).
Test Improvements
- Improved tests by using
MockEnvironment.withPropertyfor a cleaner and consistent testing environment (c7e2eb2). - Added and enhanced test class coverage for various components (1ffa066, 34bf684).
Build and Workflow Enhancements
- Updated Maven wrapper to
3.9.15(09a656f) and3.9.14(a6331e9). - Pointed Maven wrapper to Maven Central for improved accessibility (5ec0c31).
- Bumped parent POM version to
0.2.7(50c4c5b). - Added workflow for syncing fork branches from upstream (19a1b4b).
- Refactored workflows for better structure, added workflow permission, and matrix build configuration (59d8dab, 8821b7a).
- Enhanced release notes and automated release creation (8bf5cf2).
Other Changes
- Fixed indentation in
dependabot.ymlupdates list (779b968, ae77002). - Removed exclusions from
microspheretest dependency for cleaner POM (a92f014). - Simplified and cleaned up POM structure (76a0385, 8201e9a).
Note: This release contains updates to support new Spring Boot versions and improve test configurations, along with various dependency, workflow, and build improvements.
For a detailed list of changes, please refer to the Full Changelog.
Full Changelog: 0.2.10...0.2.11
0.1.11
Release Notes – Version 0.1.11
New Features
- Utilize type-based
@ConditionalOnBeanforMeterRegistrysupport. (#d658294)
Dependency Updates
- Bump
microsphere-springdependency to 0.1.14 with improved compatibility. (#ec0c13d) - Drop previously excluded
microsphere-spring-testdependencies. (#33c07fd) - Import JUnit BOM via
dependencyManagementfor streamlined dependency handling. (#6b50a6a)
Build and Workflow Enhancements
- Add Java 17, 21, and 25 to CI matrix for extended compatibility testing. (#7daa832)
- Limit Java matrix range and optimize build with
max-parallelsetting. (#4770853) - Switch Maven wrapper source to Maven Central. (#545c8aa)
- Update Maven wrapper to versions 3.9.14 (#b89c428) and 3.9.15 (#93220d1).
- Enhance release workflow notes and define permissions. (#62bd45a, #95cf770, #c9b3be8)
- Remove explicit permissions for build jobs. (#c9b3be8)
Test Improvements
- Replace
MockEnvironmentsetup with.withPropertyfor cleaner tests. (#0663ff5) - Register test class explicitly in
@SpringBootTestconfigurations. (#bb1f3ba) - Add tests for
METER_REGISTRY_CLASS_NAMEconstant validation. (#bde8838)
Documentation
- Align README branch versions and apply formatting improvements. (#71dcac9)
Other Changes
- Remove Spring milestone repository from the parent POM file. (#1b390b5)
- Update parent package version to 0.2.7. (#02fbe38)
Full Changelog: 0.1.10...0.1.11
v0.2.10
What's Changed
Conditional bean creation:
- The
actuatorTaskSchedulerbean inActuatorAutoConfigurationis now only created if aMeterRegistrybean is present, by adding the@ConditionalOnBean(MeterRegistry.class)annotation.
Test improvements and coverage:
- The
ActuatorAutoConfigurationTestclass has been refactored to use nested test classes, explicitly testing both the presence and absence of theMeterRegistrybean, and verifying thatactuatorTaskScheduleris only created when appropriate. - The
ActuatorEndpointsAutoConfigurationTestclass has been refactored to use nested test classes and ordered execution. It now includes tests for both default and disabled endpoint configurations, verifying that endpoint beans are only created when enabled.
Full Changelog: v0.2.9...v0.2.10
v0.1.10
What's Changed
Conditional bean creation:
- The
actuatorTaskSchedulerbean inActuatorAutoConfigurationis now only created if aMeterRegistrybean is present, by adding the@ConditionalOnBean(MeterRegistry.class)annotation.
Test improvements and coverage:
- The
ActuatorAutoConfigurationTestclass has been refactored to use nested test classes, explicitly testing both the presence and absence of theMeterRegistrybean, and verifying thatactuatorTaskScheduleris only created when appropriate. - The
ActuatorEndpointsAutoConfigurationTestclass has been refactored to use nested test classes and ordered execution. It now includes tests for both default and disabled endpoint configurations, verifying that endpoint beans are only created when enabled.
Full Changelog: v0.1.9...v0.1.10
v0.2.9
v0.1.9
What's Changed
- Added
central-publishing-maven-plugininto the modulemicrosphere-spring-boot-compatiblethat is not a deployed artifact.
Full Changelog: v0.1.8...v0.1.9
v0.2.8
What's Changed
Dependency version updates:
- Updated the
microsphere-spring.versionproperty from0.2.8to0.2.9inmicrosphere-spring-boot-parent/pom.xmlto use the latest Microsphere Spring release. - Updated the parent
microsphere-buildversion from0.2.5to0.2.6inpom.xmlto align with the latest build configurations.
Full Changelog: v0.2.7...v0.2.8
v0.1.8
What's Changed
Dependency version updates:
- Updated the
microsphere-spring.versionproperty from0.1.8to0.1.9inmicrosphere-spring-boot-parent/pom.xmlto use the latest Microsphere Spring release. - Updated the parent
microsphere-buildversion from0.2.5to0.2.6inpom.xmlto align with the latest build configurations.
Full Changelog: v0.1.7...v0.1.8
v0.2.7
What's Changed
Dependency and Build Updates:
- Upgraded
microsphere-spring.versionfrom0.2.6to0.2.8 - Bump org.springframework.boot:spring-boot-dependencies from 4.0.4 to 4.0.5 by @dependabot[bot] in #95
Annotation Consistency:
- Switched from using Spring’s
@NonNull/@Nullableannotations to Microsphere’s own@Nonnull/@NullableinConfigurationMetadataRepository.java, and updated all relevant method signatures accordingly.
CI/CD Workflow Enhancement:
- Added a step in
.github/workflows/maven-publish.ymlto automatically merge changes fromreleaseintomainafter publishing, with error handling for missing branches and merge conflicts.
Full Changelog: 0.2.6...v0.2.7
v0.1.7
What's Changed
Dependency and Build Updates:
- Upgraded
microsphere-spring.versionfrom0.1.6to0.1.8andjunit-jupiter.versionfrom6.0.3to5.14.3inmicrosphere-spring-boot-parent/pom.xmlfor improved compatibility and testing. - Replaced the
java8-16profile with aspring-boot-2.7profile, activating it by default and settingspring-boot.versionto2.7.18.
Annotation Consistency:
- Switched from using Spring’s
@NonNull/@Nullableannotations to Microsphere’s own@Nonnull/@NullableinConfigurationMetadataRepository.java, and updated all relevant method signatures accordingly.
CI/CD Workflow Enhancement:
- Added a step in
.github/workflows/maven-publish.ymlto automatically merge changes fromrelease-1.xintodev-1.xafter publishing, with error handling for missing branches and merge conflicts.
Full Changelog: v0.1.6...v0.1.7