This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
Releases: vimeo/stag-java
Releases · vimeo/stag-java
Version 2.6.0
- Improved formatting of generated code.
- Improved logging by putting all debug logging behind the
stagDebug
flag. - Improve integration of library by switching to new nullability annotations library.
- Wrote unit tests for
KnownTypeAdapters
. - Fixed bug where code generation was non deterministic by switching to linked versions of
-HashSet
and-HashMap
. - Added support for turning on/off serialization of null with
stag.serializeNulls
compiler option. Default is off, which is a behavior change from version 2.5.1. - Thanks to @anirudhramanan for their work on the release.
Version 2.5.1
- Fixed bug where types with wildcards caused compilation to fail.
- Fixed bug where fields with default types would not be correctly serialized if assigned to null.
- Improved thread safety of factory usage.
- Thanks to @anirudhramanan, @mcumings, and @yasirmhd for their work on this release.
Version 2.5.0
- Improved performance of loading the
Stag.Factory
. - Improved error logging when getters/setters can't be found.
- Splitting up examples into integration test modules.
- Wrote functional tests for most use cases.
- Fixed bug where wrapper type adapters would not be called when
Stag.Factory
was registered. - Thanks to @anirudhramanan and @yasirmhd for their work on this release.
Version 2.4.0
- Fixed bug where generated type adapters would write out an empty JSON object for a
null
value. - Type adapters now write
null
to JSON instead of{}
fornull
field values. - Rewrote compiler tests in Kotlin and improved their readability.
Version 2.3.3
isXYZ()
andsetXYZ()
are now accepted as getter and setter names for boolean fields namedisXYZ
ormIsXYZ
.
Version 2.3.2
- Fixed a bug where stag was unable to find setters/getters for parameterized private fields.
- Found solution for model list file being included in build (refer to README).
Version 2.3.1
- Stag is now being deployed to Maven Central.
Version 2.3.0
Stag now throws an exception if you try to reuse a Stag.Factory
instance between multiple gson instances.
Version 2.2.0
- Added support for private member variables in Java (leveraging getters/setters).
- Added support for models written in Kotlin!
Version 2.1.4
- Added compiler support for all Java language versions.