From 02b5d249923aeab2eed45020bbecd0ea54ab2f77 Mon Sep 17 00:00:00 2001 From: Wilfried BARADAT Date: Wed, 6 Sep 2023 15:29:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96(major)=20bump=20release=20to=201.0?= =?UTF-8?q?.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added - Add `events` and `assertions` attributes to OBF provider - Add `read` method for `events` and `assertions` attributes of OBF provider Changed - Change providers methods to be asynchronous [BC] - Return a `BadgeIssue` instance in the `issue` method [BC] - Move badges methods to a `badges` attribute of OBF provider [BC] - Change from `requests` to `httpx` for API requests --- CHANGELOG.md | 14 ++++++++++---- setup.cfg | 2 +- src/obc/__init__.py | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1ce978..8927aee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,14 +8,19 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [1.0.0] - 2023-09-06 + ### Added +- Add `events` and `assertions` attributes to OBF provider +- Add `read` method for `events` and `assertions` attributes of OBF provider + +### Changed + - Change providers methods to be asynchronous [BC] - Return a `BadgeIssue` instance in the `issue` method [BC] -- Add a `badges` attribute to OBF provider for badges methods [BC] +- Move badges methods to a `badges` attribute of OBF provider [BC] - Change from `requests` to `httpx` for API requests -- Add `events` and `assertions` attributes to OBF provider -- Add `read` method for `events` and `assertions` attributes of OBF provider ## [0.2.1] - 2023-08-23 @@ -35,7 +40,8 @@ Versioning](https://semver.org/spec/v2.0.0.html). - Extract the OBF badge provider from the Joanie project -[Unreleased]: https://github.com/openfun/open-badges-client/compare/v0.2.1...main +[Unreleased]: https://github.com/openfun/open-badges-client/compare/v1.0.0...main +[1.0.0]: https://github.com/openfun/open-badges-client/compare/v0.2.1...v1.0.0 [0.2.1]: https://github.com/openfun/open-badges-client/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/openfun/open-badges-client/compare/v0.1.0...v0.2.0 [0.1.0]: https://github.com/openfun/open-badges-client/compare/a253313...v0.1.0 diff --git a/setup.cfg b/setup.cfg index 45953e8..1984684 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ ;; [metadata] name = obc -version = 0.2.1 +version = 1.0.0 description = The Open Badges Client long_description = file:README.md long_description_content_type = text/markdown diff --git a/src/obc/__init__.py b/src/obc/__init__.py index 9fb545f..cd20a22 100644 --- a/src/obc/__init__.py +++ b/src/obc/__init__.py @@ -1,3 +1,3 @@ """OBC: the Open Badge Client.""" -__version__ = "0.2.1" +__version__ = "1.0.0"