Skip to content

Commit 60ac588

Browse files
authored
Version 2.2.0 (#130)
* Version 2.2.0 * Pin back version of docker-py used in tests
1 parent 52264bc commit 60ac588

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [2.2.0] - 2021-05-24
10+
### Added
11+
- Relax constraint to `flask<3.0` and `click<9.0` ([#129])
12+
913
## [2.1.3] - 2021-04-23
1014
### Changed
1115
- Change gunicorn loglevel to error ([#122])
@@ -101,7 +105,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
101105
### Added
102106
- Initial release
103107

104-
[Unreleased]: https://github.com/GoogleCloudPlatform/functions-framework-python/compare/v2.1.3...HEAD
108+
[Unreleased]: https://github.com/GoogleCloudPlatform/functions-framework-python/compare/v2.2.0...HEAD
109+
[2.2.0]: https://github.com/GoogleCloudPlatform/functions-framework-python/releases/tag/v2.2.0
105110
[2.1.3]: https://github.com/GoogleCloudPlatform/functions-framework-python/releases/tag/v2.1.3
106111
[2.1.2]: https://github.com/GoogleCloudPlatform/functions-framework-python/releases/tag/v2.1.2
107112
[2.1.1]: https://github.com/GoogleCloudPlatform/functions-framework-python/releases/tag/v2.1.1
@@ -121,6 +126,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
121126
[1.0.1]: https://github.com/GoogleCloudPlatform/functions-framework-python/releases/tag/v1.0.1
122127
[1.0.0]: https://github.com/GoogleCloudPlatform/functions-framework-python/releases/tag/v1.0.0
123128

129+
[#129]: https://github.com/GoogleCloudPlatform/functions-framework-python/pull/129
124130
[#122]: https://github.com/GoogleCloudPlatform/functions-framework-python/pull/122
125131
[#116]: https://github.com/GoogleCloudPlatform/functions-framework-python/pull/116
126132
[#114]: https://github.com/GoogleCloudPlatform/functions-framework-python/pull/114

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pip install functions-framework
4545
Or, for deployment, add the Functions Framework to your `requirements.txt` file:
4646

4747
```
48-
functions-framework==2.1.3
48+
functions-framework==2.2.0
4949
```
5050

5151
## Quickstarts
@@ -168,8 +168,8 @@ response instead.
168168
git clone https://github.com/googleapis/python-pubsub.git
169169
cd python-pubsub/samples/snippets/
170170
pip install -r requirements.txt
171-
172-
python publisher.py $PUBSUB_PROJECT_ID create $TOPIC_ID
171+
172+
python publisher.py $PUBSUB_PROJECT_ID create $TOPIC_ID
173173
python subscriber.py $PUBSUB_PROJECT_ID create-push $TOPIC_ID $PUSH_SUBSCRIPTION_ID http://localhost:8085
174174
python publisher.py $PUBSUB_PROJECT_ID publish $TOPIC_ID
175175
```
@@ -178,7 +178,7 @@ response instead.
178178

179179
```none
180180
Created topic: projects/my-project/topics/my-topic
181-
181+
182182
topic: "projects/my-project/topics/my-topic"
183183
push_config {
184184
push_endpoint: "http://localhost:8085"
@@ -189,7 +189,7 @@ response instead.
189189
}
190190
.
191191
Endpoint for subscription is: http://localhost:8085
192-
192+
193193
1
194194
2
195195
3

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
setup(
2727
name="functions-framework",
28-
version="2.1.3",
28+
version="2.2.0",
2929
description="An open source FaaS (Function as a service) framework for writing portable Python functions -- brought to you by the Google Cloud Functions team.",
3030
long_description=long_description,
3131
long_description_content_type="text/markdown",

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ envlist = py{35,36,37,38,39}-{ubuntu-latest,macos-latest,windows-latest},lint
44
[testenv]
55
usedevelop = true
66
deps =
7-
docker
7+
docker<5 # https://github.com/docker/docker-py/issues/2807
88
pytest-cov
99
pytest-integration
1010
pretend

0 commit comments

Comments
 (0)