Releases: naver/fixture-monkey
Releases · naver/fixture-monkey
1.0.13
🐒 New Features
- Change regular expression generation library to
RgxGen
. #870
- Add InterfacePlugin supports abstract class by
abstractClassExtends
option. #892
🐞 Bug Fixes
- Fix setLazy with value wrapped by Just would not be manipulated. #900
- Fix missing required PropertyGenerator within introspectors. #908
1.0.12
🐞 Bug Fixes
- Fix generating an object with the value class property. #887
1.0.11
🐞 Bug Fixes
- Fix mutation of a generated object by
FieldReflectionArbitrarytIntrospector
, BeanArbitraryIntrospector
. #882
1.0.10
🐒 New Features
- Add handling when using an ArbitraryIntrospector that does not match the property type. Add a log entry if the property is of a container type, and throw an exception if the property is of a concrete type. #877
- Refactor does not throw exception when it cannot generate, the next ArbitraryIntrospector will be used. #879
- Add better support Kotest by modifying
giveMeArb
more Kotlin-like, by adding setArb
API. #880
🐞 Bug Fixes
- Fix setting object field by any other type. #876
1.0.9
🐒 New Features
- Add customizing Wildcard type in an option #869
🐞 Bug Fixes
- Fix the
addExceptGenerateClass
to be unaffected by the specific ArbitraryIntrospector
used #866
🧪 Experimental Features
- Add
customizeProperty
API in ArbitraryBuilder
to customize generated value #843
1.0.8
🐒 New Features
- Improve the error message with specific details about the failed type when generation fails #854
🐞 Bug Fixes
- Fix setting child type when generating parent type #857
1.0.7
🐞 Bug Fixes
- Fix the
fixture-monkey-kotlin
module to be compatible with JDK 8. #852
1.0.6
🐒 New Features
- Fixture Monkey now infers properties when generating a type using a specific
ArbitraryIntrospector
that requires certain types of properties #846
- Refer to the comment in
ArbitraryGenerator#getRequiredPropertyGenerator
- Support generating an instance of a Kotlin type with a private constructor #848 - @jinia91
- Introduce
InterfacePlugin
featuring detailed interface options #845
interfaceImplements
option
useAnonymousArbitraryIntrospector
option.
⚠️ Deprecated
- The
interfaceImplements
option in FixtureMonkeyBuilder
is now deprecated. It will be moved in InterfacePlugin
#845
1.0.5
🐞 Bug Fixes
- Fix
ConstructorPropertiesArbitraryIntrospector
to be able to generate a type that does not use Lombok #840
- Fix
FailoverIntrospector
to catch the exception thrown when declaring a CombinableArbitrary
#841
1.0.4
🐒 New Features
- Record types are generated using the canonical constructor by default #834