Skip to content

Commit

Permalink
Prepare for 2.6.0 release (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
elihart authored Oct 11, 2017
1 parent b69fdff commit a46ed6c
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 18 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 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!)

* **New** `EpoxyRecyclerView` and `Carousel` provide out of the box integration with Epoxy along with other enhancements over regular RecyclerView (https://github.com/airbnb/epoxy/wiki/EpoxyRecyclerView)
* **New** `EpoxyPagingController` provides integration with the Android Paging architecture component as well as normal, large lists of items (https://github.com/airbnb/epoxy/wiki/Large-Data-Sets)

#### Kotlin
* **Improvement** Disable kotlin extension function generation with the annotation processor flag `disableEpoxyKotlinExtensionGeneration` (https://github.com/airbnb/epoxy/pull/309)
* **Fix** If a model has a non empty constructor the generated extension function will now use it.


# 2.5.1 (October 2, 2017)
* **Fixed** The wrong import was being generated for models using a view holder in 2.5.0 (https://github.com/airbnb/epoxy/pull/294)
* **Fixed** Fix generated code failing to compile if a subclass of View.OnClickListener is used as an attribute (https://github.com/airbnb/epoxy/pull/296)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.1'
compile 'com.airbnb.android:epoxy:2.6.0'
// Add the annotation processor if you are using Epoxy's annotations (recommended)
annotationProcessor 'com.airbnb.android:epoxy-processor:2.5.1'
annotationProcessor 'com.airbnb.android:epoxy-processor:2.6.0'
}
```

Expand Down
12 changes: 8 additions & 4 deletions epoxy-integrationtest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
buildToolsVersion rootProject.ANDROID_BUILD_TOOLS_VERSION

defaultConfig {
applicationId "com.airbnb.android.epoxy"
applicationId "com.airbnb.epoxy.integrationtest"
minSdkVersion rootProject.MIN_SDK_VERSION
targetSdkVersion rootProject.TARGET_SDK_VERSION
vectorDrawables.useSupportLibrary = true
Expand All @@ -19,22 +19,26 @@ android {
dataBinding {
enabled = true
}

dexOptions {
// Was getting this error otherwise - "Multiple dex files define Landroid/arch/core/BuildConfig"
preDexLibraries = false
}
}

dependencies {
compile rootProject.deps.kotlin
testCompile rootProject.deps.junit
compile project(':epoxy-adapter')
compile project(':epoxy-annotations')
compile project(':epoxy-databinding')
compile project(':epoxy-paging')

kapt project(':epoxy-processor')
kapt rootProject.deps.dataBindingCompiler

testCompile rootProject.deps.robolectric
testCompile rootProject.deps.junit
testCompile rootProject.deps.mockito
}

repositories {
mavenCentral()
}
6 changes: 3 additions & 3 deletions epoxy-sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.airbnb.epoxy"
<manifest package="com.airbnb.epoxy.sample"
xmlns:android="http://schemas.android.com/apk/res/android">

<application
android:name=".sample.SampleApplication"
android:name=".SampleApplication"
android:allowBackup="true"
android:label="@string/app_name"
android:theme="@style/Theme.AppCompat.Light">
<activity
android:name=".sample.MainActivity"
android:name=".MainActivity"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">

<intent-filter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import com.airbnb.epoxy.EpoxyRecyclerView;
import com.airbnb.epoxy.EpoxyTouchHelper;
import com.airbnb.epoxy.EpoxyTouchHelper.DragCallbacks;
import com.airbnb.epoxy.R;
import com.airbnb.epoxy.sample.SampleController.AdapterCallbacks;
import com.airbnb.epoxy.sample.models.CarouselModelGroup;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package com.airbnb.epoxy.sample;

import com.airbnb.epoxy.AutoModel;
import com.airbnb.epoxy.ButtonBindingModel_;
import com.airbnb.epoxy.R;
import com.airbnb.epoxy.TypedEpoxyController;
import com.airbnb.epoxy.sample.models.CarouselModelGroup;
import com.airbnb.epoxy.sample.views.HeaderViewModel_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import com.airbnb.epoxy.EpoxyModel;
import com.airbnb.epoxy.EpoxyModelGroup;
import com.airbnb.epoxy.R;
import com.airbnb.epoxy.sample.CarouselData;
import com.airbnb.epoxy.sample.ColorData;
import com.airbnb.epoxy.sample.R;
import com.airbnb.epoxy.sample.SampleController.AdapterCallbacks;
import com.airbnb.epoxy.sample.views.GridCarouselModel_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import com.airbnb.epoxy.EpoxyModel;
import com.airbnb.epoxy.EpoxyModelClass;
import com.airbnb.epoxy.EpoxyModelWithHolder;
import com.airbnb.epoxy.R;
import com.airbnb.epoxy.sample.R;
import com.airbnb.epoxy.sample.models.ColorModel.ColorHolder;
import com.airbnb.lottie.LottieAnimationView;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import com.airbnb.epoxy.EpoxyAttribute;
import com.airbnb.epoxy.EpoxyModelClass;
import com.airbnb.epoxy.EpoxyModelWithHolder;
import com.airbnb.epoxy.R;
import com.airbnb.epoxy.sample.R;
import com.airbnb.epoxy.sample.models.ImageButtonModel.ImageButtonHolder;

import butterknife.BindView;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@

import com.airbnb.epoxy.EpoxyDataBindingLayouts;
import com.airbnb.epoxy.PackageModelViewConfig;
import com.airbnb.epoxy.R;
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import com.airbnb.epoxy.ModelProp.Option;
import com.airbnb.epoxy.ModelView;
import com.airbnb.epoxy.ModelView.Size;
import com.airbnb.epoxy.R;
import com.airbnb.epoxy.TextProp;
import com.airbnb.epoxy.sample.R;

import butterknife.BindView;
import butterknife.ButterKnife;
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=2.5.1
VERSION_NAME=2.6.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
Expand Down

0 comments on commit a46ed6c

Please sign in to comment.