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
- @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)
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)
Upgrade the Sugar client to Primus 8.
- Upgrade Sugar to Primus 8 by @eatyourgreens in #185
v5.0.2 (2023-01-24)
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)
- Bump json-api-client from 7.0.0 to 7.0.1 by @dependabot in #188
v5.0.0 (2023-01-20)
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)
Merged pull requests:
- Bump json-api-client from 6.0.6 to 6.0.7 #184
v4.2.7 (2022-12-08)
Merged pull requests:
- Bump json-api-client from 6.0.5 to 6.0.6 #183
v4.2.6 (2022-12-06)
Merged pull requests:
- Bump json-api-client from 6.0.4 to 6.0.5 #182
v4.2.5 (2022-11-26)
Merged pull requests:
- Bump json-api-client from 6.0.3 to 6.0.4 #180
v4.2.4 (2022-11-15)
v4.2.3 (2022-11-03)
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)
Merged pull requests:
- Convert error responses to Error objects #175
v4.2.1 (2022-10-25)
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)
Merged pull requests:
- Reject the returned promise on error #164
v4.1.1 (2022-10-03)
Merged pull requests:
- Bump json-api-client from 6.0.1 to 6.0.2 #169
v4.1.0 (2022-09-30)
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)
Merged pull requests:
- Upgrade superagent to 8.0.0. Drop IE support. #162
v3.4.1 (2022-05-09)
Merged pull requests:
- Bump json-api-client from 5.1.0 to 5.1.1 #160
v3.4.0 (2022-05-09)
Merged pull requests:
v3.3.5 (2022-02-25)
Merged pull requests:
- Sugar client updated to v2.0.0 #151
- Fix undefined token in
auth.checkBearerToken()
after a token refresh. #149
Sugar client updated to decaffeinated version.
v3.3.2 (2021-05-07)
Merged pull requests:
v3.3.1 (2021-05-06)
Merged pull requests:
- increase token expiration allowance #140
- setup GH security scanning #136 (camallen)
- Minor bump #134 (wgranger)
v3.3.0 (2020-06-01)
Security fixes:
- Auth clients: Hide private data from exports #133 (eatyourgreens)
Merged pull requests:
- version 3.2.1 #132 (eatyourgreens)
v3.2.1 (2020-03-16)
Security fixes:
- update json-api-client to 5.0.1 #131 (eatyourgreens)
- [Security] Bump minimist from 1.2.0 to 1.2.5 #130 (dependabot-preview[bot])
Merged pull requests:
v3.2.0 (2020-03-02)
Merged pull requests:
- Check for Custom ENV Variable from CRA #128 (wgranger)
- Minor version 3.1.0 #127 (shaunanoordin)
v3.1.0 (2020-02-20)
Merged pull requests:
- Change default oAuth Host and allow config #126 (shaunanoordin)
- Major version 3 #125 (srallen)
v3.0.0 (2019-12-11)
Closed issues:
- Apps needing updated PJC #123
Merged pull requests:
v3.0.0-rc.0 (2019-11-22)
Merged pull requests:
v2.13.0 (2019-10-16)
Merged pull requests:
- Add Variables for a Test Environment #119 (wgranger)
- update changelog #118 (eatyourgreens)
- v2.12.3: Security patch #117 (eatyourgreens)
v2.12.3 (2019-07-22)
Security fixes:
- [Security] Bump lodash from 4.17.11 to 4.17.15 #116 (dependabot-preview[bot])
Merged pull requests:
- 2.12.2 #114 (eatyourgreens)
v2.12.2 (2019-06-04)
Merged pull requests:
- update JSON-API client #113 (eatyourgreens)
- 2.12.1 #112 (eatyourgreens)
v2.12.1 (2019-03-29)
Security fixes:
- [Security] Bump lodash from 4.17.10 to 4.17.11 #110 (dependabot-preview[bot])
- [Security] Bump extend from 3.0.1 to 3.0.2 #109 (dependabot-preview[bot])
Merged pull requests:
- json-api-client 4.0.1 #111 (eatyourgreens)
- Bump blue-tape from 0.1.11 to 1.0.0 #108 (dependabot-preview[bot])
v2.12.0 (2018-11-06)
Merged pull requests:
- v2.12.0 #107 (mcbouslog)
- Remove vulnerable packages #106 (mcbouslog)
- Update stats-client for user_id query #105 (mcbouslog)
- v2.11.2 #104 (eatyourgreens)
v2.11.2 (2018-08-14)
Merged pull requests:
- Doorkeeper 4.4.1 compatibility #103 (shaunanoordin)
- Update dev dependencies #102 (eatyourgreens)
- Version 2.11.1 #101 (eatyourgreens)
- add staging / dev event stats server #96 (camallen)
v2.11.1 (2018-08-07)
Closed issues:
- Client crashes if response.body is null #99
Merged pull requests:
- Return an error for empty response body #100 (eatyourgreens)
- 2.11.0 #98 (srallen)
v2.11.0 (2018-06-30)
Merged pull requests:
- Optional redirect #97 (srallen)
- V2.10 #95 (eatyourgreens)
v2.10.0 (2018-06-25)
Fixed bugs:
- Unnecessary save to localstorage #33
Merged pull requests:
- Audit packages #94 (eatyourgreens)
- Update changelog #93 (eatyourgreens)
v2.9.8-0 (2018-06-22)
Merged pull requests:
- 2.9.7 #92 (eatyourgreens)
v2.9.7 (2018-05-09)
Closed issues:
- OAuth.init() no longer checks for an existing Panoptes session #90
Merged pull requests:
- Use local storage for session tokens #91 (eatyourgreens)
- 2.9.6 #88 (eatyourgreens)
v2.9.6 (2018-03-07)
Merged pull requests:
- 2.9.5 #87 (eatyourgreens)
- Replace _checkPanoptesSession with _getNewToken #86 (eatyourgreens)
v2.9.5 (2018-03-06)
Closed issues:
\_handleNewBearerToken\(\)
florps on.slice\(\)
#84
Merged pull requests:
- Various OAuth bug fixes #85 (eatyourgreens)
v2.9.4 (2018-02-27)
Merged pull requests:
- Massive changelog update #83 (eatyourgreens)
- OAuth improvements #82 (eatyourgreens)
v2.9.3 (2018-02-23)
Merged pull requests:
- Add checkBearerToken() to OAuth #80 (eatyourgreens)
v2.9.2 (2018-02-13)
Merged pull requests:
- 2.9.1 #78 (eatyourgreens)
v2.9.1 (2018-02-01)
Closed issues:
- Oauth sign-in fails in Chrome when third party cookies blocked #72
Merged pull requests:
- Remove array destructuring from parseUrl() #77 (eatyourgreens)
- Persist bearer token details across page reloads #75 (eatyourgreens)
v2.9.0 (2018-01-31)
v2.8.1 (2018-01-24)
Merged pull requests:
- 2.8.1 #74 (eatyourgreens)
- Check the bearer token before talk client requests #73 (eatyourgreens)
- 2.8.0 #71 (eatyourgreens)
v2.8.0 (2017-11-13)
Closed issues:
- String Interpolation Issues #69
Merged pull requests:
- json-api-client 3.3 #70 (eatyourgreens)
v2.7.2 (2017-05-31)
Implemented enhancements:
- Ability to copy a Federated Projects 'template project' workflows via the client #57
Closed issues:
- suppress log messages #59
Merged pull requests:
v2.7.1 (2017-03-31)
v2.7.0 (2017-03-28)
Merged pull requests:
- Add http_cache=true to all requests #64 (eatyourgreens)
v2.6.1 (2017-03-22)
Fixed bugs:
- Client doesn't pass back HTTP response status codes with errors #25
v2.6.0 (2017-03-22)
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:
- Add HTTP status to errors #63 (eatyourgreens)
v2.5.2 (2016-07-06)
Merged pull requests:
- Fix regex to correctly match new token rules #55 (rogerhutchings)
v2.5.1 (2016-05-18)
Implemented enhancements:
- Add OAuth flow to auth #13
Fixed bugs:
- Expired tokens used in talk client #41
Merged pull requests:
- Only make one token refresh request #52 (brian-c)
- Update readme #50 (eatyourgreens)
- Updated readme #48 (srallen)
- Auth module does auth wth the normal host #46 (brian-c)
- Auto refresh bearer token #45 (brian-c)
- Tweak stats client for consistency, stub out a test #44 (brian-c)
- Increase TOKEN_EXPIRATION_ALLOWANCE to prevent token expiration #42 (parrish)
- Add a simple statsClient object #39 (eatyourgreens)
- fix broken entry point in package.json, add development strings #38 (amy-langley)
- Fix typo in error handling #34 (itsravenous)
v2.2.1 (2016-04-05)
Merged pull requests:
- Use oauth host. #32 (simoneduca)
- Add correct host url. #31 (simoneduca)
- add stats sever #29 (CKrawczyk)
v2.2.0 (2016-03-21)
Closed issues:
Staging
undefined #26
Merged pull requests:
- remove cam env form the client repo #28 (camallen)
- Add panoptes.zooniverse.org for OAuth #27 (simoneduca)
v2.1.0 (2016-02-29)
Merged pull requests:
- Another go at an OAuth module #24 (rogerhutchings)
v2.0.2 (2016-02-12)
v2.0.1 (2016-02-05)
v2.0.0 (2016-02-05)
Closed issues:
Merged pull requests:
- Alternate fix for
env
variable in lib/config.js #23 (shaunanoordin) - Refactor 2 - WIP #20 (rogerhutchings)
- Match bower.json version with package.json #16 (rogerhutchings)
v0.1.2 (2015-07-04)
Closed issues:
- Figure out why this isn't working in Node #8
Merged pull requests:
- Use user.login instead of user.display_name #10 (chrissnyder)
- Add a Changelog #4 (rogerhutchings)
- Fix URL typo in the README #2 (edpaget)
- Set license to Apache 2 #1 (rogerhutchings)
v0.1.1 (2015-05-15)
v0.1.0 (2015-05-11)
v0.0.1 (2015-04-18)
* This Changelog was automatically generated by github_changelog_generator