From 0551d7e4602623b3a8f42fbf6855c09d462a8b93 Mon Sep 17 00:00:00 2001 From: Eli Hart Date: Mon, 16 Oct 2017 17:47:06 -0700 Subject: [PATCH] Prepare for 2.7.0 release --- CHANGELOG.md | 9 +++++++++ README.md | 4 ++-- gradle.properties | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bce33d522..b5314eaf67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 2.7.0 (October 17, 2017) + +* **New** If a `@ModelView` generated model has a custom base class the generated model will now inherit constructors from the base class (https://github.com/airbnb/epoxy/pull/315) +* **New** Use the `EpoxyDataBindingPattern` annotation to specify a naming pattern for databinding layouts. This removes the need to declare every databinding layout explicitly ([Wiki](https://github.com/airbnb/epoxy/wiki/Data-Binding-Support#automatic-based-on-naming-pattern) - https://github.com/airbnb/epoxy/pull/319) +* **New** If a view with `@ModelView` implements an interface then the generated model will implement a similar interface, enabling polymorphism with models. [Wiki](https://github.com/airbnb/epoxy/wiki/Generating-Models-from-View-Annotations#view-interfaces) + +* **Improvement** `PagingEpoxyController` now has getters to access the underlying data lists (Thanks to @pcqpcq - https://github.com/airbnb/epoxy/pull/317) +* **Improvement** `EpoxyModelGroup` now supports partial rebinds (https://github.com/airbnb/epoxy/pull/316) + # 2.6.0 (October 10, 2017) * **Improvement** If a `OnModelClickListener` is used it will not be called if a view is clicked while it is being removed or otherwise has no position (https://github.com/airbnb/epoxy/issues/293 - Thanks @niccorder!) diff --git a/README.md b/README.md index 90e533a34d..8a974d9748 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.6.0' + compile 'com.airbnb.android:epoxy:2.7.0' // Add the annotation processor if you are using Epoxy's annotations (recommended) - annotationProcessor 'com.airbnb.android:epoxy-processor:2.6.0' + annotationProcessor 'com.airbnb.android:epoxy-processor:2.7.0' } ``` diff --git a/gradle.properties b/gradle.properties index 3e2c847380..0a72f69b14 100755 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=2.6.0 +VERSION_NAME=2.7.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