Skip to content

Bump @typesafe-ai/sdk from 0.6.0 to 0.7.0 in the runtime group across 1 directory - #31

Merged
DevMortimer merged 2 commits into
mainfrom
dependabot/npm_and_yarn/runtime-c7d56fcb56
Oct 24, 2026
Merged

DevMortimer merged 2 commits into
mainfrom
dependabot/npm_and_yarn/runtime-c7d56fcb56

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the runtime group with 1 update in the / directory: @typesafe-ai/sdk.

Updates @typesafe-ai/sdk from 0.6.0 to 0.7.0

Release notes

Sourced from @​typesafe-ai/sdk's releases.

v0.7.0 (2026-10-14)

Breaking changes

  • require Node.js 22 or newer
  • stop exporting request payload types

Features

  • support images, as an experimental feature enabled with the TypeSafe-Danger-Zone-Images: true header: create them with image() or Image.fromBase64(), then place them in state, question instructions, or criteria, write them into text with withAssets and withAssets.join, or reference them by names you choose in assets
  • add box questions, which locate what their instructions describe in an image; use them with the jev-preview model
  • compress request bodies of 1 KiB or more with zstd on Node.js 22.15 or newer; pass compression: false to send them uncompressed

Bug fixes

  • allow null token counts in usage
  • add more request validation checks
  • reject the returned promise for invalid requests instead of throwing
  • accept score criteria lists built at runtime
  • stop an unhandled rejection on Node.js 22 when a request times out or is aborted mid-body
Changelog

Sourced from @​typesafe-ai/sdk's changelog.

v0.7.0 (2026-10-14)

Breaking changes

  • require Node.js 22 or newer
  • stop exporting request payload types

Features

  • support images, as an experimental feature enabled with the TypeSafe-Danger-Zone-Images: true header: create them with image() or Image.fromBase64(), then place them in state, question instructions, or criteria, write them into text with withAssets and withAssets.join, or reference them by names you choose in assets
  • add box questions, which locate what their instructions describe in an image; use them with the jev-preview model
  • compress request bodies of 1 KiB or more with zstd on Node.js 22.15 or newer; pass compression: false to send them uncompressed

Bug fixes

  • allow null token counts in usage
  • add more request validation checks
  • reject the returned promise for invalid requests instead of throwing
  • accept score criteria lists built at runtime
  • stop an unhandled rejection on Node.js 22 when a request times out or is aborted mid-body
Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 21, 2026
@dependabot dependabot Bot changed the title Bump @typesafe-ai/sdk from 0.6.0 to 0.7.0 in the runtime group Bump @typesafe-ai/sdk from 0.6.0 to 0.7.0 in the runtime group across 1 directory Oct 24, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/runtime-c7d56fcb56 branch from efd106c to b65d714 Compare October 24, 2026 02:02
Bumps the runtime group with 1 update in the / directory: [@typesafe-ai/sdk](https://github.com/typesafe-ai/typesafe-sdk-js).


Updates `@typesafe-ai/sdk` from 0.6.0 to 0.7.0
- [Release notes](https://github.com/typesafe-ai/typesafe-sdk-js/releases)
- [Changelog](https://github.com/typesafe-ai/typesafe-sdk-js/blob/main/docs/changelog.md)
- [Commits](typesafe-ai/typesafe-sdk-js@v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: "@typesafe-ai/sdk"
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: runtime
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/runtime-c7d56fcb56 branch from b65d714 to 0b88590 Compare October 24, 2026 02:19
0.7.0 adds a box question type and makes a token count nullable, so the
compiler's errors are answered at the admission seam and where a count is
read, not cast away at each call site.

- schema: refuse a box question and a null state by name with a
  validation error; state is now non-null in the schema itself.
- client: accept an unreported (null) token count, count and price it as
  nothing, reject a box answer, and take the rubric length instead of
  mapping the recursive content type (TS2589 in validResult).
- client: send uncompressed bodies; 0.7.0 zstd-compresses anything over
  1 KiB by default and no backend is measured for that encoding.
- batch, extension: sum an unreported count as nothing; render it as
  "not reported" and give the answer union its box branch.
@DevMortimer
DevMortimer merged commit e7cc05d into main Oct 24, 2026
8 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/runtime-c7d56fcb56 branch October 24, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant