Releases: reductstore/reduct-js
Releases · reductstore/reduct-js
Release v1.19.3
Release v1.19.2
Release v1.19.1
Fixed
- Bind
globalThistofetchwhen storing it asfetchImplto prevent "Illegal invocation" in browsers, PR-162
Release v1.19.0
Added
- Add entry attachments API in
Bucket(writeAttachments,readAttachments,removeAttachments) with integration tests for API v1.19, PR-142 - Add token API v1.19 support: token TTL/expiry/IP allowlist metadata, create-token options, and
Client.rotateToken(issue #130)
Changed
- Migrate build/test tooling from Jest to Vite/Vitest, upgrade Vite/Vitest/Undici/it-all/ESLint to current major versions, and switch linting to ESLint flat config (
eslint.config.mjs), PR-157
Fixed
- Export
ReplicationModeat runtime from the package entrypoint for ESM/JavaScript usage, PR-160 - Fix
Bucket.removeAttachmentsfor numeric attachment keys by casting&keyto string in the filter condition, PR-145 - Fix
Bucket.removeAttachmentsfor attachment keys prefixed with$by escaping them in queries, PR-147 - Keep BatchV2 query loop running on empty batch responses, PR-148
- Enable sticky sessions by default in Node.js while keeping explicit opt-out support, PR-151
- Add browser field to exclude undici from browser builds, PR-153
Release v1.18.1
Fixed
- Disable keep-alive by default in Node.js clients to avoid hanging processes; add
Client.close()for explicit cleanup, PR-141
Release v1.18.0
Added
- Support for replication mode, PR-124
- Add
Statusenum andstatusfield toBucketInfoandEntryInfofor non-blocking deletions, PR-128 - Add support for Multi-entry API, PR-135
Removed
- Remove deprecated query/replication options (
eachS,eachN,limit,include,exclude), PR-140
Fixed
- Export
ReplicationModeas runtime namespace for ESM/JavaScript usage, PR-127 - Add beta npm tag handling in CI publishing
- Fix typo in npm keyword: "reductstorre" to "reductstore", PR-132
- Fix
Batch.items()andBucket.query()returning records in lexicographic order instead of numeric timestamp order, PR-134 - Fix SDK crash when multi-entry query receives empty batch response, PR-139
- Stop BatchV2 query loop on empty batch responses to avoid hangs
Release v1.17.1
Added
- Add
baseUrlargument toBucket.createQueryLink, PR-123