Skip to content

Releases: microsphere-projects/microsphere-gateway

v0.2.3

28 Apr 16:45

Choose a tag to compare

Release Notes for Version 0.2.3

New Features

  • Added Copilot-powered release notes generation to streamline changelog drafting. (b06b06e)
  • Introduced a workflow to sync branches from upstream automatically. (5c9adf8)

Bug Fixes

  • Corrected indentation issues in dependabot.yml, ensuring proper configuration parsing. (d407903)

Other Changes

  • Updated Maven wrapper to version 3.9.15 for enhanced build compatibility. (fb2d3e6)
  • Bumped Microsphere Spring Cloud parent version to 0.2.10. (8f2f9d4)
  • Updated branch version numbers in the README for consistency. (87c23b2)
  • Simplified merge workflow by introducing matrix strategy. (10d8934)
  • Added workflow contents read permission for better automation control. (ddf75d4)

For full details, visit the commit history.

v0.1.3

28 Apr 16:42
ea98097

Choose a tag to compare

Release Notes for Version 0.1.3

New Features

  • Release Automation: Added automatic release note generation in the Maven publish workflow. (5be36ca)

Other Changes

  • Dependencies: Updated parent project and Spring Cloud BOM versions. (2cbb4d0)
  • Documentation: Updated README with latest branch versions. (0050c6d)
  • Build Tools: Updated Maven wrapper to version 3.9.15. (cbc93c6)
  • Workflows: Adjusted GitHub workflow permissions to read-only for contents. (21abd7c)

v0.2.2

06 Apr 15:17

Choose a tag to compare

What's Changed

CI/CD Automation and Workflows:

  • Added a workflow to automatically merge changes from main into dev and release branches on every push to main, streamlining branch synchronization.
  • Introduced a workflow to generate and publish wiki documentation from Java source files and scripts to the project's GitHub wiki.
  • Enhanced the Maven publishing workflow to include version validation, automated tagging and release creation, automatic patch version bumping, and merging release changes back into main.

Dependency and Build System Updates:

  • Added Dependabot configuration for automated Maven dependency updates.
  • Updated Maven Wrapper to version 3.9.9, switched to a faster mirror, and simplified configuration.
  • Upgraded microsphere-spring-cloud to version 0.2.8 and removed unused dependency and profile configurations from the parent POM.

Build and Test Workflow Improvements:

  • Updated the Maven build workflow to support both main and dev branches, upgraded GitHub Actions to latest versions, switched to using the Maven wrapper, and removed Testcontainers setup from the build matrix.

Testing and Configuration:

  • Added a sample Docker Compose file for Nacos service registry and a basic application.yaml for Nacos integration in tests.
  • Removed unused logback-test.xml from test resources.

Code and Documentation Fixes:

  • Fixed package and import inconsistencies in Java code, ensuring correct annotation and logger usage.
  • Corrected the project name in the license section of the README.md.

Full Changelog: 0.2.1...v0.2.2

v0.1.2

06 Apr 15:13

Choose a tag to compare

What's Changed

CI/CD and Release Automation Improvements:

  • Added a new .github/dependabot.yml configuration to enable daily Maven dependency update checks via Dependabot.
  • Enhanced the maven-publish.yml workflow by adding version format validation, a new release job that creates tags and GitHub releases, automatically bumps the patch version after publishing, and merges the release branch into the development branch.
  • Updated GitHub Actions to use the latest versions of actions/checkout and actions/setup-java, switched Maven build to use the Maven wrapper (./mvnw), and removed Testcontainers setup from the build workflow.

Dependency and Build Configuration Updates:

  • Upgraded Maven wrapper to version 3.9.9, changed the distribution source to Aliyun, and set the wrapper to use only scripts.
  • Updated microsphere-spring-cloud.version to 0.1.8 and removed Testcontainers and Spring Cloud related dependency management and profiles from the parent POM, streamlining dependency handling.

Codebase Cleanup and Minor Fixes:

  • Removed unused test resource files such as logback-test.xml and service-registry-servers.yml from test directories.
  • Updated project references and copyright/license statements for consistency.
  • Refactored code to use project-specific annotations and logging utilities, and replaced @NonNull with @Nonnull for better clarity and consistency.

Full Changelog: 0.1.1...v0.1.2

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