Skip to content

Releases: naver/fixture-monkey

0.6.0

05 Jul 01:45
Compare
Choose a tag to compare

New Feature

  • Enhances fixed performance, reduces execution time by half.
  • Replaces Jqwik dependency in combining an object or a container with CombinableArbitrary interface.
  • Introduces FailoverIntrospector, which generates an object using two or more ArbitraryIntrospectors.
  • Adds logging when fails to generate an object.
  • Rename the option to FixtureMonkeyOptions from GenerateOptions.
  • Supports Pair, Triple in Kotlin module.
  • Adds fixture-monkey-jakarta-validation module as a default module in fixture-monkey-starter.
  • Adds a EL dependency in fixture-monkey-jakarta-validation and fixture-monkey-javax-validation

Removed Class

All deprecated class in 0.5.x would be removed.

  • FixtureCustomizer
  • ManipulateOptions
  • IteratorCache, LruCache, StreamCache in api/collection
  • PropertyCache
  • PropertyGenerator in api/generator
  • DefaultPropertyGenerator in api/generator
  • KotlinPropertyGenerator in api/generator
  • CompositeArbitraryValidator and DefaultArbitraryValidator
  • EntryIntrospector

0.5.9

02 Jul 03:04
Compare
Choose a tag to compare

0.5.9

  • IteratorCache, LruCache, StreamCache move from api/collection to api/container for consistency.
  • DecomposedContainerValueFactory moves to api module and be a part of GenerateOptions option.

0.5.8

28 Jun 09:57
Compare
Choose a tag to compare

0.5.8

  • Fix Arbitrary returns a same instance in the specific case.
  • Deprecate PropertyCache
  • Fix Intermittent NPE in kotlin.

0.5.7

09 Jun 06:03
Compare
Choose a tag to compare

0.5.7

New Features

  • Supports generating a interface field with @JsonSubTypes and @JsonTypeInfo annotations.
  • Adds a new fluent way to register BuilderGroup. @chanhyeong
  • Supports generating a custom type inherits Java Collection type.
  • Adds a warning log if Fixture Monkey could not generate a field instead of throwing an exception.
  • Supports generating an array type with generic.
  • Refactor KotlinPropertyGenerator could resolve a Java Property .
  • Refactor JacksonObjectArbitraryIntrospector only generates a field, setter/getter, constructor property same as Jackson's default setting.
  • Fix Kotlin Property getValue error.

Deprecated

  • FixtureCustomizer is now deprecated. It would be removed in 0.6.0.
  • Remove retention policy CLASS annotations in DefaultNullInjectGenerator @jbl428

0.5.6

12 May 05:07
Compare
Choose a tag to compare

0.5.6

New Features

  • Generates container type using Jackson.
  • Fix FixtureCustomizer working when using JacksonPlugin
  • Fix JakartaValidationPlugin working
  • Replaces EntryIntrospector with MapEntryIntrospector

Deprecate

  • EntryIntrospector is deprecated. It would be removed in 0.6.0

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.