Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
".": "1.6.0"
".": "1.7.0"
}

19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## [1.7.0](https://github.com/googleapis/python-pubsublite/compare/v1.6.0...v1.7.0) (2023-02-15)


### Features

* Add current state of export subscriptions to API ([bb111fd](https://github.com/googleapis/python-pubsublite/commit/bb111fd179c3c85a2ba0b886ab52db3328f86003))
* API for publish idempotence ([bb111fd](https://github.com/googleapis/python-pubsublite/commit/bb111fd179c3c85a2ba0b886ab52db3328f86003))
* Replace export subscription statuses with current state field in API ([bb111fd](https://github.com/googleapis/python-pubsublite/commit/bb111fd179c3c85a2ba0b886ab52db3328f86003))


### Bug Fixes

* Add context manager return types ([bb111fd](https://github.com/googleapis/python-pubsublite/commit/bb111fd179c3c85a2ba0b886ab52db3328f86003))


### Documentation

* Add documentation for enums ([bb111fd](https://github.com/googleapis/python-pubsublite/commit/bb111fd179c3c85a2ba0b886ab52db3328f86003))

## [1.6.0](https://github.com/googleapis/python-pubsublite/compare/v1.5.0...v1.6.0) (2022-10-06)


Expand Down
2 changes: 1 addition & 1 deletion google/cloud/pubsublite/gapic_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.6.0" # {x-release-please-version}
__version__ = "1.7.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-pubsublite",
"version": "0.1.0"
"version": "1.7.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,5 @@ def create_lite_pubsub_export_subscription(
except AlreadyExists:
print(f"{subscription_path} already exists.")


# [END pubsublite_create_pubsub_export_subscription]
4 changes: 3 additions & 1 deletion samples/snippets/quickstart_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ def publisher_client():
@pytest.fixture(scope="module")
def pubsub_topic(publisher_client):
"""Creates a Pub/Sub topic resource"""
destination_topic_path = publisher_client.topic_path(PROJECT_NUMBER, PUBSUB_TOPIC_ID)
destination_topic_path = publisher_client.topic_path(
PROJECT_NUMBER, PUBSUB_TOPIC_ID
)
try:
publisher_client.create_topic(request={"name": destination_topic_path})
except AlreadyExists:
Expand Down