Skip to content

Commit 7ea967d

Browse files
committed
merging 4.0.4 to 4.0-master
2 parents b3b618c + 22c8eb9 commit 7ea967d

File tree

1,550 files changed

+32449
-36346
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,550 files changed

+32449
-36346
lines changed

.github/CONTRIBUTING.md

Lines changed: 0 additions & 188 deletions
This file was deleted.

.github/ISSUE_TEMPLATE.md

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
11
So we can address your issue, please include the following:
2-
* Version of MarkLogic Java Client API (see Readme.txt)
3-
* Version of MarkLogic Server (see admin gui on port 8001)
4-
* Java version (`java -version`)
5-
* OS and version
6-
* Input: Some code to illustrate the problem, preferably in a state that can be independently reproduced on our end
7-
* Actual output: What did you observe? What errors did you see? Can you attach the logs? (Java logs, MarkLogic logs)
8-
* Expected output: What specifically did you expect to happen?
9-
* Alternatives: What else have you tried, actual/expected?
2+
### Version of MarkLogic Java Client API
3+
See Readme.txt
4+
5+
### Version of MarkLogic Server
6+
7+
See admin gui on port 8001 or run xdmp:version() in Query Console - port 8000)
8+
9+
### Java version
10+
11+
Run `java -version`
12+
13+
### OS and version
14+
15+
For MAC, run `sw_vers`. \
16+
For Windows, run `systeminfo | findstr /B /C:"OS Name" /C:"OS Version"`\
17+
For Linux, run `cat /etc/os-release` and `uname -r`
18+
19+
### Input: Some code to illustrate the problem, preferably in a state that can be independently reproduced on our end
20+
21+
### Actual output: What did you observe? What errors did you see? Can you attach the logs? (Java logs, MarkLogic logs)
22+
23+
### Expected output: What specifically did you expect to happen?
24+
25+
### Alternatives: What else have you tried, actual/expected?

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
1+
.DS_Store
12
target/
23
.gradle
34
*.class
45
test-complete/build/
56
.metadata
7+
68
# Package Files #
79
*.jar
810
*.war
911
*.ear
12+
13+
# allow gradle-wrapper into repo
14+
!/gradle/wrapper/gradle-wrapper.jar
15+
16+
# exclude .gradle working directory and build
17+
.gradle
18+
build
19+
buildSrc/build
20+
1021
.classpath
1122
.gitignore
1223
.classpath
1324
.project
1425
.settings/
26+
.idea
27+
28+
*/gradle/wrapper/gradle-wrapper.properties

CHANGELOG.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,27 @@
11
# CHANGELOG
22

3-
## 4.0.3.1 (hotfix release)
3+
## 4.0.4
44

5-
#### Bug Fix
6-
- [#879](https://github.com/marklogic/java-client-api/issues/879) - increase queue size (will use more memory) for QueryBatcher so iterator thread won't be distracted running batches as often and can be more focused on feeding the queue
5+
#### New Functionality
6+
- [#839](https://github.com/marklogic/java-client-api/issues/839) - Export Data from Documents as Rows using DMSDK's ExportRowsViaTemplateListener by supplying a query and a TDE template name
7+
- [#853](https://github.com/marklogic/java-client-api/issues/853) - Exposed new Optic enhancements such as fromSql, fromSparql etc
8+
- [#882](https://github.com/marklogic/java-client-api/issues/882) - QueryBatcher Enhancements - Listeners can be registered with onJobCompletion to run listeners when the QueryJob is completed. Also methods have been added to get the primary client of the Batcher.
9+
- [#891](https://github.com/marklogic/java-client-api/issues/891) - The Batchers will automatically close the listeners registered with them if they have implemented AutoCloseable and have some resources to close
10+
- [#647](https://github.com/marklogic/java-client-api/issues/647) - Added an overload in WriteBatcher to add DocumentWriteOperation
11+
- [#835](https://github.com/marklogic/java-client-api/issues/835) - During Failover, if the hosts come back up from offline status, it would be automatically added back to the list of hosts
12+
- [#877](https://github.com/marklogic/java-client-api/issues/877) - Changed the Java Client API maven project to a gradle project
13+
14+
#### Improvements and Bug Fixes
15+
- [#874](https://github.com/marklogic/java-client-api/issues/874) - EvalResultIterator implements Closeable and it can be now used in the try with resources pattern
16+
- [#892](https://github.com/marklogic/java-client-api/issues/892) - Removed NewCookie and replaced it with OkHttp Cookie thereby eliminating the mock implementation of RuntimDelegate class
17+
- [#567](https://github.com/marklogic/java-client-api/issues/567) - Cookbook recipe for moving data out of one MarkLogic database to another (intra/inter cluster) and having server and JVM transforms mid way.
18+
- [#909](https://github.com/marklogic/java-client-api/issues/909) - Added an overload for ModifyPlanBase.where to accept PlanCondition
19+
- [#879](https://github.com/marklogic/java-client-api/issues/879) - Increase queue size (will use more memory) for QueryBatcher so iterator thread won't be distracted running batches as often and can be more focused on feeding the queue
20+
- [#850](https://github.com/marklogic/java-client-api/issues/850) - Deprecated getQuerySuccessListeners and added getUrisReadyListeners
21+
- [#836](https://github.com/marklogic/java-client-api/issues/836) - A Failover Bug where WriteBatcher hangs forever in awaitCompletion due to internal inconsistency
22+
- [#474](https://github.com/marklogic/java-client-api/issues/474) - Performance Optimization when calling XMLOutputFactory::newInstance
23+
- [#826](https://github.com/marklogic/java-client-api/issues/826) - Fixed inconsistency in to return the correct number of writes so far for WriteBatches
24+
- [#860](https://github.com/marklogic/java-client-api/issues/860) - removed many License files and replaced it with LEGALNOTICES.txt
725

826
## 4.0.3
927

0 commit comments

Comments
 (0)