Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
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.2.0"
".": "7.2.1"
}
4 changes: 2 additions & 2 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-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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.2.0",
"version": "7.2.1",
"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/package.json
Original file line number Diff line number Diff line change
@@ -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 <developer@imagekit.io>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const newMcpServer = () =>
new McpServer(
{
name: 'imagekit_nodejs_api',
version: '7.2.0',
version: '7.2.1',
},
{ capabilities: { tools: {}, logging: {} } },
);
Expand Down
24 changes: 12 additions & 12 deletions src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>;

/**
* Maximum number of tags to select from the vocabulary.
*/
Expand All @@ -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<string>;
}

export interface SelectMetadata {
Expand Down Expand Up @@ -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<string>;

/**
* Maximum number of tags to select from the vocabulary.
*/
Expand All @@ -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<string>;
}

export interface SelectMetadata {
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '7.2.0'; // x-release-please-version
export const VERSION = '7.2.1'; // x-release-please-version
2 changes: 1 addition & 1 deletion tests/api-resources/beta/v2/files.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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?',
Expand Down
2 changes: 1 addition & 1 deletion tests/api-resources/files/files.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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?',
Expand Down