Skip to content

Commit 065f333

Browse files
committed
Merge branch 4.0.3 into 4.0-master
2 parents a8cd179 + e2f4337 commit 065f333

File tree

368 files changed

+96980
-78440
lines changed

Some content is hidden

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

368 files changed

+96980
-78440
lines changed

CHANGELOG.md

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,54 @@
11
# CHANGELOG
22

3-
## 4.0.0
3+
## 4.0.3
4+
5+
#### New Functionality
6+
- [#639](https://github.com/marklogic/java-client-api/issues/639) - support DocumentManager.setReadTransform for DocumentManager.search calls
7+
- [#690](https://github.com/marklogic/java-client-api/issues/690) - Get a JobTicket by JobId
8+
- [#752](https://github.com/marklogic/java-client-api/issues/752) - Allow setting JobId for a JobTicket
9+
- [#756](https://github.com/marklogic/java-client-api/issues/756) - Add RawCtsQueryDefinition support for values queries
10+
- [#787](https://github.com/marklogic/java-client-api/issues/787) - Support advancing LSQT
11+
- [#813](https://github.com/marklogic/java-client-api/issues/813) - Add NoResponseListener for failover scenarios which throw EOFException
12+
- [#818](https://github.com/marklogic/java-client-api/issues/818) - Document failover support
13+
- [#822](https://github.com/marklogic/java-client-api/issues/822) - Add initialization step for QueryBatchListener
14+
- [#838](https://github.com/marklogic/java-client-api/issues/838) - Add HostAvailabilityListener.RetryListener and QueryBatcher.retryWithFailureListeners to facilitate listeners retrying during failover scenarios
15+
16+
#### Improvements and Bug Fixes
17+
18+
This release fixes many bugs related to failover scenarios
19+
20+
- [#473](https://github.com/marklogic/java-client-api/issues/473) - add "ML-Agent-ID: java" header to improve request origination metrics
21+
- [#526](https://github.com/marklogic/java-client-api/issues/526) - Possible Race Condition during black-listing of hosts
22+
- [#557](https://github.com/marklogic/java-client-api/issues/557), [#570](https://github.com/marklogic/java-client-api/issues/570) - Failures during failover require new HostAvailabilityListener.RetryListener
23+
- [#562](https://github.com/marklogic/java-client-api/issues/562) - Cookbook recipe for bulk export to JDBC
24+
- [#563](https://github.com/marklogic/java-client-api/issues/563) - Cookbook recipe for incremental load from JDBC
25+
- [#565](https://github.com/marklogic/java-client-api/issues/565) - Cookbook recipe for bulk load from JDBC
26+
- [#579](https://github.com/marklogic/java-client-api/issues/579) - Job not getting stopped when number of available hosts < 'minHosts' property
27+
- [#641](https://github.com/marklogic/java-client-api/issues/641) - Upgrade all dependencies
28+
- [#725](https://github.com/marklogic/java-client-api/issues/725) - Fix ServerEvaluationCall.evalAs(Class<T>) closing underlying streams prematurely
29+
- [#744](https://github.com/marklogic/java-client-api/issues/744) - Fix a WriteBatcher hang in awaitCompletion after forest failover
30+
- [#768](https://github.com/marklogic/java-client-api/issues/768) - Document supported Java runtime
31+
- [#775](https://github.com/marklogic/java-client-api/issues/775) - Fix QueryManagerImpl which incorrectly hardcoded start page to 1
32+
- [#785](https://github.com/marklogic/java-client-api/issues/785) - Support HTTPS with OKhttp
33+
- [#798](https://github.com/marklogic/java-client-api/issues/798) - Fix WriteBatcher from retrying when job is stopped
34+
- [#802](https://github.com/marklogic/java-client-api/issues/802) - Remove a spurious warning about StringQueryDefinitionImpl
35+
- [#811](https://github.com/marklogic/java-client-api/issues/811) - Fix OkHttpServices which threw NPE when release() method called more than once
36+
37+
## 4.0.2
38+
39+
#### New Functionality
40+
- [#720](https://github.com/marklogic/java-client-api/pull/720) - Add a RawCtsQueryDefinition to parallel RawCombinedQueryDefinition and RawStructuredQueryDefinition
41+
- [#722](https://github.com/marklogic/java-client-api/pull/722) - add support for minimum distance on near-query
42+
43+
#### Improvements and Bug Fixes
44+
- [#65](https://github.com/marklogic/java-client-api/issues/65) - Replace internal HTTP library Jersey with OkHttp to improve performance, future readiness [#391](https://github.com/marklogic/java-client-api/issues/391), and overcome version conflicts [#769](https://github.com/marklogic/java-client-api/issues/769), [#282](https://github.com/marklogic/java-client-api/issues/282)
45+
- [#470](https://github.com/marklogic/java-client-api/issues/470) - Share http connection pool across DatabaseClient instances to allow scenarios where many DatabaseClient instances are desirable
46+
- [#367](https://github.com/marklogic/java-client-api/issues/367) - Upgrade version of jdom2 dependency to 2.0.6 to overcome vulnerability in dependency xalan-2.7.1
47+
- [#368](https://github.com/marklogic/java-client-api/issues/368) - Remove dependency on jersey-apache-client4-1.17 to overcome vulnerability in dependency HttpClient 4.1.1
48+
- [#711](https://github.com/marklogic/java-client-api/pull/711) - Upgrade dependencies slf4j-api to 1.7.25
49+
- [#715](https://github.com/marklogic/java-client-api/pull/715) - Upgrade dependencies jdom2 to 2.0.6, gson to 2.8.0, and htmlcleaner to 2.19
50+
51+
## 4.0.1
452

553
#### New Functionality
654
- [#400](https://github.com/marklogic/java-client-api/issues/400) - Optic API
@@ -11,8 +59,7 @@
1159
- [#414](https://github.com/marklogic/java-client-api/issues/414) - Bitemporal ML9 features - version URI, Wipe, Protect, document patch
1260
- [#465](https://github.com/marklogic/java-client-api/issues/465) - Data Movement SDK
1361
- [#466](https://github.com/marklogic/java-client-api/issues/466) - add StructuredQueryBuilder.coordSystem to set Geo coordinate system
14-
- [#473](https://github.com/marklogic/java-client-api/issues/473) - send header "ML-Agent-ID: java" with every HTTP request so REST layer can track which calls come
15-
from Java Client API
62+
- [#473](https://github.com/marklogic/java-client-api/issues/473) - send header "ML-Agent-ID: java" with every HTTP request so REST layer can track which calls come from Java Client API
1663
- [#550](https://github.com/marklogic/java-client-api/issues/550) - add Capability NODE_UPDATE
1764

1865
#### Improvements and Bug Fixes

CONTRIBUTING.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ with MarkLogic.
1616

1717
## <a name="issue"></a> Found an Issue?
1818
If you find a bug in the source code or a mistake in the documentation, you can help us by
19-
submitting an issue to our [GitHub Issue Tracker][issue tracker]. Even better
20-
you can submit a Pull Request with a fix for the issue you filed.
19+
submitting an issue to our [GitHub Issue
20+
Tracker](https://github.com/marklogic/java-client-api/issues). Even better you
21+
can submit a Pull Request with a fix for the issue you filed.
2122

2223
## <a name="feature"></a> Want a Feature?
2324
You can request a new feature by submitting an issue to our
24-
[GitHub Issue Tracker][issue tracker]. If you would like to implement a new
25-
feature then first create a new issue and discuss it with one of our project
26-
maintainers.
25+
[GitHub Issue Tracker](https://github.com/marklogic/java-client-api/issues).
26+
If you would like to implement a new feature then first create a new issue and
27+
discuss it with one of our project maintainers.
2728

2829
## <a name="submit"></a> Submission Guidelines
2930

@@ -54,10 +55,13 @@ and clone your copy.
5455
$ cd java-client-api
5556
$ git remote add upstream git://github.com/marklogic/java-client-api.git
5657

57-
All bug fixes and new features go into the [develop](https://github.com/marklogic/java-client-api/tree/develop) branch.
58+
All bug fixes and new features go into the
59+
[develop](https://github.com/marklogic/java-client-api/tree/develop) branch.
5860

59-
We ask that you open an issue in the [issue tracker][] and get agreement from
60-
at least one of the project maintainers before you start coding.
61+
We ask that you open an issue in the
62+
[issue tracker](https://github.com/marklogic/java-client-api/issues)
63+
and get agreement from at least one of the project maintainers before you start
64+
coding.
6165

6266
Nothing is more frustrating than seeing your hard work go to waste because
6367
your vision does not align with that of a project maintainer.
@@ -182,4 +186,3 @@ local shell as follows:
182186
* Update your *develop* with the latest upstream version:
183187

184188
$ git pull --ff upstream develop
185-
[issue tracker]: https://github.com/marklogic/java-client-api/issues

0 commit comments

Comments
 (0)