Skip to content

Commit c18abf7

Browse files
authoredOct 1, 2024
release(main): Altinn.Platform.Models 2.0.0
1 parent 1ba6f9c commit c18abf7

File tree

4 files changed

+26
-3
lines changed

4 files changed

+26
-3
lines changed
 

‎.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"src/Altinn.Platform.Models":"1.6.1"}
1+
{"src/Altinn.Platform.Models":"2.0.0"}
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Changelog
2+
3+
## [2.0.0](https://github.com/Altinn/altinn-register/compare/Altinn.Platform.Models-1.6.1...Altinn.Platform.Models-v2.0.0) (2024-10-01)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* This change enables nullable reference types in Altinn.Platform.Models. All reference types are set as nullable by default and is likely to cause consumers of this library to get compiler warnings where they previously did not. Eventually, some of these properties will be set as non-nullable. We do not consider this a breaking change.
9+
* This change makes all lists in Altinn.Platform.Models `IReadOnlyList<T>` instead of `List<T>`. This is to enable us to change the implementation of these lists in the future without breaking consumers of the library. The list properties are still writable, so the entire list can be replaced if for some reason that is needed.
10+
* The `LanguageType` property in `ProfileSettingPreference` is marked obsolete. It is a set-only property which just proxies to the `Language` property and is only present for historical reasons. It will eventually be removed.
11+
* Altinn.Platform.Models now targets .net 8.0. This means that consumers of this library must also target .net 8.0 or later.
12+
13+
### Features
14+
15+
* enable nullable reference types in Altinn.Platform.Models ([fefaa3d](https://github.com/Altinn/altinn-register/commit/fefaa3d774a0f139c6563fb611a426403d239056))
16+
* make lists in Altinn.Platform.Models `IReadOnlyList&lt;T&gt;` ([fefaa3d](https://github.com/Altinn/altinn-register/commit/fefaa3d774a0f139c6563fb611a426403d239056))
17+
* make most types record ([fefaa3d](https://github.com/Altinn/altinn-register/commit/fefaa3d774a0f139c6563fb611a426403d239056))
18+
19+
20+
### Miscellaneous Chores
21+
22+
* make Altinn.Platform.Models target .net 8.0 ([fefaa3d](https://github.com/Altinn/altinn-register/commit/fefaa3d774a0f139c6563fb611a426403d239056))
23+
* mark `LanguageType` in `ProfileSettingPreference` obsolte ([fefaa3d](https://github.com/Altinn/altinn-register/commit/fefaa3d774a0f139c6563fb611a426403d239056))
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<Version>1.6.1</Version>
4+
<Version>2.0.0</Version>
55
</PropertyGroup>
66

77
</Project>
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.6.1
1+
2.0.0

0 commit comments

Comments
 (0)