Bump to 2.22.0

This commit is contained in:
Stephane Bruckert 2022-12-10 15:31:47 +00:00
parent d2384c1c33
commit 1e840b6526
2 changed files with 160 additions and 150 deletions

View File

@ -7,17 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
// Add new changes below this line
### Added
### Fixed
### Removed
## [2.22.0] - 2022-12-10
### Added
- Integration tests via GHA (non-user endpoints)
- Unit tests for new releases, passing limit parameter with minimum and maximum values of 1 and 50
- Unit tests for categories, omitting country code to test global releases
- Added 'CODE_OF_CONDUCT.md'
- Added `CODE_OF_CONDUCT.md`
### Fixed
- Incorrect category_id input for test_category
- Assertion value for test_categories_limit_low and test_categories_limit_high
- Incorrect `category_id` input for test_category
- Assertion value for `test_categories_limit_low` and `test_categories_limit_high`
- Pin Github Actions Runner to Ubuntu 20 for Py27
- Fixed potential error where `found` variable in `test_artist_related_artists` is undefined if for loop never evaluates to true
- Fixed false positive test `test_new_releases` which looks up the wrong property of the JSON response object and always evaluates to true
@ -27,7 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added `market` parameter to `album` and `albums` to address ([#753](https://github.com/plamere/spotipy/issues/753)
- Added 'show_featured_artists.py' to 'examples'.
- Added `show_featured_artists.py` to `/examples`.
- Expanded contribution and license sections of the documentation.
- Added `FlaskSessionCacheHandler`, a cache handler that stores the token info in a flask session.
- Added Python 3.10 in GitHub Actions

View File

@ -18,7 +18,7 @@ extra_reqs = {
setup(
name='spotipy',
version='2.21.0',
version='2.22.0',
description='A light weight Python library for the Spotify Web API',
long_description=long_description,
long_description_content_type="text/markdown",