Skip to content

Releases: microsphere-projects/microsphere-spring-boot

0.2.11

28 Apr 06:26

Choose a tag to compare

Release Notes for Version 0.2.11

New Features

  • Introduced Use MockEnvironment.withProperty in 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 MeterRegistry class names for better test coverage (34bf684, 525068f).

Dependency Updates

  • Bumped Spring Boot 4.0 to version 4.0.6 (3665d16).
  • Bumped microsphere-spring to 0.2.14 (76a0385) and 0.2.13 (e5665d5).
  • Added JUnit BOM and Spring milestone repository (5b475ec).

Test Improvements

  • Improved tests by using MockEnvironment.withProperty for 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) and 3.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.yml updates list (779b968, ae77002).
  • Removed exclusions from microsphere test 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

28 Apr 06:25
bb06c0a

Choose a tag to compare

Release Notes – Version 0.1.11

New Features

  • Utilize type-based @ConditionalOnBean for MeterRegistry support. (#d658294)

Dependency Updates

  • Bump microsphere-spring dependency to 0.1.14 with improved compatibility. (#ec0c13d)
  • Drop previously excluded microsphere-spring-test dependencies. (#33c07fd)
  • Import JUnit BOM via dependencyManagement for 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-parallel setting. (#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 MockEnvironment setup with .withProperty for cleaner tests. (#0663ff5)
  • Register test class explicitly in @SpringBootTest configurations. (#bb1f3ba)
  • Add tests for METER_REGISTRY_CLASS_NAME constant 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

08 Apr 12:39

Choose a tag to compare

What's Changed

Conditional bean creation:

  • The actuatorTaskScheduler bean in ActuatorAutoConfiguration is now only created if a MeterRegistry bean is present, by adding the @ConditionalOnBean(MeterRegistry.class) annotation.

Test improvements and coverage:

  • The ActuatorAutoConfigurationTest class has been refactored to use nested test classes, explicitly testing both the presence and absence of the MeterRegistry bean, and verifying that actuatorTaskScheduler is only created when appropriate.
  • The ActuatorEndpointsAutoConfigurationTest class 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

08 Apr 12:33

Choose a tag to compare

What's Changed

Conditional bean creation:

  • The actuatorTaskScheduler bean in ActuatorAutoConfiguration is now only created if a MeterRegistry bean is present, by adding the @ConditionalOnBean(MeterRegistry.class) annotation.

Test improvements and coverage:

  • The ActuatorAutoConfigurationTest class has been refactored to use nested test classes, explicitly testing both the presence and absence of the MeterRegistry bean, and verifying that actuatorTaskScheduler is only created when appropriate.
  • The ActuatorEndpointsAutoConfigurationTest class 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

07 Apr 12:46

Choose a tag to compare

What's Changed

  • Compatible with Spring Boot 4.0.5

Full Changelog: v0.2.8...v0.2.9

v0.1.9

07 Apr 12:46

Choose a tag to compare

What's Changed

  • Added central-publishing-maven-plugin into the module microsphere-spring-boot-compatible that is not a deployed artifact.

Full Changelog: v0.1.8...v0.1.9

v0.2.8

05 Apr 11:27

Choose a tag to compare

What's Changed

Dependency version updates:

  • Updated the microsphere-spring.version property from 0.2.8 to 0.2.9 in microsphere-spring-boot-parent/pom.xml to use the latest Microsphere Spring release.
  • Updated the parent microsphere-build version from 0.2.5 to 0.2.6 in pom.xml to align with the latest build configurations.

Full Changelog: v0.2.7...v0.2.8

v0.1.8

05 Apr 11:36

Choose a tag to compare

What's Changed

Dependency version updates:

  • Updated the microsphere-spring.version property from 0.1.8 to 0.1.9 in microsphere-spring-boot-parent/pom.xml to use the latest Microsphere Spring release.
  • Updated the parent microsphere-build version from 0.2.5 to 0.2.6 in pom.xml to align with the latest build configurations.

Full Changelog: v0.1.7...v0.1.8

v0.2.7

03 Apr 06:58

Choose a tag to compare

What's Changed

Dependency and Build Updates:

  • Upgraded microsphere-spring.version from 0.2.6 to 0.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/@Nullable annotations to Microsphere’s own @Nonnull/@Nullable in ConfigurationMetadataRepository.java, and updated all relevant method signatures accordingly.

CI/CD Workflow Enhancement:

  • Added a step in .github/workflows/maven-publish.yml to automatically merge changes from release into main after publishing, with error handling for missing branches and merge conflicts.

Full Changelog: 0.2.6...v0.2.7

v0.1.7

03 Apr 07:03

Choose a tag to compare

What's Changed

Dependency and Build Updates:

  • Upgraded microsphere-spring.version from 0.1.6 to 0.1.8 and junit-jupiter.version from 6.0.3 to 5.14.3 in microsphere-spring-boot-parent/pom.xml for improved compatibility and testing.
  • Replaced the java8-16 profile with a spring-boot-2.7 profile, activating it by default and setting spring-boot.version to 2.7.18.

Annotation Consistency:

  • Switched from using Spring’s @NonNull/@Nullable annotations to Microsphere’s own @Nonnull/@Nullable in ConfigurationMetadataRepository.java, and updated all relevant method signatures accordingly.

CI/CD Workflow Enhancement:

  • Added a step in .github/workflows/maven-publish.yml to automatically merge changes from release-1.x into dev-1.x after publishing, with error handling for missing branches and merge conflicts.

Full Changelog: v0.1.6...v0.1.7