Releases: marklogic/node-client-api
3.4.0 Node Client API Release
- 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 therows.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).
3.3.1 Node client API release
Bug Fix
Fixed a bug where a database property caused a problem when creating a URL path for querying ML.
3.3.0 Node client API release
- 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 Node client API release
- Can now set expiration duration for MarkLogic Cloud access-token.
- Fix for security vulnerabilities -
GHSA-4q6p-r6v2-jvc5,
GHSA-c2qf-rxjj-qqgw and GHSA-7fh5-64p2-3v2j
3.1.0 Node client API release
- Can now perform update operations in Optic.
- Can now submit GraphQL queries.
- Auto-refresh expired token when using MarkLogic Cloud authentication.
- Fix for security vulnerability "Bootstrap v3.3.1"
3.0.0 Node client API release
- Fix for security vulnerability - "Dicer" and other vulnerabilities.
- Added support for Node 18.
- Ability to connect to MarkLogic cloud and authentication. (example - https://github.com/marklogic/node-client-api/blob/master/examples/marklogic-cloud-connection.js)
- New DMSDK features - ApplyTransformListener(transformAll and queryToTransformAll), DeleteListener (removeAllUris and queryToRemoveAll) and RowBatcher/Exporting Rows(queryAll)
- Change in signature for existing DMSDK apis - writeAll and readAll, the latest signatures are - writeAll(stream, options) and readAll(stream, options). More info here - https://docs.marklogic.com/guide/node-dev/datamovement#id_61539
- Added support for "unnest" functions. (example - https://github.com/marklogic/node-client-api/blob/develop/examples/unnest-function.js)
2.9.1 Node client API release
This is a patch release to
- remove shrinkwrap.json file from npm package
- fixes critical security vulnerabilities
2.9.0 Node client API release
New Functionality
#620 - Exporting Documents - readAll api.
#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.
Release 2.8.0
Release 2.7.0
2.7.0 node client api release
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”