Skip to content

Releases: jamieweavis/contribution

3.0.1

20 Feb 21:48
Compare
Choose a tag to compare

Changes

  • Updated project description

3.0.0

15 Jan 17:16
Compare
Choose a tag to compare

Breaking Changes

  • Altered returned data object shape to use improved nested structure:
    • data.bestStreak > data.streak.best
    • data.currentStreak > data.streak.current
    • data.bestDay > data.contributions.best
    • data.currentDay > data.contributions.current
    • data.contributions > data.contributions.total

2.2.0

15 Jan 16:15
Compare
Choose a tag to compare

Changes

  • New currentDay property on data object which is the amount of contributions done today

2.1.0

09 Jan 12:06
Compare
Choose a tag to compare

Changes

  • Smaller package size with transpilation, minification and only shipping the lib directory
  • New bestDay property on data object which is the highest amount of contributions in a single day

2.0.0

31 Oct 14:19
Compare
Choose a tag to compare

Breaking Changes

  • Callbacks
    • Callback option has been renamed from callback to onSuccess
    • New onFailure callback option is available to handle when username does not exist
  • Promises & Async/await
    • Error is thrown when username does not exist