Skip to content

Latest commit

 

History

History
168 lines (113 loc) · 7.76 KB

File metadata and controls

168 lines (113 loc) · 7.76 KB

CHANGELOG

4.1.0

  • Added TypeScript typings for core client/document/connection APIs, with better autocomplete and compile-time checks to catch mistakes earlier.
  • Added support for transform parameters when writing transforms.
  • Performed dependency/security maintenance (including lodash and qs updates).

4.0.0

This major release does not impact any client functionality, but rather raises the minimum required version of Node.js to 22 or higher. It also updates all dependencies to their latest version and removes unnecessary dependencies that were included in previous releases.

3.7.1

Bug Fix

3.7.0

New Functionality

  • Can now encode and decode vectors through the base64Encode and base64Decode functions in the new lib/vector-util.js library. Encoding vectors before writing them to documents in MarkLogic 12 helps reduce the amount of disk space and memory consumed by vectors.
  • MarkLogic 12 users can now use minVersion and maxVersion to change default TLS version from 1.3 to a different version.

Bug Fix

3.6.0

New Functionality

  • MarkLogic 12 users can now use the shortestPath and annTopK methods in the Optic plan builder.
  • MarkLogic 12 users can now use the bm25, zero, and random score methods in the Optic plan builder.

Bug Fix

3.5.0

New Functionality

  • Can now use BM25 scoring method for searches. (MarkLogic Server version 12.0.0-EA or higher needed).
  • Can now use vector functionality including Cosine Similarity and others. (MarkLogic Server version 12.0.0-EA or higher needed).

Bug Fix

3.4.0

New Functionality

  • Can now connect to MarkLogic using OAuth token (MarkLogic Server version 11.2.0 or higher needed).
  • Optic Update plans, including DSL queries that perform updates, now require update: true to be included in the options sent to the rows.execute() function. (MarkLogic Server version 11.2.0 or higher needed).
  • Can now perform partial updates on documents via Optic using the new patchBuilder operator. (MarkLogic Server version 11.2.0 or higher needed).
  • Can now capture errors from executing an Optic plan by including the new onError operator. (MarkLogic Server version 11.2.0 or higher needed).

Bug Fix

3.3.1

Bug Fix

  • Fixed a bug where a database property caused a problem when creating a URL path for querying ML.

3.3.0

New Functionality

  • Can now request MarkLogic to compress the response for better performance using enableGzippedResponses (MarkLogic Server version 11.0.0 or higher needed).
  • Can now send string input to cts.point and cts.polygon server functions (MarkLogic Server version 11.1.0 or higher needed).

3.2.0

New Functionality

  • Can now set expiration duration for MarkLogic Cloud access-token.

Improvements and Bug Fixes

3.1.0

New Functionality

  • Can now perform update operations in Optic.
  • Can now submit GraphQL queries.
  • Auto-refresh expired token when using MarkLogic Cloud authentication.

Improvements and Bug Fixes

  • Fix for security vulnerabilities.

3.0.0

New Functionality

  • #614 - Exporting Rows - queryAll api.
  • #644 - Reprocessing documents - transformAll and queryToTransformAll apis.
  • #665 - Deleting Documents - removeAllUris and queryToRemoveAll api.
  • Connect to MarkLogic Cloud using apiKey.

Improvements and Bug Fixes

  • Fix for Dicer and other security vulnerabilities.
  • #540 - Expose total on all responses to documents.query.
  • #592 - Expose op:sample-by in Node Client API.
  • #694 - MarkLogic module v 2.9.1 for Node.js at Windows OS does not work.

2.9.1

Improvements and Bug Fixes

  • Fix for security vulnerabilities (except Dicer).

2.9.0

New Functionality

  • #620 - Exporting Documents - readAll and queryToReadAll apis.
  • #622 - Collecting Document URIs - queryAll api.
  • #629 - Add a category option for reading only the contents of document(s).

Improvements and Bug Fixes

  • #599 - Optic fromSPARQL method support options parameter - Server release 10.0-8 or above required.
  • #638 - (Documentation Fix) - Parameters "start" and "length" for graphs.sparql are renamed to "begin" and "end".
  • #647 - QueryToReadAll on a Query with no results produces no response.

2.8.0

New Functionality

  • #621 - Data Movement in Node.js API - Ingesting Documents using writeAll api.

Improvements and Bug Fixes

  • #270 - Calling methods on resources with arg list throws error.
  • #601 - Regenerate Optic expression functions.

2.7.0

New Functionality

  • #543 - Node-client-api now prefers ipv4 over ipv6.
  • #562 - CtsQueryBuilder is available.
  • #567 - Dynamic interface to Data Service endpoints.
  • #569 - Optic enhancements in 10.0-7 - Server release 10.0-7 or above required.

Improvements and Bug Fixes

  • #485 - Throw error when complexValues is set with a chunked stream.
  • #559 - Throw error on requests with a released client.
  • #565 - Node-client-api now uses Node - 14.
  • #568 - RejectUnauthorized option ignored in webpacked typescript (impacts mlxprs extension in latest VSCode on Mac).
  • #570 - (Documentation Fix) - Changed “testConnection” on DatabaseClient to “checkConnection”.