New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: release 2.0.0 #309
Merged
Merged
chore: release 2.0.0 #309
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
google-cla
bot
added
the
cla: yes
This human has signed the Contributor License Agreement.
label
Jul 23, 2020
Codecov Report
@@ Coverage Diff @@
## master #309 +/- ##
=========================================
Coverage 72.75% 72.75%
- Complexity 1044 1053 +9
=========================================
Files 64 64
Lines 5512 5512
Branches 681 679 -2
=========================================
Hits 4010 4010
Misses 1289 1289
Partials 213 213 Continue to review full report at Codecov.
|
release-please
bot
force-pushed
the
release-v2.0.0
branch
from
July 27, 2020 21:57
b3fc73c
to
96adacb
Compare
release-please
bot
force-pushed
the
release-v2.0.0
branch
from
July 28, 2020 17:26
57632fb
to
03ef755
Compare
release-please
bot
force-pushed
the
release-v2.0.0
branch
from
July 31, 2020 17:56
705bf2c
to
14a31ea
Compare
release-please
bot
force-pushed
the
release-v2.0.0
branch
from
August 3, 2020 18:47
1e19716
to
15d68cd
Compare
release-please
bot
force-pushed
the
release-v2.0.0
branch
from
August 4, 2020 21:00
54e4c1d
to
3996548
Compare
release-please
bot
force-pushed
the
release-v2.0.0
branch
from
August 6, 2020 22:48
38bc7a7
to
299bf71
Compare
release-please
bot
force-pushed
the
release-v2.0.0
branch
from
August 7, 2020 17:38
089b992
to
f2ad228
Compare
release-please
bot
force-pushed
the
release-v2.0.0
branch
from
August 7, 2020 19:28
5cde3d2
to
1b21350
Compare
release-please
bot
force-pushed
the
release-v2.0.0
branch
from
August 7, 2020 21:26
a70e956
to
b945fdb
Compare
release-please
bot
force-pushed
the
release-v2.0.0
branch
from
August 14, 2020 01:52
d76e865
to
ef0869a
Compare
BenWhitehead
approved these changes
Aug 14, 2020
BenWhitehead
added
the
kokoro:force-run
Add this label to force Kokoro to re-run the tests.
label
Aug 14, 2020
yoshi-kokoro
removed
the
kokoro:force-run
Add this label to force Kokoro to re-run the tests.
label
Aug 14, 2020
BenWhitehead
added
the
automerge
Merge the pull request once unit tests and other checks pass.
label
Aug 14, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
automerge
Merge the pull request once unit tests and other checks pass.
autorelease: published
cla: yes
This human has signed the Contributor License Agreement.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 I have created a release *beep* *boop*
2.0.0 (2020-08-14)
New Features
Query Partition API
New API and backend RPC which allows for fetching a set of cursor keys for a
Collection Group Query. Accessible via the new
CollectionGroup#getPartitions(long,ApiStreamObserver)
method.Read-Only Transaction Options
TransactionOptions
has been refactored to provide the ability to configure options for read-only
transactions along with the existing configuration for read-write transactions.
This new ability is provided via the new
TransactionOptions.createReadOnlyOptionsBuilder()
type safe builder.
Along with the new type safe builder for read-only options, there is a new type
safe builder for read-write options as well accessible via
TransactionOptions.createReadWriteOptionsBuilder()
. Each of the existingTransactionOptions.create(...)
methods for configuring read-write options has been deprecated in favor of the new builder.
EmulatorCredentials
com.google.cloud.firestore.FirestoreOptions.Builder.FakeCredentials
has beenmade static and renamed to
com.google.cloud.firestore.FirestoreOptions.EmulatorCredentials
allowing instantiation outside
FirestoreOptions.Builder
.When connecting to the Cloud Firestore Emulator via
FirestoreOptions
rather thanthe environment variable
FIRESTORE_EMULATOR_HOST
, a custom credential implementationmust be specified to allow various admin operations in the emulator. Previously
this required users to create their own implementation due to it not being
possible to construct a
FakeCredential
. As part of this change,EmulatorCredentials
is static and therefore able to be constructed from any location.
Breaking Changes
New Firestore Admin Client API Artifact
The Cloud Firestore Admin Client has been migrated to its own maven artifact
com.google.cloud:google-cloud-firestore-admin
rather than being bundled in
com.google.cloud:google-cloud-firestore
. Allpackages and classes have retained their existing names.
The new artifact is included in the
com.google.cloud:google-cloud-firestore-bom
,com.google.cloud:google-cloud-bom
andcom.google.cloud:libraries-bom
artifacts and is accessible by adding the new dependency to your
pom.xml
file:Removal of v1beta1
Cloud Firestore has been GA for some time now, and the
google-cloud-firestore
code base has been using the protos and generated classes for the v1 api since
that time. As such, we will no longer be publishing artifacts for the deprecated
v1beta1 protos. All functionality from v1beta1 is present in v1, and all users
should update any code to use v1.
Removal of support for
java.util.Date
in SnapshotsIt is no longer possible to configure the ability for
java.util.Date
to bereturned from
DocumentSnapshot.get(FieldPath)
orDocumentSnapshot.getData()
for properties which are stored as Timestamps in Cloud Firestore.
The default behavior has been to return
com.google.cloud.Timestamp
by defaultfor some time, and is now the only option. Any code that is dependent on the old
behavior must be updated to use Timestamps instead of Date.
Laundry List of Pull Requests
⚠ BREAKING CHANGES
Firestore#collectionGroup(...)
has a new return typeCollectionGroup
which requires any code that previously used the method be re-compiled to
pick up the new signature.
CollectionGroup
extendsQuery
and as suchdoes not require your code to be updated, only the compiled class files.
Features
Bug Fixes
Dependencies
Miscellaneous Chores
This PR was generated with Release Please.