app.cash.paykit%3Alogging breaking changes

maven

5 curated breaking changes across major versions of app.cash.paykit%3Alogging. Use this as a migration checklist before bumping dependencies.

5
changes
Breaking changes by transition
  • v2.6.0 \u2192 v3.0.0-SNAPSHOTbreaking

    Our internal implementation no longer depends on `kotlinx-datetime`, and now uses Java 8 time classes, namely `java.time.Instant`. As a result, if your app or library supports Android versions below API 26, you must enable **[coreLibraryDesugaring](https://developer.android.com/studio/write/java8-support-table)** if it isn't already. In most cases, this will be evident at compile time, as the build will fail with an error similar to the following: ``` Dependency XYZ requires core library desugar

  • v2.6.0 \u2192 v3.0.0-SNAPSHOTbreaking

    `CashAppPayButton` (the Cash App Pay–styled button) is **no longer** bundled with the core PayKit SDK. It has been moved to a separate, **optional dependency**: `group = "app.cash.paykit", name = "ui-views"`. Note that this is a View-based UI component. See below for the Compose alternative. If you do not use this component, you do not need to include this dependency in your project. The package has changed from `app.cash.paykit.core.ui.CashAppPayButton` to `app.cash.paykit.ui.views.CashAppPayBu

  • v2.2.1 \u2192 v2.3.0breaking

    Renamed class `CashAppCashAppPayApiNetworkException` to `CashAppPayApiNetworkException`

  • v2.2.1 \u2192 v2.3.0breaking

    This version contains a change to the bundled Cash App Pay button. Previously, `light` and `dark` variants of the button were made possible by using 2 different views, respectively `CashAppPayButtonLight` an `CashAppPayButtonDark`. As of this version, the there will only be a single `CashAppPayButton` view, which has been updated to support both variants. To obtain different variants, developers should use the XML `style` attribute to specify the variant they want, as follows: Light Variant: ```

  • v1.0.6 \u2192 v1.0.7breaking

    Breaking change: several class names have changed to better align across platforms. The gist of it, is that `PayKit` becomes `CashAppPay` Class renaming correspondence: `PayKitState` -> `CashAppPayState` `PayKitExceptionState` -> `CashAppPayExceptionState` `PayKitCurrency` -> `CashAppPayCurrency` `PayKitPaymentAction` -> `CashAppPayPaymentAction` `CashAppPayKit` -> `CashAppPay` `CashAppPayKitFactory` -> `CashAppPayFactory` `CashAppPayKitListener` -> `CashAppPayListener` `CashPayKitLightButton` -

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/maven/app.cash.paykit%3Alogging