Skip to content

Commit ad66a96

Browse files
committed
v1.6.0
1 parent 867d483 commit ad66a96

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v1.6.0 (26 January 2025)
2+
- [#884](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/884) - By default the RestrictOrderByToPropertyOrField is now set to true in the ParsingConfig [feature] contributed by [StefH](https://github.com/StefH)
3+
- [#867](https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/867) - CVE-2024-51417: System.Linq.Dynamic.Core allows remote access to properties on reflection types and static properties/fields [bug]
4+
15
# v1.6.0-preview-03 (25 January 2025)
26
- [#876](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/876) - Update and Fix SecurityTests [test] contributed by [mariusz96](https://github.com/mariusz96)
37
- [#882](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/882) - ExpressionParser: add 2nd ctor with an extra non-optional parameter [feature] contributed by [StefH](https://github.com/StefH)

Diff for: Generate-ReleaseNotes.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
rem https://github.com/StefH/GitHubReleaseNotes
22

3-
SET version=v1.6.0-preview-03
3+
SET version=v1.6.0
44

55
GitHubReleaseNotes --output CHANGELOG.md --exclude-labels invalid question documentation wontfix environment duplicate --language en --version %version% --token %GH_TOKEN%

Diff for: README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,17 @@ public class MyCustomClass
4949
If it's not possible to add that attribute, you need to implement a custom [CustomTypeProvider](https://dynamic-linq.net/advanced-configuration#customtypeprovider) and set this to the `ParsingConfig` and provide that config to all dynamic calls.
5050
Or provide a list of addtional types in the [DefaultDynamicLinqCustomTypeProvider.cs](https://github.com/zzzprojects/System.Linq.Dynamic.Core/blob/master/src/System.Linq.Dynamic.Core/CustomTypeProviders/DefaultDynamicLinqCustomTypeProvider.cs).
5151

52-
### v1.6.0-preview-01, 02, 03
52+
### v1.6.0
5353
#### Change 1
5454
It's not allowed anymore to call any methods on the `object` type. By default also the `ToString` and `Equals` methods are not allowed.
55-
To allow these methods set `AllowEqualsAndToStringMethodsOnObject` to `true` in the `ParsingConfig` and provide that config to all dynamic calls.
5655
This is done to mitigate the risk of calling methods on the `object` type which could lead to security issues (CVE-2024-51417).
56+
To allow these methods set `AllowEqualsAndToStringMethodsOnObject` to `true` in the `ParsingConfig` and provide that config to all dynamic calls.
5757

5858
#### Change 2
5959
By default the `RestrictOrderByToPropertyOrField` is now set to `true` in the `ParsingConfig`.
6060
Which means that only properties and fields can be used in the `OrderBy` / `ThenBy`.
6161
This is done to mitigate the risk of calling methods or other expressions in the `OrderBy` / `ThenBy` which could lead to security issues.
62+
To allow these methods set `RestrictOrderByToPropertyOrField` to `false` in the `ParsingConfig` and provide that config to all dynamic calls.
6263

6364
---
6465

Diff for: version.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup>
3-
<PatchVersion>0-preview-03</PatchVersion>
3+
<PatchVersion>0</PatchVersion>
44
</PropertyGroup>
55
</Project>

0 commit comments

Comments
 (0)