Skip to content

Commit

Permalink
Prepare for 1.6.1 release (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
elihart authored Feb 8, 2017
1 parent e7f0e51 commit 9db754f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 1.6.1 (Feb 6, 2017)

* Allow the default layout resource to be specified in the EpoxyModelClass class annotation [(#109)](https://github.com/airbnb/epoxy/pull/109) [(#111)](https://github.com/airbnb/epoxy/pull/111)
* Allow the `createNewHolder` method to be omitted and generated automatically [(#105)](https://github.com/airbnb/epoxy/pull/105)
* Generate a subclass for abstract model classes if the EpoxyModelClass annotation is present [(#105)](https://github.com/airbnb/epoxy/pull/105)
* Allow strings as model ids [(#107)](https://github.com/airbnb/epoxy/pull/107)
* Add instructions to readme for avoiding memory leaks [(#106)](https://github.com/airbnb/epoxy/pull/106)
* Add model callbacks for view attached/detached from window, and onFailedToRecycleView [(#104)](https://github.com/airbnb/epoxy/pull/104)
* Improve documentation on model unbind behavior [(#103)](https://github.com/airbnb/epoxy/pull/103)
* Fix generated methods from super classes that have var args [(#100)](https://github.com/airbnb/epoxy/pull/100)
* Remove apt dependency [(#95)](https://github.com/airbnb/epoxy/pull/95)
* Add `removeAllModels` method to EpoxyAdapter [(#94)](https://github.com/airbnb/epoxy/pull/94)
* Use actual param names when generating methods from super classes [(#85)](https://github.com/airbnb/epoxy/pull/85)

# 1.5.0 (11/21/2016)

* Fixes models being used in separate modules
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ Gradle is the only supported build configuration, so just add the dependency to

```groovy
dependencies {
compile 'com.airbnb.android:epoxy:1.5.0'
compile 'com.airbnb.android:epoxy:1.6.1'
}
```

Optionally, if you want to use the [attributes for generated helper classes](#annotations) you must also provide the annotation processor as a dependency.
```groovy
dependencies {
compile 'com.airbnb.android:epoxy:1.5.0'
annotationProcessor 'com.airbnb.android:epoxy-processor:1.5.0'
compile 'com.airbnb.android:epoxy:1.6.1'
annotationProcessor 'com.airbnb.android:epoxy-processor:1.6.1'
}
```

Expand Down Expand Up @@ -452,6 +452,7 @@ If the model class is abstract, and only has `EpoxyAttribute` annotations, a gen
A model class annotated with `@EpoxyModelClass` will always have a subclass generated. There are several cases where it may be useful to use this alongside, or instead of, `EpoxyAttribute`.

1. `getDefaultLayout` may be left unimplemented and the default layout resource can instead be specified as a parameter to the `EpoxyModelClass` annotation. The generated model will include a `getDefaultLayout` implementation that returns that value.
* **Note**: This does not currently work in library projects or modules, but support for that is coming soon!

2. If you are using `EpoxyModelWithHolder` (see [Using View Holders](#view-holders)) you can leave the `createNewHolder` method unimplemented and the generated class will contain a default implementation that creates a new holder by calling a no argument constructor of the holder class.

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=1.5.0
VERSION_NAME=1.6.1
GROUP=com.airbnb.android
POM_DESCRIPTION=Epoxy is a system for composing complex screens with a ReyclerView in Android.
POM_URL=https://github.com/airbnb/epoxy
Expand Down

0 comments on commit 9db754f

Please sign in to comment.