diff --git a/.release-please-manifest.json b/.release-please-manifest.json index fad80ad..332798e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.7" + ".": "0.1.0-alpha.8" } diff --git a/CHANGELOG.md b/CHANGELOG.md index bc2ace8..a7e63c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 0.1.0-alpha.8 (2026-01-07) + +Full Changelog: [v0.1.0-alpha.7...v0.1.0-alpha.8](https://github.com/zeroentropy-ai/zeroentropy-node/compare/v0.1.0-alpha.7...v0.1.0-alpha.8) + +### Bug Fixes + +* **mcp:** correct code tool API endpoint ([2bb9b5d](https://github.com/zeroentropy-ai/zeroentropy-node/commit/2bb9b5d1d8ba44e11148d83d52379804e4d8f926)) +* **mcp:** return correct lines on typescript errors ([2c02f32](https://github.com/zeroentropy-ai/zeroentropy-node/commit/2c02f322c6eab9455ab0c7b09f900140157899fd)) + + +### Chores + +* break long lines in snippets into multiline ([3d7a070](https://github.com/zeroentropy-ai/zeroentropy-node/commit/3d7a0702dde4a0070df30c6bee019382c10dca33)) +* **internal:** codegen related update ([f287ef1](https://github.com/zeroentropy-ai/zeroentropy-node/commit/f287ef1b8a266a4d55104a7a0807c1763663d60f)) +* **internal:** codegen related update ([d32a969](https://github.com/zeroentropy-ai/zeroentropy-node/commit/d32a969b62c4a471129529fb3a22355e1cf96ced)) +* **internal:** codegen related update ([fe15e37](https://github.com/zeroentropy-ai/zeroentropy-node/commit/fe15e3763ab7d9e87e9928e2ef0d1a2b1e66afe3)) + ## 0.1.0-alpha.7 (2025-11-24) Full Changelog: [v0.1.0-alpha.6...v0.1.0-alpha.7](https://github.com/zeroentropy-ai/zeroentropy-node/compare/v0.1.0-alpha.6...v0.1.0-alpha.7) diff --git a/LICENSE b/LICENSE index 1b68672..c8c0313 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2025 ZeroEntropy + Copyright 2026 ZeroEntropy Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/package.json b/package.json index b1a916d..d810099 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zeroentropy", - "version": "0.1.0-alpha.7", + "version": "0.1.0-alpha.8", "description": "The official TypeScript library for the ZeroEntropy API", "author": "ZeroEntropy ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 135324a..2cc4fcd 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.1.0-alpha.7'; // x-release-please-version +export const VERSION = '0.1.0-alpha.8'; // x-release-please-version diff --git a/tests/api-resources/models.test.ts b/tests/api-resources/models.test.ts index abeb12f..1834572 100644 --- a/tests/api-resources/models.test.ts +++ b/tests/api-resources/models.test.ts @@ -10,7 +10,11 @@ const client = new ZeroEntropy({ describe('resource models', () => { test('rerank: only required params', async () => { - const responsePromise = client.models.rerank({ documents: ['string'], model: 'model', query: 'query' }); + const responsePromise = client.models.rerank({ + documents: ['string'], + model: 'model', + query: 'query', + }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; diff --git a/tests/index.test.ts b/tests/index.test.ts index a004d9e..c14c806 100644 --- a/tests/index.test.ts +++ b/tests/index.test.ts @@ -276,7 +276,11 @@ describe('retries', () => { return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); }; - const client = new ZeroEntropy({ apiKey: 'My API Key', timeout: 10, fetch: testFetch }); + const client = new ZeroEntropy({ + apiKey: 'My API Key', + timeout: 10, + fetch: testFetch, + }); expect(await client.request({ path: '/foo', method: 'get' })).toEqual({ a: 1 }); expect(count).toEqual(2); @@ -306,7 +310,11 @@ describe('retries', () => { return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); }; - const client = new ZeroEntropy({ apiKey: 'My API Key', fetch: testFetch, maxRetries: 4 }); + const client = new ZeroEntropy({ + apiKey: 'My API Key', + fetch: testFetch, + maxRetries: 4, + }); expect(await client.request({ path: '/foo', method: 'get' })).toEqual({ a: 1 }); @@ -330,7 +338,11 @@ describe('retries', () => { capturedRequest = init; return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); }; - const client = new ZeroEntropy({ apiKey: 'My API Key', fetch: testFetch, maxRetries: 4 }); + const client = new ZeroEntropy({ + apiKey: 'My API Key', + fetch: testFetch, + maxRetries: 4, + }); expect( await client.request({ @@ -392,7 +404,11 @@ describe('retries', () => { capturedRequest = init; return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); }; - const client = new ZeroEntropy({ apiKey: 'My API Key', fetch: testFetch, maxRetries: 4 }); + const client = new ZeroEntropy({ + apiKey: 'My API Key', + fetch: testFetch, + maxRetries: 4, + }); expect( await client.request({