Releases: microsphere-projects/microsphere-gateway
v0.2.1
What's Changed
Features
-
Adds
ConfigUtils, a utility class for binding and validating configuration objects from the environment or metadata, supporting the new modular structure. -
Introduces
ConditionalOnMicrosphereGatewayEnabledandConditionalOnMicrosphereWebEndpointMappingEnabledannotations to simplify conditional configuration based on gateway properties.
Module restructuring and renaming
- The original
microsphere-spring-cloud-gatewaymodule is renamed and refactored intomicrosphere-spring-cloud-gateway-commons, and two new modules are introduced:microsphere-spring-cloud-gateway-server-webflux(for reactive/WebFlux) andmicrosphere-spring-cloud-gateway-server-webmvc(for servlet/MVC). This is reflected across all POM files and documentation.
Dependency and configuration updates
-
Dependency management is updated to reflect the new module structure, including adding new dependencies for validation and test support, and removing or updating Spring Cloud Gateway and related dependencies. The parent POM is updated to use a newer version of
microsphere-spring-cloud. -
The Spring Cloud Alibaba dependency import is commented out in the parent POM, possibly for compatibility or simplification reasons.
Documentation improvements
- The
README.mdis updated to reflect the new module names, usage instructions, and JavaDoc links, ensuring clarity for users on how to consume the new modules.
Full Changelog: 0.2.0...0.2.1
v0.1.1
What's Changed
Features
-
Adds
ConfigUtils, a utility class for binding and validating configuration objects from the environment or metadata, supporting the new modular structure. -
Introduces
ConditionalOnMicrosphereGatewayEnabledandConditionalOnMicrosphereWebEndpointMappingEnabledannotations to simplify conditional configuration based on gateway properties.
Module and Dependency Refactor
-
Introduced the new
microsphere-spring-cloud-gateway-commonsmodule as a shared dependency, and split the originalmicrosphere-spring-cloud-gatewayintomicrosphere-spring-cloud-gateway-commonsandmicrosphere-spring-cloud-gateway-server-webfluxfor better modularization. Updated dependency management inmicrosphere-gateway-dependencies/pom.xmlto include these modules. -
Updated the documentation (
README.md) to reflect the new module structure, revised artifact names, and updated JavaDoc and Maven dependency instructions.
Full Changelog: 0.1.0...0.1.1
v0.2.0
What's Changed
CI/CD Workflow
-
Added
.github/workflows/maven-build.ymlto implement a matrix build and test workflow for multiple Java and Spring Cloud versions, including integration with Testcontainers and Codecov for coverage reporting. -
Added
.github/workflows/maven-publish.ymlto automate publishing artifacts to Maven Central on pushes to thereleasebranch, supporting workflow dispatch with custom revision input. -
Removed the legacy
.github/workflows/maven.ymlworkflow, which only supported Java 8 and a simpler build process.
Documentation
-
Completely rewrote and expanded the
README.mdto provide detailed project information, badges, module descriptions, getting started instructions, contribution guidelines, and documentation links. -
Added a
CODE_OF_CONDUCT.mdfile to establish clear guidelines for contributor behavior and community standards.
Dependency and Profile Management
- Refactored
microsphere-gateway-parent/pom.xmlto:- Move to explicit BOM and dependency management for Spring Boot, Spring Cloud, Alibaba, and Testcontainers.
- Replace legacy profiles with new profiles for different Spring Cloud versions (2022–2025), each setting appropriate dependency versions.
- Add a dedicated
testcontainersprofile for enabling Testcontainers in integration tests. - Clean up and modernize dependency declarations and profile activations.
Module and Dependency
- Updated
microsphere-spring-cloud-gateway-mvc/pom.xmlto:- Remove redundant or incorrect version properties and dependency versions.
- Replace
microsphere-spring-webwith the correctmicrosphere-spring-webmvcdependency. - Rely on BOMs for version management instead of hardcoded values.
Full Changelog: https://github.com/microsphere-projects/microsphere-gateway/commits/0.2.0
v0.1.0
What's Changed
Build and CI/CD Workflow Improvements
-
Added
.github/workflows/maven-build.ymlto implement a matrix build for multiple Java and Spring Cloud versions, including integration with Testcontainers and Codecov for coverage reporting. This workflow runs on pushes and pull requests to thedev-1.xandrelease-1.xbranches. -
Added
.github/workflows/maven-publish.ymlfor publishing artifacts to Maven Central on pushes torelease-1.xand via manual dispatch, supporting secure credential management for deployment. -
Removed the old
.github/workflows/maven.ymlworkflow, which was limited to building on Java 8 and only tracked themainbranch.
Documentation and Community
-
Significantly enhanced
README.mdwith detailed project description, badges, module explanations, getting started instructions, contribution guidelines, and documentation links. -
Added a new
CODE_OF_CONDUCT.mdto establish community standards and reporting processes, adapted from the Contributor Covenant. -
Cleaned up the
microsphere-spring-cloud-gateway-mvc/README.mdby removing outdated and empty feature sections.
Dependency and Configuration Management
-
Refactored
microsphere-gateway-parent/pom.xmlto use explicit version properties, improved dependency management by importing BOMs for Spring Boot, Spring Cloud, Alibaba, and Testcontainers, and restructured profiles for different Spring Cloud versions. Also added a profile for Testcontainers integration. -
Removed the dependency on
microsphere-spring-cloud-gateway-mvcfrom themicrosphere-gateway-dependencies/pom.xmlto streamline the dependency tree.
Full Changelog: https://github.com/microsphere-projects/microsphere-gateway/commits/0.1.0