diff --git a/CHANGELOG.md b/CHANGELOG.md index b8049112a..1e2e43f73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,15 +2,17 @@ The changelog for `Paywall`. Also see the [releases](https://github.com/superwall-me/paywall-ios/releases) on GitHub. -## 2.4.1 (Upcoming release) +## 2.4.1 ### Enhancements - Adds `Paywall.options.useCachedPaywallTemplates`. This defaults to `true`. Superwall will load paywall template websites from disk, if available. When you save a change to your paywall in the Superwall dashboard, a key is appended to the end of your paywall website URL, e.g. `sw_cache_key=`. This is used to cache your paywall webpage to disk after it's first loaded. Superwall will continue to load the cached version of your paywall webpage unless the next time you make a change on the Superwall dashboard. (2.4.1-beta.1) - Adds `Paywall.preloadAllPaywalls()` and `Paywall.preloadPaywalls(forTriggers:)`. Use this with `Paywall.options.shouldPreloadPaywall = false` to have more control over when/what paywalls are preloaded. (2.4.1-beta.2) +- Removes `Paywall.options.useCachedPaywallTemplates`. Too tricky (2.4.1-beta.2) ### Fixes - Paywall options specified prior to config are now respected, regardless of whether you pass an options object through to config or not. (2.4.1-beta.1) +- Ensures /config's request and response is always handled on the main thread (2.4.1) --- diff --git a/Paywall.podspec b/Paywall.podspec index 378d56b45..21e8a6560 100644 --- a/Paywall.podspec +++ b/Paywall.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Paywall" - s.version = "2.4.1-beta.2" + s.version = "2.4.1" s.summary = "Superwall: In-App Paywalls Made Easy" s.description = "Paywall infrastructure for mobile apps :) we make things like editing your paywall and running price tests as easy as clicking a few buttons. superwall.com" diff --git a/Sources/Paywall/Misc/Constants.swift b/Sources/Paywall/Misc/Constants.swift index a469dc3c1..2f6ff5264 100644 --- a/Sources/Paywall/Misc/Constants.swift +++ b/Sources/Paywall/Misc/Constants.swift @@ -18,5 +18,5 @@ let sdkVersion = """ */ let sdkVersion = """ -2.4.1-beta.2 +2.4.1 """ diff --git a/Sources/Paywall/Paywall/Config/PaywallOptions.swift b/Sources/Paywall/Paywall/Config/PaywallOptions.swift index 682770dac..c9d67b8d2 100644 --- a/Sources/Paywall/Paywall/Config/PaywallOptions.swift +++ b/Sources/Paywall/Paywall/Config/PaywallOptions.swift @@ -55,7 +55,7 @@ public class PaywallOptions: NSObject { /// Loads paywall template websites from disk, if available. Defaults to `true`. /// /// When you save a change to your paywall in the Superwall dashboard, a key is appended to the end of your paywall website URL, e.g. `sw_cache_key=`. This is used to cache your paywall webpage to disk after it's first loaded. Superwall will continue to load the cached version of your paywall webpage unless the next time you make a change on the Superwall dashboard. - public var useCachedPaywallTemplates = true + internal var useCachedPaywallTemplates = false /// Configuration for printing to the console. public struct Logging {