Stravalib

Latest version: v2.1

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

Scan your dependencies

Page 2 of 7

1.3.3

Fixed

- Fix: pins pydantic to v1 in pyproject.toml dependencies (jsamoocha, 382)

1.3.2

Added

- Add: type checking to limiter, protocol and exc file (enadeau , 374)

Fixed

- Fix: two minor mistakes in documentation (enadeau , 375)
- Fix: pins pydantic to v1.10.6 (lwasser, 380)

Contributors to this release

enadeau, lwasser

- Fix two minor mistakes in documentation (enadeau , 375)
- Add type checking to limiter, protocol and exc file (enadeau , 374)
- Apply flake8 and numpy docstrings to all modules limiter & protocol (lwasser, 326)

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

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.