Skip to content

Releases: node-strava/node-strava-v3

v2.0.6

15 Sep 15:26
5c52ed7

Choose a tag to compare

Add Club activities & RefreshTokenResponse typing (#95)

v2.0.5

02 Mar 20:41
625abe0

Choose a tag to compare

  • Improve README docs for web hooks.

v2.0.4

06 Feb 17:13
625abe0

Choose a tag to compare

  • Improve accuracy of rate limiting metrics
  • Add TypeScript definitions

v2.0.3

16 Dec 18:51

Choose a tag to compare

  • Per Strava use "www.", not "api." for subscription endpoint.

v2.0.2

18 Nov 19:37

Choose a tag to compare

  • Fix uploads broken since v2.0.0 release. (@svanzoest)

release v2.0.1

27 Sep 15:16

Choose a tag to compare

  • Update getToken() to match current spec
  • Modernize README
  • Lint project and upgrade eslint

See 2.0.0 release notes for important breaking changes since 1.X series!

v2.0.0

25 Sep 20:26

Choose a tag to compare

New Features

  • Add oauth.refreshToken(refreshToken) method
  • How debug requests is documented
  • New Rate Limiting API to work with promises is added
  • Support context_entries for leaderboards

BugFixes

  • Properly support 0 in query strings

Breaking Changes

The folloowing methods are removed to relect changes in the Strava API

  • Remove activities.delete()
  • Remove activities.listRelated()
  • Remove athlete.update() // Only weight can be updated
  • Remove athlete.listFriends()
  • Remove athlete.listFollowers()
  • Remove athlete.listKoms()

Support for Node.js versions < 8 has been dropped, as Node 8 is the oldest LTS release.

Internal Changes

  • Replace jshint with eslint and lint project
  • Replace Grunt with NPM scripts
  • Upgrade dependencies
  • Add yarn.lock
  • Add script to generate access token, useful for development and testing
  • Use of nock is expanded for easier, faster testing experience
  • Project was updated to pass linting.

Deprecations

  • Callback APIs are deprecated and may be dropped in a future release. Use the promise-based API going forward.
  • File-based configuration is deprecated. Use env vars or explicit configuration instead.

Allow access to Rate Limits

13 Apr 15:05

Choose a tag to compare

The callback function of any API call now provides a third parameter that gives access to the rate limit info from Strava. It shows both the current usage and the limit for both short term and long term. See the Strava API docs for more info.