v0.1.8
What's Changed
Core Module
-
Added a new utility class
Iteratorsfor comparing twoIteratorinstances for equality, and refactoredReversedDeque.equalsto use this utility for cleaner code. -
Introduced
addIfAbsentmethod inListUtilsto add an element only if it does not already exist in the list. -
Added trace-level logging to several resource resolver classes (
StreamArtifactResourceResolver,ManifestArtifactResourceResolver, andExecutorUtils) to provide more detailed diagnostics when resources or metadata cannot be resolved or when executor services are shut down. -
Refactored
DelegatingBlockingQueueto implementDelegatingWrapper, consistently usethis.delegate, and unwrap delegates if possible for cleaner delegation and wrapper handling. -
Simplified
CustomizedThreadFactoryby removing the use ofSecurityManagerand always using the current thread's group. -
Refactored
AbstractEventDispatcherfor improved error handling and logging, including usingassertNotNullfor constructor validation, adding a logger instance, and simplifying listener loading with better exception handling.
Annotation Processor Refactoring
-
Moved and refactored
ConfigurationPropertyJSONElementVisitorfor better code organization, improved source attribute handling, and updated imports to use shared language model utilities. -
Enhanced
ConfigurationPropertyAnnotationProcessorwith better resource constant usage and added atoJSON()serialization method. -
Refactored imports throughout the annotation processor to use utility classes from the new
microsphere-lang-modelmodule, replacing previous local utilities. (ConfigurationPropertyAnnotationProcessor.java,FilerProcessor.java,ResourceProcessor.java)
Documentation Improvements
- Expanded the
README.mdto include new modules (microsphere-java-annotations,microsphere-java-model,microsphere-jdk-tools,microsphere-java-test), updated module descriptions, and added links to their respective JavaDocs.
Build and Dependency Updates
-
Updated GitHub Actions workflows to use the latest versions of
actions/checkoutandactions/setup-java(v5), switched Maven invocations to use the wrapper script (./mvnw), and added JVM options for test execution. (.github/workflows/maven-build.yml,.github/workflows/maven-publish.yml) -
Updated the Maven wrapper to version 3.9.9 and switched the distribution URL to an Aliyun mirror for potentially faster downloads. Also, changed the wrapper configuration to use only the script distribution. (
.mvn/wrapper/maven-wrapper.properties)
Dependency Management
-
Removed unused properties for JAX-RS and JAX-WS versions from the annotation processor's
pom.xml, and added new dependencies onmicrosphere-lang-model,microsphere-jdk-tools, andmicrosphere-java-testto support enhanced annotation processing and testing. -
Updated test dependencies to use fixed versions instead of property references, simplifying dependency management.
Full Changelog: 0.1.7...0.1.8