-
Notifications
You must be signed in to change notification settings - Fork 13
/
CHANGELOG.txt
171 lines (146 loc) · 7.32 KB
/
CHANGELOG.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
5.0.0 [2022-11-22]
[+] Add .NET 6.0 support.
[-] Drop .NET Framework 4.0 support.
[-] Drop .NET 5.0 support.
[-] Drop ObjectUtils.CreateInstanceWithServiceProvider . Use ActivatorUtilities.CreateInstance .
[*] DictionaryUtils.GetValueOrDefault is only available for netstandard 1.6 and 2.0 .
[*] Fix ParseOrDefault for enums with ignore case.
[+] Add LeftJoin collection extension.
[+] Add ReadOnlySpan overloads for StringUtils.
[+] Add parse or default methods for DateTimeOffset and DateOnly types.
[+] Add DateOnly overloads in DateTimeUtils.
4.1.0 [2021-11-25]
[+] Add .NET 5.0 target.
[+] Add Pairwise to collection utils.
[*] Fix MetadataDto class deserialization for System.Text.Json for .NET 5.0 .
[*] Add more nullable reference type annotations.
[*] StringUtils.ParseOrDefault for enums now has Enum type constrain.
4.0.0 [2021-04-06]
[*] CollectionUtils.OrderMultiple now makes case insensitive keys search.
[*] CollectionUtils.Diff now has overload with IEqualityComparer with much better performance.
[*] CollectionUtils.Diff accepts delegate instead of IComparer interface.
3.3.1 [2021-01-20]
[*] Fix StringUtils.ParseOrDefaultExtended NRE if null value.
3.3.0 [2020-11-30]
[*] Rename StringUtils.ParseOrDefault extended method for bool to StringUtils.ParseOrDefaultExtended .
[+] New method DateTimeUtils.Add . It allows add specific amount of period "DateTimePeriod" to date.
[*] DateTimeUtils.GetDiff now returns negative values.
[*] DateTimeUtils.GetRange now returns reverse collection if "from" date is greater than "to" date.
[+] Add DateTimeUtils overloads for DateTimeOffset: GetRange, Add, GetStartOfPeriod, GetEndOfPeriod, Truncate.
[+] Add CollectionUtils.ChunkSelectRangeAsync for IAsyncEnumerable.
[*] Make parameter update of CollectionUtils.ApplyDiff optional.
[*] Improve CollectionUtils chunk select methods validation.
3.2.2 [2020-07-06]
[+] Add extension method ICollection<T>.Add that allows adding enumerable.
[*] InvalidOrderFieldException now returns all available fields to order by.
[*] Fix OrderMultiple call for queryables.
3.2.0 [2020-06-23]
[+] Add netstandard 2.1 support.
[+] The package is built with nullable reference type annotations.
[-] Remove AtomicUtils.SafeSwap .
[*] Use Count() call for enumerable ChunkSelectRange because it has much more effective implementation.
[+] Add constructor to DiffResult.
[*] CollectionUtils.OrderMultiple generates InvalidOrderFieldException instead of InvalidOperationException.
[*] CollectionUtils.OrderMultiple allows duplicating selector keys.
[*] Overall code clean up.
[*] Spelling fixes.
[*] Fix DiffResultUpdatedItems.GetHashCode .
3.1.1 [2019-12-28]
[*] OrderParsingDelegates.ParseSeparated returns empty collection if string is empty.
[*] CollectionUtils.OrderMultiple returns unsorted collection if orderEntries is empty.
3.1.0 [2019-12-03]
[*] Use DiffResultUpdatedItems{T} for Diff{T} instead of tuples.
[-] Remove CollectionUtils.OrderMultiple support for net40.
[*] Fix net40 support.
[+] Add deconstruct for Diff{T}.
[*] Fix pagination Empty result.
3.0.0 [2019-12-01]
[-] Drop support for net452 and net461.
[+] Add method to diff collections CollectionUtils.Diff and CollectionUtils.ApplyDiff .
[+] Add method to apply collection sorting with one call CollectionUtils.OrderMultiple .
[+] Make covariant IMetadataDto generic type parameters.
[+] Simplify metadata generation by introducing TotalCountListMetadataDto, OffsetLimitMetadataDto, PagedListMetadataDto.
[+] Add enum utils GetNamesWithDescriptions, GetValuesWithDescriptions.
[-] Remove string extensions methods.
[-] Remove ObjectUtils.CreateTypeFactory .
[*] Remove not needed dependencies.
2.0.1 [2019-03-13]
[*] Fix PagedListFactory.Empty and OffsetLimitListFactory.Empty exception.
2.0.0 [2019-02-27]
[*] Use Count for OffsetLimitList.FromSource .
[+] Add Empty method to pagination factories.
[+] Add shorthand Create method to pagination factories.
[*] Comments update.
[+] Memoize is thread-safe now.
[-] Remove SkipMemoizeException.
1.0.0 [2018-11-02]
[*] Fix pagination usage when page size is int.MaxSize .
[+] Add Exponential Backoff Normalized delay retry strategy to flow utils.
[*] Parameter firstFastRetry now adds extra attempt.
[-] Drop netstandard 1.2 support.
[+] SourceLink support.
0.4.8 [2018-07-12]
[+] Add DictionaryUtils.GetValueOrDefault and DictionaryUtils.GetValuesOrDefault for NameValueCollection.
[+] Add "on" and "off" values for bool ParseOrDefault.
[*] Fix DateTime truncation by weeks.
[+] Make ConvertBytesToString and ConvertStringToBytes public in SecurityUtils.
0.4.7 [2018-02-08]
[*] Fix FlowUtils.RetryAsync non async exception behavior for .NET 4.0 .
[+] Add EnglishUtils.PluralizeWithNumber and EnglishUtils.Pluralize .
[+] Add StringUtils.Capitalize .
[*] Instead of SortOrder use System.ComponentModel.ListSortDirection .
0.4.5 [2017-09-16]
[+] Add support .NET Standard 1.6 and .NET Standard 2.0 .
0.4.1 [2017-09-13]
[*] Fix datetime millisecond truncation.
[*] Change EnumUtils.GetDescription behavior when there is not Description attribute.
0.4.0 [2017-08-24]
[*] Improve pagination API. Instead of Wrap methods introduce ToMetadataObject and CastMetadataEnumerable.
[*] XML documentation fixes.
[+] Add Decade datetime period.
[*] Fix truncation for seconds, minutes, hours and date.
0.3.3 [2017-07-06]
[*] Guard.IsNotEmpty does not check white spaces anymore, use Guard.IsNotEmptyOrWhiteSpace .
0.3.2 [2017-07-05]
[+] Add CollectionUtils.DistinctBy method.
[+] Overall updates for Pagination namespace. Add EnumerableWithTotalCount, OffsetLimitEnumerable.
[*] Rename SortOrder.Asc and SortOrder.Desc.
0.3.0 [2017-06-29]
[+] A lot of refactoring and renamings.
[+] Add DateTimeUtils.Set method.
[*] Update Microsoft.NETCore.App to 1.1.1 .
[-] Remove DateTimeExtensions.IsHoliday and more other utils and extensions.
[+] Most of extension methods now have utils equivalent. Extensions are shortcuts for utils methods.
[+] Add ObjectUtils.CreateTypeFactory method.
[+] Add more CRC-32 and CRC-64 checks.
0.2.1 [2017-02-11]
[*] Rename DateTimeUtils.BeginOf to DateTimeUtils.StartOf .
[+] Add DateTimeUtils.Diff function.
[*] Docs update.
0.1.3 [2017-01-26]
[+] Add method PagedEnumerable.Map .
[*] Rename PagedExtensions.GetPaged to PagedExtensions.AsPage .
[*] Add PagedExtensions.AsOnePage method.
[+] Add Offset to PagedMetadata.
[+] Move DateTimePeriod out of DateTimeExtensions class.
[+] New DateTime extension method CompareTo with truncation.
[*] DateTimeExtensions.Truncate by months fix.
0.1.2 [2017-01-11]
[+] EnumExtensions.GetDescription for .NET 4.0 .
[+] Add DateTimePeriod.Week and DateTimePeriod.Year.
[+] Add CombineDateTime, BeginOf, EndOf, IsBetween and unix time stamp functions to DateTimeUtils.
[-] Remove BeginOfMonth and EndOfMonth functions in DateTimeUtils.
[*] Fix Memoize for composite keys.
[+] Add EnumExtensions.GetAttribute extension.
[*] Pagination refactor and improvements.
[+] Add CollectionsExtensions.FirstIndexMatch method.
0.1.1 [2016-12-16]
[+] FlowUtils.RetryAsync now uses ConfigureAwait false to call action.
[+] FlowUtils.RetryAsync now throws exception if retry limit is reached.
[*] Make DateTimeUtils.Range function public.
[*] Remove dependency System.Data.Common and some other extra dependencies.
[+] Add support for .NET Core 1.1, .NET Standard 1.2 .
[+] DictionaryExtensions.GetValueDefault now has defaultValue as default(TValue).
[+] Add support for .NET 4.0 .
0.1.0 [2016-11-13]
[+] Initial release.