Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
303bdc4
Adding back zero and random scoring methods.
anu3990 Sep 9, 2024
9848a41
MLE-15256 : Use shortest-path function in Node plan builder
anu3990 Oct 1, 2024
85b5284
MLE-17863 : Jenkins nightly builds intermittently throw errors due to…
anu3990 Nov 13, 2024
721a2b5
MLE-17147 Added annTopK support
rjrudin Nov 25, 2024
e5ea5cd
MLE-19359 : Node Client Security vulnerabilities
anu3990 Jan 17, 2025
05fe47c
MLE-19469 : Drop "weight" as a parameter in shortest-path in Node Cli…
anu3990 Jan 24, 2025
1b7f67c
Adding changes for release 3.6.0
anu3990 Jan 27, 2025
6218c64
Delete NOTICE.txt
anu3990 Jan 28, 2025
564466f
Adding Notice file 3.6.0
anu3990 Jan 28, 2025
b966bbb
Fix for Polaris issues and test failures.
anu3990 Jan 31, 2025
7321832
MLE-20919 : Review and fix vulnerabilities in BlackDuck for Node Clie…
anu3990 Apr 2, 2025
5c6fecb
Update Jenkins file to run tests on 11.3.1 instead of 11.3.0.
anu3990 Apr 17, 2025
6ae8074
Added an app server that requires SSL
rjrudin Apr 21, 2025
5ed0b7f
MLE-17209 : Review and fix vulnerabilities in Polaris report for Node…
anu3990 Apr 21, 2025
f70a4a8
MLE-16819 : Support TLSv1.3 via Node Client
anu3990 Apr 24, 2025
01ad530
MLE-21177 : marklogic-cloud-connection.js -->progress-data-cloud-conn…
anu3990 May 1, 2025
73eeab1
Changing the port to 8017 since 8016 is used in test-config-qa-ssl.js…
anu3990 May 2, 2025
11bc044
MLE-21403 : Fix Polaris medium issues for Node Client
anu3990 May 6, 2025
ef492d7
MLE-21460 : ResultProvider.result() sometimes returns a text node as …
anu3990 May 14, 2025
8712627
MLE-21557 : Node Client Api mjs tests are failing for 12-nightly due …
anu3990 May 23, 2025
27a9186
MLE-21809 : Endpoint-caller and service-caller tests are failing with…
anu3990 May 28, 2025
a5c9315
MLE-21839 : test-teardown.js throws error on Jenkins
anu3990 May 29, 2025
9b855ee
PDP-473:Create pr-workflow.yaml
SameeraPriyathamTadikonda Jun 6, 2025
8132022
MLE-22656 : Provide fix for BlackDuck vulnerabilities in Node Client.
anu3990 Jun 24, 2025
c3c4a54
MLE-20906 : Update Node Client based on changes to functions in Optic
anu3990 Jul 3, 2025
004eb40
MLE-20906 : Update Node Client based on changes to functions in Optic
anu3990 Jul 10, 2025
d496aed
MLE-20906 : Update Node Client based on changes to functions in Optic
anu3990 Jul 16, 2025
07b903b
MLE-22540 : Update copyright and Notice file for Node Client Api
anu3990 Jul 17, 2025
62c0b2f
Fix for Jenkins test failures.
anu3990 Jul 18, 2025
050b95c
MLE-12345 Bumped form-data to 4.0.4
rjrudin Jul 22, 2025
c2b4e01
Added CODEOWNERS
rjrudin Jul 28, 2025
79a0d2c
MLE-23202 : Update package.json and changelog for 3.7.0 release.
anu3990 Jul 28, 2025
9091611
MLE-23209 : Update the links in README to be more meaningful
anu3990 Jul 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions .github/workflows/pr-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 🏷️ JIRA ID Validator

on:
# Using pull_request_target instead of pull_request to handle PRs from forks
pull_request_target:
types: [opened, edited, reopened, synchronize]
# No branch filtering - will run on all PRs

jobs:
jira-pr-check:
name: 🏷️ Validate JIRA ticket ID
# Use the reusable workflow from the central repository
uses: marklogic/pr-workflows/.github/workflows/jira-id-check.yml@main
with:
# Pass the PR title from the event context
pr-title: ${{ github.event.pull_request.title }}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ test-app/
test-basic/
test-basic-proxy/
test-complete/
test-complete-app/
test-complete-proxy/
wiki_images/
CONTRIBUTING.md
Expand Down
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,35 @@
# CHANGELOG

## 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
- https://github.com/marklogic/node-client-api/issues/917

- Fix for security vulnerabilities -
https://github.com/advisories/GHSA-fjxv-7rqg-78g4
https://github.com/advisories/GHSA-8cj5-5rvv-wf4v
https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
https://github.com/advisories/GHSA-3XGQ-45JJ-V275


## 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
- Fix for security vulnerabilities -
https://github.com/advisories/GHSA-3xgq-45jj-v275
https://github.com/advisories/GHSA-952p-6rrq-rcjv
https://github.com/advisories/GHSA-mwcw-c2x4-8c55
https://github.com/advisories/GHSA-76p7-773f-r4q5

## 3.5.0
#### New Functionality

Expand Down
6 changes: 6 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in the repo.
* @anu3990 @billfarber @rjrudin @stevebio

9 changes: 4 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def runTests(String type,String version){
./node_modules/.bin/mocha --timeout 10000 -R xunit test-basic/ --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/test-basic-reports.xml -g \'logging|archivePath\' --invert || true
./node_modules/.bin/gulp setupProxyTests || true
./node_modules/.bin/mocha --timeout 10000 -R xunit test-basic-proxy/lib/**/*.js --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/test-basic-proxy-reports.xml -g \'logging|archivePath\' --invert || true
node etc/test-teardown.js -u admin:admin
'''

}
Expand Down Expand Up @@ -53,7 +52,7 @@ def runE2ETests(String type,String version){
cd ..
./node_modules/.bin/mocha --no-parallel -R xunit --timeout 60000 test-complete/ --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/test-complete-results.xml || true
cd test-complete-proxy
npm install --global gulp-cli
npm install gulp-cli
gulp loadToModulesDB
gulp generateFnClasses
gulp copyFnClasses
Expand Down Expand Up @@ -92,12 +91,12 @@ pipeline{
JAVA_HOME_DIR="/home/builder/java/openjdk-1.8.0-262"
}
stages{
stage('runtests-11.3.0'){
stage('runtests-11.3.1'){
agent {label 'nodeclientpool'}
steps{
runAuditReport()
runTests('Release','11.3.0')
runE2ETests('Release','11.3.0')
runTests('Release','11.3.1')
runE2ETests('Release','11.3.1')
}
}
stage('regressions'){
Expand Down
552 changes: 23 additions & 529 deletions NOTICE.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ db.createCollection(
### Resources

* [Node.js Client API Documentation](https://docs.marklogic.com/jsdoc/index.html)
* [Node.js Application Developer's Guide](http://docs.marklogic.com/guide/node-dev)
* [MarkLogic Training for the Node.js Client API](http://www.marklogic.com/training-courses/developing-marklogic-applications-i-node-js/)
* [Node.js Application Developer's Guide](https://docs.progress.com/bundle/marklogic-server-develop-with-node-js-11/page/topics/intro.html)
* [MarkLogic Overview](https://www.progress.com/marklogic)

### Code Examples

Expand Down
16 changes: 2 additions & 14 deletions config-optic/connectdef.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/*
* Copyright (c) 2020 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
'use strict';

var name = 'nodeOpticFunctionalTest';
Expand Down
16 changes: 2 additions & 14 deletions config-optic/setupqa.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/*
* Copyright (c) 2020 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
'use strict';

var util = require('../node_modules/core-util-is/lib/util.js');
Expand Down
16 changes: 2 additions & 14 deletions config-optic/teardown.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/*
* Copyright (c) 2020 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
'use strict';

var util = require('../node_modules/core-util-is/lib/util.js');
Expand Down
16 changes: 2 additions & 14 deletions config-optic/testlib.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/*
* Copyright (c) 2020 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
'use strict';
var valcheck = require('../node_modules/core-util-is/lib/util.js');

Expand Down
16 changes: 2 additions & 14 deletions etc/test-config-qa-ssl.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/*
* Copyright (c) 2020 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
var testHost = 'localhost';

var restPort = '8016';
Expand Down
16 changes: 2 additions & 14 deletions etc/test-config-qa.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/*
* Copyright (c) 2022 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
var testHost = 'localhost';

var restPort = '8024';
Expand Down
26 changes: 12 additions & 14 deletions etc/test-config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
/*
* Copyright (c) 2022 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
let testHost = 'localhost';

let restPort = '8015';
let restSslPort = '8017';
let restAuthType = 'DIGEST';

let managePort = '8002';
Expand Down Expand Up @@ -148,5 +137,14 @@ module.exports = {
host: testHost,
port: restPort,
authType: 'oauth'
},
restConnectionForTls: {
host: testHost,
port: restSslPort,
user: restWriterUser,
password: restWriterPassword,
authType: restAuthType,
ssl: true,
rejectUnauthorized: false
}
};
16 changes: 2 additions & 14 deletions etc/test-lib.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/*
* Copyright (c) 2020 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
'use strict';
var valcheck = require('core-util-is');

Expand Down
16 changes: 2 additions & 14 deletions etc/test-setup-dmsdk-qa.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/*
* Copyright (c) 2022 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
var valcheck = require('core-util-is');

var marklogic = require('../lib/marklogic.js');
Expand Down
16 changes: 2 additions & 14 deletions etc/test-setup-prompt.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/*
* Copyright (c) 2020 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
var read = require("read");
var mlutil = require('../lib/mlutil.js');

Expand Down
16 changes: 2 additions & 14 deletions etc/test-setup-qa.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/*
* Copyright (c) 2020 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
var valcheck = require('core-util-is');

var marklogic = require('../lib/marklogic.js');
Expand Down
16 changes: 2 additions & 14 deletions etc/test-setup-users.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/*
* Copyright (c) 2022 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/
var valcheck = require('core-util-is');

var testlib = require('./test-lib.js');
Expand Down
Loading
Loading