diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b5b4c3c4..536453dbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Upgraded `stripe` from version `20.4.1` to `21.0.1` + ## 3.1.0 - 2026-04-29 ### Added diff --git a/apps/api/src/app/subscription/subscription.service.ts b/apps/api/src/app/subscription/subscription.service.ts index 877ea0ee4..07795d0d1 100644 --- a/apps/api/src/app/subscription/subscription.service.ts +++ b/apps/api/src/app/subscription/subscription.service.ts @@ -35,7 +35,7 @@ export class SubscriptionService { this.stripe = new Stripe( this.configurationService.get('STRIPE_SECRET_KEY'), { - apiVersion: '2026-02-25.clover' + apiVersion: '2026-03-25.dahlia' } ); } diff --git a/package-lock.json b/package-lock.json index 29b1e137e..3e35d09fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -90,7 +90,7 @@ "passport-openidconnect": "0.1.2", "reflect-metadata": "0.2.2", "rxjs": "7.8.1", - "stripe": "20.4.1", + "stripe": "21.0.1", "svgmap": "2.19.3", "tablemark": "4.1.0", "twitter-api-v2": "1.29.0", @@ -36731,15 +36731,15 @@ } }, "node_modules/stripe": { - "version": "20.4.1", - "resolved": "https://registry.npmjs.org/stripe/-/stripe-20.4.1.tgz", - "integrity": "sha512-axCguHItc8Sxt0HC6aSkdVRPffjYPV7EQqZRb2GkIa8FzWDycE7nHJM19C6xAIynH1Qp1/BHiopSi96jGBxT0w==", + "version": "21.0.1", + "resolved": "https://registry.npmjs.org/stripe/-/stripe-21.0.1.tgz", + "integrity": "sha512-ocv0j7dWttswDWV2XL/kb6+yiLpDXNXL3RQAOB5OB2kr49z0cEatdQc12+zP/j5nrXk6rAsT4N3y/NUvBbK7Pw==", "license": "MIT", "engines": { - "node": ">=16" + "node": ">=18" }, "peerDependencies": { - "@types/node": ">=16" + "@types/node": ">=18" }, "peerDependenciesMeta": { "@types/node": { diff --git a/package.json b/package.json index 0148468b8..99b774bfb 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,7 @@ "passport-openidconnect": "0.1.2", "reflect-metadata": "0.2.2", "rxjs": "7.8.1", - "stripe": "20.4.1", + "stripe": "21.0.1", "svgmap": "2.19.3", "tablemark": "4.1.0", "twitter-api-v2": "1.29.0",