Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5f5049a
chore: update SDK settings
stainless-app[bot] Apr 22, 2026
9ac7b35
chore(internal): update docs ordering
stainless-app[bot] Apr 23, 2026
dd48b06
chore(internal): more robust bootstrap script
stainless-app[bot] Apr 23, 2026
48b1cfa
codegen metadata
stainless-app[bot] Apr 23, 2026
bc710fb
codegen metadata
stainless-app[bot] Apr 24, 2026
d978c9d
codegen metadata
stainless-app[bot] Apr 25, 2026
5157c9b
codegen metadata
stainless-app[bot] Apr 25, 2026
58ab502
codegen metadata
stainless-app[bot] Apr 25, 2026
d4b2496
feat(api): api update
stainless-app[bot] Apr 26, 2026
6e78500
codegen metadata
stainless-app[bot] Apr 27, 2026
8a752b4
chore: restructure docs search code
stainless-app[bot] Apr 28, 2026
f6cdc59
chore(internal): codegen related update
stainless-app[bot] Apr 28, 2026
0e3b514
feat: support setting headers via env
stainless-app[bot] Apr 28, 2026
72136b1
codegen metadata
stainless-app[bot] Apr 28, 2026
eb18d4a
codegen metadata
stainless-app[bot] Apr 29, 2026
43ec88d
chore(format): run eslint and prettier separately
stainless-app[bot] Apr 29, 2026
cf52108
chore: avoid formatting file that gets changed during releases
stainless-app[bot] Apr 30, 2026
2fd5100
codegen metadata
stainless-app[bot] Apr 30, 2026
8f0033a
codegen metadata
stainless-app[bot] May 1, 2026
e842768
codegen metadata
stainless-app[bot] May 1, 2026
700d0af
feat(api): api update
stainless-app[bot] May 5, 2026
f70b77d
codegen metadata
stainless-app[bot] May 6, 2026
6f8f5a6
docs: update http mcp docs
stainless-app[bot] May 7, 2026
e1f12f8
feat(api): api update
stainless-app[bot] May 7, 2026
10386a3
feat(api): api update
stainless-app[bot] May 8, 2026
9ccb5ff
chore: redact api-key headers in debug logs
stainless-app[bot] May 8, 2026
cd47ae4
codegen metadata
stainless-app[bot] May 8, 2026
8958b49
feat(api): api update
stainless-app[bot] May 8, 2026
9ea9d7d
release: 0.39.0
stainless-app[bot] May 8, 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 .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write

steps:
- uses: actions/checkout@v6
Expand All @@ -45,6 +44,7 @@ jobs:
pnpm tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
env:
INPUT_PATH: ${{ github.event.inputs.path }}
NPM_TOKEN: ${{ secrets.HYPERSPELL_NPM_TOKEN || secrets.NPM_TOKEN }}

- name: Upload MCP Server DXT GitHub release asset
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ jobs:
- name: Check release environment
run: |
bash ./bin/check-release-environment

env:
NPM_TOKEN: ${{ secrets.HYPERSPELL_NPM_TOKEN || secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ dist-deno
.eslintcache
dist-bundle
*.mcpb
oidc
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CHANGELOG.md
/ecosystem-tests/*/**
/node_modules
/deno
/packages/mcp-server/manifest.json

# don't format tsc output, will break source maps
dist
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.38.0"
".": "0.39.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: 30
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-a4bf4f3aaf1509541db646bc9ff7ec58e78cb4d42cf6bf83881b02739ad77b87.yml
openapi_spec_hash: 89cd02b2290061877e6badcddb7c8eb8
config_hash: 09bb5ca4418f316f95d2b75ef7399cf0
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-25f6e417d8ade75d7f759ed0a016931fbc51c01bdb990957d06cd8a5b81bd710.yml
openapi_spec_hash: ddcd074be4feadcc2c35db961e566a32
config_hash: 597eba5e5eaec83a5f0db3d946af8db5
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## 0.39.0 (2026-05-08)

Full Changelog: [v0.38.0...v0.39.0](https://github.com/hyperspell/node-sdk/compare/v0.38.0...v0.39.0)

### Features

* **api:** api update ([8958b49](https://github.com/hyperspell/node-sdk/commit/8958b49b8d8a5868432f1b932b1aec3b61c5d8c8))
* **api:** api update ([10386a3](https://github.com/hyperspell/node-sdk/commit/10386a310df2c0c44c953e9f5ecf5e85673b9777))
* **api:** api update ([e1f12f8](https://github.com/hyperspell/node-sdk/commit/e1f12f8169bd1fbdc92e5ae4e09ce035221ddc5f))
* **api:** api update ([700d0af](https://github.com/hyperspell/node-sdk/commit/700d0afb46b6e0ad518900eff1bb9ed8c092adea))
* **api:** api update ([d4b2496](https://github.com/hyperspell/node-sdk/commit/d4b24967ab4c8b0686d69bf7f0780b6b77ab7f58))
* support setting headers via env ([0e3b514](https://github.com/hyperspell/node-sdk/commit/0e3b514c6f583a21f6e5fde7e0a458a445ac7097))


### Chores

* avoid formatting file that gets changed during releases ([cf52108](https://github.com/hyperspell/node-sdk/commit/cf52108cf3114d0cd27cc613089e3d7f05bfa3fe))
* **format:** run eslint and prettier separately ([43ec88d](https://github.com/hyperspell/node-sdk/commit/43ec88dc0ac5298ca91a346583c646c9e091cef7))
* **internal:** codegen related update ([f6cdc59](https://github.com/hyperspell/node-sdk/commit/f6cdc59ea881808e4b574fd45c788e08e1c2b5bb))
* **internal:** more robust bootstrap script ([dd48b06](https://github.com/hyperspell/node-sdk/commit/dd48b061429585dad8aad6566a46d2d2bd83fbc0))
* **internal:** update docs ordering ([9ac7b35](https://github.com/hyperspell/node-sdk/commit/9ac7b35b68c4e663653daf544de988f2e5366558))
* redact api-key headers in debug logs ([9ccb5ff](https://github.com/hyperspell/node-sdk/commit/9ccb5ffbecd2a069fc07153536bc8b0d28b0df7f))
* restructure docs search code ([8a752b4](https://github.com/hyperspell/node-sdk/commit/8a752b4ab98fb186e56fa4cba6c18bf1b2d2fa9f))
* update SDK settings ([5f5049a](https://github.com/hyperspell/node-sdk/commit/5f5049a7c86a2afed361ddf31cf28df66ec4f769))


### Documentation

* update http mcp docs ([6f8f5a6](https://github.com/hyperspell/node-sdk/commit/6f8f5a61525cd0c1e1edefa6cd75c7b2577a0973))

## 0.38.0 (2026-04-22)

Full Changelog: [v0.37.0...v0.38.0](https://github.com/hyperspell/node-sdk/compare/v0.37.0...v0.38.0)
Expand Down
4 changes: 4 additions & 0 deletions bin/check-release-environment
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

errors=()

if [ -z "${NPM_TOKEN}" ]; then
errors+=("The NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi

lenErrors=${#errors[@]}

if [[ lenErrors -gt 0 ]]; then
Expand Down
17 changes: 12 additions & 5 deletions bin/cli
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,26 @@ const { spawnSync } = require('child_process');

const commands = {
migrate: {
description: 'Run migrations to update your code using @hyperspell/hyperspell@0.22.1 to be compatible with @hyperspell/hyperspell@0.24.0',
description:
'Run migrations to update your code using @hyperspell/hyperspell@0.22.1 to be compatible with @hyperspell/hyperspell@0.24.0',
fn: () => {
const result = spawnSync(
'npx',
['-y', 'https://github.com/stainless-api/migrate-ts/releases/download/0.0.2/stainless-api-migrate-0.0.2-6.tgz', '--migrationConfig', require.resolve('./migration-config.json'), ...process.argv.slice(3)],
[
'-y',
'https://github.com/stainless-api/migrate-ts/releases/download/0.0.2/stainless-api-migrate-0.0.2-6.tgz',
'--migrationConfig',
require.resolve('./migration-config.json'),
...process.argv.slice(3),
],
{ stdio: 'inherit' },
);
if (result.status !== 0) {
process.exit(result.status);
}
}
}
}
},
},
};

function exitWithHelp() {
console.log(`Usage: hyperspell-hyperspell <subcommand>`);
Expand Down
12 changes: 2 additions & 10 deletions bin/publish-npm
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@

set -eux

if [[ ${NPM_TOKEN:-} ]]; then
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
elif [[ ! ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:-} ]]; then
echo "ERROR: NPM_TOKEN must be set if not running in a Github Action with id-token permission"
exit 1
fi
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"

pnpm build
cd dist
Expand Down Expand Up @@ -62,8 +57,5 @@ else
TAG="latest"
fi

# Install OIDC compatible npm version
npm install --prefix ../oidc/ npm@11.6.2

# Publish with the appropriate tag
pnpm publish --npm-path "$(cd ../ && pwd)/oidc/node_modules/.bin/npm" --no-git-checks --tag "$TAG"
pnpm publish --no-git-checks --tag "$TAG"
3 changes: 0 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-check
import tseslint from 'typescript-eslint';
import unusedImports from 'eslint-plugin-unused-imports';
import prettier from 'eslint-plugin-prettier';

export default tseslint.config(
{
Expand All @@ -14,11 +13,9 @@ export default tseslint.config(
plugins: {
'@typescript-eslint': tseslint.plugin,
'unused-imports': unusedImports,
prettier,
},
rules: {
'no-unused-vars': 'off',
'prettier/prettier': 'error',
'unused-imports/no-unused-imports': 'error',
'no-restricted-imports': [
'error',
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperspell/hyperspell",
"version": "0.38.0",
"version": "0.39.0",
"description": "The official TypeScript library for the Hyperspell API",
"author": "Hyperspell <hello@hyperspell.com>",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -36,7 +36,6 @@
"@typescript-eslint/eslint-plugin": "8.31.1",
"@typescript-eslint/parser": "8.31.1",
"eslint": "^9.39.1",
"eslint-plugin-prettier": "^5.4.1",
"eslint-plugin-unused-imports": "^4.1.4",
"iconv-lite": "^0.6.3",
"jest": "^29.4.0",
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": "@hyperspell/hyperspell-mcp",
"version": "0.38.0",
"version": "0.39.0",
"description": "The official MCP Server for the Hyperspell API",
"author": {
"name": "Hyperspell",
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": "@hyperspell/hyperspell-mcp",
"version": "0.38.0",
"version": "0.39.0",
"description": "The official MCP Server for the Hyperspell API",
"author": "Hyperspell <hello@hyperspell.com>",
"types": "dist/index.d.ts",
Expand Down
Loading
Loading