Releases: thetanz/OpenFeature-al
Releases · thetanz/OpenFeature-al
v3.4.0.0
v3.3.0.0
Fixed
- Extension somehow breaks other extensions install #18
- InherentPermissions to simplify permissions #13
- SetContext Operation exceeded time threshold (AL method) #11
Added
- Code documentation for public APIs, public enums and interfaces
IProvider_FF_TSL
andFeatureEvent_FF_TSL
become public to enable custom providersFeatureMgt_FF_TSL.OnAfterGetUserContext
event
Removed
Basic_FF_TSL
permissions set extension now handled using InherentPermissions
v3.2.1.0
v3.2.0.0
Added
- Catching
GetUserContext
response
Changed
- Feature ID validation to allow only alphanumeric characters
LoadFeatures
become try function to unblock user in case if some features have invalid ID
Fixed
- Extending
System Execute - Basic
instead ofSystem App - Basic
as a lowest level permission set Basic
andAdmin
permissionsetextension reworked to include indirect permissions
v3.1.0.0
v3.0.0.0
Added
ConditionProvider_FF_TSL
enables per environment conditional feature definition usingAddFeature
,AddCondition
andAddFeatureCondition
methods
// Add new feature with condition to be enabled only for users with email ending with '.nz'.
ConditionProvider.AddFeature('Stripe', '[Enables Stripe Integration](https://example.com/Stripe)');
User.SetFilter("Contact Email", '*.nz');
ConditionProvider.AddCondition('NZUserOnly', ConditionFunction_FF_TSL::UserFilter, User.GetView());
ConditionProvider.AddFeatureCondition('Stripe', 'NZUserOnly');
PostHogProvider_FF_TSL
enables feature definition using PostHog Feature Flags service
// App PostHog provider. It will load all available features automatically.
ISecretProvider := SecretProvider;
ISecretProvider.GetSecret('PostHogPersonalAPIKey', PersonalAPIKey);
ISecretProvider.GetSecret('PostHogProjectID', ProjectID);
if not PostHogProvider.AddProvider('THETA_POSTHOG', PersonalAPIKey, ProjectID) then
Error(GetLastErrorText());
- Only users with
Feature Mgt. - Admin
PermissionSet will be allowed to modify features enabled by a condition provider IProvider_FF_TSL
interface defined to abstract provider implementationIProvider_FF_TSL
interface now includes tracking of feature events:LearnMore
occurs when the user follows a learn more URLIsEnabled
occurs when the IsEnabled procedure is executed, and the feature is enabledIsDisabled
occurs when the IsEnabled procedure is executed, and the feature is disabled
Changed
- Changes incompatible with a previous version
Removed
- Ability to add features manually using
Features
page