Skip to content

Releases: thetanz/OpenFeature-al

v3.4.0.0

24 Jul 21:03
75db59d
Compare
Choose a tag to compare

Added

  • PostHogProvider_FF_TSL.OnBeforeSendRequest event to enable PostHog Service mocking from a test app

Changed

  • Validate flags on demand for a background session #21

v3.3.0.0

14 Jul 06:14
228762a
Compare
Choose a tag to compare

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 and FeatureEvent_FF_TSL become public to enable custom providers
  • FeatureMgt_FF_TSL.OnAfterGetUserContext event

Removed

  • Basic_FF_TSL permissions set extension now handled using InherentPermissions

v3.2.1.0

28 Jun 04:13
91d843d
Compare
Choose a tag to compare

Fixed

  • The User does not exist. Identification fields and values: User Security ID='{00000000-0000-0000-0000-000000000001}' fixed
  • Provider_FF_TSL(Table 70254346).ConnectionInfo operation exceeded time threshold (SQL query) fixed #12
  • Failed to copy environment #17

v3.2.0.0

09 Jun 08:22
9da7a3a
Compare
Choose a tag to compare

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 of System App - Basic as a lowest level permission set
  • Basic and Admin permissionsetextension reworked to include indirect permissions

v3.1.0.0

30 May 13:43
Compare
Choose a tag to compare

Fixed

  • Install\Upgrade fails with ApplicationArea calculation (#10)
  • Failed to AddProvider when there are user with invalid authentication email
  • Install\Upgrade fails with transaction inside TryFunction error

Changed

  • Feature page always reloads features from providers

v3.0.0.0

20 May 03:13
Compare
Choose a tag to compare

Added

  • ConditionProvider_FF_TSL enables per environment conditional feature definition using AddFeature, AddCondition and AddFeatureCondition 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');
// 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 implementation
  • IProvider_FF_TSL interface now includes tracking of feature events:
    • LearnMore occurs when the user follows a learn more URL
    • IsEnabled occurs when the IsEnabled procedure is executed, and the feature is enabled
    • IsDisabled 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