diff --git a/.version b/.version
index 0fa4ae48..0c89fc92 100644
--- a/.version
+++ b/.version
@@ -1 +1 @@
-3.3.0
\ No newline at end of file
+4.0.0
\ No newline at end of file
diff --git a/CHANGELOG.latest.md b/CHANGELOG.latest.md
index 9f88a283..bdbf1424 100644
--- a/CHANGELOG.latest.md
+++ b/CHANGELOG.latest.md
@@ -1 +1,7 @@
-- Update purchases-android to 5.3.0 (https://github.com/RevenueCat/purchases-android/releases/tag/5.3.0)
+- Fixed snake_case and camelCase serialization inconsistency in `StoreProduct` (https://github.com/RevenueCat/purchases-hybrid-common/pull/187):
+ - Renamed `price_string` to `priceString`
+ - Renamed `currency_code` to `currencyCode`
+ - Renamed `intro_price` to `introPrice`
+ - Renamed `product_category` to `productCategory`
+ - Renamed `product_type` to `productType`
+- Updated `purchases-ios` to [4.9.1](https://github.com/RevenueCat/purchases-ios/releases/tag/4.9.1)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 23fc3940..4a1dd8e5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,13 @@
+## 4.0.0
+
+- Fixed snake_case and camelCase serialization inconsistency in `StoreProduct` (https://github.com/RevenueCat/purchases-hybrid-common/pull/187):
+ - Renamed `price_string` to `priceString`
+ - Renamed `currency_code` to `currencyCode`
+ - Renamed `intro_price` to `introPrice`
+ - Renamed `product_category` to `productCategory`
+ - Renamed `product_type` to `productType`
+- Updated `purchases-ios` to [4.9.1](https://github.com/RevenueCat/purchases-ios/releases/tag/4.9.1)
+
## 3.3.0
- Update purchases-android to 5.3.0 (https://github.com/RevenueCat/purchases-android/releases/tag/5.3.0)
diff --git a/PurchasesHybridCommon.podspec b/PurchasesHybridCommon.podspec
index d4cbb981..970253b6 100644
--- a/PurchasesHybridCommon.podspec
+++ b/PurchasesHybridCommon.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "PurchasesHybridCommon"
- s.version = "3.3.0"
+ s.version = "4.0.0"
s.summary = "Common files for hybrid SDKs for RevenueCat's Subscription and in-app-purchase backend service."
s.description = <<-DESC
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
s.framework = 'StoreKit'
- s.dependency 'RevenueCat', '4.9.0'
+ s.dependency 'RevenueCat', '4.9.1'
s.swift_version = '5.0'
s.ios.deployment_target = '11.0'
diff --git a/android/build.gradle b/android/build.gradle
index bf01d3e5..8ac3d489 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -47,7 +47,7 @@ android {
minSdkVersion 14
targetSdkVersion 32
versionCode 1
- versionName "3.3.0"
+ versionName "4.0.0"
consumerProguardFiles 'consumer-rules.pro'
}
diff --git a/android/gradle.properties b/android/gradle.properties
index 1c19618f..a50317d0 100644
--- a/android/gradle.properties
+++ b/android/gradle.properties
@@ -22,7 +22,7 @@ kotlin.code.style=official
# Maven
GROUP=com.revenuecat.purchases
-VERSION_NAME=3.3.0
+VERSION_NAME=4.0.0
POM_NAME=purchases-hybrid-common
POM_PACKAGING=aar
POM_ARTIFACT_ID=purchases-hybrid-common
diff --git a/ios/PurchasesHybridCommon/Info.plist b/ios/PurchasesHybridCommon/Info.plist
index 3a569945..0d9df918 100644
--- a/ios/PurchasesHybridCommon/Info.plist
+++ b/ios/PurchasesHybridCommon/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
$(PRODUCT_BUNDLE_PACKAGE_TYPE)
CFBundleShortVersionString
- 3.3.0
+ 4.0.0
CFBundleVersion
$(CURRENT_PROJECT_VERSION)
diff --git a/ios/PurchasesHybridCommon/Podfile b/ios/PurchasesHybridCommon/Podfile
index a731e21d..91ae3eff 100644
--- a/ios/PurchasesHybridCommon/Podfile
+++ b/ios/PurchasesHybridCommon/Podfile
@@ -5,7 +5,7 @@ target 'PurchasesHybridCommon' do
use_frameworks!
# Pods for PurchasesHybridCommon
- pod 'RevenueCat', '4.9.0'
+ pod 'RevenueCat', '4.9.1'
target 'PurchasesHybridCommonTests' do
# Pods for testing
@@ -28,5 +28,5 @@ target 'ObjCAPITester' do
platform :ios, '11.0'
use_frameworks!
- pod 'RevenueCat', '4.9.0'
+ pod 'RevenueCat', '4.9.1'
end
\ No newline at end of file
diff --git a/ios/PurchasesHybridCommon/PurchasesHybridCommonTests/Info.plist b/ios/PurchasesHybridCommon/PurchasesHybridCommonTests/Info.plist
index b01f035a..1bb9194f 100644
--- a/ios/PurchasesHybridCommon/PurchasesHybridCommonTests/Info.plist
+++ b/ios/PurchasesHybridCommon/PurchasesHybridCommonTests/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
$(PRODUCT_BUNDLE_PACKAGE_TYPE)
CFBundleShortVersionString
- 3.3.0
+ 4.0.0
CFBundleVersion
1