Skip to content

Release Candidate v1.3.0rc0

Pre-release
Pre-release
Compare
Choose a tag to compare
@lwasser lwasser released this 18 Feb 23:58
· 1 commit to pydantic_model since this 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