Skip to content

Releases: reductstore/reduct-js

Release v1.19.3

15 Apr 13:07
e2b7a71

Choose a tag to compare

Fixed

  • Adapt query link creation to ReductStore API v1.19 by resolving recordIndex to record_entry/record_timestamp while preserving legacy index in payloads for compatibility, PR-167

Release v1.19.2

13 Apr 16:26
fd31c37

Choose a tag to compare

Fixed

  • Fix multi-entry batch ordering to return and stream records by timestamp instead of grouping by entry, PR-163
  • Fix verifySSL=false being silently ignored by moving undici from devDependencies to dependencies, PR-165

Release v1.19.1

08 Apr 11:44
ff0b2cc

Choose a tag to compare

Fixed

  • Bind globalThis to fetch when storing it as fetchImpl to prevent "Illegal invocation" in browsers, PR-162

Release v1.19.0

08 Apr 06:03
0ba222c

Choose a tag to compare

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 ReplicationMode at runtime from the package entrypoint for ESM/JavaScript usage, PR-160
  • Fix Bucket.removeAttachments for numeric attachment keys by casting &key to string in the filter condition, PR-145
  • Fix Bucket.removeAttachments for 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

08 Apr 06:01
d0e71ee

Choose a tag to compare

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

03 Feb 17:31
b8bd307

Choose a tag to compare

Added

  • Support for replication mode, PR-124
  • Add Status enum and status field to BucketInfo and EntryInfo for 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 ReplicationMode as 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() and Bucket.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

15 Nov 22:41

Choose a tag to compare

Added

  • Add baseUrl argument to Bucket.createQueryLink, PR-123

Release v1.17.0

20 Oct 08:31

Choose a tag to compare

Fixed

  • Correct share link URL with extra characters at the end, PR-117
  • Fix broken replication API in v1.17, PR-119

Added

  • Implement Bucket.createQueryLink method, PR-115

v1.16.0

31 Jul 08:40

Choose a tag to compare

Breaking Changes:

  • Drop support for legacy code and ReductStore API versions below 1.13, PR-110

Added

  • Check server API version and warn if it's too old, PR-110

Changed:

  • Move to fetch API, PR-99

Removed

  • Deprecated include\exclude parameters in QueryOptions, PR-114

Fixed

  • Avoid bundling Node-only module undici in browser builds, PR-112
  • Return broken signature Record.read() -> Buffer, PR-105
  • Fix compatibility with Node.js streams, PR-106
  • Fix SSL configuration for Node.js, PR-107

Release v1.15.0

02 May 10:56

Choose a tag to compare

Added:

  • RS-628: Support ext parameter in Bucket.query, PR-100

Fixed:

  • RS-613: Fixed browser compatibility issues with Content-Length header, PR-103
  • Fix start and stop parameters for POST query request, PR-104