Skip to content

Releases: open-feature/python-sdk

v0.4.2

06 Feb 15:37
522d425
Compare
Choose a tag to compare

0.4.2 (2024-02-06)

Features

  • add FeatureProvider protocol (#268) (caa7f36)
  • improve logging setup (#261) (ccbff2c)
  • make return value not optional in provider API functions (#270) (cb1677b)
  • make specific fields in HookContext immutable (#266) (3b89760)

Bug Fixes

  • Allow string values for FlagEvaluationDetails.reason and FlagResolutionDetails.reason (#264) (5ef6ca1)

Documentation

v0.4.1

08 Nov 12:17
e24a634
Compare
Choose a tag to compare

0.4.1 (2023-11-08)

Bug Fixes

  • add PEP 561 py.typed marker file (#232) (db50494)
  • fix types for HookContext.{client,provider}_metadata (#233) (4bdd384)
  • replace str with enum value in InMemoryFlag definition (#234) (963b01e)

v0.4.0

01 Nov 19:50
d558bb1
Compare
Choose a tag to compare

0.4.0 (2023-11-01)

⚠ BREAKING CHANGES

  • raise error if the flag wasn't found using the in-memory provider (#228)

Features

  • implement initialize/shutdown on provider registration (#213) (84af1ae)
  • pass flag_metadata from resolution to evaluation details (#212) (88a204d)

Bug Fixes

  • Hook methods should have default non-abstract implementations (#216) (c661ab2)
  • raise error if the flag wasn't found using the in-memory provider (#228) (0c314ab)

v0.3.1

28 Sep 02:42
544ae0e
Compare
Choose a tag to compare

0.3.1 (2023-09-28)

Features

  • make openfeature an implicit namespace package (#199) (c544918)

v0.3.0

25 Sep 17:45
5237e93
Compare
Choose a tag to compare

0.3.0 (2023-09-25)

⚠ BREAKING CHANGES

  • rename top-level package to openfeature (#192)

Code Refactoring

  • rename top-level package to openfeature (#192) (51f0d26)

v0.2.0

10 Sep 00:44
2605985
Compare
Choose a tag to compare

0.2.0 (2023-09-09)

⚠ BREAKING CHANGES

  • simplify namespaces to make public API more pythonic (#172)
  • move api hooks methods to api module (#169)
  • move api evaluation context methods to api module (#164)

Code Refactoring

  • move api evaluation context methods to api module (#164) (67ba861)
  • move api hooks methods to api module (#169) (a7da26f)
  • simplify namespaces to make public API more pythonic (#172) (793ced1)

v0.1.0

01 Aug 15:32
4b8dcaa
Compare
Choose a tag to compare

0.1.0 (2023-07-25)

⚠ BREAKING CHANGES

  • EvaluationDetails.reason should be a string, Reason enum should export default reasons per spec (#126)

Features

  • EvaluationDetails.reason should be a string, Reason enum should export default reasons per spec (#126) (c2d225e)
  • implement api-level hooks (#139) (7fe511f)
  • implement client get_metadata for requirement 1.2.2 (#141) (571f5eb)
  • implement get_provider_metadata for requirement 1.1.5 (#140) (695da28)
  • implement InMemoryProvider (#157) (5e7bf1f)

Bug Fixes

  • object client methods can receive dict or list as default_value (#134) (291581f)
  • return correct type object in OpenFeatureClient._create_provider_evaluation (#136) (052e149)
  • use str values in FlagType enum for easier typing (#137) (292a0df)

Documentation

  • simplified the under development warning (0926a68)

v0.0.9

27 Jan 14:38
511262d
Compare
Choose a tag to compare

0.0.9 (2023-01-19)

Bug Fixes

Documentation

  • add NoOpProvider import to config sample (#68) (643d9fa)

v0.0.8

28 Dec 05:42
504a3af
Compare
Choose a tag to compare

0.0.8 (2022-12-28)

Features

v0.0.7

19 Dec 19:00
3e2c102
Compare
Choose a tag to compare

0.0.7 (2022-12-19)

Bug Fixes

  • Get Object should return both list and dict (#64) (85db1e0)