Skip to content

Commit 419c660

Browse files
elinohlssonElin Fokine
andauthored
Release version 11.0.0 RC 1 (#497)
* Updated breaking changes for v 11. * Increase version number and add version suffix. --------- Co-authored-by: Elin Fokine <ElinO@activesolution.se>
1 parent 465dfb3 commit 419c660

3 files changed

Lines changed: 37 additions & 4 deletions

File tree

BREAKINGCHANGES.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ___Note:___ We might, and will probably, miss to document some of this - if so -
77

88
## TOC
99

10+
* [Version 11.0.0](#version-1100)
1011
* [Version 10.0.0](#version-1000)
1112
* [Version 9.0.0](#version-900)
1213
* [Version 8.0.0](#version-800)
@@ -18,6 +19,37 @@ ___Note:___ We might, and will probably, miss to document some of this - if so -
1819

1920
---
2021

22+
23+
## Version 11.0.0
24+
25+
Breaking changes between version 11.0.0 and 10.0.0
26+
27+
### Upgrade to .NET 9
28+
We now require .NET 9 - so this requires you to upgrade your website that uses Active Login.
29+
30+
### Remove allowed risk Level
31+
Removed support for blocking auth and sign transactions based on risk level, since no longer supported by BankID. Use return risk instead and handle risk level in your application.
32+
```csharp
33+
services.Configure<BankIdAuthOptions>(options =>
34+
{
35+
options.BankIdReturnRisk = true;
36+
});
37+
```
38+
BankID provides futher information more about [Risk Indication](https://www.bankid.com/en/foretag/the-service/risk-indication).
39+
40+
### Change default client certificate in test environment
41+
We now use FPTestcert5_20240610.p12 as the default client certificate for the test environment instead of FPTestcert5_20240610-legacy.pfx. Use the code below to switch to an alternative certificate format.
42+
```csharp
43+
.AddBankId(bankId =>
44+
{
45+
bankId.UseTestEnvironment(clientCertificateFormat: TestCertificateFormat.PFX);
46+
});
47+
```
48+
49+
50+
---
51+
52+
2153
## Version 10.0.0
2254

2355
Breaking changes between version 10.0.0 and 9.0.0
@@ -27,6 +59,7 @@ Breaking changes between version 10.0.0 and 9.0.0
2759
* Enum for setting policy instead of string
2860
* Replace embedded BankID certificate for the test environment FPTestcert4_20220818.p12, with the three new versions of the client certificate FPTestcert5_20240610.p12, FPTestcert5_20240610.pem and FPTestcert5_20240610-legacy.pfx. Make it configurable which version to use. For compatibility reasons use FPTestcert5_20240610-legacy.pfx by default.
2961

62+
3063
---
3164

3265

docs/articles/bankid.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,10 +478,10 @@ BankId options allows you to set and override some options such as the below req
478478
});
479479
```
480480

481-
If you want to apply some options for all BankID schemes, you can do so by using `.Configure(...)`.
481+
If you want to apply some options for all BankID schemes, you can do so by using `.Configure<BankIdAuthOptions>(...)`.
482482

483483
```csharp
484-
.Configure(options =>
484+
.Configure<BankIdAuthOptions>(options =>
485485
{
486486
options.BankIdRequireMrtd = true;
487487
options.BankIdReturnRisk = true;

src/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
<PackageId>$(AssemblyName)</PackageId>
1616

17-
<VersionPrefix>10.1.0</VersionPrefix>
18-
<!--<VersionSuffix>rc-1</VersionSuffix>-->
17+
<VersionPrefix>11.0.0</VersionPrefix>
18+
<VersionSuffix>rc-1</VersionSuffix>
1919
<AssemblyVersion>10.0.0.0</AssemblyVersion>
2020
<FileVersion Condition="'$(BUILD_BUILDNUMBER)' == ''">$(VersionPrefix).0</FileVersion>
2121
<FileVersion Condition="'$(BUILD_BUILDNUMBER)' != ''">$(VersionPrefix).$(BUILD_BUILDNUMBER)</FileVersion>

0 commit comments

Comments
 (0)