10.0.2 (2025-10-30)
10.0.1 (2025-10-28)
10.0.0 (2025-10-24)
- Remove
FeatureContext.feature_key,SegmentResult.key(#272)
- Remove
FeatureContext.feature_key,SegmentResult.key(#272) (4004b6b) - Support implicit
IdentityContext.key(#274) (a4826f8)
9.1.0 (2025-10-16)
9.0.0 (2025-10-16)
- Use
FeatureValue.priorityfor multivariate evaluations (#268)
- Generic segment metadata (#265) (8ea7f68)
- Use
FeatureValue.priorityfor multivariate evaluations (#268) (8e790b2)
8.0.0 (2025-10-10)
- Use new
EvaluationResult, updated test data (#261)
- Support segment metadata (#264) (6a030da)
- Use new
EvaluationResult, updated test data (#261) (8eaa386)
7.0.1 (2025-09-11)
- Incorrect
TARGETING_MATCHreasons (#258) (3f12e5f) - PERCENTAGE_SPLIT working for undefined keys (#256) (fa37c6c)
7.0.0 (2025-09-01)
- Add Codspeed benchmark (#244) (622b372)
- Drop Python 3.8 support (#249) (63b546c)
- Support returning default flags for
Noneidentities (#254) (a05befa) - v7: JSONPath support (#243) (5b0136f)
- v7: Remove deprecated APIs, Pydantic models (#250) (92de872)
- v7: Support
string[]as condition value for theINoperator (#255) (68d49d0)
6.1.0 (2025-08-18)
6.0.2 (2025-08-06)
6.0.1 (2025-08-06)
6.0.0 (2025-07-21)
- Release latest changes as breaking (#227)
5.4.1 (2025-07-21)
5.4.0 (2025-07-21)
5.3.1 (2025-06-30)
- add sane model defaults to OrganisationModel and ProjectModel (#213) (d909c2f)
- deps: bump pydantic from 2.3.0 to 2.4.0 (#206) (eb02943)
v5.3.0 - 2024-09-24
- feat: make map_any_value_to_trait_value public to allow trait value parsing in core by @gagantrivedi in Flagsmith/flagsmith-engine#211
- chore: bump minor version by @gagantrivedi in Flagsmith/flagsmith-engine#212
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v5.2.0...v5.3.0
v5.2.0 - 2024-09-04
- chore(deps-dev): bump black from 23.7.0 to 24.3.0 by @dependabot in Flagsmith/flagsmith-engine#203
- chore: update github actions by @dabeeeenster in Flagsmith/flagsmith-engine#204
- feat(env/model): Add use_identity_overrides_in_local_eval field by @gagantrivedi in Flagsmith/flagsmith-engine#208
- feat(env/model): add dashboard_alias field by @matthewelwell in Flagsmith/flagsmith-engine#210
- chore: bump version by @gagantrivedi in Flagsmith/flagsmith-engine#209
- @dependabot made their first contribution in Flagsmith/flagsmith-engine#203
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v5.1.1...v5.2.0
Version 5.1.1 (v5.1.1) - 2024-01-17
- fix: Avoid recursion during identity features validation by @khvn26 in Flagsmith/flagsmith-engine#201
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v5.1.0...v5.1.1
Version 5.1.0 (v5.1.0) - 2023-12-15
- feat: remove builders modules by @khvn26 in Flagsmith/flagsmith-engine#195
- feat: Add
EnvironmentModel.identity_overridesfor the local evaluation mode by @khvn26 in Flagsmith/flagsmith-engine#199
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v5.0.0...v5.1.0
Version 5.0.0 (v5.0.0) - 2023-11-08
- feat: pydantic V2 by @khvn26 in Flagsmith/flagsmith-engine#190
- feat: strict typing by @khvn26 in Flagsmith/flagsmith-engine#168
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v4.1.0...v5.0.0
Version 4.1.0 (v4.1.0) - 2023-09-19
- feat: evaluator module by @khvn26 in Flagsmith/flagsmith-engine#192
- ci/bump pytest by @dabeeeenster in Flagsmith/flagsmith-engine#191
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v4.0.4...v4.1.0
Version 4.0.4 (v4.0.4) - 2023-08-08
- fix: decimal trait values by @khvn26 in Flagsmith/flagsmith-engine#187
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v4.0.3...v4.0.4
Version 4.0.3 (v4.0.3) - 2023-07-12
- Fix Nan validation by @matthewelwell in Flagsmith/flagsmith-engine#184
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v4.0.2...v4.0.3
Version 4.0.2 (v4.0.2) - 2023-07-04
- fix: restore trait value coercion to string by @khvn26 in Flagsmith/flagsmith-engine#179
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v4.0.1...v4.0.2
Version 4.0.1 (v4.0.1) - 2023-07-03
- fix: use
Config.smart_unionto avoid type coercion forTraitModel.trait_valueby @khvn26 in Flagsmith/flagsmith-engine#177 - fix: remove dynatrace from engine integration models by @matthewelwell in Flagsmith/flagsmith-engine#176
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v4.0.0...v4.0.1
Version 4.0.0 (v4.0.0) - 2023-06-29
Support for Python versions earlier than 3.7 is dropped.
This release removes the functionality that supported Flagsmith's Core API <> Edge API interop and migrates the engine model dataclasses to Pydantic, simplifying their serialization.
flag_engine.environments.builders and flag_engine.identities.builders modules are kept for backwards compatibility
but will be deprecated in the future in favour of Pydantic's .dict() and .parse_obj() methods. It's completely safe
to use them with Flagsmith's EnvironmentModel and IdentityModel instead of builder APIs.
- feat: migrate from marshmallow to pydantic, remove core API-specific schemas by @khvn26 in Flagsmith/flagsmith-engine#167
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v3.6.0...v4.0.0
Version 3.6.0 (v3.6.0) - 2023-06-29
- Ensure percentage split evaluations are consistent in Core API and Local Evaluation by @matthewelwell in Flagsmith/flagsmith-engine#171
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v3.5.1...v3.6.0
v3.5.1 - 2023-06-26
- feat: add Rudderstack support by @khvn26 in Flagsmith/flagsmith-engine#169
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v3.5.0...v3.5.1
v3.5.0 - 2023-05-19
- feat: add
Project.server_key_only_feature_idsby @khvn26 in Flagsmith/flagsmith-engine#164
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v3.4.0...v3.5.0
v3.4.0 - 2023-04-11
- feat(environment): Add hide_sensitive_data field by @gagantrivedi in Flagsmith/flagsmith-engine#161
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v3.3.2...v3.4.0
Version 3.3.2 (v3.3.2) - 2023-03-29
- Update feature state version logic by @matthewelwell in Flagsmith/flagsmith-engine#159
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v3.3.1...v3.3.2
Version 3.3.1 (v3.3.1) - 2023-03-16
- Fix regex evaluations for non string trait values by @matthewelwell in Flagsmith/flagsmith-engine#157
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v3.3.0...v3.3.1
v3.3.0 - 2023-03-03
- feat(environment): Add name by @gagantrivedi in Flagsmith/flagsmith-engine#154
- Release 3.3.0 by @gagantrivedi in Flagsmith/flagsmith-engine#155
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/3.2.0...v3.3.0
3.2.0 - 2023-02-02
- Feat(identity/get_hash_key): Add method to help generate consistent mv values by @gagantrivedi in Flagsmith/flagsmith-engine#152
- Release 3.2.0 by @gagantrivedi in Flagsmith/flagsmith-engine#153
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v3.1.0...3.2.0
v3.1.0 - 2023-01-16
- In segment operator added by @EdsnLoor in Flagsmith/flagsmith-engine#149
- feat(env/hide_disabled_flags): Add hide_disabled flags to environment by @gagantrivedi in Flagsmith/flagsmith-engine#150
- @EdsnLoor made their first contribution in Flagsmith/flagsmith-engine#149
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v3.0.0...v3.1.0
v3.0.0 - 2022-11-11
- feat(identity/update_traits): update return type by @gagantrivedi in Flagsmith/flagsmith-engine#146
- feat(project/models): Add enable_realtime_updates field by @gagantrivedi in Flagsmith/flagsmith-engine#147
- feat(enviroment): add updated_at field by @gagantrivedi in Flagsmith/flagsmith-engine#148
- Release 3.0.0 by @matthewelwell in Flagsmith/flagsmith-engine#116
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.3.0...v3.0.0
v2.3.0 - 2022-10-13
- feat(modulo): Add support for modulo operator by @gagantrivedi in Flagsmith/flagsmith-engine#144
- feat(segment): Add IS_SET and IS_NOT_SET operator by @gagantrivedi in Flagsmith/flagsmith-engine#145
- Release v2.3.0 by @gagantrivedi in Flagsmith/flagsmith-engine#143
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.2.0...v2.3.0
v2.2.0 - 2022-09-13
- Release v2.2.0 by @gagantrivedi in Flagsmith/flagsmith-engine#142
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.1.2...v2.2.0
v2.1.2 - 2022-09-13
- Add pip-tools for managing dev requirements by @matthewelwell in Flagsmith/flagsmith-engine#138
- Update engine test data by @matthewelwell in Flagsmith/flagsmith-engine#140
- Release 2.1.2 by @matthewelwell in Flagsmith/flagsmith-engine#139
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.1.1...v2.1.2
Version 2.1.1 (v2.1.1) - 2022-07-01
- Add allow_client_traits field to EnvironmentModel and schema by @matthewelwell in Flagsmith/flagsmith-engine#137
- Release 2.1.1 by @matthewelwell in Flagsmith/flagsmith-engine#136
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.1.0...v2.1.1
Version 2.1.0 (v2.1.0) - 2022-06-29
- Replace environment webhooks with webhook config by @matthewelwell in Flagsmith/flagsmith-engine#134
- fix(ValueError/for-invalid-trait-value): catch and return False by @gagantrivedi in Flagsmith/flagsmith-engine#132
- Release 2.1.0 by @matthewelwell in Flagsmith/flagsmith-engine#135
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.0.7...v2.1.0
Version 2.0.7 (v2.0.7) - 2022-05-27
- Remove webhooks from _INTEGRATION_ATTS by @matthewelwell in Flagsmith/flagsmith-engine#130
- Bump version 2.0.7 by @matthewelwell in Flagsmith/flagsmith-engine#131
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.0.6...v2.0.7
Version 2.0.6 (v2.0.6) - 2022-05-24
- fix(segment-priority): use priority on evaluation by @gagantrivedi in Flagsmith/flagsmith-engine#128
- Release 2.0.6 by @gagantrivedi in Flagsmith/flagsmith-engine#129
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.0.5...v2.0.6
Version 2.0.5 (v2.0.5) - 2022-05-12
- Return updated traits when updating by @matthewelwell in Flagsmith/flagsmith-engine#126
- Release 2.0.5 by @matthewelwell in Flagsmith/flagsmith-engine#125
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.0.4...v2.0.5
v2.0.4 - 2022-05-12
- Add webhooks
- Add
entity_selectorto integration model/schema - Release 2.0.4 by @matthewelwell in Flagsmith/flagsmith-engine#122
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.0.3...v2.0.4
v2.0.3 - 2022-05-09
- Fix missing
feature_state_valuefield on dump using engine models - Release 2.0.3 by @gagantrivedi in Flagsmith/flagsmith-engine#120
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.0.2...v2.0.3
v2.0.2 - 2022-04-25
- fix(traits/float_value): Add custom field to serialize/deserialize trait_value
- Release 2.0.2 by @gagantrivedi in Flagsmith/flagsmith-engine#115
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.0.1...v2.0.2
Version 2.0.1 (v2.0.1) - 2022-04-21
- Add semver to install_requires by @matthewelwell in Flagsmith/flagsmith-engine#113
- Release 2.0.1 by @matthewelwell in Flagsmith/flagsmith-engine#112
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v2.0.0...v2.0.1
Version 2.0.0 - alpha 1 (v2.0.0-alpha.1) - 2022-04-21
Version 2.0.0 (v2.0.0) - 2022-04-21
- Use feature state is_live by @matthewelwell in Flagsmith/flagsmith-engine#111
- major version update by @gagantrivedi in Flagsmith/flagsmith-engine#108
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.6.6...v2.0.0
Version 1.6.6 (v1.6.6) - 2022-04-21
- Use timezone aware datetimes by @matthewelwell in Flagsmith/flagsmith-engine#110
- Release 1.6.6 by @matthewelwell in Flagsmith/flagsmith-engine#109
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.6.5...v1.6.6
Version 1.6.5 (v1.6.5) - 2022-04-20
- Update comments by @matthewelwell in Flagsmith/flagsmith-engine#98
- Update engine test data by @matthewelwell in Flagsmith/flagsmith-engine#99
- fix(segment_evaluation): use django_id if present by @gagantrivedi in Flagsmith/flagsmith-engine#101
- chore(tests): update engine test-data by @gagantrivedi in Flagsmith/flagsmith-engine#105
- Handle feature state versioning by @matthewelwell in Flagsmith/flagsmith-engine#100
- Feature/edge api 29/add integrations data property by @matthewelwell in Flagsmith/flagsmith-engine#104
- fix(datetime): use tz(utc) aware datetime by @gagantrivedi in Flagsmith/flagsmith-engine#103
- remove get_feature_state_value method by @matthewelwell in Flagsmith/flagsmith-engine#102
- Release 1.6.5 by @matthewelwell in Flagsmith/flagsmith-engine#97
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.6.4...v1.6.5
v1.6.4 - 2022-02-10
- Fix build_environment_api_key_model by adding correct parent class to schema by @gagantrivedi in Flagsmith/flagsmith-engine#95
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.6.3...v1.6.4
v1.6.3 - 2022-02-04
- Fix(feature/schema): only run validation if field the is present by @gagantrivedi in Flagsmith/flagsmith-engine#94
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.6.2...v1.6.3
Version 1.6.2 (v1.6.2) - 2022-02-03
- Fix type error when sorting feature segments by @matthewelwell in Flagsmith/flagsmith-engine#91
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.6.1...v1.6.2
Version 1.6.1 (v1.6.1) - 2022-02-02
- Refactor django_transform module to allow for better query optimisation by @matthewelwell in Flagsmith/flagsmith-engine#89
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.6.0...v1.6.1
Version 1.6.0 (v1.6.0) - 2022-01-27
- Feat(environment-api-key): Add environment api key model by @gagantrivedi in Flagsmith/flagsmith-engine#86
- Update get_value typehints and add docstring by @matthewelwell in Flagsmith/flagsmith-engine#85
- Version bump (1.6.0) by @matthewelwell in Flagsmith/flagsmith-engine#88
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.5.1...v1.6.0
Version 1.5.1 (v1.5.1) - 2022-01-07
- fix(multivariate_feature_option): Add id by @gagantrivedi in Flagsmith/flagsmith-engine#74
- Add django_id to feature state schema by @matthewelwell in Flagsmith/flagsmith-engine#78
- fix(mv_fs_value):uuid field by @gagantrivedi in Flagsmith/flagsmith-engine#76
- Add engine tests by @matthewelwell in Flagsmith/flagsmith-engine#77
- fix(identity): dump identity features in a custom class by @gagantrivedi in Flagsmith/flagsmith-engine#81
- Fix/mv schema/allow none for id field by @gagantrivedi in Flagsmith/flagsmith-engine#80
- improve(fs/schema): Add validation for percentage allocation by @gagantrivedi in Flagsmith/flagsmith-engine#82
- release 1.5.1 by @gagantrivedi in Flagsmith/flagsmith-engine#75
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.5.0...v1.5.1
Version 1.5.0 (v1.5.0) - 2021-12-15
- feat(engine): move public environment function to engine (BREAKING CHANGE)
- feat(engine): Add support for hide_disabled_flags
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.4.3...v1.5.0
Version 1.4.3 (v1.4.3) - 2021-12-15
- fix(identity/schema): use dump_default instead of default by @gagantrivedi in Flagsmith/flagsmith-engine#65
- Allow custom identity schema by @matthewelwell in Flagsmith/flagsmith-engine#67
- feat(identity/model): Create custom class to hold identiy_features to basic checks by @gagantrivedi in Flagsmith/flagsmith-engine#69
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.4.2...v1.4.3
Version 1.4.2 (v1.4.2) - 2021-12-07
- Add integer IDs back to engine models by @matthewelwell in Flagsmith/flagsmith-engine#63
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.4.1...v1.4.2
Version 1.4.1 (v1.4.1) - 2021-12-07
- Upgrade marshmallow and pin in setup.py by @matthewelwell in Flagsmith/flagsmith-engine#60
- fix(ident/schema): allow none for django_id by @gagantrivedi in Flagsmith/flagsmith-engine#59
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.4.0...v1.4.1
Version 1.4.0 (v1.4.0) - 2021-12-06
- Refactor django transformation logic to location outside of the core engine by @matthewelwell in Flagsmith/flagsmith-engine#57
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.3.4...v1.4.0
Version 1.3.4 (v1.3.4) - 2021-12-02
- Fix json decimal encoder by @matthewelwell in Flagsmith/flagsmith-engine#54
- Fix feature states serialization for segments by @matthewelwell in Flagsmith/flagsmith-engine#51
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.3.3...v1.3.4
Version 1.3.3 (v1.3.3) - 2021-11-30
- feat(identity): Add uuid to identity model/schema by @gagantrivedi in Flagsmith/flagsmith-engine#46
- Fix segment evaluation by casting condition value appropriately by @matthewelwell in Flagsmith/flagsmith-engine#48
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.3.2...v1.3.3
Version 1.3.2 (v1.3.2) - 2021-11-30
- Fix segment condition deserialization when property is None by @matthewelwell in Flagsmith/flagsmith-engine#44
- Add some end to end tests by @matthewelwell in Flagsmith/flagsmith-engine#40
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.3.1...v1.3.2
Version 1.3.1 (v1.3.1) - 2021-11-29
- Fix segment condition serialization when
propertyis None by @matthewelwell in Flagsmith/flagsmith-engine#42 - Improve GitHub workflows by @matthewelwell in Flagsmith/flagsmith-engine#43
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.3.0...v1.3.1
Version 1.3.0 (v1.3.0) - 2021-11-26
- fix(ident/models): Allow trait value to support multiple type by @gagantrivedi in Flagsmith/flagsmith-engine#39
- fix(schema/load_to_model): allow model_class to be none by @gagantrivedi in Flagsmith/flagsmith-engine#38
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.2.0...v1.3.0
Version 1.2.0 (v1.2.0) - 2021-11-25
- Rename value -> feature_state_value for consistency by @matthewelwell in Flagsmith/flagsmith-engine#36
- feat(org/models): Add
get_unique_slugused for tracking by @gagantrivedi in Flagsmith/flagsmith-engine#29
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.1.0...v1.2.0
Version 1.1.0 (v1.1.0) - 2021-11-25
- Add update traits functionality by @matthewelwell in Flagsmith/flagsmith-engine#34
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v1.0.0...v1.1.0
Version 1.0.0 (v1.0.0) - 2021-11-25
- Add django_id attribute to identity document by @matthewelwell in Flagsmith/flagsmith-engine#27
- Remove dump from build model by @matthewelwell in Flagsmith/flagsmith-engine#31
- Move segment overrides to segment model by @matthewelwell in Flagsmith/flagsmith-engine#32
Full Changelog: https://github.com/Flagsmith/flagsmith-engine/compare/v0.1.2...v1.0.0
Version 0.1.2 (v0.1.2) - 2021-11-24
- Restrict dataclasses dependency to python<3.7