Skip to content

Commit

Permalink
Add bullet point describing version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitrii-I committed Nov 5, 2019
1 parent 09101fe commit 47d751b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
@@ -1,9 +1,11 @@
# Changelog

## 1.1.0
* Add parameter `includes` to `SoccerApiV2.player` method.

## 1.0.0 (2018-12-01)
* Stop caching methods. As such caching has been removed from `SoccerApiV2.bookmaker`, `SoccerApiV2.continent`, `SoccerApiV2.country`, `SoccerApiV2.league`. Caching can still be done by callers with the `functools.lru_cache` decorator.
* Fix bug in `SoccerApiV2.fixtures` and `SoccerApiV2.fixtures_today`. When parameter `league_ids` was specified and the resulting response contained more than 100 fixtures, then the fixtures beyond the first 100 contained also fixtures not belonging to the specified `league_ids`.
* Fix bug in `SoccerApiV2.fixtures` and `SoccerApiV2.fixtures_today`. When parameter `league_ids` was specified and the resulting response contained more than 100 fixtures, then the fixtures beyond the first 100 contained also fixtures not belonging to the specified `league_ids`.
* Parameter `include` has been renamed to `includes`. This name is better because it can contain zero or more includes, not zero or one.
* Accept any iterable in the `includes` parameter, not just tuples. Lists, sets, and other iterables with a `__getitem__` magic method will work. Strings, even though iterables, are converted to a one-element list. This allows also to pass single include lazily as `includes='continent'`, instead of `includes=['continent']`. In fact this could also be considered as a bug fix, because in previous versions the strings were accepted too, but were passed as single character includes and SportMonks API was not raising any error.
* Remove API token from logs for better security. Note, that the API token will still appear unedited in logs of `requests` and `urllib3` packages.
Expand Down

0 comments on commit 47d751b

Please sign in to comment.