Skip to content

Commit c8a4df3

Browse files
committed
2.9.1
1 parent 2dabe0d commit c8a4df3

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# CHANGELOG
22

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
17+
318
## [2.9.0] - 2025-09-05
419

520
### Added

docs/blog/2025-09-09-v2.9.1.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
slug: v2-9-1
3+
title: v2.9.1 — iOS fixes and error improvements
4+
tags: [ios, errors, docs]
5+
---
6+
7+
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!
17+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "expo-iap",
3-
"version": "2.9.0",
3+
"version": "2.9.1",
44
"description": "In App Purchase module in Expo",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",

0 commit comments

Comments
 (0)