Fix: Add sport type to create_activity and create type validator method. NOTE: this fix contains a breaking change in Client.create_activity() activity_type is now an optional keyword argument rather than a required positional argument (@lwasser, #279)
Fix: Cleanup dependencies to only use pyproject toml (@lwasser, #466)
Fix: use parse_obj rather than deserialize internally where possible (@lwasser, #358)
Removed
Remove: functional test suite from stravalib (@lwasser, #457)
Remove: client.delete_activity method is no longer supported by Strava (@lwasser, #238)
Remove/Add: Drop Python 3.9, add Python 3.12 (@lwasser, #487)
Breaking Changes
If you have been using the client.delete_activity method then your code will
no longer work as this method was removed due to being deprecated by Strava. We also are dropping support for Python 3.9 (end of life / no more security fixes in October 2024 and now only getting security fixes) in this release and adding support for 3.12.
Add: Support for Strava's new read rate limits (@jsamoocha, #446)
Add: Improved handling of unexpected activity types (@jsamoocha, #454)
Fixed
Fix: Forgot to update model CI build to follow new src layout (@lwasser, #438)
Fix: Type annotation on field that are of type timedelta are now correct (@enadeau, #440)
Fix: Correct type for ActivityPhoto sizes attribute (@jsamoocha, #444)
Fix: codespell config - ignore resources dir in tests (@lwasser, #445)
Fix: Ignore documentation autogenerated api stubs (@lwasser, #447)
Breaking Changes
A potentially breaking change is that the RateLimiter's __call__() method now has
an additional method argument representing the HTTP method used for that request.
Existing custom rate limiters from users must be updated to this change.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on stravalib to permit the latest version.
Release notes
Sourced from stravalib's releases.
Changelog
Sourced from stravalib's changelog.
... (truncated)
Commits
3013007
Fix: update action deps and versions (#490)321dc71
✨ Release 1.7 ✨ (#485)8b0569f
Add/Remove: Add support for python 3.12 and drop 3.9 (#488)226299e
Fix: update docs around python support7b69709
Fix: new sphinx release breaks things / changelog4b7898e
Fix: cleanup deserialize --> parse_obj5ba5e54
[CHANGE] Strava API Change (#480)b5489a0
FIX: corrects src path in bot workflow / action4fd645f
Merge branch 'main' into fix_strava_update_workflow1578fab
Fix: update documentationDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show