Skip to content

v0.1.5

Choose a tag to compare

@mercyblitz mercyblitz released this 25 Aug 18:31
· 703 commits to release since this release
339f77d

What's Changed

Enhancement

Module microsphere-java-core

  • [JSON] Added a comprehensive escape method in JSONUtils to properly escape JSON strings, including control characters and special Unicode characters (\u2028, \u2029), and updated all relevant usages to use this method for safer JSON output. [1] [2] [3]
  • [JSON] Removed unused logger imports and related code from JSONUtils for simplification. [1] [2] [3]
  • [Collection] Improved the addAll method in CollectionUtils by renaming parameters for clarity and adding a new overload that supports adding all elements from an Iterable, not just arrays. [1] [2]
  • [Collection] Added a new ArrayStack class, a non-thread-safe stack implementation based on ArrayList, providing standard stack operations (push, pop, peek, empty, and search).
  • [Reflection] Added new static imports and constants to MethodUtils, including a new property name for banning methods via system properties, and improved documentation and usage examples for this feature. [1] [2] [3] [4]

Module microsphere-annotation-processor

  • [Metadata] Enhanced the description resolution in ConfigurationPropertyJSONElementVisitor to fall back to the JavaDoc comment if the annotation's description attribute is blank. [1] [2] [3]
  • [Metadata] Added MethodUtils to the test classpath for annotation processor tests. [1] [2]

Full Changelog: 0.1.4...0.1.5