Skip to content

Release 0.2.0

Compare
Choose a tag to compare
@RezzedUp RezzedUp released this 30 Dec 05:54
· 5 commits to main since this release

Add

  • Constant type
  • Stream constants in addition to fields in the Constants utility
  • Casting for Optionals

Change

  • Move MatchRules to its own standalone class (it's no longer an inner-class of Aggregates)
  • Constant aggregation is now done with Aggregates.from(Class<?> source) or Aggregates.fromThisClass()

Remove

  • Former aggregation methods (like Aggregates.list(...))
    • This is now achieved with Aggregates.from(X).constantsOfType(Y).toList()
  • Former MatchRules getter (Aggregates.matching())
    • Replaced with MatchRules.of()

Full Changelog: v0.1.0...v0.2.0
Note: the project converted to tabs since the last release, so there are changes for nearly every file.

Maven

<dependency>
    <groupId>com.rezzedup.util</groupId>
    <artifactId>constants</artifactId>
    <version>0.2.0</version>
</dependency>