v0.2.2
What's Changed
Refactoring
- Removed the custom
toJSONmethod fromServiceInstanceUtilsand its related imports, now relying directly on theWebEndpointMapping.toJSONmethod for serialization. This reduces code duplication and potential maintenance issues. - Updated the usage in
attachMetadatato use a method reference (WebEndpointMapping::toJSON) instead of a lambda, further simplifying the code.
Testing
- Refactored tests to use the updated serialization approach and reorganized the
testParseWebEndpointMappingstest for clarity.
Dependency
- Updated the
microsphere-spring-boot.versionproperty inmicrosphere-spring-cloud-parent/pom.xmlto0.2.4.
CI/CD Workflow
- Changed the Maven profile used in
.github/workflows/maven-publish.ymlfromreleasetopublish, aligning with updated publishing practices.
Full Changelog: 0.2.1...0.2.2