Releases: microsphere-projects/microsphere-spring-cloud
v0.2.10
v0.1.10
What's Changed
- Bump org.testcontainers:testcontainers-bom from 2.0.4 to 2.0.5 by @dependabot[bot] in #114
Full Changelog: 0.2.9...v0.1.10
v0.2.9
What's Changed
New extension mechanism for Specification beans
- Introduced the
SpecificationCustomizerinterface (SpecificationCustomizer.java) to allow customization ofSpecificationbeans after initialization. - Added
SpecificationBeanPostProcessor, a generic bean post-processor that applies all registeredSpecificationCustomizerinstances to eachSpecificationbean. - Registered the new auto-configuration (
SpecificationAutoConfiguration) for the above post-processor, with corresponding entries inspring.factoriesandAutoConfiguration.imports. - Added a test (
SpecificationAutoConfigurationTest) to verify auto-configuration and customizer registration.
Refactoring and cleanup in OpenFeign module
- Removed the Feign-specific
FeignClientSpecificationPostProcessorand its test, consolidating post-processing logic into the new generic mechanism. - Removed redundant bean definitions and customizer logic from
FeignClientAutoRefreshAutoConfiguration, delegating customization to the new SPI. - Added a new
FeignAutoConfigurationto register a default no-op request interceptor for all Feign clients.
Build and dependency improvements
- Updated
pom.xmlfiles to consistently setgroupId,packaging, and add missing dependencies between modules. - Marked the
microsphere-spring-boot-actuatordependency as optional inmicrosphere-spring-cloud-commons. - Added a Maven profile for Spring Cloud Hoxton compatibility in the OpenFeign module.
Full Changelog: 0.2.8...v0.2.9
v0.1.9
What's Changed
New extension mechanism for Specification beans
- Introduced the
SpecificationCustomizerinterface (SpecificationCustomizer.java) to allow customization ofSpecificationbeans after initialization. - Added
SpecificationBeanPostProcessor, a generic bean post-processor that applies all registeredSpecificationCustomizerinstances to eachSpecificationbean. - Registered the new auto-configuration (
SpecificationAutoConfiguration) for the above post-processor, with corresponding entries inspring.factoriesandAutoConfiguration.imports. - Added a test (
SpecificationAutoConfigurationTest) to verify auto-configuration and customizer registration.
Refactoring and cleanup in OpenFeign module
- Removed the Feign-specific
FeignClientSpecificationPostProcessorand its test, consolidating post-processing logic into the new generic mechanism. - Removed redundant bean definitions and customizer logic from
FeignClientAutoRefreshAutoConfiguration, delegating customization to the new SPI. - Added a new
FeignAutoConfigurationto register a default no-op request interceptor for all Feign clients.
Build and dependency improvements
- Updated
pom.xmlfiles to consistently setgroupId,packaging, and add missing dependencies between modules. - Marked the
microsphere-spring-boot-actuatordependency as optional inmicrosphere-spring-cloud-commons. - Added a Maven profile for Spring Cloud Hoxton compatibility in the OpenFeign module.
Full Changelog: 0.1.8...v0.1.9
v0.2.8
What's Changed
Dependency version updates:
- Updated the
microsphere-spring-boot.versionproperty from0.2.7to0.2.8inmicrosphere-spring-cloud-parent/pom.xmlto use the latest Spring Boot BOM. - Updated the parent project version from
0.2.5to0.2.6inpom.xmlto align with the latest build configuration.
Full Changelog: v0.1.7...v0.2.8
v0.1.8
What's Changed
Dependency version updates:
- Updated the
microsphere-spring-boot.versionproperty from0.1.7to0.1.8inmicrosphere-spring-cloud-parent/pom.xmlto use the latest Spring Boot BOM. - Updated the parent project version from
0.2.5to0.2.6inpom.xmlto align with the latest build configuration.
Full Changelog: v0.1.7...v0.1.8
v0.2.7
What's Changed
Dependency and Annotation Updates:
- Upgraded the
microsphere-spring-bootdependency version from0.2.6to0.2.7inmicrosphere-spring-cloud-parent/pom.xml, ensuring the project uses the latest features and fixes. - Replaced imports and usages of Spring's
@NonNullannotation withio.microsphere.annotation.Nonnullin bothRegistrationEvent.javaandDecoratedFeignComponent.javato standardize null-safety annotations across the codebase.
CI/CD Workflow Automation:
- Added a step to the
.github/workflows/maven-publish.ymlworkflow to automatically merge thereleasebranch intomainafter publishing, improving branch synchronization and reducing manual effort. The step includes error handling for missing branches and merge conflicts.
Full Changelog: v0.2.6...v0.2.7
v0.1.7
What's Changed
Dependency and Annotation Updates:
- Upgraded the
microsphere-spring-bootdependency version from0.1.6to0.1.7inmicrosphere-spring-cloud-parent/pom.xml, ensuring the project uses the latest features and fixes. - Replaced imports and usages of Spring's
@NonNullannotation withio.microsphere.annotation.Nonnullin bothRegistrationEvent.javaandDecoratedFeignComponent.javato standardize null-safety annotations across the codebase.
CI/CD Workflow Automation:
- Added a step to the
.github/workflows/maven-publish.ymlworkflow to automatically merge therelease-1.xbranch intodev-1.xafter publishing, improving branch synchronization and reducing manual effort. The step includes error handling for missing branches and merge conflicts.
Full Changelog: v0.1.7...v0.1.7
v0.2.6
What's Changed
Documentation Improvements:
-
Added comprehensive JavaDoc comments with example usages to key classes and methods in
ReactiveDiscoveryClientAdapter,UnionDiscoveryClient,InMemoryServiceRegistry, and their related auto-configuration classes. This makes it easier for developers to understand and use these components.
CI/CD Workflow Updates: -
Updated GitHub Actions workflows to use the latest versions of
actions/checkoutandactions/setup-java(v5), switched Maven build steps to use the Maven wrapper (./mvnw), and ensured the wrapper script is executable. -
Enhanced the Maven publish workflow by validating version formats, automating git tagging and GitHub release creation, and incrementing the patch version after a release.
Dependency and Build Tooling:
- Added a
.github/dependabot.ymlfile to enable automated dependency updates for Maven projects. - Updated the Maven wrapper to version 3.9.9, switched the distribution URL to Aliyun’s mirror, and changed the wrapper configuration for improved reliability and speed.
Minor Improvements:
- Clarified a comment in the
microsphere-spring-cloud-commons/pom.xmlto specify that a dependency is for Microsphere Test.
Full Changelog: 0.2.5...v0.2.6
v0.1.6
What's Changed
Documentation Improvements:
-
Added comprehensive JavaDoc comments with example usages to key classes and methods in
ReactiveDiscoveryClientAdapter,UnionDiscoveryClient,InMemoryServiceRegistry, and their related auto-configuration classes. This makes it easier for developers to understand and use these components.
CI/CD Workflow Updates: -
Updated GitHub Actions workflows to use the latest versions of
actions/checkoutandactions/setup-java(v5), switched Maven build steps to use the Maven wrapper (./mvnw), and ensured the wrapper script is executable. -
Enhanced the Maven publish workflow by validating version formats, automating git tagging and GitHub release creation, and incrementing the patch version after a release.
Dependency and Build Tooling:
- Added a
.github/dependabot.ymlfile to enable automated dependency updates for Maven projects. - Updated the Maven wrapper to version 3.9.9, switched the distribution URL to Aliyun’s mirror, and changed the wrapper configuration for improved reliability and speed.
Minor Improvements:
- Clarified a comment in the
microsphere-spring-cloud-commons/pom.xmlto specify that a dependency is for Microsphere Test.
Full Changelog: 0.2.5...v0.1.6