Skip to content

Commit 1a9e105

Browse files
authored
Merge pull request #124 from imagekit-developer/release-please--branches--master--changes--next--components--nodejs
release: 7.1.0
2 parents d2a0451 + 3dd5d37 commit 1a9e105

36 files changed

+527
-371
lines changed

.eslintcache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"/home/tempuser-vr9scf/run/codegen-output/imagekit-inc/imagekit-typescript/packages/mcp-server/src/tools/beta/v2/files/upload-v2-beta-files.ts":"1","/home/tempuser-vr9scf/run/codegen-output/imagekit-inc/imagekit-typescript/packages/mcp-server/src/tools/files/upload-files.ts":"2","/home/tempuser-vr9scf/run/codegen-output/imagekit-inc/imagekit-typescript/src/resources/beta/v2/files.ts":"3","/home/tempuser-vr9scf/run/codegen-output/imagekit-inc/imagekit-typescript/src/resources/files/files.ts":"4","/home/tempuser-vr9scf/run/codegen-output/imagekit-inc/imagekit-typescript/src/resources/webhooks.ts":"5","/home/tempuser-vr9scf/run/codegen-output/imagekit-inc/imagekit-typescript/tests/api-resources/beta/v2/files.test.ts":"6","/home/tempuser-vr9scf/run/codegen-output/imagekit-inc/imagekit-typescript/tests/api-resources/files/files.test.ts":"7"},{"size":15178,"mtime":1759218546101},{"size":16142,"mtime":1759218546101},{"size":19090,"mtime":1759218546101},{"size":43513,"mtime":1759218546101},{"size":28582,"mtime":1759218546101},{"size":2119,"mtime":1759218546101},{"size":6193,"mtime":1759218546101}]

.github/workflows/release-doctor.yml

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ dist
77
dist-deno
88
/*.tgz
99
.idea/
10+
.eslintcache
1011
dist-bundle
1112
*.mcpb

.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.0.1"
2+
".": "7.1.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: 42
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-d1a3e6dfc45ae832b6b14a0aef25878985c679fa9f48c1470df188b1578ba648.yml
3-
openapi_spec_hash: 1d382866fce3284f26d341f112988d9d
4-
config_hash: d57f3c7c581048428b41398f30da8b9b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-01aef94bd928f40b7209dc21df71e2312d4bee430119b30ee05d75cf5e1b4801.yml
3+
openapi_spec_hash: 054c332db88b23d362f72583dd24b2aa
4+
config_hash: e42d7fc3a8c92c35099cc283f9a4467a

CHANGELOG.md

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

3+
## 7.1.0 (2025-09-30)
4+
5+
Full Changelog: [v7.0.1...v7.1.0](https://github.com/imagekit-developer/imagekit-nodejs/compare/v7.0.1...v7.1.0)
6+
7+
### Features
8+
9+
* **api:** add path policy related non-breaking changes ([d50cbcf](https://github.com/imagekit-developer/imagekit-nodejs/commit/d50cbcf4cd2535e25310c635539a2ecf2f2e8201))
10+
* **api:** add selectedFieldsSchema in upload and list API response ([ec8c8b8](https://github.com/imagekit-developer/imagekit-nodejs/commit/ec8c8b846e6288e6c13d4bbe4e65ca13d4059fa2))
11+
* **api:** fix upload API request params ([467d77b](https://github.com/imagekit-developer/imagekit-nodejs/commit/467d77b12af3f7f0a0816bffb921b229f6c54a9b))
12+
* **api:** updated docs ([962390f](https://github.com/imagekit-developer/imagekit-nodejs/commit/962390f02b179b6a34f9697c27bc67ed99ba9b99))
13+
* **mcp:** add option for including docs tools ([e1a3b52](https://github.com/imagekit-developer/imagekit-nodejs/commit/e1a3b52f5691f398669cd682c57d5a6dc4e5895a))
14+
15+
16+
### Bug Fixes
17+
18+
* **mcp:** fix cli argument parsing logic ([a8da550](https://github.com/imagekit-developer/imagekit-nodejs/commit/a8da5506c7a39462b7b02bbfec1e4e7a6fbdfdaf))
19+
* **mcp:** resolve a linting issue in server code ([e805d24](https://github.com/imagekit-developer/imagekit-nodejs/commit/e805d24f1d721e1694b927c3c41c5b21a4433fb0))
20+
21+
22+
### Performance Improvements
23+
24+
* faster formatting ([7e8cfad](https://github.com/imagekit-developer/imagekit-nodejs/commit/7e8cfadd5473e55e83c6659c4033f9b852d3f91c))
25+
26+
27+
### Chores
28+
29+
* **internal:** codegen related update ([ca24cab](https://github.com/imagekit-developer/imagekit-nodejs/commit/ca24cab20bc7d4450623d67b0ebcb4e2a0ef7633))
30+
* **internal:** codegen related update ([2acb106](https://github.com/imagekit-developer/imagekit-nodejs/commit/2acb106595f0642dcdb81bcd9a041a1bf059d307))
31+
* **internal:** fix incremental formatting in some cases ([863e6b7](https://github.com/imagekit-developer/imagekit-nodejs/commit/863e6b7b6cff10c81fc07524b038972db2ce76b6))
32+
* **internal:** ignore .eslintcache ([f991673](https://github.com/imagekit-developer/imagekit-nodejs/commit/f99167394b66562e972b54730a4cf65aed8e33fd))
33+
* **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([9e0e5b0](https://github.com/imagekit-developer/imagekit-nodejs/commit/9e0e5b0c46930798e8d06f553fd91a57d9692d2b))
34+
* **mcp:** allow pointing `docs_search` tool at other URLs ([bbe84b3](https://github.com/imagekit-developer/imagekit-nodejs/commit/bbe84b3a9a5b30fc11c7b074cea447632740f512))
35+
* update lockfile ([dcdc0b7](https://github.com/imagekit-developer/imagekit-nodejs/commit/dcdc0b74f7d809165bc0e3bce1656626d5dd1240))
36+
37+
38+
### Documentation
39+
40+
* correct typo in default value description for custom metadata field ([a957209](https://github.com/imagekit-developer/imagekit-nodejs/commit/a9572097a933ab5d9c62fda02d4edf8c9fc47eeb))
41+
* fix link to deploy template in README ([ba86045](https://github.com/imagekit-developer/imagekit-nodejs/commit/ba86045ee37ea9c03cce09f8a8028e645f263bbf))
42+
343
## 7.0.1 (2025-09-21)
444

545
Full Changelog: [v7.0.0...v7.0.1](https://github.com/imagekit-developer/imagekit-nodejs/compare/v7.0.0...v7.0.1)

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.0.1",
3+
"version": "7.1.0",
44
"description": "Offical NodeJS SDK for ImageKit.io integration",
55
"author": "Image Kit <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ The following tools are available in this MCP server.
212212
- `create_custom_metadata_fields` (`write`): This API creates a new custom metadata field. Once a custom metadata field is created either through this API or using the dashboard UI, its value can be set on the assets. The value of a field for an asset can be set using the media library UI or programmatically through upload or update assets API.
213213
- `update_custom_metadata_fields` (`write`): This API updates the label or schema of an existing custom metadata field.
214214
- `list_custom_metadata_fields` (`read`): This API returns the array of created custom metadata field objects. By default the API returns only non deleted field objects, but you can include deleted fields in the API response.
215+
216+
You can also filter results by a specific folder path to retrieve custom metadata fields applicable at that location. This path-specific filtering is useful when using the **Path policy** feature to determine which custom metadata fields are selected for a given path.
217+
215218
- `delete_custom_metadata_fields` (`write`): This API deletes a custom metadata field. Even after deleting a custom metadata field, you cannot create any new custom metadata field with the same name.
216219

217220
### Resource `files`:

packages/mcp-server/cloudflare-worker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ API token and any other client configuration options that you'd need to instanti
77

88
The recommended way to use this project is to use the below "deploy to cloudflare" button to use this repo as a template for generating a server.
99

10-
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/imagekit-developer/imagekit-nodejs/tree/main/packages/mcp-server/cloudflare-worker)
10+
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/imagekit-developer/imagekit-nodejs/tree/master/packages/mcp-server/cloudflare-worker)
1111

1212
## Develop locally
1313

packages/mcp-server/cloudflare-worker/wrangler.jsonc

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,33 @@
33
* https://developers.cloudflare.com/workers/wrangler/configuration/
44
*/
55
{
6-
"$schema": "node_modules/wrangler/config-schema.json",
7-
"name": "imagekit-nodejs-api-mcp-server",
8-
"main": "src/index.ts",
9-
"compatibility_date": "2025-03-10",
10-
"compatibility_flags": ["nodejs_compat"],
11-
"migrations": [
12-
{
13-
"new_sqlite_classes": ["MyMCP"],
14-
"tag": "v1"
15-
}
16-
],
17-
"durable_objects": {
18-
"bindings": [
19-
{
20-
"class_name": "MyMCP",
21-
"name": "MCP_OBJECT"
22-
}
23-
]
24-
},
25-
"kv_namespaces": [
26-
{
27-
"binding": "OAUTH_KV",
28-
"id": "ae6fe7d7993146a9b8d54d87f73b0bdf"
29-
}
30-
],
31-
"observability": {
32-
"enabled": true
33-
},
34-
"assets": { "directory": "./static/", "binding": "ASSETS" }
6+
"$schema": "node_modules/wrangler/config-schema.json",
7+
"name": "imagekit-nodejs-api-mcp-server",
8+
"main": "src/index.ts",
9+
"compatibility_date": "2025-03-10",
10+
"compatibility_flags": ["nodejs_compat"],
11+
"migrations": [
12+
{
13+
"new_sqlite_classes": ["MyMCP"],
14+
"tag": "v1"
15+
}
16+
],
17+
"durable_objects": {
18+
"bindings": [
19+
{
20+
"class_name": "MyMCP",
21+
"name": "MCP_OBJECT"
22+
}
23+
]
24+
},
25+
"kv_namespaces": [
26+
{
27+
"binding": "OAUTH_KV",
28+
"id": "ae6fe7d7993146a9b8d54d87f73b0bdf"
29+
}
30+
],
31+
"observability": {
32+
"enabled": true
33+
},
34+
"assets": { "directory": "./static/", "binding": "ASSETS" }
3535
}

0 commit comments

Comments
 (0)