Skip to content

Releases: stravalib/stravalib

Stravalib v1.7

27 Apr 23:09
3013007
Compare
Choose a tag to compare

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

27 Jan 20:51
Compare
Choose a tag to compare

What's Changed

New Contributors

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

03 Sep 20:19
eb1288a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.4...v1.5

Stravalib Version v1.4

26 Aug 18:07
13c41c7
Compare
Choose a tag to compare

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

01 Jul 08:52
dffb928
Compare
Choose a tag to compare

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

01 Jul 08:07
20e9b73
Compare
Choose a tag to compare

Release 1.3.2

This release adds type-checking to CI and pins Pydantic to version 1.

v1.3.2

Added

  • Add: type checking to limiter, protocol and exc file (@enadeau , #374)

Fixed

Contributors to this release

@enadeau, @lwasser

Stravalib Version 1.3.1

16 Jun 17:47
d53e377
Compare
Choose a tag to compare

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

  • Add: Add field override in class Segment to support all activity types (@solorisx, #368)

Fixed

Contributors to this release

@solorisx, @jsamoocha

Stravalib Version 1.3

22 Apr 14:08
Compare
Choose a tag to compare

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

Fixed

  • Fix: Move to numpy style docstrings & add black (@lwasser, #365)

Deprecated

  • The activity_type parameter in the client method update_activity() is deprecated and should be replaced by sport_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

Deprecated

  • The BaseEntity methods deserialize(), from_dict(), and to_dict() are deprecated and will raise a DeprecationWarning when they're used. They should be replaced by the pydantic methods parse_obj() and dict() or json().

Removed

  • The complete attributes module
  • All the abstract entity types (e.g. IdentifiableEntity, LoadableEntity) from the model module
  • Constants used for activity types such as Activity.RIDE
  • HeartrateActivityZone, PowerActivityZone, PaceActivityZone as subtypes of BaseActivityZone (the latter is retained)
  • Everything related to segment leaderboards as this is not supported by Strava anymore

Contributors to this release

@jsamoocha, @lwasser, @oliverkurth, @think-nice-things

Release Candidate v1.3.0rc0

18 Feb 23:58
Compare
Choose a tag to compare
Pre-release

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

Deprecated

  • The BaseEntity methods deserialize(), from_dict(), and to_dict() are deprecated and will raise a DeprecationWarning when they're used. They should be replaced by the pydantic methods parse_obj() and dict() or json().

Removed

  • The complete attributes module
  • All the abstract entity types (e.g. IdentifiableEntity, LoadableEntity) from the model module
  • Constants used for activity types such as Activity.RIDE
  • HeartrateActivityZone, PowerActivityZone, PaceActivityZone as subtypes of BaseActivityZone (the latter is retained)
  • Everything related to segment leaderboards as this is not supported by Strava anymore

Contributors to this release

@jsamoocha, @lwasser, @oliverkurth

Stravalib Version 1.2.0

17 Feb 18:42
Compare
Choose a tag to compare

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 type bytes (@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