Changelog#
1.4.0#
08-06-2019 11:43 PDT
New Features#
Implementation Changes#
Remove send/recv msg size limit (via synth). (#8955)
Deprecate
v1beta1
API / client. (#8886)Allow snapshot cursors from other collections for collection group queries. (#8882)
Fix sorting
delete_changes
inWatch._compute_snapshot
. (#8809)Treat
None
as EOF inWatch.on_snapshot
. (#8687)Fix V1
Client.collections
method. (#8718)Avoid adding
prefix
to update mask for transforms used inupdate
. (#8701)Add
should_terminate
predicate for clean BiDi shutdown. (#8650)
Documentation#
1.3.0#
07-09-2019 13:19 PDT
Implementation Changes#
Add missing transforms to ‘google.cloud.firestore’ shim. (#8481)
Preserve reference to missing documents in ‘Client.get_all’. (#8472)
Add gRPC keepalive to gapic client initialization. (#8264)
Add disclaimer to auto-generated template files. (#8314)
Use correct environment variable to guard the ‘system’ part. (#7912)
New Features#
Documentation#
Internal / Testing Changes#
Pin black version (via synth). (#8583)
All: Add docs job to publish to googleapis.dev. (#8464)
Declare encoding as utf-8 in pb2 files (via synth). (#8352)
Suppress checking ‘cov-fail-under’ in nox default session (via synth). (#8241)
Blacken noxfile.py, setup.py (via synth). (#8123)
Add empty lines (via synth). (#8058)
1.0.0#
04-30-2019 10:00 PDT
0.32.0#
04-01-2019 11:44 PDT
Implementation Changes#
Allow passing metadata as part of creating a bidi (#7514)
Remove classifier for Python 3.4 for end-of-life. (#7535)
Rename ‘Query.get’ -> ‘stream’. (#7284)
Remove bogus error checking of query response stream. (#7206) -‘increment’ / ‘minimum’ / ‘maximum’ field transform attributes. (#7129)
Respect transform values passed into collection.add (#7072)
Protoc-generated serialization update. (#7083)
New Features#
Documentation#
0.31.0#
12-18-2018 11:20 PST
Implementation Changes#
Implement equality semantics for public types (#6916)
Pick up stub docstring fix in GAPIC generator. (#6988)
Use ‘DatetimeWithNanos’ for converting timestamp messages. (#6920)
Enable use of ‘WriteBatch’ as a context manager. (#6912)
Document timeouts for ‘Query.get’ / ‘Collection.get’. (#6853)
Normalize FieldPath parsing / escaping (#6904)
For queries ordered on
__name__
, expand field values to full paths. (#6829)Import
iam.policy
fromgoogle.api_core
. (#6741)Prevent use of transforms as values passed to ‘Query.where’. (#6703)
‘Query.select([])’ implies
__name__
. (#6735)Reject invalid paths passed to ‘Query.{select,where,order_by}’ (#6770)
Prevent use of transforms as cursor values. (#6706)
Refactor ‘Document.get’ to use the ‘GetDocument’ API. (#6534)
Pick up enum fixes in the GAPIC generator. (#6612)
Pick up changes to GAPIC client config. (#6589)
Suppress deprecation warnings for ‘assertRaisesRegexp’. (#6543)
Firestore: pick up fixes to GAPIC generator. (#6523)
Fix
client_info
bug, update docstrings. (#6412)Block calling ‘DocumentRef.get()’ with a single string. (#6270)
New Features#
Impose required semantics for snapshots as cursors: (#6837)
Make cursor-related ‘Query’ methods accept lists (#6697)
Add ‘Client.collections’ method. (#6650)
Add support for ‘ArrayRemove’ / ‘ArrayUnion’ transforms (#6651)
Add support for
array_contains
query operator. (#6481)Add Watch Support (#6191)
Remove use of deprecated ‘channel’ argument. (#6271)
Dependencies#
Documentation#
Internal / Testing Changes#
Add driver for listen conformance tests. (#6935)
Add driver for query conformance tests. (#6839)
Update noxfile.
Blacken libraries (#6794)
Omit local deps (#6701)
Run black at end of synth.py (#6698)
Add templates for flake8, coveragerc, noxfile, and black. (#6642)
Fix delete conformance (#6559)
Add synth metadata. (#6567)
Refactor conformance tests. (#6291)
Import stdlib ABCs from ‘collections.abc’ rather than ‘collections’. (#6451)
Fix path of tests-to-include in MANIFEST.in (#6381)
Fix error from new flake8 version. (#6320)
0.30.1#
12-11-2018 10:49 PDT
Dependencies#
Update
core
andapi_core
dependencies to latest versions.
0.30.0#
10-15-2018 09:04 PDT
New Features#
Implementation Changes#
Documentation#
Internal / Testing Changes#
Use new Nox (#6175)
Add new conformance tests. (#6124)
Add
synth.py
. (#6079)Test document update w/ integer ids (#5895)
Nox: use inplace installs (#5865)
Re-sync with .proto / .textproto files from google-cloud-common. (#5351)
Modify system tests to use prerelease versions of grpcio (#5304)
Add test runs for Python 3.7 and remove 3.4 (#5295)
Fix over-long line. (#5129)
Distinguish
FieldPath
classes from field path strings (#4466)Fix bad trove classifier
Cleanup
FieldPath
(#4996)Fix typo in
Document.collections
docstring. (#5669)Implement
FieldPath.__add__
(#5149)
0.29.0#
New features#
All non-simple field names are converted into unicode (#4859)
Implementation changes#
The underlying generated code has been re-generated to pick up new features and bugfixes. (#4916)
The
Admin
API interface has been temporarily removed.
Dependencies#
Update dependency range for api-core to include v1.0.0 releases (#4944)
The minimum version for
google-api-core
has been updated to version 1.0.0. This may cause some incompatibility with older google-cloud libraries, you will need to update those libraries if you have a dependency conflict. (#4944, #4946)
Documentation#
Fixing “Fore” -> “For” typo in README docs. (#4317)
Testing and internal changes#
Install local dependencies when running lint (#4936)
Re-enable lint for tests, remove usage of pylint (#4921)
Normalize all setup.py files (#4909)
System test fix, changed ALREADY_EXISTS and MISSING_ENTITY to DOCUMENT_EXISTS and MISSING_DOCUMENT and updated wording (#4803)
Cross-language tests (#4359)
Fix import column lengths pass 79 (#4464)
Making a
nox -s default
session for all packages. (#4324)Shorten test names (#4321)
0.28.0#
Documentation#
Added link to “Python Development Environment Setup Guide” in project README (#4187, h/t to @michaelawyu)
Dependencies#
Upgrading to
google-cloud-core >= 0.28.0
and adding dependency ongoogle-api-core
(#4221, #4280)
PyPI: https://pypi.org/project/google-cloud-firestore/0.28.0/