Skip to content

Releases: configcat/python-sdk

v10.0.1

Choose a tag to compare

@kp-cat kp-cat released this 03 Sep 20:40
17fe81f

Security dependency updates (requests 2.33.0)

v10.0.0

Choose a tag to compare

@kp-cat kp-cat released this 10 Mar 14:05
97d52a2
  • Remove Python 2.7 support
  • Drop unsupported python versions (2.7, 3.5, 3.6, 3.7)
  • Security dependency updates (requests 2.32.4)
  • Remove dependencies used for compatibility with older Python versions (enum-compat, qualname, pytz)
  • fix pyright type errors
  • on_config_changed lock fix: recursive lock in configservice in #82

Full Changelog: v9.0.4...v10.0.0

v9.0.4

Choose a tag to compare

@laliconfigcat laliconfigcat released this 09 Jul 13:15
82aac93

Fixed

  • Initial config JSON load when auto poll enabled with results from cache.

v9.0.3

Choose a tag to compare

@kp-cat kp-cat released this 08 Mar 09:40
3c2d2bb
  • Fix wrong JSON format handling during the evaluation process
  • Add more Config V2 test cases
  • Evaluation log fixes.

v9.0.2

Choose a tag to compare

@kp-cat kp-cat released this 07 Feb 19:32
a698e36
  • Evaluation log fixes.
  • Improve the message of log event 1103.
  • Don't swallow, but log exceptions when config JSON reading fails so users know what went wrong with the parsing.
  • LocalFileDataSource Unicode fix on Windows.
  • User attribute value as string list support.

v9.0.1

Choose a tag to compare

@kp-cat kp-cat released this 22 Dec 12:22
f348cac
  • Fix get_key_and_value() according to conifg_v6.json changes.

v9.0.0

Choose a tag to compare

@kp-cat kp-cat released this 30 Nov 09:56
1aed3cb

New features and improvements:

  • Add support for the new Config JSON v6 format: update the config model and implement new features in setting evaluation logic.
  • Overhaul setting evaluation-related logging and make it consistent across SDKs.
  • Performance improvements to setting evaluation when info level logging is turned off.
  • Python 3.12 support

Breaking changes:

  • The User's custom dictionary also allows attribute values other than string values.
  • The config JSON v5 format is no longer accepted by flag overrides. If you use this feature, you will need to convert your override JSON file(s) to the v6 format. You can do this using the config-json convert v5-to-v6 command of the ConfigCat CLI tool.
  • Rename the matched_evaluation_percentage_rule property to matched_targeting_rule and the matched_evaluation_rule`` property to matched_percentage_optioninEvaluationDetails`.
  • Throw ConfigCatClientException when the SDK key passed to ConfigCatClient.get is in an invalid format (unless the client is set up to use local-only flag override behaviour).

v8.0.1

Choose a tag to compare

@kp-cat kp-cat released this 17 Aug 11:23
bcfd918

For Python version >= 3.7 increase minimum version of requests dependency to 2.31.0.

v8.0.0

Choose a tag to compare

@kp-cat kp-cat released this 03 Jul 11:33
500d1cb

Please note that this version has several breaking changes, so you may need to adjust your code when upgrading, especially if you're using deprecated APIs or a custom cache implementation. You can find the detailed list of breaking changes below.

  • Removed unsupported Python versions: 2.6, 3.3, 3.4.
  • Added Python 3.11 support.
  • Removed deprecated init functions: configcatclient.create_client, configcatclient.create_client_with_auto_poll, configcatclient.create_client_with_lazy_load, configcatclient.create_client_with_manual_poll. Create the ConfigCat Client as a Singleton object with configcatclient.get() instead.
  • Updated logging:
    • Include event IDs in log messages to make identification of log events easier.
    • Revise log messages and make them consistent across the ConfigCat SDKs.
  • Revise caching of downloaded config data:
    • Use a standardized config cache key generation algorithm and cache payload format to allow shared caches to be used by SDKs of different platforms.
  • Updated semver dependency >=2.10.2.

v7.0.1

Choose a tag to compare

@kp-cat kp-cat released this 20 Mar 10:31
0dd0712
  • Add 3.7, 3.8, 3.9, 3.10 to supported python versions in setup.py.
  • Don't start polling in offline mode when init ConfigService.
  • Use empty etag for empty ConfigEntry object.