Skip to content

Releases: RevenueCat/purchases-kmp

1.1.1+13.4.0

03 Oct 10:44
Compare
Choose a tag to compare

RevenueCat SDK

Note

It is now possible to integrate PurchasesHyridCommon[UI] using Swift Package Manager! Use this URL: https://github.com/RevenueCat/purchases-hybrid-common/

📦 Dependency Updates

🔄 Other Changes

  • Update fastlane plugin (#232) via Toni Rico (@tonidero)
  • Adds actionlint to lint GitHub Actions workflows (#227) via JayShortway (@JayShortway)
  • Attempts to fix the on_release_tag workflow to allow publishing the API reference site (#228) via JayShortway (@JayShortway)
  • Skips publishing SNAPSHOT if the current version is not a SNAPSHOT. (#226) via JayShortway (@JayShortway)

1.1.0+13.3.0

26 Sep 13:46
Compare
Choose a tag to compare

RevenueCat SDK

Note

It is now possible to integrate PurchasesHyridCommon[UI] using Swift Package Manager! Use this URL: https://github.com/RevenueCat/purchases-hybrid-common/

🐞 Bugfixes

  • Fixes the PurchasesDelegate being deallocated on iOS (#214) via JayShortway (@JayShortway)

📦 Dependency Updates

  • [AUTOMATIC BUMP] Updates purchases-hybrid-common to 13.3.0 (#218) via RevenueCat Git Bot (@RCGitBot)

🔄 Other Changes

  • Updates Fastlane plugin to 5b2e35c6985e02b5911c53ebe4d071e742e03ccc (#221) via JayShortway (@JayShortway)
  • Fixes requirements of the hold job. (#220) via JayShortway (@JayShortway)
  • Enables incremental builds per workflow. (#215) via JayShortway (@JayShortway)
  • Saves and restores the Kotlin/Native compiler on CI (#210) via JayShortway (@JayShortway)
  • Parallelizes CI jobs by platform (#209) via JayShortway (@JayShortway)
  • Migrate GitHub Actions to CircleCI (#207) via JayShortway (@JayShortway)

1.0.1+13.2.1

19 Sep 10:05
Compare
Choose a tag to compare

In-App Purchase Key Required for StoreKit 2

Caution

You must configure your In-App Purchase Key in the RevenueCat dashboard. Purchases will fail if the key is not configured. This is a new requirement for all RevenueCat SDKs.

RevenueCat SDK

🐞 Bugfixes

  • Supports uniquePackageNames by setting the namespace for the :models module (#195) via JayShortway (@JayShortway)

📦 Dependency Updates

  • [AUTOMATIC BUMP] Updates purchases-hybrid-common to 13.2.1 (#206) via RevenueCat Git Bot (@RCGitBot)

🔄 Other Changes

  • Bump fastlane-plugin-revenuecat_internal from 5140dbc to 55a0455 (#208) via Cesar de la Vega (@vegaro)
  • Runs the update-purchases-hybrid-common-version job on macOS. (#205) via JayShortway (@JayShortway)
  • Moves PurchasesDelegate to the :core module (#194) via JayShortway (@JayShortway)
  • Moves LogHandler and LogLevel to the :core module (#193) via JayShortway (@JayShortway)
  • Moves miscellaneous types to the models package (#192) via JayShortway (@JayShortway)
  • Moves errors to the models package (#191) via JayShortway (@JayShortway)
  • Moves Offerings to the models package (#190) via JayShortway (@JayShortway)
  • Moves CustomerInfo to the models package (#189) via JayShortway (@JayShortway)
  • Moves most enums to the models package (#188) via JayShortway (@JayShortway)
  • Makes issue identifiers clickable in Android Studio (#187) via JayShortway (@JayShortway)
  • Make sure the version gets automatically updated in the podspec files too (#197) via JayShortway (@JayShortway)
  • Passes the right contexts to the automatic-bump job. (#196) via JayShortway (@JayShortway)
  • Tester app shows every Offerings and CustomerInfo property (#178) via JayShortway (@JayShortway)
  • Update RELEASING.md (#186) via JayShortway (@JayShortway)
  • Update fastlane plugin version (#184) via Cesar de la Vega (@vegaro)
  • Update Gemfile to fix dependabot (#183) via Cesar de la Vega (@vegaro)
  • Create dependabot.yml (#182) via Cesar de la Vega (@vegaro)

1.0.0+13.2.0

04 Sep 20:36
Compare
Choose a tag to compare

😻🎉 The RevenueCat SDK for Kotlin Multiplatform has reached v1! 🎉😻

In-App Purchase Key Required for StoreKit 2

Caution

You must configure your In-App Purchase Key in the RevenueCat dashboard. Purchases will fail if the key is not configured. This is a new requirement for all RevenueCat SDKs.

Migration guides

  • If you're coming from KobanKat, start here.
  • If you're coming from purchases-kmp 1.0.0-beta.1 or 1.0.0-beta.2, start here.
  • If you're coming from purchases-kmp 1.0.0-beta.3, start here.

Changelog

Breaking Changes

New Features

Bugfixes

Dependency Updates

  • [AUTOMATIC BUMP] Updates purchases-hybrid-common to 13.2.0 (#174) via RevenueCat Git Bot (@RCGitBot)
  • [AUTOMATIC BUMP] Updates purchases-hybrid-common to 13.1.0 (#156) via RevenueCat Git Bot (@RCGitBot)
  • [AUTOMATIC BUMP] Updates purchases-hybrid-common to 11.1.1 (#124) via RevenueCat Git Bot (@RCGitBot)
  • Consolidates Compose versions (#112) via JayShortway (@JayShortway)
  • Checks PHC version at configure() time on iOS (#104) via JayShortway (@JayShortway)

Other Changes

  • Fixes a typo in the Fastfile. (#179) via JayShortway (@JayShortway)
  • The :update_hybrid_common lane also updates Podfile.lock. (#175) via JayShortway (@JayShortway)
  • Greatly simplifies how Price.amountMicros is determined on iOS. (#172) via JayShortway (@JayShortway)
  • Adds v1 migration guide (#171) via JayShortway (@JayShortway)
  • :update_hybrid_common lane also updates mappings.podspec and models.podspec (#169) via JayShortway (@JayShortway)
  • Updates the KobanKat migration guide (#167) via JayShortway (@JayShortway)
  • Calls out WorkManager specifically in the initialization error message. (#155) via JayShortway (@JayShortway)
  • Accept Fastlane Changes (#151) via Will Taylor (@fire-at-will)
  • Adds the git-town config to source control. (#146) via JayShortway (@JayShortway)
  • Appends PHC version to the library version as build metadata (#136) via JayShortway (@JayShortway)
  • Adds required Kotlin test dependencies to :core (#142) via JayShortway (@JayShortway)
  • Temporarily reverts "Remove expect/actual from enums without extra properties (#137)" (#141) via JayShortway (@JayShortway)
  • Remove expect/actual from enums that lack extra properties (#137) via JayShortway (@JayShortway)
  • Improves the error message when the PurchasesInitializer is missing from the merged AndroidManifest.xml. (#130) via JayShortway (@JayShortway)
  • Fixes viewing revenuecatui Kotlin code in Xcode (#127) via JayShortway (@JayShortway)
  • Removes the Compose Compiler Gradle Plugin from :apiTester. (#125) via JayShortway (@JayShortway)
  • Adds missing API tests (#106) via JayShortway (@JayShortway)
  • Publishes API reference only on release. (#122) via JayShortway (@JayShortway)
  • Fixes the release pipeline (#119) via JayShortway (@JayShortway)
  • Adds KobanKat migration guide (#116) via JayShortway (@JayShortway)
  • Updates README.md (#115) via JayShortway (@JayShortway)
  • Adds .aiexclude (#109) via JayShortway (@JayShortway)
  • Fixes snapshot publishing (#107) via JayShortway (@JayShortway)
  • Adds prepare-next-snapshot-version CI job (#102) via JayShortway (@JayShortway)
  • Copies some CI jobs from GitHub Actions to CircleCI. (#101) via JayShortway (@JayShortway)
  • Moves publishing logic from the CircleCI config to Fastlane. (#100) via JayShortway (@JayShortway)
  • Release train (#99) via JayShortway (@JayShortway)
  • Adds the upgrade-hybrid-common action (#93) via JayShortway (@JayShortway)
  • Adds Fastlane (#90) via JayShortway (@JayShortway)
  • Adds the Danger bot. (#87) via JayShortway (@JayShortway)
  • Corrects the artifactId of the :paywalls module. (#86) via JayShortway (@JayShortway)
  • Adds snapshot publishing (#83) via JayShortway (@JayShortway)
  • Changes package to com.revenuecat (#80) via JayShortway (@JayShortway)
  • Adds note on migration to README.md (#79) via JayShortway (@JayShortway)
  • Update README.md (#78) via JayShortway (@JayShortway)
  • Adds Paywalls (#77) via JayShortway (@JayShortway)
  • Adds issue and PR templates. via JayShortway (@JayShortway)
  • Removes StoreProduct.pricePer*() functions, as they are not available in PHC, nor in e.g. Flutter & React Native. via JayShortway (@JayShortway)
  • Fixes docs for StoreProduct.presentedOfferingContext. via JayShortway (@JayShortway)
  • Adds a currently-disabled check for the PHC version on iOS. via JayShortway (@JayShortway)
  • Minor consistency update. via JayShortway (@JayShortway)
  • PlatformInfo is properly passed on Android and iOS. via JayShortway (@JayShortway)
  • SDK version is now just '0.5.0', without any versions of platform RC SDKs. via JayShortway (@JayShortway)
  • SDK3448 PurchasesConfiguration binary compatibility (#72) via JayShortway (@JayShortway)
  • Adds klib abi validation. via JayShortway (@JayShortway)
  • SDK-3448 configuration consistency (#71) via JayShortway (@JayShortway)
  • SDK-3450 poc for using phc (#70) via JayShortway (@JayShortway)
  • Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.0 (#66) via JayShortway (@JayShortway)
  • Update kotlin to v1.9.24 (#64) via JayShortway (@JayShortway)
  • Update agp to v8.4.1 (#68) via JayShortway (@JayShortway)
  • Update plugin jetbrains-compose to v1.6.10 (#67) via JayShortway (@JayShortway)
  • Update agp to v8.4.0 (#62) via JayShortway (@JayShortway)
  • Update dependency androidx.activity:activity-compose to v1.9.0 (#61) via JayShortway (@JayShortway)
  • Update compose to v1.6.7 (#63) via JayShortway (@JayShortway)
  • Prepares the next development version. via JayShortway (@JayShortway)

1.0.0-beta.3

19 Aug 20:26
Compare
Choose a tag to compare
1.0.0-beta.3 Pre-release
Pre-release

Caution

When upgrading, you must configure your In-App Purchase Key in the RevenueCat dashboard. Purchases on iOS will fail if the key is not configured.

1.0.0-beta.3 API Changes

This latest release updates the Android SDK dependency from v7 to v8 to use BillingClient 7 and updates the iOS SDK dependency from v4 to v5 to use StoreKit 2 by default in the SDK.

Migration Guides

New Minimum OS Versions

This release raises the minimum required OS versions to the following:

  • iOS 13.0
  • Android: SDK 21 (Android 5.0)

In-App Purchase Key Required for StoreKit 2

In order to use StoreKit 2, you must configure your In-App Purchase Key in the RevenueCat dashboard. You can find instructions describing how to do this here.

Breaking Changes

Other Changes

  • Accept Fastlane Changes (#151) via Will Taylor (@fire-at-will)
  • Adds the git-town config to source control. (#146) via JayShortway (@JayShortway)
  • Appends PHC version to the library version as build metadata (#136) via JayShortway (@JayShortway)
  • Adds required Kotlin test dependencies to :core (#142) via JayShortway (@JayShortway)
  • Temporarily reverts "Remove expect/actual from enums without extra properties (#137)" (#141) via JayShortway (@JayShortway)
  • Remove expect/actual from enums that lack extra properties (#137) via JayShortway (@JayShortway)

1.0.0-beta.2

26 Jul 11:46
Compare
Choose a tag to compare
1.0.0-beta.2 Pre-release
Pre-release

Breaking Changes

  • Removes Offerings.getCurrentOfferingForPlacement() (#121) via JayShortway (@JayShortway)

Bugfixes

  • Fix iOS crash showing paywall for current offering (#129) via JayShortway (@JayShortway)

Dependency Updates

Other Changes

  • Improves the error message when the PurchasesInitializer is missing from the merged AndroidManifest.xml. (#130) via JayShortway (@JayShortway)
  • Fixes viewing revenuecatui Kotlin code in Xcode (#127) via JayShortway (@JayShortway)
  • Removes the Compose Compiler Gradle Plugin from :apiTester. (#125) via JayShortway (@JayShortway)
  • Adds missing API tests (#106) via JayShortway (@JayShortway)
  • Publishes API reference only on release. (#122) via JayShortway (@JayShortway)
  • Fixes the release pipeline (#119) via JayShortway (@JayShortway)
  • Adds KobanKat migration guide (#116) via JayShortway (@JayShortway)
  • Updates README.md (#115) via JayShortway (@JayShortway)

1.0.0-beta.1

26 Jun 21:23
Compare
Choose a tag to compare
1.0.0-beta.1 Pre-release
Pre-release

Breaking Changes

  • Changes package to com.revenuecat (#80) via JayShortway (@JayShortway)
  • Fix iOS StoreProduct description & price (#108) via JayShortway (@JayShortway)
  • Uses PurchasesAreCompletedBy (#105) via JayShortway (@JayShortway)
  • PurchasesConfiguration binary compatibility (#72) via JayShortway (@JayShortway)
  • Removes PurchasesFactory (#103) via JayShortway (@JayShortway)
  • configuration consistency (#71) via JayShortway (@JayShortway)
  • Removes StoreProduct.pricePer*() functions, as they are not available in PHC, nor in e.g.
    Flutter & React Native. via JayShortway (@JayShortway)

New Features

  • Adds ProductCategory to StoreProduct (#114) via JayShortway (@JayShortway)
  • Checks PHC version at configure() time on iOS (#104) via JayShortway (@JayShortway)

Bugfixes

Dependency Updates

Other Changes

0.4.0-7.9.0-4.41.0

22 Apr 16:22
a2af2ad
Compare
Choose a tag to compare

Breaking changes

  • Package.product is renamed to Package.storeProduct. (#57)
  • CustomerInfo.managementURL is renamed to CustomerInfo.managementUrlString. (#58)
  • PresentedOfferingTargetingContext.revision is an Int now instead of a Long. (#59)

Other changes

  • Tracks RevenueCat's purchases-android 7.9.0.
  • Tracks RevenueCat's purchases-ios 4.41.0.

Commits

  • dbb4eb2: Prepares the next development version. (JayShortway)
  • f374c23: Update agp to v8.3.1 (#42) (JayShortway) #42
  • 835db6f: Updates README.md. (JayShortway)
  • d19976f: Add binary compatibility validator (#55) (JayShortway) #55
  • fe758d5: Minor documentation fix. (JayShortway)
  • c473e79: Avoid type error by renaming Package.product to Package.storeProduct (#57) (JayShortway) #57
  • cecf0c0: Fixes type error by renaming managementURL to managementUrlString (#58) (JayShortway) #58
  • 00eff5d: Adds api tester (#59) (JayShortway) #59
  • 12cae14: Update agp to v8.3.2 (#52) (JayShortway) #52
  • 2a4e305: Update dependency gradle to v8.7 (#45) (JayShortway) #45
  • 636556a: Update compose to v1.6.4 (#43) (JayShortway) #43
  • a5513ef: Update plugin jetbrains-compose to v1.6.2 (#53) (JayShortway) #53
  • 4136bc4: Update plugin arturbosch-detekt to v1.23.6 (#46) (JayShortway) #46
  • 8c75aa4: Update dependency io.arrow-kt:arrow-core to v1.2.4 (#50) (JayShortway) #50
  • fad2a2c: Update plugin adamko-dokkatoo-html to v2.3.1 (#47) (JayShortway) #47
  • a2af2ad: Update dependency com.revenuecat.purchases:purchases to v7.8.0 (#44) (JayShortway) #44

0.3.0-7.7.2-4.39.0

16 Mar 13:10
Compare
Choose a tag to compare

Changes

  • Tracks RevenueCat's purchases-android 7.7.2.
  • Tracks RevenueCat's purchases-ios 4.39.0.

Commits

  • 203d78d: Prepares the next development version. (JayShortway)
  • f91fd70: Update plugin jetbrains-compose to v1.6.1 (#40) (JayShortway) #40
  • a8accfd: Update RevenueCat (#41) (JayShortway) #41
  • d818dc8: Update kotlin to v1.9.23 (#38) (JayShortway) #38
  • a428bc2: Prepares version 0.3.0-7.7.2-4.39.0 (JayShortway)

0.3.0-7.7.1-4.38.1

07 Mar 20:18
Compare
Choose a tag to compare

Changes

  • Tracks RevenueCat's purchases-android 7.7.1.
  • Tracks RevenueCat's purchases-ios 4.38.1.

Commits

  • 389c16e: Prepares the next development version. (JayShortway)
  • dbce817: Update RevenueCat (#36) (JayShortway) #36
  • 5ec7176: Update compose to v1.6.3 (#37) (JayShortway) #37
  • 1fcbd95: Prepares version 0.3.0-7.7.1-4.38.1 (JayShortway)