Skip to content

Commit 9240062

Browse files
pradnplamut
authored andcommitted
Release PubSub 1.0.0 (#9145)
* Release 1.0.0 * Update CPS Python library READMEs to indicate the library is now GA. Also add some extra notes about versioning and contributions. * Fix badge image * Fix rst docs * Address comments by Peter and Bu Sun * Update repo metadata * Improve changelog entry
1 parent d61a914 commit 9240062

5 files changed

Lines changed: 61 additions & 10 deletions

File tree

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ The following client libraries have **GA** support:
3333
- `Google Cloud Datastore`_ (`Datastore README`_)
3434
- `Google Cloud KMS`_ (`KMS README`_)
3535
- `Google Cloud Natural Language`_ (`Natural Language README`_)
36+
- `Google Cloud Pub/Sub`_ (`Pub/Sub README`_)
3637
- `Google Cloud Scheduler`_ (`Scheduler README`_)
3738
- `Google Cloud Spanner`_ (`Spanner README`_)
3839
- `Google Cloud Speech`_ (`Speech README`_)
@@ -51,6 +52,8 @@ The following client libraries have **GA** support:
5152
.. _KMS README: https://github.com/googleapis/google-cloud-python/tree/master/kms
5253
.. _Google Cloud Natural Language: https://pypi.org/project/google-cloud-language/
5354
.. _Natural Language README: https://github.com/googleapis/google-cloud-python/tree/master/language
55+
.. _Google Cloud Pub/Sub: https://pypi.org/project/google-cloud-pubsub/
56+
.. _Pub/Sub README: https://github.com/googleapis/google-cloud-python/tree/master/pubsub
5457
.. _Google Cloud Spanner: https://pypi.org/project/google-cloud-spanner
5558
.. _Spanner README: https://github.com/googleapis/google-cloud-python/tree/master/spanner
5659
.. _Google Cloud Speech: https://pypi.org/project/google-cloud-speech/
@@ -76,14 +79,11 @@ against beta libraries are addressed with a higher priority.
7679
The following client libraries have **beta** support:
7780

7881
- `Google Cloud Firestore`_ (`Firestore README`_)
79-
- `Google Cloud Pub/Sub`_ (`Pub/Sub README`_)
8082
- `Google Cloud Video Intelligence`_ (`Video Intelligence README`_)
8183
- `Google Cloud Vision`_ (`Vision README`_)
8284

8385
.. _Google Cloud Firestore: https://pypi.org/project/google-cloud-firestore/
8486
.. _Firestore README: https://github.com/googleapis/google-cloud-python/tree/master/firestore
85-
.. _Google Cloud Pub/Sub: https://pypi.org/project/google-cloud-pubsub/
86-
.. _Pub/Sub README: https://github.com/googleapis/google-cloud-python/tree/master/pubsub
8787
.. _Google Cloud Video Intelligence: https://pypi.org/project/google-cloud-videointelligence
8888
.. _Video Intelligence README: https://github.com/googleapis/google-cloud-python/tree/master/videointelligence
8989
.. _Google Cloud Vision: https://pypi.org/project/google-cloud-vision/

pubsub/.repo-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"product_documentation": "https://cloud.google.com/pubsub/docs/",
55
"client_documentation": "https://googleapis.dev/python/pubsub/latest",
66
"issue_tracker": "https://issuetracker.google.com/savedsearches/559741",
7-
"release_level": "beta",
7+
"release_level": "ga",
88
"language": "python",
99
"repo": "googleapis/google-cloud-python",
1010
"distribution_name": "google-cloud-pubsub",
1111
"api_id": "pubsub.googleapis.com",
1212
"requires_billing": true
13-
}
13+
}

pubsub/CHANGELOG.md

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

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

7+
## 1.0.0
8+
9+
08-29-2019 09:27 PDT
10+
11+
### Implementation Changes
12+
- Add 'ReceivedMessage.delivery_attempt' field (via synth). ([#9098](https://github.com/googleapis/google-cloud-python/pull/9098))
13+
- Remove send/recv msg size limit, update docstrings (via synth). ([#8964](https://github.com/googleapis/google-cloud-python/pull/8964))
14+
15+
### Documentation
16+
- Update docstrings for client kwargs and fix return types uris ([#9037](https://github.com/googleapis/google-cloud-python/pull/9037))
17+
- Remove CI for gh-pages, use googleapis.dev for api_core refs. ([#9085](https://github.com/googleapis/google-cloud-python/pull/9085))
18+
- Remove compatability badges from READMEs. ([#9035](https://github.com/googleapis/google-cloud-python/pull/9035))
19+
20+
### Internal / Testing Changes
21+
- Add dead-letter-policy field in preparation for its implementation (via synth) ([#9078](https://github.com/googleapis/google-cloud-python/pull/9078))
22+
723
## 0.45.0
824

925
07-31-2019 02:03 PDT

pubsub/README.rst

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Python Client for Google Cloud Pub / Sub
22
========================================
33

4-
|beta| |pypi| |versions|
4+
|GA| |pypi| |versions|
55

66
`Google Cloud Pub / Sub`_ is a fully-managed real-time messaging service that
77
allows you to send and receive messages between independent applications. You
@@ -19,8 +19,8 @@ independently written applications.
1919
- `Product Documentation`_
2020
- `Client Library Documentation`_
2121

22-
.. |beta| image:: https://img.shields.io/badge/support-beta-silver.svg
23-
:target: https://github.com/googleapis/google-cloud-python/blob/master/README.rst#beta-support
22+
.. |GA| image:: https://img.shields.io/badge/support-GA-gold.svg
23+
:target: https://github.com/googleapis/google-cloud-python/blob/master/README.rst#general-availability
2424
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-pubsub.svg
2525
:target: https://pypi.org/project/google-cloud-pubsub/
2626
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-pubsub.svg
@@ -192,3 +192,38 @@ For example, to use JSON Web Tokens, provide a `google.auth.jwt.Credentials`_ in
192192
.. _Credentials: https://google-auth.readthedocs.io/en/latest/reference/google.auth.credentials.html#google.auth.credentials.Credentials
193193
.. _google-auth: https://google-auth.readthedocs.io/en/latest/index.html
194194
.. _google.auth.jwt.Credentials: https://google-auth.readthedocs.io/en/latest/reference/google.auth.jwt.html#google.auth.jwt.Credentials
195+
196+
197+
Versioning
198+
----------
199+
200+
This library follows `Semantic Versioning`_.
201+
202+
It is currently in major version one (1.y.z), which means that the public API should be considered stable.
203+
204+
.. _Semantic Versioning: http://semver.org/
205+
206+
Contributing
207+
------------
208+
209+
Contributions to this library are always welcome and highly encouraged.
210+
211+
See the `CONTRIBUTING doc`_ for more information on how to get started.
212+
213+
.. _CONTRIBUTING doc: https://github.com/googleapis/google-cloud-python/blob/master/CONTRIBUTING.rst
214+
215+
Community
216+
---------
217+
218+
Google Cloud Platform Python developers hang out in `Slack`_ in the ``#python``
219+
channel, click here to `get an invitation`_.
220+
221+
.. _Slack: https://googlecloud-community.slack.com
222+
.. _get an invitation: https://gcp-slack.appspot.com/
223+
224+
License
225+
-------
226+
227+
Apache 2.0 - See `the LICENSE`_ for more information.
228+
229+
.. _the LICENSE: https://github.com/googleapis/google-cloud-python/blob/master/LICENSE

pubsub/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222

2323
name = "google-cloud-pubsub"
2424
description = "Google Cloud Pub/Sub API client library"
25-
version = "0.45.0"
25+
version = "1.0.0"
2626
# Should be one of:
2727
# 'Development Status :: 3 - Alpha'
2828
# 'Development Status :: 4 - Beta'
2929
# 'Development Status :: 5 - Production/Stable'
30-
release_status = "Development Status :: 4 - Beta"
30+
release_status = "Development Status :: 5 - Production/Stable"
3131
dependencies = [
3232
"google-api-core[grpc] >= 1.14.0, < 2.0.0dev",
3333
"grpc-google-iam-v1 >= 0.12.3, < 0.13dev",

0 commit comments

Comments
 (0)