Releases: stravalib/stravalib
Stravalib v1.7
What's Changed
- Fix: minor - remove examples from sdist by @lwasser in #464
- Fix: add contributing docs to top bar nav in docs by @lwasser in #467
- Remove: functional test suite that we are no longer using by @lwasser in #465
- Fix: make sure code cov reports generate and upload by @lwasser in #469
- Remove: unsupported delete_activity method by @lwasser in #470
- Fix: validate sport / activity type & add sport type to create_activity method by @lwasser in #471
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #474
- Fix: update actions to current versions by @lwasser in #475
- Fix: cleanup noxfile and requirements by @lwasser in #473
- FIX: corrects src path by @jsamoocha in #477
- [CHANGE] Strava API Change by @github-actions in #480
- Remove: deserialize method in favor of pydantic.parse_obj() by @lwasser in #482
- Fix: update docs around python support by @lwasser in #486
- Add/Remove: Add support for python 3.12 and drop 3.9 by @lwasser in #488
- ✨ Release 1.7 ✨ by @lwasser in #485
Full Changelog: v1.6...v1.7
v1.6
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #436
- Fix: CI broken given new src layout by @lwasser in #439
- fix type for timedelta element on models by @enadeau in #440
- FIX: corrects model for ActivityPhoto by @jsamoocha in #444
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #442
- Fix: codespell ignore resources dir by @lwasser in #445
- Fix: remove autogen api dir from version control by @lwasser in #447
- Read Rate Limits by @jsamoocha in #446
- Mypy fix after version update by @enadeau in #448
- Remove bad link by @verhovsky in #453
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #450
- Adds custom validator for ActivityType and SportType by @jsamoocha in #454
- Use Pydantic V2 with V1 compatibility mode by @soh55 in #456
- Revert: Use Pydantic V2 with V1 compatibility mode by @lwasser in #462
- Release 1.6 update to changelog by @lwasser in #463
New Contributors
- @verhovsky made their first contribution in #453
- @soh55 made their first contribution in #456
Full Changelog: v1.5...v1.6
NOTE: the change @verhovsky is not in the changelog so i missed it when acknowledging contributors in this release!
v1.5
What's Changed
- Drop python 3.8 support by @enadeau in #416
- Add: nox config for docs, tests by @lwasser in #397
- fix broken link in template by @enadeau in #421
- Add: typing field_conversions & unithelper modules by @enadeau in #415
- Publish type annotations by @enadeau in #423
- Add: blacken-docs and codespell to build! 🚀 by @lwasser in #426
- Fix: move stravalib to src/ layout and add nox build steps by @lwasser in #425
- Replace flake8 and isort by ruff by @enadeau in #430
- Relax Segment ActivityTypes by @JohnScolaro in #434
- Release 1.5 by @enadeau in #435
New Contributors
- @JohnScolaro made their first contribution in #434
Full Changelog: v1.4...v1.5
Stravalib Version v1.4
What's Changed
- Fix stream methods by @enadeau in #385
- Fix: Flake 8 and numpy docstring updates addressing #326 by @lwasser in #378
- Fix: minor enhancement in naive_datetime types by @lwasser in #386
- Fix docstring formatting in SleepRateLimitRule by @enadeau in #389
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #388
- Typing client file by @enadeau in #384
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #392
- Fix: rename validate to validate_token by @lwasser in #398
- Fix: model.py docstrings and typing by @lwasser in #387
- [CHANGE] Strava API Change by @github-actions in #403
- Include strava_model in type checking by @enadeau in #407
- Fix: update Readthedocs config file and add autobuild permissions for prs by @lwasser in #413
- Fix ci: Update CI and docs to reflect new main branch default by @lwasser in #414
- Add: Issue template forms for users to create better bug and documentation reports by @lwasser in #410
- Release 1.4 ✨ by @lwasser in #418
Full Changelog: v1.3.3...v1.4
Stravalib Version 1.3.3
Release 1.3.3
This releases a fix for dependency issues related to Pydantic v2.0.
v1.3.3
Fixed
- Fix: pins pydantic to v1 in pyproject.toml dependencies (@jsamoocha, #382)
Stravalib Version 1.3.2
Stravalib Version 1.3.1
Release 1.3.1
This release adds a workaround to be able to process segment summaries with activity types other than rides or runs.
v1.3.1
Added
Fixed
- Fix: Bumps Flask version in example code (@jsamoocha, #366)
Contributors to this release
Stravalib Version 1.3
Final 1.3 release
This release contains all of the features and deprecations of 1.3rc0 plus a few other bug fixes
v 1.3 bug fixes
Added
- Add: Adds RPE to activity model (@jsamoocha, #355)
- Add: support sport_type in client.update_activitiy() (@think-nice-things, #360)
Fixed
Deprecated
- The
activity_type
parameter in the client methodupdate_activity()
is deprecated and should be replaced bysport_type
.
Contributors to this path on the release candidate
@jsamoocha, @lwasser, @think-nice-things
v1.3.0rc0
Added
- Adds Strava API changes, and datamodel-code-generator bug fix (@jsamoocha, #333)
- Add: Replace full legacy model with extensions from the generated pydantic model (@jsamoocha, #324)
- Add: Add support for lazy loading related entities (@jsamoocha, #322)
- Add: Add support for nested model attributes(@jsamoocha, #316)
- Add: replaces implementations for the classes Club, Gear, ActivityTotals, AthleteStats, and Athlete by the generated Pydantic model & backwards compatibility (@jsamoocha, #315)
- Add: Workflow for updating strava model when the API changes (@jsamoocha, #302)
- Add:
pydantic_autodoc
to sphinx build and reconfigure api structure - p1 (@lwasser, #326)
Fixed
- Fix: Corrects attribute lookup for enum values (@jsamoocha,#329)
Deprecated
- The
BaseEntity
methodsdeserialize()
,from_dict()
, andto_dict()
are deprecated and will raise aDeprecationWarning
when they're used. They should be replaced by the pydantic methodsparse_obj()
anddict()
orjson()
.
Removed
- The complete
attributes
module - All the abstract entity types (e.g.
IdentifiableEntity
,LoadableEntity
) from themodel
module - Constants used for activity types such as
Activity.RIDE
HeartrateActivityZone
,PowerActivityZone
,PaceActivityZone
as subtypes ofBaseActivityZone
(the latter is retained)- Everything related to segment leaderboards as this is not supported by Strava anymore
Contributors to this release
Release Candidate v1.3.0rc0
Release candidate for community testing
This is a release candidate created for community testing.
This release is built off of the pydantic_model
branch.
v1.3.0rc0
Added
- Adds Strava API changes, and datamodel-code-generator bug fix (@jsamoocha, #333)
- Add: Replace full legacy model with extensions from the generated pydantic model (@jsamoocha, #324)
- Add: Add support for lazy loading related entities (@jsamoocha, #322)
- Add: Add support for nested model attributes(@jsamoocha, #316)
- Add: replaces implementations for the classes Club, Gear, ActivityTotals, AthleteStats, and Athlete by the generated Pydantic model & backwards compatibility (@jsamoocha, #315)
- Add: Workflow for updating strava model when the API changes (@jsamoocha, #302)
- Add:
pydantic_autodoc
to sphinx build and reconfigure api structure - p1 (@lwasser, #326)
Fixed
- Fix: Corrects attribute lookup for enum values (@jsamoocha,#329)
Deprecated
- The
BaseEntity
methodsdeserialize()
,from_dict()
, andto_dict()
are deprecated and will raise aDeprecationWarning
when they're used. They should be replaced by the pydantic methodsparse_obj()
anddict()
orjson()
.
Removed
- The complete
attributes
module - All the abstract entity types (e.g.
IdentifiableEntity
,LoadableEntity
) from themodel
module - Constants used for activity types such as
Activity.RIDE
HeartrateActivityZone
,PowerActivityZone
,PaceActivityZone
as subtypes ofBaseActivityZone
(the latter is retained)- Everything related to segment leaderboards as this is not supported by Strava anymore
Contributors to this release
Stravalib Version 1.2.0
Release v1.2.0
Notes - we have a big release coming down the pipeline - with an api change moving us to pydantic!! stay tuned for a RC that can be tested!
This fixes a handful of bugs and quirks in stravalib!
Added
- Add: Upload photo to activity (@gitexel, #318)
- Add: Support uploading
activity_file
object with typebytes
(@gitexel, #308) - Add: Pre-commit hook + instructions and configure precommit.ci bot (@lwasser, #293)
Fixed
- Fix: Internal warnings should be ignored in tests (@jsamoocha, #319)
- Fix:
setuptools_scm
bug when installing stravalib remotely via GitHub (@lwasser, #331) - Fix: fix LatLon unmarshal from string type (@oliverkurth, #334)
- Fix: allows arithmetic and comparison between multiple quantities (jsamoocha, #335)
Contributors to this release
@oliverkurth, @gitexel, @jsamoocha, @lwasser
New Contributors!!!
Full Changelog: v1.1.0...v1.2.0