Releases: FoxNoseTech/foxnose-typescript
v0.3.0 — Vector Search
What's New
Vector Search Support
Typed models and convenience methods for all Flux vector search modes:
vectorSearch()— semantic search with auto-generated embeddingsvectorFieldSearch()— search with custom pre-computed embedding vectorshybridSearch()— blended text + vector search with configurable weightsboostedSearch()— 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
Fixed
-
Secure signing with query parameters:
SecureKeyAuthnow signs only the URL path, without the query string- aligns TypeScript SDK signatures with server-side verification
- prevents
401 authentication_failed/Invalid signatureon 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
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
- maps
- Improve POST permission-object handling:
- supports
201 Createdresponses with empty body by returning normalized request payload
- supports
- Apply the same normalization logic for both:
- Management API role permission objects
- Flux API role permission objects
Tests
- Updated
ManagementClienttests to cover:- paginated response format
object/object_keynormalization- 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)
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: writecontents: 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
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 connections — addApiFolder() and updateApiFolder() now support:
descriptionGetOnedescriptionGetManydescriptionSearchdescriptionSchema
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, andbuild.
Full Changelog:
v0.1.1...v0.2.0