Skip to content

Releases: naver/fixture-monkey

0.5.5

14 Apr 07:17
Compare
Choose a tag to compare

0.5.5

  • Supports generating an interface as an anonymous instance.

0.5.4

11 Apr 08:16
Compare
Choose a tag to compare

0.5.4

  • Fix generating sealed class bugs in 0.5.3
  • Remove supporting @JsonTypeInfo, @JsonSubTypes
  • Add convenient InnerSpec methods for setting multiple map entries by one simple method
    • keys
    • values
    • entries

0.5.3

10 Apr 08:30
Compare
Choose a tag to compare

0.5.3

New Features

  • Supports generating sealed class in Kotlin.
  • Supports generating interface or abstract class specified by @JsonTypeInfo and @JsonSubTypes in Jackson module.
  • Add implementations of PropertyGenerator, it helps to specify which properties are going to use.
    • ConstructorParameterPropertyGenerator
    • FieldPropertyGenerator
    • JavaBeansPropertyGenerator

Deprecated

  • MonkeyExpressionFactory option is deprecated. It would be removed in 0.6.0

0.5.2

18 Mar 05:14
Compare
Choose a tag to compare

0.5.2

  • Fix performance issue since 0.5.0.
  • Apply the implementation's option when generating interface.

0.5.1

18 Mar 05:14
Compare
Choose a tag to compare

0.5.1

  • Add set just value not decomposed value.
    • set(expression, Values.Just(value))
  • Fix setPostCondition with primitive type.
  • Fix type erasure generating ConstructorProperty.

0.5.0

02 Mar 02:46
Compare
Choose a tag to compare

0.5.0

Breaking changes

  • Refactor register
    • As-is
      • set an sampled instance of registered ArbitrayBuilder
    • To-be
      • An ArbitraryBuilder has all manipulations registered ArbitraryBuilder has
  • Remove a manipulation priority
    • As-is
      • size has a highest priority among all manipulations
    • To-be
      • All manipulations have same priority, they are executed in declared order
  • Remove defaultArbitraryContainerInfo, defaultArbitrayContainerSize options, add defaultArbitraryContainerInfoGenerator option

New Features

  • Add an NOT_NULL instance
    • set("expression", NOT_NULL) == setNotNull("expression")
  • Add more failed log for set when value type is different
    • Add parent property type in a log if exists

0.4.14

13 Feb 05:06
Compare
Choose a tag to compare

0.4.14

  • Fix generating fields in child class with generic

0.4.13

13 Feb 05:06
Compare
Choose a tag to compare

0.4.13

  • Fix generating AnnotatedWildcard type
    • ex. Map<String, List<? extends String>>
  • Fix size root with InnerSpec

0.4.12

31 Jan 02:07
Compare
Choose a tag to compare

0.4.12

  • Add supporting complex generic types
  • Add a condition to not include control characters when creating String values @doljae

0.4.11

10 Jan 11:56
Compare
Choose a tag to compare

0.4.11

  • Add set a List of concrete classes inherits an abstract class
  • Add generating an abstract circular-reference object