Skip to content

Commit 753228c

Browse files
release: 9.0.0 (#643)
* chore(internal): update lock file * chore(ci): upgrade `actions/github-script` * feat(api): add per endpoint security * chore(internal): codegen related update * fix(tests): skip broken date validation test * release: 9.0.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent e29e654 commit 753228c

Some content is hidden

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

69 files changed

+369
-66
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Get GitHub OIDC Token
5858
if: github.repository == 'stainless-sdks/finch-typescript'
5959
id: github-oidc
60-
uses: actions/github-script@v6
60+
uses: actions/github-script@v8
6161
with:
6262
script: core.setOutput('github_token', await core.getIDToken());
6363

.github/workflows/release-doctor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ jobs:
1919
bash ./bin/check-release-environment
2020
env:
2121
NPM_TOKEN: ${{ secrets.FINCH_NPM_TOKEN || secrets.NPM_TOKEN }}
22-

.release-please-manifest.json

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

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 46
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-46f433f34d440aa1dfcc48cc8d822c598571b68be2f723ec99e1b4fba6c13b1e.yml
33
openapi_spec_hash: 5b5cd728776723ac773900f7e8a32c05
4-
config_hash: 0892e2e0eeb0343a022afa62e9080dd1
4+
config_hash: ccdf6a5b4aaa2a0897c89ac8685d8eb0

CHANGELOG.md

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

3+
## 9.0.0 (2026-01-27)
4+
5+
Full Changelog: [v8.2.1...v9.0.0](https://github.com/Finch-API/finch-api-node/compare/v8.2.1...v9.0.0)
6+
7+
### Features
8+
9+
* **api:** add per endpoint security ([94b79a2](https://github.com/Finch-API/finch-api-node/commit/94b79a26ed4c2cf31656a2d086fbaa07eea665f9))
10+
11+
12+
### Bug Fixes
13+
14+
* **tests:** skip broken date validation test ([bd1b3dc](https://github.com/Finch-API/finch-api-node/commit/bd1b3dce0aa126ce871b590a38ceb88484205bf9))
15+
16+
17+
### Chores
18+
19+
* **ci:** upgrade `actions/github-script` ([3e7b8f0](https://github.com/Finch-API/finch-api-node/commit/3e7b8f0f4f176fb1a049826c6b54db144e1bf1c7))
20+
* **internal:** codegen related update ([60b9d57](https://github.com/Finch-API/finch-api-node/commit/60b9d57de7446a9b007aec3494e3558ce7d09bb7))
21+
* **internal:** update lock file ([fbf54dd](https://github.com/Finch-API/finch-api-node/commit/fbf54dd83c73c8e44fefb0282dd54d96b2f647f9))
22+
323
## 8.2.1 (2026-01-20)
424

525
Full Changelog: [v8.2.0...v8.2.1](https://github.com/Finch-API/finch-api-node/compare/v8.2.0...v8.2.1)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tryfinch/finch-api",
3-
"version": "8.2.1",
3+
"version": "9.0.0",
44
"description": "The official TypeScript library for the Finch API",
55
"author": "Finch <founders@tryfinch.com>",
66
"types": "dist/index.d.ts",

packages/mcp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tryfinch/finch-api-mcp",
3-
"version": "8.2.1",
3+
"version": "9.0.0",
44
"description": "The official MCP Server for the Finch API",
55
"author": "Finch <founders@tryfinch.com>",
66
"types": "dist/index.d.ts",

packages/mcp-server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const newMcpServer = () =>
2121
new McpServer(
2222
{
2323
name: 'tryfinch_finch_api_api',
24-
version: '8.2.1',
24+
version: '9.0.0',
2525
},
2626
{ capabilities: { tools: {}, logging: {} } },
2727
);

packages/mcp-server/yarn.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3302,9 +3302,6 @@ readable-stream@^3.4.0:
33023302
string_decoder "^1.1.1"
33033303
util-deprecate "^1.0.1"
33043304

3305-
"replicate@file:../../dist":
3306-
version "2.0.0-alpha.74"
3307-
33083305
require-directory@^2.1.1:
33093306
version "2.1.1"
33103307
resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"

src/client.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,14 @@ export class Finch {
302302
);
303303
}
304304

305-
protected async authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
306-
return buildHeaders([await this.bearerAuth(opts), await this.basicAuth(opts)]);
305+
protected async authHeaders(
306+
opts: FinalRequestOptions,
307+
schemes: { bearerAuth?: boolean; basicAuth?: boolean },
308+
): Promise<NullableHeaders | undefined> {
309+
return buildHeaders([
310+
schemes.bearerAuth ? await this.bearerAuth(opts) : null,
311+
schemes.basicAuth ? await this.basicAuth(opts) : null,
312+
]);
307313
}
308314

309315
protected async bearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
@@ -768,7 +774,7 @@ export class Finch {
768774
...getPlatformHeaders(),
769775
'Finch-API-Version': '2020-09-17',
770776
},
771-
await this.authHeaders(options),
777+
await this.authHeaders(options, options.__security ?? { bearerAuth: true, basicAuth: true }),
772778
this._options.defaultHeaders,
773779
bodyHeaders,
774780
options.headers,

0 commit comments

Comments
 (0)