Releases: jcxldn/parkrun.js
v2.0.1
v2.0.1 (2022-08-12)
Note: v2.0.0 was released incorrectly, so this was unpublished and re-tagged as v2.0.1.
🏠 Breaking Changes
parkrun.js
has been transitioned to TypeScript.
[auto-generated release notes below]
What's Changed
- Bump jsdoc from 3.6.3 to 3.6.4 by @dependabot-preview in #79
- Bump nyc from 15.0.0 to 15.0.1 by @dependabot-preview in #78
- Bump @babel/plugin-proposal-object-rest-spread from 7.9.0 to 7.9.5 by @dependabot-preview in #81
- Bump @babel/preset-env from 7.9.0 to 7.9.5 by @dependabot-preview in #80
- [Security] Bump minimist from 1.2.0 to 1.2.5 by @dependabot-preview in #90
- Bump serve from 11.3.0 to 11.3.1 by @dependabot-preview in #92
- Bump mocha from 7.1.2 to 7.2.0 by @dependabot-preview in #91
- Add mocked tests via nock by @Prouser123 in #128
- Run
npm update
by @Prouser123 in #129 - Improved Travis CI Workflow by @Prouser123 in #133
- maint/updates:
npm update
by @Prouser123 in #156 - Move to GitHub Actions instead of Travis by @Prouser123 in #178
- Drop support for node 8.x; update mocha by @Prouser123 in #180
- Bump promise-retry from 1.1.1 to 2.0.1 by @dependabot-preview in #134
- Bump nock from 12.0.3 to 13.0.6 by @dependabot-preview in #174
- Bump nock from 13.0.6 to 13.0.7 by @dependabot-preview in #181
- Bump @octokit/request from 5.4.13 to 5.4.14 by @dependabot-preview in #182
- 2022 Dependency update by @Prouser123 in #284
- Only run live & saucelabs tests on master by @Prouser123 in #295
- Bump ansi-regex from 5.0.0 to 5.0.1 by @dependabot in #285
- Bump selenium-webdriver from 4.0.0-alpha.8 to 4.1.1 by @dependabot in #292
- (TypeScript Rewrite): Move docs from jsdoc to typedoc by @Prouser123 in #310
- (feat): TypeScript rewrite by @Prouser123 in #308
- Bump @types/chai from 4.3.1 to 4.3.3 by @dependabot in #327
- Bump @octokit/auth-app from 3.6.1 to 4.0.4 by @dependabot in #332
- Bump @babel/core from 7.17.9 to 7.18.10 by @dependabot in #331
- Bump mocha from 9.2.1 to 10.0.0 by @dependabot in #335
- Bump webpack from 5.69.1 to 5.74.0 by @dependabot in #334
- Bump ts-node from 10.5.0 to 10.9.1 by @dependabot in #333
- Bump ts-loader from 9.2.9 to 9.3.1 by @dependabot in #338
- Bump selenium-webdriver from 4.0.0-alpha.8 to 4.4.0 by @dependabot in #330
New Contributors
- @dependabot made their first contribution in #285
Full Changelog: v1.3.1...v2.0.0
v1.3.1
v1.3.1 (2020-03-30)
💾 Dependency updates
-
@hapi/joi
(17.1.1) -
webpack
(4.42.1) -
@babel/plugin-proposal-object-rest-spread
@babel/register
@babel/core
@babel-preset-env
(7.9.0) -
mocha
(7.1.1) -
babel-loader
(8.1.0) -
browserify
(16.5.1)
Legend
[ ___ ]
- Square brackets around a string indicate a class name.
- example
[ClientUser]
- referrers to the 'ClientUser' class.
v1.3.0
v1.3.0 (2020-03-22)
🏠 Internal
-
MultiGet for large data requests.
- Executes in parallel, up to 10x faster then before. (see #68.)
🐛 Bug Fixes
-
Documentation hotfix for Cloudflare.
-
Datapoints with 100+ items only showing the first 100. (#50.)
-
Datapoints with 100+ items being very slow to load.
(10s or more in some cases, now down to ~1s, part of MultiGet, see above)
💾 Dependency updates
-
@babel/core
(7.8.7) -
@babel/preset-env
(7.8.7) -
regenerator-runtime
(0.13.5) -
fast-text-encoding
(1.0.1) -
cross-env
(7.0.2) -
webpack
(4.42.0) -
mocha
(7.1.0) -
async
(3.2.0) -
⚠️ Security updates
Legend
[ ___ ]
- Square brackets around a string indicate a class name.
- example
[ClientUser]
- referrers to the 'ClientUser' class.
v1.2.0
v1.2.0 (2020-02-22)
🏠 Internal
-
Deprecated
[Parkrun].recreateTokens
, better alternative now available. -
Documentation overhaul
- Improved main class navigation
- Fixed all broken reference links
- Fixed
@borrows
JSDoc issue causing duplicates - Removed that pesky module declaration
-
Rewritten
[Parkrun]._getAuthedNet
as part of hotfix.- Params now accessible from AxiosStatic under
._params
- Documentation added
- Params now accessible from AxiosStatic under
🐛 Bug Fixes
- Hotfix for
[Tokens].getNewTokens()
after[Parkrun]
's constructor call- e.g. when requesting new tokens after startup
Legend
[ ___ ]
- Square brackets around a string indicate a class name.
- example
[ClientUser]
- referrers to the 'ClientUser' class.
v1.1.0
v1.1.0 (2020-02-16)
🏠 Internal
-
Switch to full api core for ClientUser & User instead of only networking.
-
Move Freedom Run tests to live API instead of mocking responses.
-
[Tokens]
/common/refresh.js
- Throw[ParkrunAuthError]
when the refresh token is invalid
🐛 Bug Fixes
-
Update
[FreedomRunResult]
for new API responses -
[FreedomRunResult].getEventName()
is no longer async. -
Polyfill
fast-text-encoding
,btoa
in webpack for React users.
🚀 New Features
-
[ClientUser].createFreedomRun()
-
[FreedomRunResult].getID()
- get the Freedom ID of the run -
[User].getEvents()
- get the events (sorted) that the athlete has run in.- also available as
[parkrun].getAthleteParkruns()
- also available as
-
Added an error object to
[parkrun].auth()
's callback -
Added
[parkrun].recreateTokens()
- Recreate a client based on previous authentication details. -
Added
[parkrun].authRefresh()
- Authenticate a user based on a refresh token.
💾 Dependency updates
-
webpack
(4.41.6) -
webpack-cli
(3.3.11) -
http-terminator
(2.0.2)
Legend
[ ___ ]
- Square brackets around a string indicate a class name.
- example
[ClientUser]
- referrers to the 'ClientUser' class.