Skip to content

Releases: FoxNoseTech/foxnose-typescript

v0.3.0 — Vector Search

19 Mar 17:43

Choose a tag to compare

What's New

Vector Search Support

Typed models and convenience methods for all Flux vector search modes:

  • vectorSearch() — semantic search with auto-generated embeddings
  • vectorFieldSearch() — search with custom pre-computed embedding vectors
  • hybridSearch() — blended text + vector search with configurable weights
  • boostedSearch() — keyword search boosted by vector similarity

New Types

SearchMode, VectorSearch, VectorFieldSearch, VectorBoostConfig, HybridConfig, SearchRequest — with buildSearchBody() runtime validation (cross-field constraints, NaN/Inf rejection, unknown mode guard).

Extra Parameters

All methods support ...rest pass-through for where, sort, and other API parameters. mergeExtra() guard prevents conflicts with validated fields.

Full Changelog: v0.2.3...v0.3.0

v0.2.3 - Fix SecureKeyAuth

18 Mar 13:43
dd58844

Choose a tag to compare

Fixed

  • Secure signing with query parameters:

    • SecureKeyAuth now signs only the URL path, without the query string
    • aligns TypeScript SDK signatures with server-side verification
    • prevents 401 authentication_failed / Invalid signature on requests with query params
  • Secure auth test coverage:

    • verifies signatures against the expected path-only payload
    • avoids false assumptions about deterministic ECDSA signature bytes

v0.2.2 — Flux role permission object compatibility fix

06 Mar 14:55

Choose a tag to compare

What's Changed

This release fixes compatibility issues in permission object handling that affected Flux role-bound auth integration flows.

Fixes

  • Normalize permission object list responses from both:
    • array payloads
    • paginated { results: [...] } payloads
  • Normalize permission object fields:
    • maps object -> object_key
  • Improve POST permission-object handling:
    • supports 201 Created responses with empty body by returning normalized request payload
  • Apply the same normalization logic for both:
    • Management API role permission objects
    • Flux API role permission objects

Tests

  • Updated ManagementClient tests to cover:
    • paginated response format
    • object/object_key normalization
    • empty-body POST response behavior
  • Full test suite and build passed.

Docs

  • Added Codecov badge to README.

Version

  • Bumped package version to 0.2.2.

v0.2.1 — CI Publish Fix (Trusted Publishing)

25 Feb 15:02

Choose a tag to compare

What's New

This release contains a publishing pipeline fix only.

Fixed

  • Switched npm publishing in GitHub Actions from token-based auth to npm Trusted Publishing (OIDC).
  • Updated publish workflow permissions to include:
    • id-token: write
    • contents: read
  • Updated publish command to include provenance:
    • npm publish --provenance --access public
  • Updated publish runtime to Node.js 22 and ensured npm version compatibility for trusted publishing.

Notes

  • No SDK runtime/API changes compared to v0.2.0.
  • This release ensures reliable npm publication from GitHub Actions without NPM_TOKEN.

Full Changelog:
v0.2.0...v0.2.1

v0.2.0 — Flux Introspection & API Route Support

25 Feb 14:28

Choose a tag to compare

What's New

getRouter() — fetch the Flux route catalog from /_router.

const router = await client.getRouter();

getSchema(folderPath) — fetch live folder schema metadata from /{folderPath}/_schema.

const schema = await client.getSchema('articles');

Route descriptions for API-folder connectionsaddApiFolder() and updateApiFolder() now support:

  • descriptionGetOne
  • descriptionGetMany
  • descriptionSearch
  • descriptionSchema
await managementClient.addApiFolder(api.key, folder.key, {
  allowedMethods: ['get_many', 'get_one'],
  descriptionGetOne: 'Get one article by key',
  descriptionGetMany: 'List published articles',
  descriptionSearch: 'Search published articles',
  descriptionSchema: 'Read article schema',
});

APIFolderSummary updated — now includes description_get_one, description_get_many, description_search, and description_schema.

New exported types: ApiFolderRouteDescriptionOptions, ApiFolderOptions.

Other

  • Added SDK unit tests for getRouter(), getSchema(), and API-folder description payload mapping.
  • Verified with lint, typecheck, format:check, test, and build.

Full Changelog:
v0.1.1...v0.2.0