From 5a0f5a9b563d8b294e646ce6a433fbe8daf2bbd8 Mon Sep 17 00:00:00 2001 From: Jakub Kasprzyk Date: Tue, 27 Oct 2026 19:39:08 +0100 Subject: [PATCH] chore(release): prepare 0.1.0 Bump the package to 0.1.0 and turn the Unreleased changelog section into 0.1.0, with a short lead on the changes most apps need to make. A minor bump rather than 0.0.18: since 0.0.17 the public API changed (payServiceStatus is async and reports isSupported/hasActiveCard, canMakePayments is removed, PaymentResult requires status, the pay buttons take a plain onPress, shippingMethods is ShippingMethod[]). bun install does not rewrite bun.lock for a version-only change, so the workspace version there is updated by hand. --- CHANGELOG.md | 7 ++++++- bun.lock | 2 +- package/package.json | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22b19eb..cd17f10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,12 @@ All notable changes to this project are documented in this file. -## Unreleased +## 0.1.0 — 2026-10-27 + +This release changes the public API: read **Changed** before upgrading from 0.0.x. The changes +most apps need are: `usePaymentCheckout` returns `isSupported` and `hasActiveCard` instead of +`canMakePayments` and `canSetupCards`, `HybridPaymentHandler.payServiceStatus()` returns a +Promise, and the pay buttons take a plain function as `onPress`, without `callback()`. ### Added diff --git a/bun.lock b/bun.lock index 7fe8481..c621335 100644 --- a/bun.lock +++ b/bun.lock @@ -66,7 +66,7 @@ }, "package": { "name": "@gmisoftware/react-native-pay", - "version": "0.0.17", + "version": "0.1.0", "devDependencies": { "@react-native/eslint-config": "0.86.0", "@react-native/jest-preset": "0.86.0", diff --git a/package/package.json b/package/package.json index 57bf9cb..216d612 100644 --- a/package/package.json +++ b/package/package.json @@ -1,6 +1,6 @@ { "name": "@gmisoftware/react-native-pay", - "version": "0.0.17", + "version": "0.1.0", "author": "gmi.software", "repository": { "type": "git",