Releases: microsphere-projects/microsphere-spring
v0.2.5
What's Changed
CI/CD
- Added a new Maven build matrix entry and profile for
spring-framework-7.0, including updates to theSpringVersionenum
Features
-
Refactored
MimeTypeUtils.getSubtypeSuffixto usesubstringAfterandEMPTY_STRINGfor 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-javafrom 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.javato 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
WebEndpointMappingfor better readability -
Updated documentation and test coverage for Spring 7.0 compatibility
Full Changelog: 0.2.4...0.2.5
v0.1.5
What's Changed
Features
-
Refactored
MimeTypeUtils.getSubtypeSuffixto usesubstringAfterandEMPTY_STRINGfor 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-javafrom 0.1.6 to 0.1.7
Documentation
-
Standardized Javadoc example comments in
WebEndpointMapping.javato 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
WebEndpointMappingfor better readability
Full Changelog: 0.1.4...0.1.5
v0.2.4
What's Changed
Features
WebEndpointMapping- Enhanced the
equalsmethod inWebEndpointMappingto include thekindfield in equality checks, ensuring more accurate object comparisons. - Updated the
toJSONmethod inWebEndpointMappingto include thekindfield in the serialized output, and added a helper method to support this.
- Enhanced the
Dependency and Version Updates
-
Bumped the versions:
spring.versionto6.2.12reactor.versionto2024.0.11logbackdependency to1.5.19
-
Updated the documented latest versions for the
0.2.xand0.1.xbranches inREADME.md.
Testing
WebEndpointMappingTest- Adjusted the test in
WebEndpointMappingTestto verify that mappings with differentkindvalues are not considered equal. - Updated the test resource
web-mapping-descriptor.jsonto include thekindfield for consistency with the new serialization.
- Adjusted the test in
Full Changelog: 0.2.3...0.2.4
v0.1.4
What's Changed
Features
WebEndpointMapping- Enhanced the
equalsmethod inWebEndpointMappingto include thekindfield in equality checks, ensuring more accurate object comparisons. - Updated the
toJSONmethod inWebEndpointMappingto include thekindfield in the serialized output, and added a helper method to support this.
- Enhanced the
Testing
WebEndpointMappingTest- Adjusted the test in
WebEndpointMappingTestto verify that mappings with differentkindvalues are not considered equal. - Updated the test resource
web-mapping-descriptor.jsonto include thekindfield for consistency with the new serialization.
- Adjusted the test in
Documentation
- Corrected minor formatting in the JavaDoc example usage for
BeanPropertyChangedEvent.
Full Changelog: 0.1.3...0.1.4
v0.2.3
Key Changes
Refactor
- Minor refactoring in
SpringPropertySourcesURLConnectionAdapterto use static imports for MimeType.valueOf for improved readability.
Dependency Management
- Bumped sqlite-jdbc version from
3.36.0.3to3.41.2.2 - Added Apache Zookeeper and Curator dependencies
- Added Zookeeper and Curator dependencies
Testing
- Introduced a new annotation
EmbeddedZookeeperServerinmicrosphere-spring-testto allow easy startup of embedded Zookeeper servers for Spring integration tests, including configuration options for port, data directory, and tick time. - Refactored test class
AnnotationUtilsTestto use package-private visibility for better test encapsulation. - Added bean name assertion in
EmbeddedDataBaseBeanDefinitionRegistrarto prevent duplicate bean definitions and moved duplicate check to a dedicated method. - Improved
EmbeddedTomcatContextLoaderto ensure context configuration classes are set correctly, enhancing test context setup robustness.
Build
- Updated
.github/workflows/maven-build.ymlto trigger builds for pull requests onmain,dev, andreleasebranches, improving CI coverage.
Documentation
- Major rewrite and expansion of the
README.mdto 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.mdfile, establishing community guidelines and expectations for contributors and maintainers.
Full Changelog: 0.2.2...0.2.3
v0.1.3
Key Changes
Refactor
- Minor refactoring in
SpringPropertySourcesURLConnectionAdapterto use static imports for MimeType.valueOf for improved readability.
Dependency Management
- Bumped sqlite-jdbc version from
3.36.0.3to3.41.2.2 - Added Apache Zookeeper and Curator dependencies
- Added Zookeeper and Curator dependencies
Testing
- Introduced a new annotation
EmbeddedZookeeperServerinmicrosphere-spring-testto allow easy startup of embedded Zookeeper servers for Spring integration tests, including configuration options for port, data directory, and tick time. - Refactored test class
AnnotationUtilsTestto use package-private visibility for better test encapsulation. - Added bean name assertion in
EmbeddedDataBaseBeanDefinitionRegistrarto prevent duplicate bean definitions and moved duplicate check to a dedicated method. - Improved
EmbeddedTomcatContextLoaderto ensure context configuration classes are set correctly, enhancing test context setup robustness.
Documentation
- Major rewrite and expansion of the
README.mdto 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.mdfile, establishing community guidelines and expectations for contributors and maintainers.
Full Changelog: 0.1.2...0.1.3
v0.2.2
Features
Features
- Annotated
@ConfigurationPropertyfor Spring Components. - Synced the features from Spring WebMVC to Spring WebFlux.
Bugfix
- The callback methods do not work on BeanListener.
Refactor
- Refactored
AbstractInjectionPointDependencyResolverto 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 viasetBeanFactory. - Updated
BeanMethodInjectionPointDependencyResolverandConstructionInjectionPointDependencyResolverto 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@sincetags, and refactored inheritance/interfaces for better utility.
Testing
- Added the module
microsphere-spring-testfor 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
devandreleasebranches for pull requests. - Changed Maven publish workflow to use the
publishprofile instead ofrelease. - Added new dependencies to
microsphere-spring-context/pom.xmlfor annotation processing and testing, and removed the obsolete JSR 305 dependency.
Full Changelog: 0.2.1...0.2.2
v0.1.2
Features
Features
- Annotated
@ConfigurationPropertyfor Spring Components. - Synced the features from Spring WebMVC to Spring WebFlux.
Bugfix
- The callback methods do not work on BeanListener.
Refactor
- Refactored
AbstractInjectionPointDependencyResolverto 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 viasetBeanFactory. - Updated
BeanMethodInjectionPointDependencyResolverandConstructionInjectionPointDependencyResolverto 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@sincetags, and refactored inheritance/interfaces for better utility.
Testing
- Added the module
microsphere-spring-testfor 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.xandrelease-1.xbranches for pull requests. - Changed Maven publish workflow to use the
publishprofile instead ofrelease. - Added new dependencies to
microsphere-spring-context/pom.xmlfor annotation processing and testing, and removed the obsolete JSR 305 dependency.
Full Changelog: 0.1.1...0.1.2
v0.2.1
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
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