Skip to content

Releases: switcherapi/switcher-client-py

v1.2.1

Choose a tag to compare

@petruki petruki released this 12 Jul 21:26
6c81541

What's Changed

  • feat: improved client performance when Bypasser is disabled by @petruki in #64

Full Changelog: v1.2.0...v1.2.1

v1.2.0

Choose a tag to compare

@petruki petruki released this 07 Jul 00:48
aaf7b76

What's Changed

  • feat: added remote connection options by @petruki in #63

Full Changelog: v1.1.0...v1.2.0

v1.1.0

Choose a tag to compare

@petruki petruki released this 06 Jul 23:56
41e0a7c

What's Changed

  • feat: added LoadSnapshotOptions, RetryOptions to package main by @petruki in #53
  • feat: added scoped mock for improved concurrent test exection by @petruki in #54
  • feat: added testing decorator for switcher mocks by @petruki in #55
  • feat: added remote API tuning settings by @petruki in #57
  • feat: added support to watch snapshot while loading file by @petruki in #58
  • feat: added auto_renew_token remote feature by @petruki in #61
  • fix: wrong value strategy EQUAL/NOT_EQUAL operations eval by @petruki in #59
  • chore(deps): bump typing-extensions@4.16.0, pytest@9.1.1 by @petruki in #60
  • chore(ci): bump actions checkout@v7, upload-artifact@v7, setup-miniconda@v4 by @petruki in #62

Full Changelog: v1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@petruki petruki released this 28 Apr 02:57
3abae08

What's Changed

  • fix: removed duplicated classifier by @petruki in #49
  • feat: added Client.assume for is_on Switcher evaluation by @petruki in #50
  • feat: added support for conditional strategy mocking by @petruki in #51
  • feat: added Client.test_mode() to prevent subprocess locking by @petruki in #52

Full Changelog: v0.1.2...v1.0.0

v0.1.2

Choose a tag to compare

@petruki petruki released this 25 Apr 17:55
efa4204

What's Changed

  • Added Client.build_context to handle initial context params by @petruki in #1
  • Added ContextOptions for optional settings by @petruki in #2
  • Added initial switcher remote API integration (auth) by @petruki in #3
  • Added remote criteria evaluation by @petruki in #4
  • Bump pytest@8.3.5, added test matrix and devcontainer settings by @petruki in #5
  • chore: replaced requirements.txt by Pipenv file by @petruki in #6
  • chore(deps): bump requests from 2.32.3 to 2.32.4 by @dependabot[bot] in #7
  • Added input strategy for remote check by @petruki in #8
  • Added is_on_with_details for detailed response check by @petruki in #9
  • Added switcher.prepare() for remote prep/check by @petruki in #10
  • wip: added snapshot loading from file feature by @petruki in #11
  • Added load_domain API to load from snapshot file by @petruki in #12
  • Added load_snapshot in-memory from remote API by @petruki in #13
  • test: included playground for lib experimental testing by @petruki in #14
  • Closes #15 - Replaced requests with httpx by @petruki in #16
  • chore(deps): bump sonarsource/sonarqube-scan-action from 5.3.0 to 5.3.1 in /.github/workflows by @dependabot[bot] in #17
  • chore(deps): bump sonarsource/sonarqube-scan-action from 5.3.1 to 6.0.0 in /.github/workflows by @dependabot[bot] in #18
  • Added Client.schedule_snapshot_auto_update [wip] by @petruki in #19
  • Added SnapshotAutoUpdater to handle snapshot updates by @petruki in #20
  • Added save_snapshot, updated code snippets by @petruki in #21
  • Added __execute_local_criteria() API for local evaluation by @petruki in #22
  • Removed data wrapper from Snapshot to standardize schema by @petruki in #23
  • feat: added ExecutionLogger for cache async query by @petruki in #24
  • feat: added numeric strategy handler and Python 3.14 to matrix by @petruki in #25
  • feat: aded regex strategy handler and TimedMatch for safe match by @petruki in #26
  • feat: integrated snapshot processors to Switcher resolver by @petruki in #27
  • feat: added silent_mode feature by @petruki in #28
  • feat: added Client.subscribe_notify_error() for error monitoring by @petruki in #29
  • feat: added switcher.default_result() fall back feature by @petruki in #30
  • feat: added switcher throttling capability by @petruki in #31
  • feat: added Regex Match config options for limit and blacklist by @petruki in #32
  • feat: added remote required request flag by @petruki in #33
  • feat: added restrict_relay option for local mode by @petruki in #34
  • feat: added cert_path option for custom secure API communication by @petruki in #35
  • feat: added Client.check_switchers for smoke testing (remote) by @petruki in #36
  • feat: added Client.check_switchers for smoke testing (local) by @petruki in #37
  • feat: added Client.watch_snapshot for real-time snapshot monitoring by @petruki in #38
  • chore: refactored SnapshotAutoUpdater to use instance-based approach by @petruki in #39
  • fix: updated Client.watch_snapshot to use proper dataclass as argument type by @petruki in #40
  • chore: fixes linting and code standards by @petruki in #41
  • chore: updated imports to use absolute paths by @petruki in #42
  • chore(tests): updated helpers for cleaner test files by @petruki in #43
  • chore(tests): added integrated tests by @petruki in #44
  • fix: packages compatibity issues found for Python < 3.12 by @petruki in #47
  • chore(ci): updated release workflows by @petruki in #48

New Contributors

Full Changelog: https://github.com/switcherapi/switcher-client-py/commits/v0.1.2