@nosslabs/iap 0.4.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,23 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [5.0.0] — 2026-05-14
9
+
10
+ ### Changed
11
+
12
+ - **Renumbered the Capacitor 5 line from `0.x` to `5.x`** so the
13
+ library's major version tracks the Capacitor major it targets
14
+ (matching the convention `@capgo/native-purchases`, Ionic plugins,
15
+ and most platform-aligned ecosystems use). **No code changes vs
16
+ `0.4.0`** — the published tarball is functionally identical.
17
+ Consumers: bump your dependency `^0.4.0` → `^5.0.0`. Nothing else
18
+ needs to change.
19
+
20
+ The Capacitor 7+ line is published on the `@next` dist-tag as `7.x`
21
+ (currently `7.0.0-next.0` prerelease). See [Migration](https://iap.nossdev.com/migration/)
22
+ when you're ready to move to Capacitor 7. The `5.x` line on this
23
+ branch (`5.x`) continues to receive Capacitor-5 patches.
24
+
8
25
  ## [0.4.0] — 2026-05-08
9
26
 
10
27
  ### Added
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Thin Capacitor IAP orchestrator. Server-side validation via [Attesto](https://attesto.nossdev.com).
4
4
 
5
- **Status: 0.2.0published.** API may have breaking changes through the 0.x line as it's exercised in production apps. Pin the minor version (`^0.2.0`) and watch the [CHANGELOG](./CHANGELOG.md).
5
+ **Status: `5.x`the Capacitor 5 maintenance line on the `@latest` dist-tag.** Renumbered from `0.4.x` to track the Capacitor major (same code, new number). The Capacitor 7+ line is `7.x` on the `@next` dist-tag (still prerelease — see [Migration](https://iap.nossdev.com/migration/)). Pin the minor (`^5.0.0`) and watch the [CHANGELOG](./CHANGELOG.md).
6
6
 
7
7
  ```bash
8
8
  npm install @nosslabs/iap cordova-plugin-purchase
@@ -75,10 +75,10 @@ It does **not**: talk to Attesto directly, define entitlement business logic, ma
75
75
 
76
76
  ## Capacitor support matrix
77
77
 
78
- | `@nosslabs/iap` | Capacitor | Plugin | Status |
79
- |---|---|---|---|
80
- | 0.x | 5.x | `cordova-plugin-purchase ^13.x` | **Current** |
81
- | 1.x | 7.x | TBD (Capacitor-native plugin) | Roadmap |
78
+ | `@nosslabs/iap` | Capacitor | Native plugin | dist-tag | Status |
79
+ |---|---|---|---|---|
80
+ | 5.x | 5.x | `cordova-plugin-purchase ^13.x` | `@latest` | **Current (this branch)** |
81
+ | 7.x | 7.x (also runs on 8.x) | `@capgo/native-purchases` | `@next` | Prerelease |
82
82
 
83
83
  ## Optional peer dependency
84
84
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nosslabs/iap",
3
- "version": "0.4.0",
3
+ "version": "5.0.0",
4
4
  "description": "Thin Capacitor IAP orchestrator that pairs with Attesto for receipt validation",
5
5
  "license": "MIT",
6
6
  "author": "nossdev",