Skip to content

Releases: naver/fixture-monkey

1.0.25

11 Sep 10:32
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Fix concurrency issue with string generation #1051
  • Fix seed setting as annotated by #1052

1.1.0-SNAPSHOT

04 Sep 06:35
Compare
Choose a tag to compare

🐒 New Features

  • By default, KotlinPlugin is now only used for the Kotlin type, and does not change the objectIntrospector Java type option.
  • By default, the properties generated by the PrimaryConstructorArbitraryIntrospector are parameters of the constructor.
  • The Java ArbitraryBuilder APIs and the Kotlin ArbitraryBuilder APIs are now separated.
  • The experimental API customizeProperty is now available in the ArbitraryBuilder API.

See the migration guide for more details.

1.0.24

31 Aug 06:16
Compare
Choose a tag to compare

🐒 New Features

  • Add new APIs that generates the unique value by Values.unique(Supplier) or CombinableArbitrary.unique(). #1034
.set("$[*]", Values.unique(() -> Arbitraries.integers().between(0, 3).sample())), 
.<List<Integer>>customizeProperty(typedRoot(), CombinableArbitrary::unique)
  • Add @Seed to reproduce the randomly populated object in fixture-monkey-junit-jupiter module. #1010 @codesejin
@Seed(1)
@RepeatedTest(100)
void seedReturnsSame() {
	String expected = "섨ꝓ仛禦催ᘓ蓊類౺阹瞻塢飖獾ࠒ⒐፨婵얎⽒竻·俌欕悳잸횑ٻ킐結";

	String actual = SUT.giveMeOne(String.class);

	then(actual).isEqualTo(expected);
}

⚠️ Deprecated

  • Deprecate ElementJsonSubTypesObjectPropertyGenerator, PropertyJsonSubTypesObjectPropertyGenerator in fixture-monkey-jackson module. #1035
    • Please use the ElementJsonSubTypesConcreteTypeResolver, PropertyJsonSubTypesConcreteTypeResolver instead.

1.0.23

10 Aug 10:44
Compare
Choose a tag to compare

🐒 New Features

  • Remove generating a file .jqwik-database. #1026
  • Add the flexible option for complex usage in InterfacePlugin check out details here. #1025
    • interfaceImplements(Matcher, CandidateConcretePropertyResolver)
    • abstractClassExtends(Matcher, CandidateConcretePropertyResolver)

🐞 Bug Fixes

  • Fix for generating Kotlin self-reference with default arguments. #1024

1.0.22

02 Aug 02:53
Compare
Choose a tag to compare

🐒 New Features

  • Add regenerate when container is filtered. #1007
  • Add compatibility with ObjectPropertyGenerator and CandidateConcretePropertyResolver. #1012
    • The "nullInject" parameter of the ObjectPropertyGenerator is now nullable. May be breaking change in Kotlin.

⚠️ Deprecated

  • Deprecate the pushExactTypePropertyCandidateResolver option. Use InterfacePlugin instead. #1013

1.0.21

11 Jul 07:17
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Fix collection generation not throw exception. #999
  • Fix set ZoneId in Kotlin JDK21. #1000
  • Fix decompose Java Kotlin functional interface. #1003

⚠️ Deprecated

  • Deprecate the ObjectPropertyGenerator that modify child properties listed below. #995

1.0.20

19 Jun 06:47
Compare
Choose a tag to compare

🐒 New Features

  • Add support for multi-level inheritance of sealed class and sealed interface. #991 @ctmanjak

🐞 Bug Fixes

  • Fix generation of enum implementations as a sealed class in JDK17. #993
  • Fix for overwriting options in JdkVariantOptions. #992 @ctmanjak

1.0.19

14 Jun 07:40
Compare
Choose a tag to compare

🐞 Bug Fixes

Fix a SimpleValuePlugin "out of byte range" error when generate Byte #988 @junyoung-kang-kurly

1.0.18

11 Jun 05:53
Compare
Choose a tag to compare

🐞 Bug Fixes

Fix SimpleValueJqwikPlugin mismatching order with constructor and field #987 @Ting-Kim .

1.0.17

11 Jun 05:52
Compare
Choose a tag to compare

🐒 New Features

🐞 Bug Fixes

  • Fix sealed interface set after thenApply #977
  • Fix insertFirstCandidateConcretePropertyResolvers option, the argument is inserted first #974

🧪 Experimental Features

  • Add Supporting Java Supplier Type #951 @mollder
  • Add SimpleValueJqwikPlugin for beginners. check out details here #980