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 1.1.1
- Fixed a bug with the
TypeAdapterGenerator
in which it incorrectly created duplicate TypeAdapter fields if there were non-parameterized and parameterized (e.g.String
andArrayList<String>
) fields of the same type in a model class. - Added a try/catch around
ArrayList
parsing inTypeAdapter.read
methods for consistency in throwing parsing errors.
Version 1.1.0
- Stag can now be used across multiple modules in the same application (thanks @mcumings!)
- Class member variables no longer need to be public visibility, but can now be package-local or protected (thanks again to @mcumings!)
- Generated factories and adapters are now located within the same package as your model class and are named so as to not interfere with your model class namespace:
Model$TypeAdapter
andModel$TypeAdapterFactory
Version 1.0.1
- Improvement: Exceptions thrown in the parsing code are now bubbled up instead of a generic exception being thrown
- Technical: META-INF is now generated by Google auto service (thanks @penkzhou!)