Skip to content

Releases: jcxldn/parkrun.js

v2.0.1

12 Aug 12:44
d900415
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v1.3.1...v2.0.0

v1.3.1

30 Mar 17:47
f7e28ca
Compare
Choose a tag to compare

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

15 Mar 15:17
2c3e21f
Compare
Choose a tag to compare

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

22 Feb 12:09
47329b2
Compare
Choose a tag to compare

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

🐛 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

16 Feb 18:56
081770f
Compare
Choose a tag to compare

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()
  • 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.

v1.0.0

10 Feb 10:49
6ed3279
Compare
Choose a tag to compare
Use DPL v2 for travis deployments