2.0.0-beta2
Pre-release
Pre-release
grandstaish
released this
29 Dec 03:35
·
55 commits
to master
since this release
- Added
ProcessorConfig
API for adding customTypeAdapter
s and configuring other options in
the processor. - Deprecated
RegisterAdapter
API in favour ofProcessorConfig
- Deprecated
PaperParcel.Options
API in favour ofProcessorConfig
- Re-added
Serializable
support - Performance improvements in the compiler and in the generated code
- Fix: allow use of "new" as a variable name in kotlin (as it isn't a kotlin keyword)
- Validate kapt version and give a helpful error message if the wrong version is being used
- Fix: allow use of contravariant generic types
- Greatly improve type matching system. This allows for adapters to handle complex generic types,
including intersection types.