Skip to content

Commit

Permalink
Prepare for release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
grandstaish committed Feb 11, 2017
1 parent d45f48c commit 1d2b974
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 14 deletions.
17 changes: 15 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
Change Log
==========

Version 2.0.0 *(2017-02-11)*
----------------------------

* Remove RegisterAdapter. ProcessorConfig should be used instead.
* Undeprecate PaperParcel.Options.
* Consolidate ProcessorConfig API and PaperParcel.Options as they share many of the same APIs.
* Favours local options over global options.
* More descriptive error messages.
* Allow PaperParcel class inheritance.
* Allow java.lang.Object adapters.
* Fix: Jack compilation.
* Fix: property method matching when variables start with 'is'

Version 2.0.0-beta2 *(2016-12-29)*
----------------------------

Expand All @@ -10,9 +23,9 @@ Version 2.0.0-beta2 *(2016-12-29)*
* Deprecated `PaperParcel.Options` API in favour of `ProcessorConfig`
* 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)
* 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
* Fix: allow use of contravariant generic types
* Greatly improve type matching system. This allows for adapters to handle complex generic types,
including intersection types.

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ For more information please see [the website](http://grandstaish.github.io/paper

```groovy
dependencies {
compile 'nz.bradcampbell:paperparcel:2.0.0-beta2'
annotationProcessor 'nz.bradcampbell:paperparcel-compiler:2.0.0-beta2'
compile 'nz.bradcampbell:paperparcel:2.0.0'
annotationProcessor 'nz.bradcampbell:paperparcel-compiler:2.0.0'
}
```

Expand All @@ -25,9 +25,9 @@ PaperParcel requires `kotlin 1.0.5` (or greater) and the `'kotlin-kapt'` Gradle
apply plugin: 'kotlin-kapt'
dependencies {
compile 'nz.bradcampbell:paperparcel:2.0.0-beta2'
compile 'nz.bradcampbell:paperparcel-kotlin:2.0.0-beta2' // Optional
kapt 'nz.bradcampbell:paperparcel-compiler:2.0.0-beta2'
compile 'nz.bradcampbell:paperparcel:2.0.0'
compile 'nz.bradcampbell:paperparcel-kotlin:2.0.0' // Optional
kapt 'nz.bradcampbell:paperparcel-compiler:2.0.0'
}
```

Expand Down
12 changes: 6 additions & 6 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<h1 class="project-name">PaperParcel</h1>
<h2 class="project-tagline">Android Parcelable boilerplate annotation processor </h2>
<a href="https://github.com/grandstaish/paperparcel" class="btn">View on GitHub</a>
<a href="#download" class="btn">Download v2.0.0-beta2</a>
<a href="#download" class="btn">Download v2.0.0</a>
<a href="2.x/paperparcel" class="btn">View Javadoc</a>
</section>

Expand Down Expand Up @@ -239,8 +239,8 @@ <h2>
<p><strong>Java:</strong></p>

<div class="highlight highlight-source-groovy"><pre>dependencies {
compile <span class="pl-s"><span class="pl-pds">'</span>nz.bradcampbell:paperparcel:2.0.0-beta2<span class="pl-pds">'</span></span>
annotationProcessor <span class="pl-s"><span class="pl-pds">'</span>nz.bradcampbell:paperparcel-compiler:2.0.0-beta2<span class="pl-pds">'</span></span>
compile <span class="pl-s"><span class="pl-pds">'</span>nz.bradcampbell:paperparcel:2.0.0<span class="pl-pds">'</span></span>
annotationProcessor <span class="pl-s"><span class="pl-pds">'</span>nz.bradcampbell:paperparcel-compiler:2.0.0<span class="pl-pds">'</span></span>
}</pre></div>

<p><strong>Kotlin:</strong></p>
Expand All @@ -250,9 +250,9 @@ <h2>
<div class="highlight highlight-source-groovy"><pre>apply <span class="pl-c1">plugin</span>: <span class="pl-s"><span class="pl-pds">'</span>kotlin-kapt<span class="pl-pds">'</span></span>

dependencies {
compile <span class="pl-s"><span class="pl-pds">'</span>nz.bradcampbell:paperparcel:2.0.0-beta2<span class="pl-pds">'</span></span>
compile <span class="pl-s"><span class="pl-pds">'</span>nz.bradcampbell:paperparcel-kotlin:2.0.0-beta2<span class="pl-pds">'</span></span> <span class="pl-c">// Optional</span>
kapt <span class="pl-s"><span class="pl-pds">'</span>nz.bradcampbell:paperparcel-compiler:2.0.0-beta2<span class="pl-pds">'</span></span>
compile <span class="pl-s"><span class="pl-pds">'</span>nz.bradcampbell:paperparcel:2.0.0<span class="pl-pds">'</span></span>
compile <span class="pl-s"><span class="pl-pds">'</span>nz.bradcampbell:paperparcel-kotlin:2.0.0<span class="pl-pds">'</span></span> <span class="pl-c">// Optional</span>
kapt <span class="pl-s"><span class="pl-pds">'</span>nz.bradcampbell:paperparcel-compiler:2.0.0<span class="pl-pds">'</span></span>
}</pre></div>

<p>Development snapshots are available on <a href="https://oss.jfrog.org/oss-snapshot-local">JFrog OSS Artifactory</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=nz.bradcampbell
VERSION_NAME=2.0.0-SNAPSHOT
VERSION_NAME=2.0.0

POM_DESCRIPTION=Android Parcelable boilerplate annotation processor

Expand Down

0 comments on commit 1d2b974

Please sign in to comment.