Skip to content

Commit 240f6ab

Browse files
authored
Creating google-cloud-pubsub==0.30.0 release. (googleapis#4619)
Also: - Making a release of the umbrella package (since `google-cloud-pubsub` has transition from `0.29.x` to `0.30.x`) - Updating version with `.dev1` suffix in `bigquery_datatransfer`, `container` and `trace` packages - Adding `google-cloud-bigquery-datatransfer` and `google-cloud-container` to umbrella package
1 parent 4a9a950 commit 240f6ab

File tree

9 files changed

+78
-10
lines changed

9 files changed

+78
-10
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@
44

55
[1]: https://pypi.org/project/google-cloud/#history
66

7+
## 0.32.0
8+
9+
Packages newly added to the `google-cloud` umbrella package:
10+
11+
- [`google-cloud-bigquery-datatransfer==0.1.0`](https://pypi.org/project/google-cloud-bigquery-datatransfer/0.1.0/)
12+
- [`google-cloud-container==0.1.0`](https://pypi.org/project/google-cloud-container/0.1.0/)
13+
14+
Feature / bugfix release for the following packages:
15+
16+
- [`google-api-core==0.1.2`](https://pypi.org/project/google-api-core/0.1.2/)
17+
- [`google-cloud-bigtable==0.28.1`](https://pypi.org/project/google-cloud-bigtable/0.28.1/)
18+
- [`google-cloud-pubsub==0.30.0`](https://pypi.org/project/google-cloud-pubsub/0.30.0/)
19+
- [`google-cloud-trace==0.17.0`](https://pypi.org/project/google-cloud-trace/0.17.0/)
20+
- [`google-cloud-vision==0.29.0`](https://pypi.org/project/google-cloud-/0.29.0/)
21+
722
## 0.31.0
823

924
Feature / bugfix release for the following packages:

bigquery_datatransfer/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
setup(
3737
name='google-cloud-bigquery-datatransfer',
38-
version='0.1.0',
38+
version='0.1.1.dev1',
3939
author='Google LLC',
4040
author_email='googleapis-packages@google.com',
4141
classifiers=[

container/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
setup(
3737
name='google-cloud-container',
38-
version='0.1.0',
38+
version='0.1.1.dev1',
3939
author='Google Inc',
4040
author_email='googleapis-packages@google.com',
4141
classifiers=[

docs/pubsub/releases.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@
2020
* ``0.29.2`` (`PyPI <https://pypi.org/project/google-cloud-pubsub/0.29.2/>`__, `Release Notes <https://github.com/GoogleCloudPlatform/google-cloud-python/releases/tag/pubsub-0.29.2>`__)
2121
* ``0.29.3`` (`PyPI <https://pypi.org/project/google-cloud-pubsub/0.29.3/>`__, `Release Notes <https://github.com/GoogleCloudPlatform/google-cloud-python/releases/tag/pubsub-0.29.3>`__)
2222
* ``0.29.4`` (`PyPI <https://pypi.org/project/google-cloud-pubsub/0.29.4/>`__, `Release Notes <https://github.com/GoogleCloudPlatform/google-cloud-python/releases/tag/pubsub-0.29.4>`__)
23+
* ``0.30.0`` (`PyPI <https://pypi.org/project/google-cloud-pubsub/0.30.0/>`__, `Release Notes <https://github.com/GoogleCloudPlatform/google-cloud-python/releases/tag/pubsub-0.30.0>`__)

docs/releases.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ The ``google-cloud`` package (formerly ``gcloud``) contains
5151
* ``0.29.0`` (`PyPI <https://pypi.org/project/google-cloud/0.29.0/>`__, `Release Notes <https://github.com/GoogleCloudPlatform/google-cloud-python/releases/tag/0.29.0>`__)
5252
* ``0.30.0`` (`PyPI <https://pypi.org/project/google-cloud/0.30.0/>`__, `Release Notes <https://github.com/GoogleCloudPlatform/google-cloud-python/releases/tag/0.30.0>`__)
5353
* ``0.31.0`` (`PyPI <https://pypi.org/project/google-cloud/0.31.0/>`__, `Release Notes <https://github.com/GoogleCloudPlatform/google-cloud-python/releases/tag/0.31.0>`__)
54+
* ``0.32.0`` (`PyPI <https://pypi.org/project/google-cloud/0.32.0/>`__, `Release Notes <https://github.com/GoogleCloudPlatform/google-cloud-python/releases/tag/0.32.0>`__)

pubsub/CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,41 @@
44

55
[1]: https://pypi.org/project/google-cloud-pubsub/#history
66

7+
## 0.30.0
8+
9+
### Notable Implementation Changes
10+
11+
- Dropping redundant Pub / Sub `Policy._paused` data member (#4568).
12+
- Removing redundant "active" check in policy (#4603).
13+
- Adding a `Consumer.active` property (#4604).
14+
- Making it impossible to call `Policy.open()` on an already opened
15+
policy (#4606).
16+
- **Bug fix** (#4575): Fix bug with async publish for batches. There
17+
were two related bugs. The first: if a batch exceeds the `max_messages`
18+
from the batch settings, then the `commit()` will fail. The second:
19+
when a "monitor" worker that after `max_latency` seconds, a failure
20+
can occur if a new message is added to the batch during the publish.
21+
To fix, the following changes were implemented:
22+
- Adding a "STARTING" status for `Batch.commit()` (#4614). This
23+
fixes the issue when the batch exceeds `max_messages`.
24+
- Adding extra check in `Batch.will_accept` for the number of
25+
messages (#4612).
26+
- Moving `will_accept()` check out of `PublisherClient.batch()`
27+
factory (#4613).
28+
- Checking `Batch.will_accept` in thread-safe way (#4616).
29+
- **Breaking API change**: As part of #4613, changing `PublisherClient.batch()`
30+
to no longer accept a `message` (since the `will_accept` check needs to
31+
happen in a more concurrency friendly way). In addition, changing the
32+
`create` argument so that it means "create even if batch already exists"
33+
rather than "create if missing".
34+
35+
### Documentation
36+
37+
- Add more explicit documentation for Pub / Sub `Message.attributes` (#4601).
38+
- Make `Message.__repr__` a bit prettier / more useful (#4602).
39+
40+
PyPI: https://pypi.org/project/google-cloud-pubsub/0.30.0/
41+
742
## 0.29.4
843

944
### Notable Implementation Changes

pubsub/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
setup(
6161
name='google-cloud-pubsub',
62-
version='0.29.5.dev1',
62+
version='0.30.0',
6363
description='Python Client for Google Cloud Pub/Sub',
6464
long_description=README,
6565
namespace_packages=[

setup.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@
4949
}
5050

5151
REQUIREMENTS = [
52-
'google-api-core >= 0.1.1, < 0.2.0dev',
52+
'google-api-core >= 0.1.2, < 0.2.0dev',
5353
'google-cloud-bigquery >= 0.28.0, < 0.29dev',
54-
'google-cloud-bigtable >= 0.28.0, < 0.29dev',
54+
'google-cloud-bigquery-datatransfer >= 0.1.0, < 0.2dev',
55+
'google-cloud-bigtable >= 0.28.1, < 0.29dev',
56+
'google-cloud-container >= 0.1.0, < 0.2dev',
5557
'google-cloud-core >= 0.28.0, < 0.29dev',
5658
'google-cloud-datastore >= 1.4.0, < 1.5dev',
5759
'google-cloud-dns >= 0.28.0, < 0.29dev',
@@ -60,21 +62,21 @@
6062
'google-cloud-language >= 1.0.0, < 1.1dev',
6163
'google-cloud-logging >= 1.4.0, < 1.5dev',
6264
'google-cloud-monitoring >= 0.28.0, < 0.29dev',
63-
'google-cloud-pubsub >= 0.29.1, < 0.30dev',
65+
'google-cloud-pubsub >= 0.30.0, < 0.31dev',
6466
'google-cloud-resource-manager >= 0.28.0, < 0.29dev',
6567
'google-cloud-runtimeconfig >= 0.28.0, < 0.29dev',
6668
'google-cloud-spanner >= 0.29.0, < 0.30dev',
6769
'google-cloud-speech >= 0.30.0, < 0.31dev',
6870
'google-cloud-storage >= 1.6.0, < 1.7dev',
69-
'google-cloud-trace >= 0.16.0, < 0.17dev',
71+
'google-cloud-trace >= 0.17.0, < 0.18dev',
7072
'google-cloud-translate >= 1.3.0, < 1.4dev',
7173
'google-cloud-videointelligence >= 1.0.0, < 1.1dev',
72-
'google-cloud-vision >= 0.28.0, < 0.29dev',
74+
'google-cloud-vision >= 0.29.0, < 0.30dev',
7375
]
7476

7577
setup(
7678
name='google-cloud',
77-
version='0.31.1.dev1',
79+
version='0.32.0',
7880
description='API Client library for Google Cloud',
7981
long_description=README,
8082
install_requires=REQUIREMENTS,

trace/setup.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2017 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
"""A setup module for the GAPIC Stackdriver Trace API library.
216
317
See:
@@ -15,7 +29,7 @@
1529

1630
setup(
1731
name='google-cloud-trace',
18-
version='0.17.0',
32+
version='0.17.1.dev1',
1933
author='Google Inc',
2034
author_email='googleapis-packages@google.com',
2135
classifiers=[

0 commit comments

Comments
 (0)