-
Notifications
You must be signed in to change notification settings - Fork 39
Release 0.2.5 #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Release 0.2.5 #147
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps the maven group with 1 update in the /microsphere-spring-parent directory: org.apache.tomcat.embed:tomcat-embed-core. Updates `org.apache.tomcat.embed:tomcat-embed-core` from 10.1.46 to 10.1.47 --- updated-dependencies: - dependency-name: org.apache.tomcat.embed:tomcat-embed-core dependency-version: 10.1.47 dependency-type: direct:production dependency-group: maven ... Signed-off-by: dependabot[bot] <support@github.com>
Updated the <revision> property in pom.xml to start the next development iteration.
…crosphere-spring-parent/maven-71b22309ad Bump org.apache.tomcat.embed:tomcat-embed-core from 10.1.46 to 10.1.47 in /microsphere-spring-parent in the maven group across 1 directory
Added <optional>true</optional> to several Tomcat, Zookeeper, and Curator dependencies in microsphere-spring-test to make them optional. Also added tomcat-embed-core as a test dependency in microsphere-spring-webmvc. This improves modularity and reduces unnecessary transitive dependencies.
Updated WebEndpointMapping.Builder to default to all HTTP methods if none are specified. Adjusted related test to verify that all HTTP methods are set by default instead of throwing an exception.
Bumped the latest version numbers for branches 0.2.x and 0.1.x in the README to reflect recent releases.
Deleted <distributionManagement> and <repositories> sections from pom.xml to simplify project configuration and remove Sonatype OSSRH deployment settings.
Added the Spring Portfolio Milestone Repository to the list of repositories and introduced a new 'spring-framework-7.0' profile with updated versions for Spring, Reactor, and JUnit. This enables building against Spring Framework 7.0 release candidates.
Added a stub implementation of getBeanProvider accepting ParameterizedTypeReference<T> to the test class. This supports newer Spring API requirements and ensures compatibility with updated interfaces.
Added SPRING_6_2_12 and SPRING_7_0_0 enum constants to the SpringVersion enum to support newer Spring Framework versions.
Updated the microsphere-java.version property in the parent POM from 0.1.6 to 0.1.7 to use the latest release.
Introduced a new SPRING_7_0 constant in the SpringVersion enum to support future Spring 7.0 releases.
Added a test case in SpringVersionTest to verify the version range for Spring Framework 7.0, ensuring coverage for the latest version.
Updated WebSourceTest to use LinkedMultiValueMap instead of HttpHeaders for matrix variable tests. This change removes the dependency on org.springframework.http.HttpHeaders and uses a more generic MultiValueMap implementation.
Introduced a default version(String version) method to the RequestPredicateVisitorAdapter interface, with documentation indicating its availability since Spring Framework 7.0.
Introduced a default version(String version) method to the RequestPredicateVisitorAdapter interface, with documentation indicating its availability since Spring Framework 7.0.
Introduced a public static inner class SpecificityComparator to allow sorting of MimeType instances by specificity, considering wildcard types, subtypes, and parameter count. This facilitates more precise handling and ordering of MIME types in collections.
Introduces unit tests for the SpecificityComparator inner class in MimeTypeUtils, covering various cases of MIME type specificity and parameter comparison.
Introduced MediaTypeUtils utility class providing a SPECIFICITY_COMPARATOR for MediaType, prioritizing quality values when comparing parameters. This aids in sorting MediaType instances by specificity and quality.
Replaces direct use of HttpHeaders.keySet() with a new HashSet populated from the headers, ensuring a proper iterator is returned. This change improves compatibility and avoids potential issues with the underlying key set implementation.
Replaces the import of SPECIFICITY_COMPARATOR from Spring's MediaType with the local MediaTypeUtils version. This change likely improves encapsulation or customizes comparator behavior for the project.
Updated ReversedProxyHandlerMappingTest to use a static value ('1') for the ID_HEADER_NAME header instead of the currentTimeMillis() value. This change improves test determinism and repeatability.
Updated the testResponseEntity method in ReversedProxyHandlerMappingTest to use a static header value ('1') instead of the dynamic currentTimeMillis(). This change improves test determinism and repeatability.
Simplified assertions in ConfigurableContentNegotiationManagerWebMvcConfigurerTest by removing checks for specific PathExtensionContentNegotiationStrategy and adjusting the strategy count assertion to require more than one strategy.
Commented out the mocking of pathContainer in several test methods within RequestPredicateKindTest. This may be in preparation for refactoring or due to changes in how path information is handled in the tests.
Replaces manual substring logic in getSubtypeSuffix with StringUtils.substringAfter and checks for EMPTY_STRING. This improves code readability and consistency by leveraging existing utility methods.
Added additional assertions to test equality and comparison logic in MimeTypeUtilsTest, improving coverage for cases where MimeTypes are equal.
Introduces MediaTypeUtilsTest to verify the behavior of the SPECIFICITY_COMPARATOR, ensuring correct comparison of MediaType instances with different quality and parameters.
Changed the visibility of testBuildWithoutMethods from public to package-private to align with JUnit 5 conventions.
Renamed variables in testSPECIFICITY_COMPARATOR for clarity and consistency, improving code readability.
Deleted unused commented lines in testPredicateOnAnd and testPredicateOnOr methods to clean up the test file.
Release 0.2.5
Corrected 'aServletendpoint' to 'a Servlet endpoint' in the JavaDoc example usage comment for better readability.
Fix typo in JavaDoc example usage comment
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


No description provided.