From 47818a980dbcd5b5720f4bd264d4b40a6f64dfdb Mon Sep 17 00:00:00 2001 From: Yurii Serhiichuk Date: Sun, 7 Aug 2022 19:32:57 +0300 Subject: [PATCH] release: v1.5.0 (#187) * chore: bump version. Signed-off-by: Yurii Serhiichuk * docs: Update the Changelog. Signed-off-by: Yurii Serhiichuk * deps: fix `sanic` vulnerability. Signed-off-by: Yurii Serhiichuk --- CHANGELOG.md | 9 +++++++++ cloudevents/__init__.py | 14 +++++++++++++- requirements/test.txt | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c40d496..cb39a11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + + +## [1.5.0] — 2022-08-06 +### Added +- A new `CloudEvent` abstract class is available in the `cloudevents.abstract.event` + module. The new abstraction simplifies creation of custom framework-specific + implementations of `CloudEvents` wrappers ([#186]) ### Fixed - Malformed unicode buffer encoded in `base_64` json field no-longer fail CloudEvent class construction ([#184]) @@ -116,6 +123,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release +[1.5.0]: https://github.com/cloudevents/sdk-python/compare/1.4.0...1.5.0 [1.4.0]: https://github.com/cloudevents/sdk-python/compare/1.3.0...1.4.0 [1.3.0]: https://github.com/cloudevents/sdk-python/compare/1.2.0...1.3.0 [1.2.0]: https://github.com/cloudevents/sdk-python/compare/1.1.0...1.2.0 @@ -173,3 +181,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#173]: https://github.com/cloudevents/sdk-python/pull/173 [#180]: https://github.com/cloudevents/sdk-python/pull/180 [#184]: https://github.com/cloudevents/sdk-python/pull/184 +[#186]: https://github.com/cloudevents/sdk-python/pull/186 diff --git a/cloudevents/__init__.py b/cloudevents/__init__.py index c695db9..eacb1de 100644 --- a/cloudevents/__init__.py +++ b/cloudevents/__init__.py @@ -23,5 +23,17 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -__version__ = "1.4.0" +__version__ = "1.5.0" diff --git a/requirements/test.txt b/requirements/test.txt index bec651b..ffeaaf5 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -6,7 +6,7 @@ flake8-strict pytest pytest-cov # web app tests -sanic<=20.12.6; python_version <= '3.6' +sanic<=20.12.7; python_version <= '3.6' sanic; python_version > '3.6' sanic-testing; python_version > '3.6' aiohttp