Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Prepare for 2.13.0 release #449

Merged
merged 5 commits into from
Jun 8, 2018
Merged

Prepare for 2.13.0 release #449

merged 5 commits into from
Jun 8, 2018

Conversation

tomblench
Copy link
Contributor

No description provided.


}
/*
* Copyright (c) 2015, 2018 IBM Corp. All rights reserved.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(C) or ©

* <p>
* <b>Important:</b>Top-level field names that begin with the underscore character (_) are
* <a href="https://console.bluemix.net/docs/services/Cloudant/api/document.html#documents" target="_blank">
* reserved</a> in Cloudant and must not be used.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should append something like...
If you wish to control the reserved properties e.g. _id _rev and _deleted or map them to specific fields in your POJO then do not subclass com.cloudant.client.api.model.Document, but use your own class instead.

CHANGES.md Outdated
- [FIXED] An issue where `getReason()` returned an incorrect value for `Response` objects returned
by `Database.bulk()`.
- [FIXED] Issues retrieving deleted documents using an `AllDocsRequest`.
- [BREAKING CHANGE] Added `_deleted` field to `Document`. This will break (de)serialisation for
classes which sub-class `Document` and themselves declare a a field which implicitly or explicitly
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicated a in declare a a field

CHANGES.md Outdated
- [FIXED] An issue where `getReason()` returned an incorrect value for `Response` objects returned
by `Database.bulk()`.
- [FIXED] Issues retrieving deleted documents using an `AllDocsRequest`.
- [BREAKING CHANGE] Added `_deleted` field to `Document`. This will break (de)serialisation for
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can split this into two, since really there is an actual fix here and the "breaking change" is really more of a side effect for edge cases:

- [FIXED] Added missing `_deleted` field to `Document` model class.
- [BREAKING CHANGE] The fix for adding the `_deleted` field will break...

@tomblench tomblench merged commit 692c9e7 into master Jun 8, 2018
@ricellis ricellis deleted the prepare-2.13.0-release branch December 18, 2018 11:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants