Skip to content

Commit 1f20ae2

Browse files
authored
Merge pull request #171 from flowglad/release-please--branches--main--changes--next--components--node
release: 0.24.0
2 parents 2480e0f + 1797738 commit 1f20ae2

File tree

71 files changed

+1001
-2629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1001
-2629
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.23.0"
2+
".": "0.24.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 45
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/flowglad%2Fflowglad-71d495f9b7d8f8c9d80340c0db0a71352f19b22a53688dbc268c7d9137390f2e.yml
3-
openapi_spec_hash: c6293dd58700ec577dc2e10f8eb8f061
4-
config_hash: 3f7672efb046f15f1ee86bcb480da1a2
1+
configured_endpoints: 46
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/flowglad%2Fflowglad-d53efdb1a90202370f6191070b177c81adc4a91fb55e98afb34c353a22f53f80.yml
3+
openapi_spec_hash: ea6ffc0d58287a5e8974898352d7e661
4+
config_hash: 9e63503c65fe4eb194dc4892d4a12985

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
11
# Changelog
2+
## 0.24.0 (2025-12-08)
3+
4+
Full Changelog: [v0.23.0...v0.24.0](https://github.com/flowglad/flowglad-node/compare/v0.23.0...v0.24.0)
5+
6+
### Features
7+
8+
* **api:** manual updates ([533552d](https://github.com/flowglad/flowglad-node/commit/533552d8c6d991a0112811d45878478708d438d6))
9+
* **mcp:** add detail field to docs search tool ([8f77fc6](https://github.com/flowglad/flowglad-node/commit/8f77fc63d5b4f1bd1d7dd91540fcda293eb23446))
10+
* **mcp:** add typescript check to code execution tool ([7578b49](https://github.com/flowglad/flowglad-node/commit/7578b4915985dd8f6e838391edf606fd60647963))
11+
* **mcp:** handle code mode calls in the Stainless API ([42fd808](https://github.com/flowglad/flowglad-node/commit/42fd808cd8ec2a409488eb75547f350346d77dc5))
12+
* **mcp:** return logs on code tool errors ([709d568](https://github.com/flowglad/flowglad-node/commit/709d568089128af16a33960bd8528be7774c99f6))
13+
14+
15+
### Bug Fixes
16+
17+
* **mcp:** correct code tool API endpoint ([42ff072](https://github.com/flowglad/flowglad-node/commit/42ff072b8078f78c2ee00fe024a5ed44c552301c))
18+
* **mcp:** return correct lines on typescript errors ([4597857](https://github.com/flowglad/flowglad-node/commit/4597857934207a36fbc78b4ca73e21c9b19d1da5))
19+
* **mcp:** return tool execution error on api error ([53a87cf](https://github.com/flowglad/flowglad-node/commit/53a87cfb1c4b1dfdd23c14ad392af14ea4f17f18))
20+
21+
22+
### Chores
23+
24+
* **client:** fix logger property type ([78eb993](https://github.com/flowglad/flowglad-node/commit/78eb993f61b5c5528942ef52cc778794833613d2))
25+
* **internal:** codegen related update ([07d7563](https://github.com/flowglad/flowglad-node/commit/07d7563a6fcd0f41af3c473fafbb170a1fb5b81f))
26+
* **internal:** codegen related update ([8e7dd46](https://github.com/flowglad/flowglad-node/commit/8e7dd46ab42f14aa74bb605b4438ce1df4ee6e34))
27+
* **internal:** upgrade eslint ([6b56a2d](https://github.com/flowglad/flowglad-node/commit/6b56a2d8837a4d089528993bb6c3f45bd03baf12))
28+
* use latest @modelcontextprotocol/sdk ([430a047](https://github.com/flowglad/flowglad-node/commit/430a04773b86428e9b5ee9be10d6884bb97e9bd7))
29+
230
## 0.23.0 (2025-11-25)
331

432
Full Changelog: [v0.22.0...v0.23.0](https://github.com/flowglad/flowglad-node/compare/v0.22.0...v0.23.0)

api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ Methods:
138138
Types:
139139

140140
- <code><a href="./src/resources/customers.ts">CustomerClientSelectSchema</a></code>
141+
- <code><a href="./src/resources/customers.ts">NonRenewingSubscriptionDetails</a></code>
142+
- <code><a href="./src/resources/customers.ts">StandardSubscriptionDetails</a></code>
141143
- <code><a href="./src/resources/customers.ts">ToggleSubscriptionItemFeatureRecord</a></code>
142144
- <code><a href="./src/resources/customers.ts">UsageCreditGrantSubscriptionItemFeatureRecord</a></code>
143145
- <code><a href="./src/resources/customers.ts">CustomerCreateResponse</a></code>
@@ -190,6 +192,7 @@ Types:
190192
- <code><a href="./src/resources/subscriptions.ts">SubscriptionListResponse</a></code>
191193
- <code><a href="./src/resources/subscriptions.ts">SubscriptionAdjustResponse</a></code>
192194
- <code><a href="./src/resources/subscriptions.ts">SubscriptionCancelResponse</a></code>
195+
- <code><a href="./src/resources/subscriptions.ts">SubscriptionUncancelResponse</a></code>
193196

194197
Methods:
195198

@@ -198,6 +201,7 @@ Methods:
198201
- <code title="get /api/v1/subscriptions">client.subscriptions.<a href="./src/resources/subscriptions.ts">list</a>({ ...params }) -> SubscriptionListResponse</code>
199202
- <code title="post /api/v1/subscriptions/{id}/adjust">client.subscriptions.<a href="./src/resources/subscriptions.ts">adjust</a>(id, { ...params }) -> SubscriptionAdjustResponse</code>
200203
- <code title="post /api/v1/subscriptions/{id}/cancel">client.subscriptions.<a href="./src/resources/subscriptions.ts">cancel</a>(id, { ...params }) -> SubscriptionCancelResponse</code>
204+
- <code title="post /api/v1/subscriptions/{id}/uncancel">client.subscriptions.<a href="./src/resources/subscriptions.ts">uncancel</a>(id) -> SubscriptionUncancelResponse</code>
201205

202206
# UsageEvents
203207

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flowglad/node",
3-
"version": "0.23.0",
3+
"version": "0.24.0",
44
"description": "The official TypeScript library for the Flowglad API",
55
"author": "Flowglad <[email protected]>",
66
"types": "dist/index.d.ts",
@@ -35,7 +35,7 @@
3535
"@types/node": "^20.17.6",
3636
"@typescript-eslint/eslint-plugin": "8.31.1",
3737
"@typescript-eslint/parser": "8.31.1",
38-
"eslint": "^9.20.1",
38+
"eslint": "^9.39.1",
3939
"eslint-plugin-prettier": "^5.4.1",
4040
"eslint-plugin-unused-imports": "^4.1.4",
4141
"iconv-lite": "^0.6.3",

packages/mcp-server/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ The following tools are available in this MCP server.
309309
- `list_subscriptions` (`read`): List Subscriptions
310310
- `adjust_subscriptions` (`write`): Note: Immediate adjustments are in private preview (Please let us know you use this feature: https://github.com/flowglad/flowglad/issues/616). Adjustments at the end of the current billing period are generally available.
311311
- `cancel_subscriptions` (`write`): Cancel Subscription
312+
- `uncancel_subscriptions` (`write`): Reverses a scheduled subscription cancellation. The subscription must be in `cancellation_scheduled` status. This will restore the subscription to its previous status (typically `active` or `trialing`) and reschedule any billing runs that were aborted. For paid subscriptions, a valid payment method is required.
312313

313314
### Resource `usage_events`:
314315

packages/mcp-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flowglad/node-mcp",
3-
"version": "0.23.0",
3+
"version": "0.24.0",
44
"description": "The official MCP Server for the Flowglad API",
55
"author": "Flowglad <[email protected]>",
66
"types": "dist/index.d.ts",
@@ -32,7 +32,7 @@
3232
"dependencies": {
3333
"@flowglad/node": "file:../../dist/",
3434
"@cloudflare/cabidela": "^0.2.4",
35-
"@modelcontextprotocol/sdk": "^1.11.5",
35+
"@modelcontextprotocol/sdk": "^1.24.0",
3636
"@valtown/deno-http-worker": "^0.0.21",
3737
"cors": "^2.8.5",
3838
"express": "^5.1.0",

packages/mcp-server/src/code-tool-paths.cts

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/mcp-server/src/code-tool-types.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ export type WorkerSuccess = {
1111
logLines: string[];
1212
errLines: string[];
1313
};
14-
export type WorkerError = { message: string | undefined };
14+
export type WorkerError = {
15+
message: string | undefined;
16+
logLines: string[];
17+
errLines: string[];
18+
};

packages/mcp-server/src/code-tool-worker.ts

Lines changed: 0 additions & 239 deletions
This file was deleted.

0 commit comments

Comments
 (0)