Releases: switcherapi/switcher-client-deno
Releases · switcherapi/switcher-client-deno
v2.4.0
What's Changed
- chore: replaced stmt with snapshotVersion (bump Deno v.2.4.5) by @petruki in #94
- chore: fixes code smells by @petruki in #95
- feat: removed data attribute from snapshot by @petruki in #96
Breaking change
Snapshot content before:
{
"data": {
"domain": {
"name": "switcher-domain",
"activated": true,
"group": [...]
}
}
}
Snapshot content now:
{
"domain": {
"name": "switcher-domain",
"activated": true,
"group": [...]
}
}
Full Changelog: v2.3.1...v2.4.0
v2.3.1
What's Changed
Breaking change
Replace optional flag static
with freeze
, e.g.
Client.buildContext({ url, apiKey, domain, component, environment }, { local, freeze: true });
Full Changelog: v2.3.0...v2.3.1
v2.3.0
What's Changed
- Major improvement on performance - added static context option by @petruki in #89
- Added Client.snapshotVersion(), replaced snapshot() for security matters by @petruki in #90
- Improved Switcher implementation, optimizaed for sync/async usage by @petruki in #91
- chore: moved snapshotWatcher from client to lib by @petruki in #92
Full Changelog: v2.2.0...v2.3.0
v2.2.0
What's Changed
- Fixed circular dependency issues and other code smells by @petruki in #84
- Added context configuration managed snapshotWatcher option by @petruki in #85
- Added context configuration to allow or bypass Relay check when local by @petruki in #86
- chore: refactored Switcher class for better SoC by @petruki in #87
- Major refactory: improved resolver, remote and overall error handling by @petruki in #88
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- Bump std/fs@1.0.2, upgraded Deno CI runtime to v1.46.2 by @petruki in #76
- Bump std/fs@1.0.4 by @petruki in #77
- Added support to Deno v2 by @petruki in #78
- Bump deps - CI Deno runtime to 2.0.4 by @petruki in #79
- Added Client.assume:when criteria to bypass Switcher results by @petruki in #80
- Bump Deno runtime to 2.1.3 and dev deps deps by @petruki in #81
- chore: fixes Sonar action by @petruki in #82
Full Changelog: v2.0.2...v2.1.0
v2.0.2
v2.0.1
v2.0.0
What's Changed
- Fixes snapshot path when missing slash by @petruki in #67
- Closes #68 - Replaced check arguments by fluent style by @petruki in #69
- Refactored switcher-client into separated modules by @petruki in #70
- Added Client.getExecution(switcher) by @petruki in #71
- Added switcher.defaultResult() to handle panic events by @petruki in #72
- Standardized callback for watchSnapshot and scheduleSnapshotAutoUpdate by @petruki in #73
Full Changelog: v1.1.0...v2.0.0
v1.1.0
What's Changed
- chore: Added publish to JSR workflow by @petruki in #61
- Replaced hardcode deps to Deno managed JSR modules by @petruki in #62
- Fixes import deps, improved default context/options assignment by @petruki in #63
- Improved async error handling, added Switcher.subscribeNotifyError by @petruki in #64
- chore: replaced verbose stmt by function by @petruki in #65
- Project cleanup, included types to export by @petruki in #66
Full Changelog: v1.0.9...v1.1.0
v1.0.9
What's Changed
- Fixed types by @petruki in #53
- chore: bump Deno to 1.42.2 by @petruki in #54
- Added support to ResultDetail and Bypasser:Key:withMetadata by @petruki in #55
- Improved isItOn API - added fluent detail feature by @petruki in #56
- Improved watchSnapshot API by @petruki in #57
- chore: renamed remote reference by @petruki in #58
- Replaced setTestEnabled/Disabled with testMode by @petruki in #59
- Fixes throttle token renew by @petruki in #60
Full Changelog: v1.0.7...v1.0.9