Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
31100e2
chore(internal): fix MCP server import ordering
stainless-app[bot] Apr 6, 2026
35dc080
chore(mcp-server): increase local docs search result count from 5 to 10
stainless-app[bot] Apr 8, 2026
e2cf4dc
chore(internal): codegen related update
stainless-app[bot] Apr 8, 2026
7f1ff53
chore(internal): show error causes in MCP servers when running in lo…
stainless-app[bot] Apr 9, 2026
d2bc9ce
feat(api): dam related webhook events
stainless-app[bot] Apr 10, 2026
79ae799
feat(api): fix spec indentation
stainless-app[bot] Apr 10, 2026
65c6eec
feat(api): indentation fix
stainless-app[bot] Apr 10, 2026
bd6474f
feat(api): merge with main to bring back missing parameters
stainless-app[bot] Apr 10, 2026
c14843b
feat(docs): simplify authentication parameters example in README
manu4543 Apr 10, 2026
a86f04c
feat(api): update webhook event names and remove DAM prefix
stainless-app[bot] Apr 10, 2026
24b7f4b
fix(api): rename DamFile events to File for consistency
stainless-app[bot] Apr 10, 2026
cbfbebc
docs: improve examples
stainless-app[bot] Apr 10, 2026
eb9b6dc
chore(internal): codegen related update
stainless-app[bot] Apr 10, 2026
fbffd21
chore(internal): codegen related update
stainless-app[bot] Apr 12, 2026
8296498
fix(api): extract shared schemas to prevent Go webhook union breaking…
stainless-app[bot] Apr 13, 2026
cf8b59a
codegen metadata
stainless-app[bot] Apr 13, 2026
cfca6fd
refactor: AITags to singular AITag schema with array items pattern
stainless-app[bot] Apr 13, 2026
e74029a
release: 7.5.0
stainless-app[bot] Apr 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "7.4.0"
".": "7.5.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 47
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-63aff1629530786015da3c86131afa8a9b60545d488884b77641f1d4b89c6e9d.yml
openapi_spec_hash: 586d357bd7e5217d240a99e0d83c6d1f
config_hash: 47cb702ee2cb52c58d803ae39ade9b44
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-70c42eda2bee929830b2537f758400a58dded1f1ef5686a286e2469c35a041a0.yml
openapi_spec_hash: cdaeed824e91657b45092765cf55eb42
config_hash: e3c2679d25f6235381dfb11962fbf3d9
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# Changelog

## 7.5.0 (2026-04-13)

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

### Features

* **api:** dam related webhook events ([d2bc9ce](https://github.com/imagekit-developer/imagekit-nodejs/commit/d2bc9ce8f62be8c4da65f655b8113a0bca685c37))
* **api:** fix spec indentation ([79ae799](https://github.com/imagekit-developer/imagekit-nodejs/commit/79ae799823f2dcdde7eece7fc0588916e453537e))
* **api:** indentation fix ([65c6eec](https://github.com/imagekit-developer/imagekit-nodejs/commit/65c6eec03f5907dedd73500eeba8f9aa0de1f66c))
* **api:** merge with main to bring back missing parameters ([bd6474f](https://github.com/imagekit-developer/imagekit-nodejs/commit/bd6474f9af40cae66818a260f21087d4e19f76af))
* **api:** update webhook event names and remove DAM prefix ([a86f04c](https://github.com/imagekit-developer/imagekit-nodejs/commit/a86f04c6c187b3bedced5146a5ca717eccc8492e))
* **docs:** simplify authentication parameters example in README ([c14843b](https://github.com/imagekit-developer/imagekit-nodejs/commit/c14843b8e77bc24a871ed594962105fbfa7fa38a))


### Bug Fixes

* **api:** extract shared schemas to prevent Go webhook union breaking changes ([8296498](https://github.com/imagekit-developer/imagekit-nodejs/commit/829649869a6a8fae58433b3a6a4c33205b6eeb0d))
* **api:** rename DamFile events to File for consistency ([24b7f4b](https://github.com/imagekit-developer/imagekit-nodejs/commit/24b7f4b33977691dadbed303fd10acd532dcd5c1))


### Chores

* **internal:** codegen related update ([fbffd21](https://github.com/imagekit-developer/imagekit-nodejs/commit/fbffd213dde7fc45ee6ba0f3e30747bf487c0b03))
* **internal:** codegen related update ([eb9b6dc](https://github.com/imagekit-developer/imagekit-nodejs/commit/eb9b6dc079d3c174b37863892e3dbc5a6ca0a2d5))
* **internal:** codegen related update ([e2cf4dc](https://github.com/imagekit-developer/imagekit-nodejs/commit/e2cf4dcd2be96f3d7d60244e40592aa94f393e8c))
* **internal:** fix MCP server import ordering ([31100e2](https://github.com/imagekit-developer/imagekit-nodejs/commit/31100e2ee17426153efea46f8787d2cfb5e2a9ee))
* **internal:** show error causes in MCP servers when running in local mode ([7f1ff53](https://github.com/imagekit-developer/imagekit-nodejs/commit/7f1ff53ef5fedeb78fd73571664789c858133351))
* **mcp-server:** increase local docs search result count from 5 to 10 ([35dc080](https://github.com/imagekit-developer/imagekit-nodejs/commit/35dc080ca7ef76d09db5152fbc8e3af285581822))


### Documentation

* improve examples ([cbfbebc](https://github.com/imagekit-developer/imagekit-nodejs/commit/cbfbebc7d6ecb5e71207e9885f7b3195d1d1c316))


### Refactors

* AITags to singular AITag schema with array items pattern ([cfca6fd](https://github.com/imagekit-developer/imagekit-nodejs/commit/cfca6fd9f812d6f434e3682eb880d2351ccf6076))

## 7.4.0 (2026-04-06)

Full Changelog: [v7.3.0...v7.4.0](https://github.com/imagekit-developer/imagekit-nodejs/compare/v7.3.0...v7.4.0)
Expand Down
5 changes: 5 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ Methods:
Types:

- <code><a href="./src/resources/webhooks.ts">BaseWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">FileCreateEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">FileDeleteEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">FileUpdateEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">FileVersionCreateEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">FileVersionDeleteEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">UploadPostTransformErrorEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">UploadPostTransformSuccessEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">UploadPreTransformErrorEvent</a></code>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@imagekit/nodejs",
"version": "7.4.0",
"version": "7.5.0",
"description": "Offical NodeJS SDK for ImageKit.io integration",
"author": "Image Kit <developer@imagekit.io>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dxt_version": "0.2",
"name": "@imagekit/api-mcp",
"version": "7.4.0",
"version": "7.5.0",
"description": "The official MCP Server for the Image Kit API",
"author": {
"name": "Image Kit",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@imagekit/api-mcp",
"version": "7.4.0",
"version": "7.5.0",
"description": "The official MCP Server for the Image Kit API",
"author": "Image Kit <developer@imagekit.io>",
"types": "dist/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion packages/mcp-server/src/code-tool-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ function makeSdkProxy<T extends object>(obj: T, { path, isBelievedBad = false }:

function parseError(code: string, error: unknown): string | undefined {
if (!(error instanceof Error)) return;
const message = error.name ? `${error.name}: ${error.message}` : error.message;
const cause = error.cause instanceof Error ? `: ${error.cause.message}` : '';
const message = error.name ? `${error.name}: ${error.message}${cause}` : `${error.message}${cause}`;
try {
// Deno uses V8; the first "<anonymous>:LINE:COLUMN" is the top of stack.
const lineNumber = error.stack?.match(/<anonymous>:([0-9]+):[0-9]+/)?.[1];
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/src/docs-search-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async function searchLocal(args: Record<string, unknown>): Promise<unknown> {
query,
language,
detail,
maxResults: 5,
maxResults: 10,
}).results;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/src/instructions.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

import fs from 'fs/promises';
import { readEnv } from './util';
import { getLogger } from './logger';
import { readEnv } from './util';

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

Expand Down
Loading
Loading