Skip to content

Releases: imrafaelmerino/json-values

Ding Liren

13 Feb 07:58
Compare
Choose a tag to compare
v13.4.0

v13.4.0

Magnus

09 Sep 21:47
Compare
Choose a tag to compare

New method JsSpec.withReqKeys
New methods JsObjGen.withReqKeys and JsObjGen.withNonNullValues
Static factory methods to create specs and generators: up to 50 key-spec and key-gen pairs

Belle

25 Aug 16:03
7922a2d
Compare
Choose a tag to compare

REFACTOR

  • JsObjSpec.strict -> JsObjSpec.of

  • JsObjSpec.setOptionals -> JsObjSpec.withOptKeys

  • JsObjSpec.setAllOptional -> JsObjSpec.withAllOptKeys

  • JsObjGen.setOptionals -> JsObjGen.withOptKeys

  • JsObjGen.setAllOptional -> JsObjGen.withAllOptKeys

  • JsObjGen.setNullables -> JsObjGen.withNullValues

  • JsObjGen.setAllNullable -> JsObjGen.withAllNullValues

CHANGES

  • JsObjSpec.lenient factory methods have been deleted. To create lenient specs, create first strict ones with the static factory method of, and then call the lenient method:

  • JsObSpec strictSpec = JsObjSpec.of(...);

  • JsObjSpec lenientSpec = strictSpec.lenient();

IMPROVEMENTS

  • New validation when creating JsObjSpec. The required and optional fields must exist, otherwise, an IllegalArgumentException is thrown

  • New validation when creating JsObjGen. The nullable and optional fields must exist, otherwise, an IllegalArgumentException is thrown

Fito

29 Apr 15:10
Compare
Choose a tag to compare
v10.0.0

readme

Astro

28 Jul 06:22
bd62380
Compare
Choose a tag to compare
9.1.0 (#168)

* feat: 🎸 getXXX methods with default value

getStr(path,default string), getInt(path, default int) etc

* feat: 🎸 date generator

* docs: ✏️ changelog

* fix: 🐛 class removed by error

* test: 💍 getXXX with default value tests ans set JsNothing

* test: 💍 more tests: getXXX with default, date generator etc

Astro

14 Feb 15:35
dabb2c4
Compare
Choose a tag to compare
9.0.2 (#166)

* feat: 🎸 map function JsInstant

* fix: 🐛 -1 index must point to the last element of an array

* ci: 🎡 9.0.2 version

* test: 💍 set element at -1 index

Astro

31 Jan 11:10
Compare
Choose a tag to compare
v9.0.1

chore: 🤖 merge

Astro

30 Jan 19:51
0617ccf
Compare
Choose a tag to compare
Remove my dsljson (#164)

* refactor: 💡 remove mydsl-json dependency

* ci: 🎡 9.0.0 version

Astro

23 Jan 18:22
e35646c
Compare
Choose a tag to compare
9.0.0 rc3

* 9.0.0 rc2 (#162)

* feat: 🎸 streamValues methods

* ci: 🎡 9.0.0-RC2

* feat: 🎸 parse yaml to json

* feat: 🎸 parse yaml to json

Astro

15 Jan 18:47
68bfc06
Compare
Choose a tag to compare
9.0.0 rc2 (#162)

* feat: 🎸 streamValues methods

* ci: 🎡 9.0.0-RC2