Download Latest Version v10.2.2 source code.tar.gz (184.5 kB)
Email in envelope

Get an email when there's a new version of ArangoDB JavaScript Driver

Home / v10.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-01-16 2.6 kB
v10.2.0 source code.tar.gz 2026-01-16 181.1 kB
v10.2.0 source code.zip 2026-01-16 222.1 kB
Totals: 3 Items   405.8 kB 0

Fixed

  • Fixed agentOptions not being passed to createHost function, preventing configuration of undici agent for self-signed certificates and other TLS options. The agentOptions parameter is now properly extracted from configuration and passed to all host creation calls. (#824)

Added

  • Added maxSkewThreshold and minDeletionRatio options to TierConsolidationPolicy type (DE-1094)

These options are available from ArangoDB 3.12.7 onward and can be used for both arangosearch Views and inverted indexes.

  • Added storedValues option for vector indexes (DE-1098)

Vector indexes now support storing additional attributes for efficient filtering. This option is available in ArangoDB 3.12.7+.

  • Added innerProduct metric support for vector indexes

Vector indexes now support the innerProduct metric, which was introduced in ArangoDB 3.12.6. This metric compares both angle and magnitude without normalization, making it faster than cosine similarity.

  • Added access token support (DE-1106)

Access tokens can be used as password replacements for authentication. This feature enables better automation, CI/CD integration, and fine-grained access control.

  • Added db.createAccessToken(username, options) method to create access tokens for users
  • Added db.getAccessTokens(username) method to list all access tokens for a user (metadata only)
  • Added db.deleteAccessToken(username, tokenId) method to revoke access tokens
  • Added db.useAccessToken(token) convenience method for Basic Auth authentication with tokens
  • Added TypeScript types: CreateAccessTokenOptions, AccessToken, AccessTokenMetadata, and AccessTokenListResponse

Access tokens can be used with:

  • Basic Authentication: db.useAccessToken(token) or db.useBasicAuth("", token)
  • JWT exchange: db.login("", token) or db.login(username, token)

Note: The valid_until option accepts only Unix timestamps (numbers in seconds), not Date objects. Users must convert Date objects themselves: Math.floor(date.getTime() / 1000).

Deprecated

  • Deprecated consolidation policy options in TierConsolidationPolicy that are ignored by ArangoDB 3.12.7+ (DE-1094)

The following options are ignored by the server from v3.12.7 onwards: segmentsMin, segmentsMax, segmentsBytesFloor and minScore. These fields remain in the type definition for backward compatibility but are marked as deprecated.

Source: README.md, updated 2026-01-16