Releases: grandstaish/paperparcel
Releases · grandstaish/paperparcel
2.0.0-beta1
- Change package name from
nz.bradcampbell.paperparcel
to justpaperparcel
TypeAdapter
s can now list otherTypeAdapter
s orClass
es as constructor parameters to allow
for adding proper support for non-standard container and types (and more).- Removed "wrapper" types. Each wrapper is replaced with a
Parcelable.Creator
and awriteToParcel
implementation for classes to manually use/call in their model objects. - Removed the
TypedParcelable
interface as wrappers no longer exist - Removed
PaperParcels
class and all reflection calls - Removed Mapping file
- Removed support for
Serializable
out of the box. Users can opt-in to usingSerializable
via
explicitTypeAdapter
s - Removed
AccessorName
API - Renamed
DefaultAdapter
toRegisterAdapter
and removed all other types of adapter scoping
(field and class scopes) as they served no purpose - Force annotated classes to implement
Parcelable
as wrappers have been removed - Greatly improve usage from Java
- Add a more powerful abstraction for excluding fields
- Package paperparcel as an AAR (includes proguard rules)
- Adapter instances are defined as static constants to reduce the amount of allocations when
parcelling. All built-inTypeAdapter
s are singleton instances where they can be. - Method count of output greatly reduced (as well as output being cleaner and easier to understand)
- Improved error messaging
- Fix: multi module builds
- Release now on jcenter and maven central instead of jitpack
1.0.1
Don't reference CREATOR directly