Skip to content

Releases: airbnb/epoxy

4.6.1

13 May 16:41
8655128
Compare
Choose a tag to compare

4.6.1 (May 13, 2021)

Adds "epoxyDisableDslMarker" annotation processor flag which you can use to delay migration to the model building scope DLSMarker introduced in 4.6.0 if it is a large breaking change for your project.

Note that this only applies to your project modules that you apply it to, and does not apply to the handful of models that ship with the Epoxy library (like the Carousel or group builder).

For example:

project.android.buildTypes.all { buildType ->
    buildType.javaCompileOptions.annotationProcessorOptions.arguments =
            [
                    epoxyDisableDslMarker     : "true",
            ]
}

4.6.0

13 May 16:03
09430ad
Compare
Choose a tag to compare

4.6.0 (May 12, 2021)

New Feature!

Epoxy View Binder (#1175) Bind epoxy models to views outside of a RecyclerView.

Potentially Breaking

  • Use kotlin dsl marker for model building receivers (#1180)

This change uses Kotlin's DSL marker annotation to enforce proper usage of model building extension
functions. You may now need to change some references in your model building code to explicitly reference properties with this.

4.5.0

14 Apr 23:14
7a532df
Compare
Choose a tag to compare

Fix generated code consistency in builder interfaces (#1166)
Provided support to invalidate modelCache in PagingDataEpoxyController (#1161)
Explicitly add public modifier (#1162)
Unwrap context to find parent activity in order to share viewpool when using Hilt (#1157)

4.4.4

24 Mar 20:38
f374eb1
Compare
Choose a tag to compare

Provide support for snapshot() function in PagingDataEpoxyController (#1144)

4.4.3

18 Mar 17:50
df6bdcc
Compare
Choose a tag to compare

Fixed a bug so that the model class generated for an interface uses the package name of the module its generated in.

4.4.2

17 Mar 19:51
Compare
Choose a tag to compare

A minor regression was introduced from this PR(fa61cfb). Avoid using this release and wait for the next one with the fix.

4.4.1

19 Feb 00:00
ddd9dd2
Compare
Choose a tag to compare

Support for Paging3 (#1126) (Thanks to @osipxd and @anhanh11001!)
Update KotlinPoet to 1.7.2 (#1117)

4.3.1

02 Dec 18:41
a108e06
Compare
Choose a tag to compare
  • Fix ANR and view pool resolution in nested group (#1101)
  • ModelGroupHolder get recycle pool from parent (#1097)
  • Add support for EpoxyModelGroup in the EpoxyVisibilityTracker (#1091)
  • Convert EpoxyVisibilityTracker code to Kotlin (#1090)

Breaking Changes

Note that due to the conversion of EpoxyVisibilityTracker to kotlin you now need to access - EpoxyVisibilityTracker.partialImpressionThresholdPercentage as a property
epoxyVisibilityTracker.setPartialImpressionThresholdPercentage(value) -> epoxyVisibilityTracker.partialImpressionThresholdPercentage = value`

Also, the ModelGroupHolder improvement required the ModelGroupHolder#createNewHolder function to change its signature to accept a ViewParent parameter.

If you override createNewHolder() anywhere you will need to change it to createNewHolder(@nonnull ViewParent parent)

4.2.0

11 Nov 22:51
e647d96
Compare
Choose a tag to compare
  • Add notify model changed method (#1063)
  • Update to Kotlin 1.4.20-RC and remove dependency on kotlin-android-extensions

4.1.0

18 Sep 19:47
3cb3a05
Compare
Choose a tag to compare
  • Fix some synchronization issues with the parallel Epoxy processing option
  • Add view visibility checks to EpoxyVisibilityItem and decouple RecyclerView #1052