Merge pull request #282 from pylast/rm-deprecated-constants
Remove deprecated COVER_X constants
This commit is contained in:
commit
53806b0a71
|
@ -7,19 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Added
|
### Added
|
||||||
- This changelog file ([#273])
|
* This changelog file ([#273])
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
* Support for Python 2.7 ([#265])
|
* Support for Python 2.7 ([#265])
|
||||||
|
|
||||||
|
* Constants `COVER_SMALL`, `COVER_MEDIUM`, `COVER_LARGE`, `COVER_EXTRA_LARGE`
|
||||||
|
and `COVER_MEGA`. Use `SIZE_SMALL` etc. instead. ([#282])
|
||||||
|
|
||||||
## [2.4.0] - 2018-08-08
|
## [2.4.0] - 2018-08-08
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
* Support for Python 2.7 ([#265])
|
* Support for Python 2.7 ([#265])
|
||||||
|
|
||||||
|
|
||||||
[Unreleased]: https://github.com/olivierlacan/keep-a-changelog/compare/v2.4.0...HEAD
|
[Unreleased]: https://github.com/pylast/pylast/compare/v2.4.0...HEAD
|
||||||
[2.4.0]: https://github.com/pylast/pylast/compare/2.3.0...2.4.0
|
[2.4.0]: https://github.com/pylast/pylast/compare/2.3.0...2.4.0
|
||||||
[#265]: https://github.com/pylast/pylast/issues/265
|
[#265]: https://github.com/pylast/pylast/issues/265
|
||||||
[#273]: https://github.com/pylast/pylast/issues/273
|
[#273]: https://github.com/pylast/pylast/issues/273
|
||||||
|
[#282]: https://github.com/pylast/pylast/pull/282
|
||||||
|
|
|
@ -107,12 +107,11 @@ DOMAIN_RUSSIAN = 9
|
||||||
DOMAIN_JAPANESE = 10
|
DOMAIN_JAPANESE = 10
|
||||||
DOMAIN_CHINESE = 11
|
DOMAIN_CHINESE = 11
|
||||||
|
|
||||||
# COVER_X is deprecated since 2.1.0 and will be removed in a future version
|
SIZE_SMALL = 0
|
||||||
SIZE_SMALL = COVER_SMALL = 0
|
SIZE_MEDIUM = 1
|
||||||
SIZE_MEDIUM = COVER_MEDIUM = 1
|
SIZE_LARGE = 2
|
||||||
SIZE_LARGE = COVER_LARGE = 2
|
SIZE_EXTRA_LARGE = 3
|
||||||
SIZE_EXTRA_LARGE = COVER_EXTRA_LARGE = 3
|
SIZE_MEGA = 4
|
||||||
SIZE_MEGA = COVER_MEGA = 4
|
|
||||||
|
|
||||||
IMAGES_ORDER_POPULARITY = "popularity"
|
IMAGES_ORDER_POPULARITY = "popularity"
|
||||||
IMAGES_ORDER_DATE = "dateadded"
|
IMAGES_ORDER_DATE = "dateadded"
|
||||||
|
|
Loading…
Reference in a new issue