Skip to content

Commit 25d73e9

Browse files
authored
Merge pull request #143 from imagekit-developer/release-please--branches--master--changes--next--components--nodejs
release: 7.5.0
2 parents aadccbf + e74029a commit 25d73e9

22 files changed

Lines changed: 247 additions & 41 deletions

.release-please-manifest.json

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

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 47
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-63aff1629530786015da3c86131afa8a9b60545d488884b77641f1d4b89c6e9d.yml
3-
openapi_spec_hash: 586d357bd7e5217d240a99e0d83c6d1f
4-
config_hash: 47cb702ee2cb52c58d803ae39ade9b44
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-70c42eda2bee929830b2537f758400a58dded1f1ef5686a286e2469c35a041a0.yml
3+
openapi_spec_hash: cdaeed824e91657b45092765cf55eb42
4+
config_hash: e3c2679d25f6235381dfb11962fbf3d9

CHANGELOG.md

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

3+
## 7.5.0 (2026-04-13)
4+
5+
Full Changelog: [v7.4.0...v7.5.0](https://github.com/imagekit-developer/imagekit-nodejs/compare/v7.4.0...v7.5.0)
6+
7+
### Features
8+
9+
* **api:** dam related webhook events ([d2bc9ce](https://github.com/imagekit-developer/imagekit-nodejs/commit/d2bc9ce8f62be8c4da65f655b8113a0bca685c37))
10+
* **api:** fix spec indentation ([79ae799](https://github.com/imagekit-developer/imagekit-nodejs/commit/79ae799823f2dcdde7eece7fc0588916e453537e))
11+
* **api:** indentation fix ([65c6eec](https://github.com/imagekit-developer/imagekit-nodejs/commit/65c6eec03f5907dedd73500eeba8f9aa0de1f66c))
12+
* **api:** merge with main to bring back missing parameters ([bd6474f](https://github.com/imagekit-developer/imagekit-nodejs/commit/bd6474f9af40cae66818a260f21087d4e19f76af))
13+
* **api:** update webhook event names and remove DAM prefix ([a86f04c](https://github.com/imagekit-developer/imagekit-nodejs/commit/a86f04c6c187b3bedced5146a5ca717eccc8492e))
14+
* **docs:** simplify authentication parameters example in README ([c14843b](https://github.com/imagekit-developer/imagekit-nodejs/commit/c14843b8e77bc24a871ed594962105fbfa7fa38a))
15+
16+
17+
### Bug Fixes
18+
19+
* **api:** extract shared schemas to prevent Go webhook union breaking changes ([8296498](https://github.com/imagekit-developer/imagekit-nodejs/commit/829649869a6a8fae58433b3a6a4c33205b6eeb0d))
20+
* **api:** rename DamFile events to File for consistency ([24b7f4b](https://github.com/imagekit-developer/imagekit-nodejs/commit/24b7f4b33977691dadbed303fd10acd532dcd5c1))
21+
22+
23+
### Chores
24+
25+
* **internal:** codegen related update ([fbffd21](https://github.com/imagekit-developer/imagekit-nodejs/commit/fbffd213dde7fc45ee6ba0f3e30747bf487c0b03))
26+
* **internal:** codegen related update ([eb9b6dc](https://github.com/imagekit-developer/imagekit-nodejs/commit/eb9b6dc079d3c174b37863892e3dbc5a6ca0a2d5))
27+
* **internal:** codegen related update ([e2cf4dc](https://github.com/imagekit-developer/imagekit-nodejs/commit/e2cf4dcd2be96f3d7d60244e40592aa94f393e8c))
28+
* **internal:** fix MCP server import ordering ([31100e2](https://github.com/imagekit-developer/imagekit-nodejs/commit/31100e2ee17426153efea46f8787d2cfb5e2a9ee))
29+
* **internal:** show error causes in MCP servers when running in local mode ([7f1ff53](https://github.com/imagekit-developer/imagekit-nodejs/commit/7f1ff53ef5fedeb78fd73571664789c858133351))
30+
* **mcp-server:** increase local docs search result count from 5 to 10 ([35dc080](https://github.com/imagekit-developer/imagekit-nodejs/commit/35dc080ca7ef76d09db5152fbc8e3af285581822))
31+
32+
33+
### Documentation
34+
35+
* improve examples ([cbfbebc](https://github.com/imagekit-developer/imagekit-nodejs/commit/cbfbebc7d6ecb5e71207e9885f7b3195d1d1c316))
36+
37+
38+
### Refactors
39+
40+
* AITags to singular AITag schema with array items pattern ([cfca6fd](https://github.com/imagekit-developer/imagekit-nodejs/commit/cfca6fd9f812d6f434e3682eb880d2351ccf6076))
41+
342
## 7.4.0 (2026-04-06)
443

544
Full Changelog: [v7.3.0...v7.4.0](https://github.com/imagekit-developer/imagekit-nodejs/compare/v7.3.0...v7.4.0)

api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,11 @@ Methods:
229229
Types:
230230

231231
- <code><a href="./src/resources/webhooks.ts">BaseWebhookEvent</a></code>
232+
- <code><a href="./src/resources/webhooks.ts">FileCreateEvent</a></code>
233+
- <code><a href="./src/resources/webhooks.ts">FileDeleteEvent</a></code>
234+
- <code><a href="./src/resources/webhooks.ts">FileUpdateEvent</a></code>
235+
- <code><a href="./src/resources/webhooks.ts">FileVersionCreateEvent</a></code>
236+
- <code><a href="./src/resources/webhooks.ts">FileVersionDeleteEvent</a></code>
232237
- <code><a href="./src/resources/webhooks.ts">UploadPostTransformErrorEvent</a></code>
233238
- <code><a href="./src/resources/webhooks.ts">UploadPostTransformSuccessEvent</a></code>
234239
- <code><a href="./src/resources/webhooks.ts">UploadPreTransformErrorEvent</a></code>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@imagekit/nodejs",
3-
"version": "7.4.0",
3+
"version": "7.5.0",
44
"description": "Offical NodeJS SDK for ImageKit.io integration",
55
"author": "Image Kit <developer@imagekit.io>",
66
"types": "dist/index.d.ts",

packages/mcp-server/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dxt_version": "0.2",
33
"name": "@imagekit/api-mcp",
4-
"version": "7.4.0",
4+
"version": "7.5.0",
55
"description": "The official MCP Server for the Image Kit API",
66
"author": {
77
"name": "Image Kit",

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": "@imagekit/api-mcp",
3-
"version": "7.4.0",
3+
"version": "7.5.0",
44
"description": "The official MCP Server for the Image Kit API",
55
"author": "Image Kit <developer@imagekit.io>",
66
"types": "dist/index.d.ts",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ function makeSdkProxy<T extends object>(obj: T, { path, isBelievedBad = false }:
233233

234234
function parseError(code: string, error: unknown): string | undefined {
235235
if (!(error instanceof Error)) return;
236-
const message = error.name ? `${error.name}: ${error.message}` : error.message;
236+
const cause = error.cause instanceof Error ? `: ${error.cause.message}` : '';
237+
const message = error.name ? `${error.name}: ${error.message}${cause}` : `${error.message}${cause}`;
237238
try {
238239
// Deno uses V8; the first "<anonymous>:LINE:COLUMN" is the top of stack.
239240
const lineNumber = error.stack?.match(/<anonymous>:([0-9]+):[0-9]+/)?.[1];

packages/mcp-server/src/docs-search-tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async function searchLocal(args: Record<string, unknown>): Promise<unknown> {
6363
query,
6464
language,
6565
detail,
66-
maxResults: 5,
66+
maxResults: 10,
6767
}).results;
6868
}
6969

packages/mcp-server/src/instructions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
import fs from 'fs/promises';
4-
import { readEnv } from './util';
54
import { getLogger } from './logger';
5+
import { readEnv } from './util';
66

77
const INSTRUCTIONS_CACHE_TTL_MS = 15 * 60 * 1000; // 15 minutes
88

0 commit comments

Comments
 (0)