Stravalib

Latest version: v1.7

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

1.3.1

Added

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

Fixed

- Fix: Bumps Flask version in example code (jsamoocha, 366)

Contributors to this release

solorisx, jsamoocha

1.3.0

Added

- Add: Adds RPE to activity model (jsamoocha, 355)
- Add: support sport_type in client.update_activitiy() (think-nice-things, 360)

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 release

jsamoocha, lwasser, think-nice-things

1.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` 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

1.2.0

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

1.1.0

Added

- Add: Development & build/release guide to documentation, edit button to documentation theme, pr template for release (lwasser, 289)
- Add: Integration tests for /routes/{id} and /segments/starred (GET) (jsamoocha, 250 (partial))
- Add: Add integration tests for all POST/PUT client methods (jsamoocha, 250 (partial))
- Add: code cov to test suite (lwasser, 262)
- Add: add code of conduct to the repo, update contributing guide + readme badges (lwasser, 269, 274)
- Add: pull request templates for regular pr and release (lwasser, 294)
- Add: Support for python 3.11

Fixed

- Fix: Move docs to `furo` theme, add `myst` support for markdown, include CONTRIBUTING.md in documentation, enhance intro documentation page and add linkcheck to docs build (lwasser, 276)
- Fix: deprecated set-output command in actions build (yihong0618, 272)
- Fix: Add readthedocs config file to ensure build installs using pip (lwasser, 270)

Changed

- Change: Replace `units` dependency by `pint` (jsamoocha, 281)

Removed

- Remove: Support for python 3.7

Contributors to this release

lwasser, yihong0618, jsamoocha

1.0.0

Added

- Add: Add an option to mute Strava activity on update (ollyajoke, 227)
- Add Update make to build and serve docs and also run current tests (lwasser,263)
- Add: Move package to build / `setuptools_scm` for version / remove setup.py and add CI push to pypi (lwasser, 259)

Fixed

- Fix: add new attributes for bikes according to updates to Strava API to fix warning message (huaminghuangtw, 239)
- Fix: Minor bug in PyPI push and also streamlined action build (lwasser, 265)
- Fix: `get_athlete` w new attrs for shoes given strava updates to API (lwasser, 220)
- Fix: Refactor deprecated unittest aliases for Python 3.11 compatibility (tirkarthi, 223)
- Patch: Update readme and fix broken links in docs (lwasser, 229)

Changed

- Change: Improved unknown time zone handling (jsamoocha, 242)
- Change: Refactor test suite and implement Ci for tests (jsamoocha, 246)
- Change: Remove support for python 2.x (yihong0618, 254)
- Change: Overhaul of documentation, fix links and CI build (lwasser, 222)

Contributors to this release

jsamoocha, yihong0618, tirkarthi, huaminghuangtw, ollyajoke, lwasser

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.