Releases: node-strava/node-strava-v3
Releases · node-strava/node-strava-v3
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
- Fix uploads broken since v2.0.0 release. (@svanzoest)
release v2.0.1
- 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
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
nockis 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
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.