Release Candidate v1.3.0rc0
Pre-release
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
- 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