Skip to content

Releases: microsphere-projects/microsphere-gateway

v0.2.1

12 Nov 14:47
2d43f1a

Choose a tag to compare

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 ConditionalOnMicrosphereGatewayEnabled and ConditionalOnMicrosphereWebEndpointMappingEnabled annotations to simplify conditional configuration based on gateway properties.

Module restructuring and renaming

  • The original microsphere-spring-cloud-gateway module is renamed and refactored into microsphere-spring-cloud-gateway-commons, and two new modules are introduced: microsphere-spring-cloud-gateway-server-webflux (for reactive/WebFlux) and microsphere-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.md is 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

12 Nov 14:49
1d422b1

Choose a tag to compare

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 ConditionalOnMicrosphereGatewayEnabled and ConditionalOnMicrosphereWebEndpointMappingEnabled annotations to simplify conditional configuration based on gateway properties.

Module and Dependency Refactor

  • Introduced the new microsphere-spring-cloud-gateway-commons module as a shared dependency, and split the original microsphere-spring-cloud-gateway into microsphere-spring-cloud-gateway-commons and microsphere-spring-cloud-gateway-server-webflux for better modularization. Updated dependency management in microsphere-gateway-dependencies/pom.xml to 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

06 Nov 14:07
65706f5

Choose a tag to compare

What's Changed

CI/CD Workflow

  • Added .github/workflows/maven-build.yml to 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.yml to automate publishing artifacts to Maven Central on pushes to the release branch, supporting workflow dispatch with custom revision input.

  • Removed the legacy .github/workflows/maven.yml workflow, which only supported Java 8 and a simpler build process.

Documentation

  • Completely rewrote and expanded the README.md to provide detailed project information, badges, module descriptions, getting started instructions, contribution guidelines, and documentation links.

  • Added a CODE_OF_CONDUCT.md file to establish clear guidelines for contributor behavior and community standards.

Dependency and Profile Management

  • Refactored microsphere-gateway-parent/pom.xml to:
    • 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 testcontainers profile 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.xml to:
    • Remove redundant or incorrect version properties and dependency versions.
    • Replace microsphere-spring-web with the correct microsphere-spring-webmvc dependency.
    • 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

06 Nov 14:11
08fc4f3

Choose a tag to compare

What's Changed

Build and CI/CD Workflow Improvements

  • Added .github/workflows/maven-build.yml to 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 the dev-1.x and release-1.x branches.

  • Added .github/workflows/maven-publish.yml for publishing artifacts to Maven Central on pushes to release-1.x and via manual dispatch, supporting secure credential management for deployment.

  • Removed the old .github/workflows/maven.yml workflow, which was limited to building on Java 8 and only tracked the main branch.

Documentation and Community

  • Significantly enhanced README.md with detailed project description, badges, module explanations, getting started instructions, contribution guidelines, and documentation links.

  • Added a new CODE_OF_CONDUCT.md to establish community standards and reporting processes, adapted from the Contributor Covenant.

  • Cleaned up the microsphere-spring-cloud-gateway-mvc/README.md by removing outdated and empty feature sections.

Dependency and Configuration Management

  • Refactored microsphere-gateway-parent/pom.xml to 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-mvc from the microsphere-gateway-dependencies/pom.xml to streamline the dependency tree.

Full Changelog: https://github.com/microsphere-projects/microsphere-gateway/commits/0.1.0