-
Enforcer 4.1.0
Supported- Date Posted
- 01 August 2024
- Version
- 4.1.0
Features
Introduced shared conditions. Shared conditions allow pieces of conditional logic to be written once and re-used in rule/policy and policyset condition and target clauses. In addition to reusing logic, naming pieces of logic makes ALFA even more readable.
See documentation for more info.
-
Enforcer 4.0.0
Supported- Date Posted
- 01 January 2024
- Version
- 4.0.0
Features
- .NET 8 Support
- Shared Rules
- Pre-compile policies before the first request for a quicker first evaluation
- Visual Studio and Visual Studio Code tooling, improved IntelliSense
-
Enforcer 3.0.2
Supported- Date Posted
- 22 November 2023
- Version
- 3.0.2
Bug Fixes
If an Attribute Value Provider, that requires a HTTPContext is used without a HTTPContext being present then the policy evaluation can fail with a Null Reference Exception. This prevents a call to the PEP at startup to pre-compile the policies. This has now been resolved
The following code can now be used to pre-compile the policies
var scope = app.Services.CreateScope();
IPolicyEnforcementPoint pep = scope
.ServiceProvider
.GetRequiredService<IPolicyEnforcementPoint>();
var warmUpResult = pep.Evaluate(new DynamicAttributeValueProvider()).Result;
-
Enforcer 3.0.0
Supported- Date Posted
- 31 August 2023
- Version
- 3.0.0
Features
- Improved IDE tools, VSCode and Visual Studio 2022
- Goto definition, policies and attributes
- Refactoring, global renaming of policies and attributes
- Find all references to policies and attributes
- Code lens - number of usages
- Hover over call sites to obtain insight into parameters
- Cancellation support throughout APIs
- Function call definitions allow arguments to be named for greater clarity at the call site
- Alfa files now get compiled as separate files. Produces more accurate compiler error location
Other
Note 3.0 has breaking changes with 2.x. Changes to Policy Store and cancellation has changed some APIs.
-
Enforcer 2.1.0
Supported- Date Posted
- 27 June 2023
- Version
- 2.1.0
Features
- Dynamic policy root, useful for solutions wishing to select root policy based on tenant
- Visual Studio 2022 ALFA plugin
-
Enforcer 2.0.0
Supported- Date Posted
- 06 April 2023
- Version
- 2.0.0
Features
- Support for remote invocation of the PDP. Provides HTTP endpoint to invoke PDP, allowing policies to be executed from any platform and centralised in a single policy server.
- Implicit conversion of single values to bags when binding to a function parameter of type bag
Other
See the documentation and the sample code to use Enforcer in a distributed architecture.
-
Enforcer 1.4.0
Supported- Date Posted
- 11 November 2022
- Version
- 1.4.0
Features
- Support for .NET 7
- StartsWith, EndsWith, Contains can now take a bag as the query
Bug Fixes
- Fixed precedence issue with 'not' operator
- not first and second, resulted in not (first and second) as opposed to (not first) and (second)
-
Enforcer 1.3.1
Supported- Date Posted
- 22 August 2022
- Version
- 1.3.1
Bug Fixes
- Fixes variable argument binding when no variable arguments are supplied
E.g. Concatenate("first", "second") would fail to bind whereas
Concatenate("first","second","third") would bind
-
Enforcer 1.1.5
Supported- Date Posted
- 07 May 2021
- Version
- 1.1.5
Bug Fixes
- Restored compatibility with RSK.Enforcer.AspNetCore which was broken in 1.1.4
-
Enforcer 1.1.4
Supported- Date Posted
- 04 March 2021
- Version
- 1.1.4
Features
- Supports .NET Framework 4.6.1+
-
Enforcer 1.1.3
Unsupported- Date Posted
- 24 February 2021
- Version
- 1.1.3
Features
- 5 x speed up in record based attribute provider
-
Enforcer 1.1.0
Unsupported- Date Posted
- 02 February 2021
- Version
- 1.1.0
Features
- Support for API Deny handlers
- Http Attribute Value Provider