From 57e2b8efab7de0a4c160d968d2a387ddb2f91bdf Mon Sep 17 00:00:00 2001 From: Eli Hart Date: Mon, 4 Sep 2017 10:48:53 -0700 Subject: [PATCH] Prepare for 2.4.0 release (#276) --- CHANGELOG.md | 13 +++++++++++++ README.md | 4 ++-- gradle.properties | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 532fea6aae..6c3a67c38a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# 2.4.0 (September 4, 2017) +* **Improvement** If you are setting options on a @ModelProp and have no other annotation parameters you can now omit the explicit `options = ` param name (https://github.com/airbnb/epoxy/pull/268) +* **Improvement** If you are using `@TextProp` you can now specify a default string via a string resource (https://github.com/airbnb/epoxy/pull/269) + +* **Fixed** EpoxyModelGroup was not binding model click listeners correctly (https://github.com/airbnb/epoxy/pull/267) +* **Fixed** A model created with @ModelView could fail to compile if it had nullable prop overloads (https://github.com/airbnb/epoxy/pull/274) + +#### Potentially Breaking Fix +A model created with @ModelView with a click listener had the wrong setter name for the model click listener overload (https://github.com/airbnb/epoxy/pull/275) + +If you were setting this you will need to update the setter name. If you were setting the click listener to null you may now have to cast it. + + # 2.3.0 (August 16, 2017) * **New** An `AfterPropsSet` annotation for use in `@ModelView` classes. This allows initialization work to be done after all properties are bound from the model. (https://github.com/airbnb/epoxy/pull/242) * **New** Annotations `TextProp` and `CallbackProp` as convenient replacements for `ModelProp`. (https://github.com/airbnb/epoxy/pull/260) diff --git a/README.md b/README.md index 273ffce18f..fa9ab66181 100755 --- a/README.md +++ b/README.md @@ -19,9 +19,9 @@ Gradle is the only supported build configuration, so just add the dependency to ```groovy dependencies { - compile 'com.airbnb.android:epoxy:2.3.0' + compile 'com.airbnb.android:epoxy:2.4.0' // Add the annotation processor if you are using Epoxy's annotations (recommended) - annotationProcessor 'com.airbnb.android:epoxy-processor:2.3.0' + annotationProcessor 'com.airbnb.android:epoxy-processor:2.4.0' } ``` diff --git a/gradle.properties b/gradle.properties index 7fcd76e667..46ecc5b330 100755 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=2.3.0 +VERSION_NAME=2.4.0 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