Skip to content

release: 0.39.0#94

Open
stainless-app[bot] wants to merge 52 commits into
mainfrom
release-please--branches--main--changes--next--components--hyperspell
Open

release: 0.39.0#94
stainless-app[bot] wants to merge 52 commits into
mainfrom
release-please--branches--main--changes--next--components--hyperspell

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Automated Release PR

0.39.0 (2026-06-13)

Full Changelog: v0.38.0...v0.39.0

Features

Bug Fixes

  • typescript: upgrade tsc-multi so that it works with Node 26 (bb51450)

Chores

  • avoid formatting file that gets changed during releases (cf52108)
  • format: run eslint and prettier separately (43ec88d)
  • internal: codegen related update (f6cdc59)
  • internal: more robust bootstrap script (dd48b06)
  • internal: update docs ordering (9ac7b35)
  • redact api-key headers in debug logs (9ccb5ff)
  • restructure docs search code (8a752b4)
  • tests: remove redundant File import (1f3a018)
  • update SDK settings (5f5049a)

Documentation


This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-app

stainless-app Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

🧪 Testing

To try out this version of the SDK:

npm install 'https://pkg.stainless.com/s/hyperspell-typescript/ac062652e4c9a7e3f11b7920668f2e1d20f66f24/dist.tar.gz'

Expires at: Sat, 11 Jul 2026 17:32:40 GMT
Updated at: Thu, 11 Jun 2026 17:32:40 GMT

@canaries-inc

canaries-inc Bot commented Apr 22, 2026

Copy link
Copy Markdown

🐤 Canary Summary

This is an automated release PR with no UI/UX changes:

  • Version bumped from 0.38.0 to 0.38.1 across all package files
  • Updated npm publishing workflow authentication from OIDC to token-based
  • Modified release scripts to use NPM_TOKEN environment variable
  • Updated changelog and configuration metadata
  • No user-facing UI components, styling, or application logic affected


View PR tests on Canary

@canaries-inc

canaries-inc Bot commented Apr 22, 2026

Copy link
Copy Markdown

🐤 Canary Proposed Tests

No testable user journeys found for this PR.

@entelligence-ai-pr-reviews

Copy link
Copy Markdown

Confidence Score: 5/5 - Safe to Merge

Safe to merge — this appears to be a standard release bump to version 0.38.1 with no identified logic, security, or correctness issues surfaced during review. The automated analysis found zero critical, significant, or medium-severity issues across the reviewed files. While only 4 of 13 changed files received coverage, the absence of any flagged concerns and the nature of a patch release (typically containing minor fixes or version metadata updates) supports a clean merge.

Key Findings:

  • No new review comments were generated, indicating no obvious logic bugs, security vulnerabilities, or correctness issues were detected in the analyzed code.
  • The PR is a patch release (0.38.1), which typically involves version string updates, changelog entries, and minor bug fixes rather than high-risk architectural changes.
  • Zero unresolved pre-existing comments were carried into this review, meaning there is no backlog of known issues being deferred.
  • 4 of 13 changed files were reviewed by the heuristic analysis — the unreviewed files represent a minor blind spot, but for a release PR this risk is generally low.

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from dcbda64 to 7fde307 Compare April 23, 2026 04:06
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 7fde307 to 983f201 Compare April 23, 2026 04:06
@entelligence-ai-pr-reviews

entelligence-ai-pr-reviews Bot commented Apr 23, 2026

Copy link
Copy Markdown

EntelligenceAI PR Summary

Releases v0.39.0 with a major Hyperdoc type system overhaul and new API capabilities across memories and evaluate resources.

  • src/resources/shared.ts: Replaced Notification, Resource, ResourcesCursorPage with a 12-type discriminated Document union and 25+ Hyperdoc block node types; expanded QueryResult with provenance, query, documents fields
  • src/resources/memories.ts: Replaced Memory with MemoryListResponse/MemoryGetResponse/MemoryListResponsesCursorPage; changed effort from numeric to 'minimal'|'low'|'medium'|'high'|'very_high' enum; added provenance and recency_half_life_days to search options; added 8 new source providers (granola, fathom, fireflies, linear, hubspot, salesforce, coda, lightfield)
  • src/client.ts: Added HYPERSPELL_CUSTOM_HEADERS env-var support (newline-delimited key: value pairs merged into defaultHeaders); updated type re-exports to match new model
  • api.md / packages/mcp-server/src/local-docs-search.ts: Updated documentation and local search index to reflect new types, response schemas, and the new evaluate.listQueries paginated endpoint
  • .stats.yml: Bumped configured_endpoints to 31 with updated spec hashes

Confidence Score: 2/5 - Changes Needed

Not safe to merge — while this PR delivers a substantial and coherent API overhaul (Hyperdoc type system, discriminated unions, expanded QueryResult), three unresolved pre-existing issues in supporting scripts pose real reliability and correctness risks. Specifically, bin/publish-npm fails to catch an empty-string NPM_TOKEN, scripts/fast-format guards on the file-path variable $FILE_LIST rather than the file's contents causing prettier to hang on empty input, and scripts/utils/postprocess-files.cjs has a ts-ignore replacement that alters character counts and breaks declaration maps. These are not introduced by this PR but remain unresolved and could cause broken releases or corrupted build artifacts when this version ships.

Key Findings:

  • In bin/publish-npm, the NPM_TOKEN empty-string case is not caught by the existing guard, meaning a misconfigured CI environment could silently attempt an unauthenticated publish rather than failing fast — a reliability risk for a release PR.
  • In scripts/fast-format, the conditional at L31-L37 tests $FILE_LIST (a file path string, always non-empty) instead of whether the file contains any paths, so prettier will be invoked with no files and hang or behave unexpectedly on clean branches.
  • In scripts/utils/postprocess-files.cjs L23-L41, replacing ts-ignore comments changes the byte offset of subsequent characters, which invalidates source map / declaration map positions — this is a correctness bug that could produce misleading type errors for consumers of the published package.
  • The core type-system changes in src/resources/shared.ts and src/resources/memories.ts appear well-structured (discriminated unions, cursor page renames), but the broken release tooling means the package as published may be malformed or unpublishable.
  • 1 previous unresolved comment(s) likely resolved in latest diff (score-only signal; thread status unchanged)
Files requiring special attention
  • bin/publish-npm
  • scripts/fast-format
  • scripts/utils/postprocess-files.cjs

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 983f201 to 8dead0f Compare April 23, 2026 22:30
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 8dead0f to c890ae3 Compare April 24, 2026 18:30
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from c890ae3 to 63c35fd Compare April 25, 2026 03:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 63c35fd to 479c910 Compare April 25, 2026 18:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 479c910 to f6c43d6 Compare April 25, 2026 20:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from f6c43d6 to 6f3fbdd Compare April 26, 2026 02:31
@stainless-app stainless-app Bot changed the title release: 0.38.1 release: 0.39.0 Apr 26, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 6f3fbdd to 7e1e1c1 Compare April 26, 2026 02:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 7e1e1c1 to 705d4a6 Compare April 27, 2026 00:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 2bc1e39 to e924fd9 Compare May 27, 2026 23:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from e924fd9 to 08b4b26 Compare May 28, 2026 19:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 08b4b26 to 06c2dcc Compare May 28, 2026 23:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 06c2dcc to 55cdd7c Compare May 29, 2026 03:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 55cdd7c to 6ae88d1 Compare June 3, 2026 00:32
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 6ae88d1 to 730dac4 Compare June 4, 2026 17:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 730dac4 to a5372dc Compare June 4, 2026 18:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from a5372dc to 735d2fb Compare June 4, 2026 20:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 735d2fb to c461811 Compare June 10, 2026 17:31
@entelligence-ai-pr-reviews

Copy link
Copy Markdown

File: tests/api-resources/memories.test.ts

NIT CORRECTNESS Test exercises provenance=true with effort='minimal', contradicting documented constraint

src/resources/memories.ts:598-604 documents provenance as 'effort=very_high only', but tests/api-resources/memories.test.ts:163+200 sends provenance=true alongside effort='minimal'. The test validates a combination the API docs say is unsupported, giving callers a false model of the API contract.

Prompt to fix with AI

Copy this prompt into your AI coding assistant to fix this issue.

In tests/api-resources/memories.test.ts, the search test at line 159 sets effort: 'minimal' but also passes provenance: true at line 200. The src/resources/memories.ts JSDoc for the provenance field states it is 'effort=\'very_high\' only'. Either change the test to use effort: 'very_high' to match the documented constraint, or remove the constraint note from the JSDoc if the API actually accepts provenance at any effort level.

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch 2 times, most recently from 05200c8 to 8da1a77 Compare June 10, 2026 20:26
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from 8da1a77 to b1b49c4 Compare June 11, 2026 17:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from b1b49c4 to ea99937 Compare June 11, 2026 23:31
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--hyperspell branch from ea99937 to ddfc1d7 Compare June 13, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants