You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,20 @@
1
1
# CHANGELOG
2
2
3
+
## [2.9.1] - 2025-09-09
4
+
5
+
### Added
6
+
7
+
- Expanded error codes and mappings (Android parity) with friendly messages in utilities
8
+
- New object-style `PurchaseError` constructor and guideline in docs (legacy positional args remain supported)
9
+
- Docs site can build for GitHub Pages via dynamic `baseUrl` switch
10
+
- Example iOS: pin `openiap` to `1.1.7` via Git to avoid CocoaPods index lag
11
+
12
+
### Changed
13
+
14
+
- iOS: `getPromotedProductIOS` now returns a fully serialized Product (fetch by SKU then serialize)
15
+
- iOS: `subscriptionStatusIOS` returns `{ state, renewalInfo? }` where `renewalInfo.willAutoRenew` is a real boolean and `autoRenewPreference` is preserved
16
+
- Hook: register purchase error listener early and ignore `E_INIT_CONNECTION` until connected
This patch release focuses on iOS shape alignment, error robustness, and small docs/dependency tweaks.
8
+
9
+
Highlights:
10
+
11
+
- iOS: `getPromotedProductIOS` now returns a full serialized Product; `subscriptionStatusIOS` returns `{ state, renewalInfo? }` with a real boolean `willAutoRenew`.
12
+
- Errors: expanded codes + friendlier messages; support object-style `new PurchaseError({ ... })` (positional args still work).
13
+
- Docs: Docusaurus supports GitHub Pages via dynamic `baseUrl`; added conventions for `PurchaseError` construction.
14
+
- Example iOS: pin `openiap` to `1.1.7` from git to avoid trunk lag.
15
+
16
+
Thanks for the feedback that helped shape this release!
0 commit comments