Skip to content

Releases: naver/fixture-monkey

1.0.1

14 Nov 02:31
Compare
Choose a tag to compare

🐒 New Features

  • Add Exp DSL resolving an array element at a specific index #820

1.0.0

10 Nov 06:52
Compare
Choose a tag to compare

🐒 New Features

  • Add instantiate as stable API. #811
  • Kotlin object generation with instantiateBy constructor, now utilizes the provided Kotlin constructor #816

🧪 Experimental Features

  • Add a new property selector javaGetter, replacing String expression with type-safe method reference #813

0.6.13

02 Nov 11:35
Compare
Choose a tag to compare

0.6.13

  • Add generating an instance of inner class in Java

Experimental Feature

  • Refactor factoryMethod adding a name of factory method.

0.6.12

01 Nov 06:35
Compare
Choose a tag to compare

0.6.12

  • Fix setting Just in setLazy.
  • Fix a bug in validOnly operation in ArbitraryBuilder.
  • Fix a bug in addContainerType, addDecomposedContainerValueFactory option, which is not working for an implementation of option type.
  • Remove jqwik-kotlin dependency in fixture-monkey-kotlin module.
  • Deprecate FixtureMonkeyOptions dependency in ObjectPropertyGeneratorContext, ContainerPropertyGeneratorContext.
  • Add addDecomposedContainerValueFactory option.
  • Add giveMeExperimentalBuilder for experimental features.

Experimental Feature

  • Add a new ArbitraryBuilder operation instantiate, instantiateBy for Kotlin, which specifies how to instantiate a given type.
    • Providing a static method constructor() for specifying that it instantiates a given type by constructor
    • Providing a static method factoryMethod() for specifying that it instantiates a given type by factory method
    • Providing a static method field(), javaBeansProperty() that subsequently sets a property for both constructor(), factoryMethod()

0.6.11

20 Oct 07:49
Compare
Choose a tag to compare

0.6.11

  • Add kotest module. Using it as a runtime of generating primitive types.
  • Add supporting a custom validator in Javax, Jakarta Bean Validation.
  • Add PropertySelecotr as a super type of ExpressionGenerator to abstract how to reference a property.
  • Fix a bug in size Map in thenApply operation.
  • Add option to resolve a seed for deterministic re-runs.
  • Fix set a nested self reference object.

0.6.10

12 Oct 07:16
Compare
Choose a tag to compare

0.6.10

  • An anonymous object generated by Fixture Monkey could invoke a default method instead of invoking an arbitrary method.

0.6.9

10 Oct 06:38
Compare
Choose a tag to compare

0.6.9

  • Fix sampleList always returns a same element with AnonymousArbitraryIntrospector.
  • Remove CombinableArbitrary.from(Arbitrary). Use ArbitraryUtils.toCombinableArbitrary instead.
  • Refactor CombinableArbitrary.from has a type parameter instead of wildcard type.
  • Fix generating self reference map type with different key type.
  • Refactor setPostCondition does not cause any performance issue.
  • Fix generating a unique key of Map.
  • Add new option javaConstraintGenerator which defines a constraint of String, Decimal type, Integer type, DateTime type, Container type.

0.6.8

15 Sep 08:16
Compare
Choose a tag to compare

0.6.8

  • DefaultDecomposedContainerValueFactory supports Map.Entry
  • Fix a concurrency bug in PrimaryConstructorArbitraryIntrospector

0.6.7

14 Sep 09:47
Compare
Choose a tag to compare

0.6.7

  • Deprecate List<Property> generateChildProperties(AnnotatedType annotatedType) in PropertyGenerator interface, it will be removed in 0.7.0
  • Add List<Property> generateChildProperties(Property property) in PropertyGenerator interface

0.6.6

10 Sep 07:22
Compare
Choose a tag to compare

0.6.6

  • Fix omit if setting field is failed with FieldReflectionArbitraryIntrospector
  • Add More kotlin extensions in FixtureMonkeyBuilder.