Releases: switcherapi/switcher-client-js
Releases · switcherapi/switcher-client-js
v4.2.0
What's Changed
- Bump dev deps c8 and mocha by @petruki in #191
- Bump eslint dev deps by @petruki in #192
- chore: migrated eslint to v9 by @petruki in #193
- Updated api key for integrated test - bump dev deps by @petruki in #194
- Added Client.assume:when criteria to bypass Switcher results by @petruki in #195
- chore: Added Node 22 to test matrix by @petruki in #196
Full Changelog: v4.1.1...v4.2.0
v4.1.1
v4.1.0
What's Changed
- Fixes several inconsistencies with types by @petruki in #179
- Fixes #178 - watcher validates change event by @petruki in #180
- Improved async error handling, added Switcher.subscribeNotifyError by @petruki in #181
- Applied several module improvements - removed node-fetch dep by @petruki in #182
- Moved fixture to test folder by @petruki in #183
- Removed fetch default implementation by @petruki in #184
- Replaced check arguments by fluent style by @petruki in #185
- Refactored switcher-client into separated modules by @petruki in #186
- Added Client.getExecution(switcher) by @petruki in #187
- Added switcher.defaultResult() to handle panic events by @petruki in #188
- Standardized callback for loadSnapshot and watchSnapshot by @petruki in #189
Full Changelog: v4.0.3...v4.1.0
v4.0.3
v4.0.2
v4.0.1
v4.0.0
What's Changed
- Coverting project to ES Module by @petruki in #163
- Replaced with ES module version of node-fetch by @petruki in #164
- Added support to ResultDetail by @petruki in #165
- Added withMetadata and detailed response to local mode by @petruki in #166
- chore: improved constants and type definitions by @petruki in #167
- Improved isItOn API - added fluent detail feature by @petruki in #168
- Improved watchSnapshot API by @petruki in #169
- chore: renamed remote reference by @petruki in #170
- Fixed Switcher attributes and internal functions visibility by @petruki in #171
Full Changelog: v3.2.1...v4.0.0
v3.2.1
What's Changed
- Added Node 20 to CI matrix - restructured test folder by @petruki in #158
- Adding delay to snapshot-watch tests - Node 20 known issue by @petruki in #159
- Refactored offline/online keywords to local/remote by @petruki in #160
- Added force remote (hybrid) switcher feature by @petruki in #161
- Bump dev deps and CI action setup-node by @petruki in #162
Full Changelog: v3.2.0...v3.2.1
v3.2.0
v3.1.9
What's Changed
- Closes #142 - Added certPath to set up SSL context by @petruki in #143
- Closes #144 - Snapshot in-memory strategy by @petruki in #145
- Closes #146 - added refexSafe option by @petruki in #147
- Closes #148 - Comined retryAfter with silentMode option by @petruki in #149
- Improved remote performance when silent mode not set by @petruki in #150
- Removed unnecessary async from checkHealth by @petruki in #151
- Changed snapshotAutoUpdateInterval unit to work with seconds by @petruki in #152
- Added optional callback func to snapshotAutoUpdater by @petruki in #153
- Bump node-fetch to 2.6.13 and devs deps by @petruki in #154
Full Changelog: v3.1.8...v3.1.9