You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add: replaces implementations for the classes Club, Gear, ActivityTotals, AthleteStats, and Athlete by the generated Pydantic model & backwards compatibility (@jsamoocha, Model extension #315)
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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Final 1.3 release
This is a release candidate contains all of the featuers and deprecations of 1.3rc0 plus a few other bug fixes
v 1.3 bug fixes
Added
Fixed
Deprecated
activity_type
parameter in the client methodupdate_activity()
is deprecated and should be replaced bysport_type
.Contributors to this path on the release candidate
@jsamoocha, @lwasser, @think-nice-things
v1.3.0rc0
Added
pydantic_autodoc
to sphinx build and reconfigure api structure - p1 (@lwasser, DOC: update / fix docstrings throughout to be numpy style #326)Fixed
Deprecated
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
attributes
moduleIdentifiableEntity
,LoadableEntity
) from themodel
moduleActivity.RIDE
HeartrateActivityZone
,PowerActivityZone
,PaceActivityZone
as subtypes ofBaseActivityZone
(the latter is retained)Contributors to this release
@jsamoocha, @lwasser, @oliverkurth, @think-nice-things
This discussion was created from the release Stravalib Version 1.3 .
Beta Was this translation helpful? Give feedback.
All reactions