1.4.0 New feature:
-
Named generators: NamedGen Refactor:
-
JsObjGen (improvement nullable and optional fields generation) Doc:
-
New section in readme about recursive generators
2.0.0
-
This version requires java 17
-
Refactor
Gen
interface:RandomGenerator
interface instead of Random implementation -
Refactor
SplitGen
implementation: uses the default implementationRandomGenerator.getDefault()
instead ofRandom
-
New Quadruple, Quintuple and SexTuple classes
-
New QuadrupleGen, QuintupleGen and SexTupleGen classes
2.1.0
Breaking:
getXXX
methods inRecord
class may return null and doesn't returnOptional
. Migrate those togetOptXXX
methods.
New:
-
CSVStreamBuilder
class to read csv files into Stream ofRecord
-
upgrade error prone library
-
New
getOptXXX
methods inRecord
class (getOptStr
,getOptInt
...) -
The methods
getXXX
andgetOptXXX
in theRecord
class prioritize returning data where possible instead of throwing exceptions.For instance, therecord.getLong("age")
method can return not onlyLong
but alsoByte
,Short
, andInteger
. Similarly, thegetDouble
method can return integral numbers in addition to floating-point values.2.2.0
Breaking:
BigIntGen
deleted methodsarbitrary(int nBits)
andbiased(int nBits)
New:
-
BigIntGen
new static factory methodsarbitrary(BigInteger min, BigInteger max)
andbiased(BigInteger min, BigInteger max)
3.0.0
Breaking:
- Upgrade from Java 17 to Java 21
- Rename Record -> MyRecord (https://errorprone.info/bugpattern/TypeParameterUnusedInFormals)
- Rename RecordGen -> MyRecordGen
Maintenance:
- upgrade plugins and libraries version
- error prone added
- Update readme