diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e34f886d..539cb2a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: runs-on: ${{ github.repository == 'stainless-sdks/imagekit-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: github.event_name == 'push' || github.event.pull_request.head.repo.fork steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Node uses: actions/setup-node@v4 @@ -41,7 +41,7 @@ jobs: contents: read id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Node uses: actions/setup-node@v4 @@ -83,7 +83,7 @@ jobs: runs-on: ${{ github.repository == 'stainless-sdks/imagekit-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: github.event_name == 'push' || github.event.pull_request.head.repo.fork steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Node uses: actions/setup-node@v4 diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index e70ffc9f..5de47cbe 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -20,7 +20,7 @@ jobs: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Node uses: actions/setup-node@v3 diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 6f09ab8c..fa2649a4 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -12,7 +12,7 @@ jobs: if: github.repository == 'imagekit-developer/imagekit-nodejs' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Check release environment run: | diff --git a/.release-please-manifest.json b/.release-please-manifest.json index eb0c51f1..e102ad9c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "7.2.0" + ".": "7.2.1" } diff --git a/.stats.yml b/.stats.yml index dc3fb535..751099cf 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 47 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-c028a7584d3508f268ce5c5b824b50af88eaa140620dd03a1b35f409f510603c.yml -openapi_spec_hash: f9b780b2398a87678a13355e48cd515f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-84f0d75048a9268981a84800b4190e3691997ce57dcfc0876f38a5b3fce6bacd.yml +openapi_spec_hash: 35607d4e850c8a60524223ff632c83bb config_hash: aeb6eb949d73382270bbd8bbf2e4cf2a diff --git a/CHANGELOG.md b/CHANGELOG.md index 75a87ba6..9c8df998 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 7.2.1 (2026-01-20) + +Full Changelog: [v7.2.0...v7.2.1](https://github.com/imagekit-developer/imagekit-nodejs/compare/v7.2.0...v7.2.1) + +### Bug Fixes + +* vocab field is required ([e6d0e58](https://github.com/imagekit-developer/imagekit-nodejs/commit/e6d0e58cb00e59a4fbfd81ed9b555bcc7fd97f2c)) + + +### Chores + +* **internal:** update `actions/checkout` version ([6f64673](https://github.com/imagekit-developer/imagekit-nodejs/commit/6f646734061e67193ecdda3eb6c507787b2785d5)) + ## 7.2.0 (2026-01-16) Full Changelog: [v7.1.1...v7.2.0](https://github.com/imagekit-developer/imagekit-nodejs/compare/v7.1.1...v7.2.0) diff --git a/package.json b/package.json index 61182656..55d029ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@imagekit/nodejs", - "version": "7.2.0", + "version": "7.2.1", "description": "Offical NodeJS SDK for ImageKit.io integration", "author": "Image Kit ", "types": "dist/index.d.ts", diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json index 55a474f6..692e77cc 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -1,6 +1,6 @@ { "name": "@imagekit/api-mcp", - "version": "7.2.0", + "version": "7.2.1", "description": "The official MCP Server for the Image Kit API", "author": "Image Kit ", "types": "dist/index.d.ts", diff --git a/packages/mcp-server/src/server.ts b/packages/mcp-server/src/server.ts index e098f6f7..89031ebb 100644 --- a/packages/mcp-server/src/server.ts +++ b/packages/mcp-server/src/server.ts @@ -21,7 +21,7 @@ export const newMcpServer = () => new McpServer( { name: 'imagekit_nodejs_api', - version: '7.2.0', + version: '7.2.1', }, { capabilities: { tools: {}, logging: {} } }, ); diff --git a/src/resources/shared.ts b/src/resources/shared.ts index f5adf8c8..2a4d9643 100644 --- a/src/resources/shared.ts +++ b/src/resources/shared.ts @@ -136,12 +136,6 @@ export namespace ExtensionConfig { */ type: 'select_tags'; - /** - * Array of possible tag values. Combined length of all strings must not exceed 500 - * characters. Cannot contain the `%` character. - */ - vocabulary: Array; - /** * Maximum number of tags to select from the vocabulary. */ @@ -151,6 +145,12 @@ export namespace ExtensionConfig { * Minimum number of tags to select from the vocabulary. */ min_selections?: number; + + /** + * Array of possible tag values. Combined length of all strings must not exceed 500 + * characters. Cannot contain the `%` character. + */ + vocabulary?: Array; } export interface SelectMetadata { @@ -457,12 +457,6 @@ export namespace Extensions { */ type: 'select_tags'; - /** - * Array of possible tag values. Combined length of all strings must not exceed 500 - * characters. Cannot contain the `%` character. - */ - vocabulary: Array; - /** * Maximum number of tags to select from the vocabulary. */ @@ -472,6 +466,12 @@ export namespace Extensions { * Minimum number of tags to select from the vocabulary. */ min_selections?: number; + + /** + * Array of possible tag values. Combined length of all strings must not exceed 500 + * characters. Cannot contain the `%` character. + */ + vocabulary?: Array; } export interface SelectMetadata { diff --git a/src/version.ts b/src/version.ts index 915a686a..b33fb49f 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '7.2.0'; // x-release-please-version +export const VERSION = '7.2.1'; // x-release-please-version diff --git a/tests/api-resources/beta/v2/files.test.ts b/tests/api-resources/beta/v2/files.test.ts index 484f6cea..c3fc2bc0 100644 --- a/tests/api-resources/beta/v2/files.test.ts +++ b/tests/api-resources/beta/v2/files.test.ts @@ -56,9 +56,9 @@ describe('resource files', () => { { instruction: 'What types of clothing items are visible in this image?', type: 'select_tags', - vocabulary: ['shirt', 'tshirt', 'dress', 'trousers', 'jacket'], max_selections: 1, min_selections: 0, + vocabulary: ['shirt', 'tshirt', 'dress', 'trousers', 'jacket'], }, { instruction: 'Is this a luxury or high-end fashion item?', diff --git a/tests/api-resources/files/files.test.ts b/tests/api-resources/files/files.test.ts index 3969e504..c744c6f6 100644 --- a/tests/api-resources/files/files.test.ts +++ b/tests/api-resources/files/files.test.ts @@ -164,9 +164,9 @@ describe('resource files', () => { { instruction: 'What types of clothing items are visible in this image?', type: 'select_tags', - vocabulary: ['shirt', 'tshirt', 'dress', 'trousers', 'jacket'], max_selections: 1, min_selections: 0, + vocabulary: ['shirt', 'tshirt', 'dress', 'trousers', 'jacket'], }, { instruction: 'Is this a luxury or high-end fashion item?',