Skip to content

Releases: spotify/dataenum

v1.5.0

Choose a tag to compare

@pettermahlen pettermahlen released this 13 Oct 11:29

Enables more powerful generated ADTs via #38 and #39, courtesy of @andyglow.

v1.4.1

Choose a tag to compare

@pettermahlen pettermahlen released this 13 Aug 09:47

Use javax.annotation:javax.annotation-api instead of javax.annotation:jsr250-api for JSR250 annotations via #32 .

v1.4.0

Choose a tag to compare

@pettermahlen pettermahlen released this 01 Jul 10:58

Adds support for copying over annotations from specifications to generated code, via #31. New minor version since the presence of annotations in generated code may lead to different bytecode (and may thus introduce build issues, though probably only if something is incorrectly set up), but should not lead to ABI incompatibilities.

v1.3.3

Choose a tag to compare

@pettermahlen pettermahlen released this 20 Jun 06:36

Improve Javadocs in generated code, via #30.

v1.3.2

Choose a tag to compare

@pettermahlen pettermahlen released this 19 Mar 10:11

Fixes #28, regarding using arrays leading to SpotBugs violations in generated code.

v1.3.1

Choose a tag to compare

@togi togi released this 31 May 16:12

Fixed a bug that prevented referring to sets of dataenums in a dataenum_case via #21

v1.3.0

Choose a tag to compare

@pettermahlen pettermahlen released this 15 May 11:45

Changes included:

  • Makes this an incremental annotation processor when used with Gradle via #17.
  • Ensure generated code doesn't violate SpotBugs with fb-contrib via #18.
  • Permit any annotation named "Redacted" when redacting toString output via #19.

v1.2.0

Choose a tag to compare

@pettermahlen pettermahlen released this 30 Apr 11:19

Adds the ability to redact field values in toString methods via #16.

v1.1.0

Choose a tag to compare

@pettermahlen pettermahlen released this 20 Mar 09:05

Contains two changes:

  • #12, which improves the error messages for duplicated case names (introduced via method overrides in the @DataEnum specification interface).
  • #14, which changes the access level of generated constructors by default and makes it configurable.

v1.0.2

Choose a tag to compare

@pettermahlen pettermahlen released this 02 Jan 14:50

This release contains two main changes:

  • It removes support for varargs case parameters (#4) . This is actually an API-breaking change, but we decided to ignore that, as it is very unlikely that anyone would run into problems from that in practice. The rationale for removing is that varargs/arrays are quite problematic from a safety perspective.
  • It fixes an issue where the generated code for DataEnums with type parameters caused the compiler to issue warnings (#6).