Skip to content

Releases: microsphere-projects/microsphere-spring

v0.2.5

07 Nov 05:50
8d30536

Choose a tag to compare

What's Changed

CI/CD

  • Added a new Maven build matrix entry and profile for spring-framework-7.0, including updates to the SpringVersion enum

Features

  • Refactored MimeTypeUtils.getSubtypeSuffix to use substringAfter and EMPTY_STRING for improved clarity and null handling, and added related imports.

  • Changed the HTTP methods resolution strategy for WebEndpointMapping #140

Dependency

  • Bump io.github.microsphere-projects:microsphere-java from 0.1.6 to 0.1.7

  • Bump org.apache.tomcat.embed:tomcat-embed-core from 10.1.46 to 10.1.47 @dependabot[bot] in #139

  • Added the Spring milestone repository to the parent POM to support pre-release dependencies

  • Updated versions for several dependencies (e.g., Tomcat, Microsphere Java), and marked some as optional in test modules

Documentation

  • Standardized Javadoc example comments in WebEndpointMapping.java to use "Servlet endpoint" instead of "servlet endpoint" for consistency and clarity.

  • Fix typo in JavaDoc example usage comment by @mercyblitz in #145

  • Corrected and clarified JavaDoc examples in WebEndpointMapping for better readability

  • Updated documentation and test coverage for Spring 7.0 compatibility

Full Changelog: 0.2.4...0.2.5

v0.1.5

07 Nov 05:53
06d977c

Choose a tag to compare

What's Changed

Features

  • Refactored MimeTypeUtils.getSubtypeSuffix to use substringAfter and EMPTY_STRING for improved clarity and null handling, and added related imports.

  • Changed the HTTP methods resolution strategy for WebEndpointMapping #140

Dependency

  • Bump io.github.microsphere-projects:microsphere-java from 0.1.6 to 0.1.7

Documentation

  • Standardized Javadoc example comments in WebEndpointMapping.java to use "Servlet endpoint" instead of "servlet endpoint" for consistency and clarity.

  • Fix typo in JavaDoc example usage comment by @mercyblitz in #145

  • Corrected and clarified JavaDoc examples in WebEndpointMapping for better readability

Full Changelog: 0.1.4...0.1.5

v0.2.4

27 Oct 06:50
5d565cf

Choose a tag to compare

What's Changed

Features

  • WebEndpointMapping
    • Enhanced the equals method in WebEndpointMapping to include the kind field in equality checks, ensuring more accurate object comparisons.
    • Updated the toJSON method in WebEndpointMapping to include the kind field in the serialized output, and added a helper method to support this.

Dependency and Version Updates

  • Bumped the versions:

    • spring.version to 6.2.12
    • reactor.version to 2024.0.11
    • logback dependency to 1.5.19
  • Updated the documented latest versions for the 0.2.x and 0.1.x branches in README.md.

Testing

  • WebEndpointMappingTest
    • Adjusted the test in WebEndpointMappingTest to verify that mappings with different kind values are not considered equal.
    • Updated the test resource web-mapping-descriptor.json to include the kind field for consistency with the new serialization.

Full Changelog: 0.2.3...0.2.4

v0.1.4

27 Oct 06:55
cec5abb

Choose a tag to compare

What's Changed

Features

  • WebEndpointMapping
    • Enhanced the equals method in WebEndpointMapping to include the kind field in equality checks, ensuring more accurate object comparisons.
    • Updated the toJSON method in WebEndpointMapping to include the kind field in the serialized output, and added a helper method to support this.

Testing

  • WebEndpointMappingTest
    • Adjusted the test in WebEndpointMappingTest to verify that mappings with different kind values are not considered equal.
    • Updated the test resource web-mapping-descriptor.json to include the kind field for consistency with the new serialization.

Documentation

  • Corrected minor formatting in the JavaDoc example usage for BeanPropertyChangedEvent.

Full Changelog: 0.1.3...0.1.4

v0.2.3

17 Oct 11:29
832c606

Choose a tag to compare

Key Changes

Refactor

  • Minor refactoring in SpringPropertySourcesURLConnectionAdapter to use static imports for MimeType.valueOf for improved readability.

Dependency Management

  • Bumped sqlite-jdbc version from 3.36.0.3 to 3.41.2.2
  • Added Apache Zookeeper and Curator dependencies
  • Added Zookeeper and Curator dependencies

Testing

  • Introduced a new annotation EmbeddedZookeeperServer in microsphere-spring-test to allow easy startup of embedded Zookeeper servers for Spring integration tests, including configuration options for port, data directory, and tick time.
  • Refactored test class AnnotationUtilsTest to use package-private visibility for better test encapsulation.
  • Added bean name assertion in EmbeddedDataBaseBeanDefinitionRegistrar to prevent duplicate bean definitions and moved duplicate check to a dedicated method.
  • Improved EmbeddedTomcatContextLoader to ensure context configuration classes are set correctly, enhancing test context setup robustness.

Build

  • Updated .github/workflows/maven-build.yml to trigger builds for pull requests on main, dev, and release branches, improving CI coverage.

Documentation

  • Major rewrite and expansion of the README.md to provide clearer project overview, module breakdown, getting started instructions, example usage, and documentation links, making it easier for new users and contributors to understand and use the project.
  • Addition of a CODE_OF_CONDUCT.md file, establishing community guidelines and expectations for contributors and maintainers.

Full Changelog: 0.2.2...0.2.3

v0.1.3

17 Oct 11:30
3f33c6c

Choose a tag to compare

Key Changes

Refactor

  • Minor refactoring in SpringPropertySourcesURLConnectionAdapter to use static imports for MimeType.valueOf for improved readability.

Dependency Management

  • Bumped sqlite-jdbc version from 3.36.0.3 to 3.41.2.2
  • Added Apache Zookeeper and Curator dependencies
  • Added Zookeeper and Curator dependencies

Testing

  • Introduced a new annotation EmbeddedZookeeperServer in microsphere-spring-test to allow easy startup of embedded Zookeeper servers for Spring integration tests, including configuration options for port, data directory, and tick time.
  • Refactored test class AnnotationUtilsTest to use package-private visibility for better test encapsulation.
  • Added bean name assertion in EmbeddedDataBaseBeanDefinitionRegistrar to prevent duplicate bean definitions and moved duplicate check to a dedicated method.
  • Improved EmbeddedTomcatContextLoader to ensure context configuration classes are set correctly, enhancing test context setup robustness.

Documentation

  • Major rewrite and expansion of the README.md to provide clearer project overview, module breakdown, getting started instructions, example usage, and documentation links, making it easier for new users and contributors to understand and use the project.
  • Addition of a CODE_OF_CONDUCT.md file, establishing community guidelines and expectations for contributors and maintainers.

Full Changelog: 0.1.2...0.1.3

v0.2.2

04 Oct 12:05
d56e998

Choose a tag to compare

Features

Features

  • Annotated @ConfigurationProperty for Spring Components.
  • Synced the features from Spring WebMVC to Spring WebFlux.

Bugfix

  • The callback methods do not work on BeanListener.

Refactor

  • Refactored AbstractInjectionPointDependencyResolver to improve extensibility: made key fields protected, added detailed class-level documentation, and streamlined dependency type resolution logic for better handling of arrays and parameterized types. Also, unified bean factory setup via setBeanFactory.
  • Updated BeanMethodInjectionPointDependencyResolver and ConstructionInjectionPointDependencyResolver to consistently implement no-op methods for unsupported injection point types, ensuring interface completeness and clearer intent.
  • Using logback-test.xml to replace the logback.xml for testing.
  • Improved JavaDoc comments and method descriptions in PropertyValuesUtils, clarified its usage, updated @since tags, and refactored inheritance/interfaces for better utility.

Testing

  • Added the module microsphere-spring-test for embedded Tomcat, DataSource, and Servlet Mock components.
  • Enhanced testing coverage.

Build and Dependency Management

  • Updated Maven build workflow to support Java 25 and trigger on both dev and release branches for pull requests.
  • Changed Maven publish workflow to use the publish profile instead of release.
  • Added new dependencies to microsphere-spring-context/pom.xml for annotation processing and testing, and removed the obsolete JSR 305 dependency.

Full Changelog: 0.2.1...0.2.2

v0.1.2

04 Oct 12:03
1ac131a

Choose a tag to compare

Features

Features

  • Annotated @ConfigurationProperty for Spring Components.
  • Synced the features from Spring WebMVC to Spring WebFlux.

Bugfix

  • The callback methods do not work on BeanListener.

Refactor

  • Refactored AbstractInjectionPointDependencyResolver to improve extensibility: made key fields protected, added detailed class-level documentation, and streamlined dependency type resolution logic for better handling of arrays and parameterized types. Also, unified bean factory setup via setBeanFactory.
  • Updated BeanMethodInjectionPointDependencyResolver and ConstructionInjectionPointDependencyResolver to consistently implement no-op methods for unsupported injection point types, ensuring interface completeness and clearer intent.
  • Using logback-test.xml to replace the logback.xml for testing.
  • Improved JavaDoc comments and method descriptions in PropertyValuesUtils, clarified its usage, updated @since tags, and refactored inheritance/interfaces for better utility.

Testing

  • Added the module microsphere-spring-test for embedded Tomcat, DataSource, and Servlet Mock components.
  • Enhanced testing coverage.

Build and Dependency Management

  • Updated Maven build workflow to support Java 25 and trigger on both dev-1.x and release-1.x branches for pull requests.
  • Changed Maven publish workflow to use the publish profile instead of release.
  • Added new dependencies to microsphere-spring-context/pom.xml for annotation processing and testing, and removed the obsolete JSR 305 dependency.

Full Changelog: 0.1.1...0.1.2

v0.2.1

11 Jan 12:30
7e35d1e

Choose a tag to compare

Features

Codebase

  • [Codebase] Sync code from 1.x branch to main branch #89
  • [Testing] Introduce Spring Testing for Web modules #80

Bugfix

  • [Bug] NullPointerException on @EnableWebMvcExtension without specifying HandlerInterceptor #77
  • [Bug] Fix JavaDoc #78

Refactor

  • [Refactor] Refactor the attribute methods on the annotation EnableWebMvcExtension #79
  • [Refactor] Make the methods of HandlerMethodAdvice as default #84
  • [Refactor] Make the methods of HandlerMethodArgumentInterceptor declaring as default #85
  • [Refactor] Make the methods of HandlerMethodInterceptor declaring as default #86

Full Changelog: 0.2.0...0.2.1

v0.1.1

11 Jan 12:28
9c2d842

Choose a tag to compare

Features

Codebase

  • [Codebase] Sync code from main branch to 1.x branch #88
  • [Testing] Introduce Spring Testing for Web modules #80

Bugfix

  • [Bug] NullPointerException on @EnableWebMvcExtension without specifying HandlerInterceptor #77
  • [Bug] Fix JavaDoc #78

Refactor

  • [Refactor] Refactor the attribute methods on the annotation EnableWebMvcExtension #79
  • [Refactor] Make the methods of HandlerMethodAdvice as default #84
  • [Refactor] Make the methods of HandlerMethodArgumentInterceptor declaring as default #85
  • [Refactor] Make the methods of HandlerMethodInterceptor declaring as default #86

Full Changelog: 0.1.0...0.1.1