Skip to content

Latest commit

 

History

History
825 lines (457 loc) · 42.3 KB

CHANGELOG.md

File metadata and controls

825 lines (457 loc) · 42.3 KB

Changelog

v5.6.2 (2024-04-08)

Dependency updates and bug fixes.

  • Bump github/codeql-action from 2 to 3 by @dependabot in #229
  • Update README publishing instructions by @mcbouslog in #235
  • Fix to ignore null items in API responses by @eatyourgreens in #240

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.6.1...v5.6.2

v5.6.1 (2024-02-01)

Dependency update and tests refactors.

  • Bump chai from 4.3.10 to 5.0.3 by @dependabot in #231
  • Convert Mocha tests to ESM by @eatyourgreens in #232
  • Remove tap tests by @eatyourgreens in #233

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.6.0...v5.6.1

v5.6.0 (2023-11-29)

  • Add eras-client (erasClient) for classifications and comments statistics from ERAS service by @yuenmichelle1 in #227

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.5.8...v5.6.0

v5.5.8 (2023-11-06)

Dependency updates.

  • Bump actions/checkout from 3 to 4 by @dependabot in #224
  • Bump actions/setup-node from 3 to 4 by @dependabot in #225
  • SugarClient: Bump Primus to 8.0.9 by @eatyourgreens in #226

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.5.7...v5.5.8

v5.5.7 (2023-11-03)

Bump the Primus client to 8.0.8 and remove workarounds for bugs in Firefox 22 and Safari 5.

  • Bump chai from 4.3.8 to 4.3.9 by @dependabot in #220
  • Bump chai from 4.3.9 to 4.3.10 by @dependabot in #221
  • Bump chai-spies from 1.0.0 to 1.1.0 by @dependabot in #222
  • SugarClient: Update Primus by @eatyourgreens in #223

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.5.6...v5.5.7

v5.5.6 (2023-09-11)

Fixes a bug where apiClient.get(url) actually sends a DELETE request for url.

  • Bump chai from 4.3.7 to 4.3.8 by @dependabot in #218
  • Remove dynamically assigned request methods by @eatyourgreens in #219

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.5.5...v5.5.6

v5.5.5 (2023-08-24)

  • Bump superagent from 8.1.0 to 8.1.2 by @dependabot in #217

v5.5.4 (2023-08-15)

  • Bump superagent from 8.0.9 to 8.1.0 by @dependabot in #216

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.5.3...v5.5.4

v5.5.3 (2023-07-06)

  • Bugfix: defer 'change' events on sign out by @eatyourgreens in #215

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.5.2...v5.5.3

v5.5.2 (2023-07-04)

  • Refresh token fixes by @eatyourgreens in #214

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.5.1...v5.5.2

v5.5.1 (2023-07-03)

  • Bugfix: Auth token refresh flow by @eatyourgreens in #213

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.5.0...v5.5.1

v5.5.0 (2023-07-03)

  • Auth: defer change events by @eatyourgreens in #212

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.4.1...v5.5.0

v5.4.1 (2023-07-03)

  • Auth module: explicitly emit 'change' events by @eatyourgreens in #211

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.4.0...v5.4.1

v5.4.0 (2023-07-03)

  • Bump semver from 7.3.8 to 7.5.3 by @dependabot in #209
  • Refactor auth with async/await by @eatyourgreens in #210

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.3.0...v5.4.0

v5.3.0 (2023-05-26)

  • Improved Sugar client token refresh flow by @eatyourgreens in #205

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.2.7...v5.3.0

v5.2.7 (2023-05-25)

  • Sugar client: add token refresh by @eatyourgreens in #204

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.2.6...v5.2.7

v5.2.6 (2023-05-21)

  • Refresh Sugar client tokens by @eatyourgreens in #203

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.2.5...v5.2.6

v5.2.5 (2023-03-29)

Refactor sign out to remove delays when the Panoptes response is slow.

  • Refactor signOut with async/await by @eatyourgreens in #202

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.2.4...v5.2.5

v5.2.4 (2023-03-23)

Use auth'ed requests, with a token, for sign out in both OAuth clients (auth.js and oauth.js.)

  • add bearer token on signout by @yuenmichelle1 in #201

New Contributors

  • @yuenmichelle1 made their first contribution in #201

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.2.3...v5.2.4

v5.2.3 (2023-02-22)

Fixes a bug where changing or resetting your password fails unless the client and API are on the same origin.

  • Use credentialed requests for password updates by @eatyourgreens in #200

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.2.2...v5.2.3

v5.2.2 (2023-02-20)

Fixes auth.signOut() sending the wrong headers to the Panoptes API.

  • Test with Node 18 by @eatyourgreens in #196
  • Add default JSON headers to sign-out requests by @eatyourgreens in #198

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.2.1...v5.2.2

v5.2.1 (2023-02-03)

Improved chainable ResourcePromise interface for API resources.

  • Add SugarClient tests by @eatyourgreens in #192
  • Simplify chainable Resource.Promise promises by @eatyourgreens in #193
  • Add Resource methods to ResourcePromise by @eatyourgreens in #195

Full Changelog: https://github.com/zooniverse/panoptes-javascript-client/compare/v5.2.0...v5.2.1

v5.2.0 (2023-01-26)

Full Changelog

Add the JSON-API client code to this repo.

  • Add json-api-client to this repo by @eatyourgreens in #186
  • Bump superagent from 8.0.8 to 8.0.9 by @dependabot in #190

v5.1.0 (2023-01-24)

Full Changelog

Upgrade the Sugar client to Primus 8.

  • Upgrade Sugar to Primus 8 by @eatyourgreens in #185

v5.0.2 (2023-01-24)

Full Changelog

Fixes a bug where resource API methods are undefined after calling client.type().get().

  • Bump json-api-client from 7.0.1 to 7.0.2 by @dependabot in #189

v5.0.1 (2023-01-23)

Full Changelog

  • Bump json-api-client from 7.0.0 to 7.0.1 by @dependabot in #188

v5.0.0 (2023-01-20)

Full Changelog

json-api-client now uses ES6 classes.

Merged pull requests:

  • Bump json-api-client from 6.0.7 to 7.0.0 #187

v4.2.8 (2023-01-19)

Full Changelog

Merged pull requests:

  • Bump json-api-client from 6.0.6 to 6.0.7 #184

v4.2.7 (2022-12-08)

Full Changelog

Merged pull requests:

  • Bump json-api-client from 6.0.5 to 6.0.6 #183

v4.2.6 (2022-12-06)

Full Changelog

Merged pull requests:

  • Bump json-api-client from 6.0.4 to 6.0.5 #182

v4.2.5 (2022-11-26)

Full Changelog

Merged pull requests:

  • Bump json-api-client from 6.0.3 to 6.0.4 #180

v4.2.4 (2022-11-15)

Full Changelog

v4.2.3 (2022-11-03)

Full Changelog

Closed issues:

  • First party auth doesn't return login errors #177

Merged pull requests:

  • lib/auth: Return login errors #178

v4.2.2 (2022-11-03)

Full Changelog

Merged pull requests:

  • Convert error responses to Error objects #175

v4.2.1 (2022-10-25)

Full Changelog

Security:

  • Bump minimatch to 3.1.2.

Merged pull requests:

  • Bump json-api-client from 6.0.2 to 6.0.3 #173

v4.2.0 (2022-10-12)

Full Changelog

Merged pull requests:

  • Reject the returned promise on error #164

v4.1.1 (2022-10-03)

Full Changelog

Merged pull requests:

  • Bump json-api-client from 6.0.1 to 6.0.2 #169

v4.1.0 (2022-09-30)

Full Changelog

Merged pull requests:

  • add CI system to run what tests there are #167
  • [Security] remove *FromBrowser config directives #166
  • Bump json-api-client from 6.0.0 to 6.0.1 #165

v4.0.0 (2022-06-30)

Full Changelog

Merged pull requests:

  • Upgrade superagent to 8.0.0. Drop IE support. #162

v3.4.1 (2022-05-09)

Full Changelog

Merged pull requests:

  • Bump json-api-client from 5.1.0 to 5.1.1 #160

v3.4.0 (2022-05-09)

Full Changelog

Merged pull requests:

  • Bump json-api-client from 5.0.1 to 5.1.0 #158
  • Bump local-storage from 1.4.2 to 2.0.0 #157

v3.3.5 (2022-02-25)

Full Changelog

Merged pull requests:

  • Sugar client updated to v2.0.0 #151

v3.3.4

  • Fix undefined token in auth.checkBearerToken() after a token refresh. #149

v3.3.3

Sugar client updated to decaffeinated version.

v3.3.2 (2021-05-07)

Full Changelog

Merged pull requests:

  • Sugar client: fix Panoptes authentication #142
  • [Security] Bump lodash from 4.17.19 to 4.17.21 #143

v3.3.1 (2021-05-06)

Full Changelog

Merged pull requests:

v3.3.0 (2020-06-01)

Full Changelog

Security fixes:

Merged pull requests:

v3.2.1 (2020-03-16)

Full Changelog

Security fixes:

Merged pull requests:

v3.2.0 (2020-03-02)

Full Changelog

Merged pull requests:

v3.1.0 (2020-02-20)

Full Changelog

Merged pull requests:

v3.0.0 (2019-12-11)

Full Changelog

Closed issues:

  • Apps needing updated PJC #123

Merged pull requests:

v3.0.0-rc.0 (2019-11-22)

Full Changelog

Merged pull requests:

v2.13.0 (2019-10-16)

Full Changelog

Merged pull requests:

v2.12.3 (2019-07-22)

Full Changelog

Security fixes:

Merged pull requests:

v2.12.2 (2019-06-04)

Full Changelog

Merged pull requests:

v2.12.1 (2019-03-29)

Full Changelog

Security fixes:

Merged pull requests:

v2.12.0 (2018-11-06)

Full Changelog

Merged pull requests:

v2.11.2 (2018-08-14)

Full Changelog

Merged pull requests:

v2.11.1 (2018-08-07)

Full Changelog

Closed issues:

  • Client crashes if response.body is null #99

Merged pull requests:

v2.11.0 (2018-06-30)

Full Changelog

Merged pull requests:

v2.10.0 (2018-06-25)

Full Changelog

Fixed bugs:

  • Unnecessary save to localstorage #33

Merged pull requests:

v2.9.8-0 (2018-06-22)

Full Changelog

Merged pull requests:

v2.9.7 (2018-05-09)

Full Changelog

Closed issues:

  • OAuth.init() no longer checks for an existing Panoptes session #90

Merged pull requests:

v2.9.6 (2018-03-07)

Full Changelog

Merged pull requests:

v2.9.5 (2018-03-06)

Full Changelog

Closed issues:

  • \_handleNewBearerToken\(\) florps on .slice\(\) #84

Merged pull requests:

v2.9.4 (2018-02-27)

Full Changelog

Merged pull requests:

v2.9.3 (2018-02-23)

Full Changelog

Merged pull requests:

v2.9.2 (2018-02-13)

Full Changelog

Merged pull requests:

v2.9.1 (2018-02-01)

Full Changelog

Closed issues:

  • Oauth sign-in fails in Chrome when third party cookies blocked #72

Merged pull requests:

v2.9.0 (2018-01-31)

Full Changelog

v2.8.1 (2018-01-24)

Full Changelog

Merged pull requests:

v2.8.0 (2017-11-13)

Full Changelog

Closed issues:

  • String Interpolation Issues #69

Merged pull requests:

v2.7.2 (2017-05-31)

Full Changelog

Implemented enhancements:

  • Ability to copy a Federated Projects 'template project' workflows via the client #57

Closed issues:

  • suppress log messages #59

Merged pull requests:

  • Check for response.body for 500 errors #65 (srallen)

v2.7.1 (2017-03-31)

Full Changelog

v2.7.0 (2017-03-28)

Full Changelog

Merged pull requests:

v2.6.1 (2017-03-22)

Full Changelog

Fixed bugs:

  • Client doesn't pass back HTTP response status codes with errors #25

v2.6.0 (2017-03-22)

Full Changelog

Fixed bugs:

  • Load Promise, XMLHttpRequest polyfills if needed #9

Closed issues:

  • Calling save() on fetched incomplete classification results in GET, not PUT #56
  • "Got new bearer token" no longer logs distinct tokens #54
  • Suggestion: Document how to choose staging or production #47

Merged pull requests:

v2.5.2 (2016-07-06)

Full Changelog

Merged pull requests:

v2.5.1 (2016-05-18)

Full Changelog

Implemented enhancements:

  • Add OAuth flow to auth #13

Fixed bugs:

  • Expired tokens used in talk client #41

Merged pull requests:

v2.2.1 (2016-04-05)

Full Changelog

Merged pull requests:

v2.2.0 (2016-03-21)

Full Changelog

Closed issues:

  • Staging undefined #26

Merged pull requests:

v2.1.0 (2016-02-29)

Full Changelog

Merged pull requests:

v2.0.2 (2016-02-12)

Full Changelog

v2.0.1 (2016-02-05)

Full Changelog

v2.0.0 (2016-02-05)

Full Changelog

Closed issues:

  • Using npm version with node is brokened #11
  • Choose a style standard #7

Merged pull requests:

v0.1.2 (2015-07-04)

Full Changelog

Closed issues:

  • Figure out why this isn't working in Node #8

Merged pull requests:

v0.1.1 (2015-05-15)

Full Changelog

v0.1.0 (2015-05-11)

Full Changelog

v0.0.1 (2015-04-18)

Full Changelog

* This Changelog was automatically generated by github_changelog_generator