Skip to content

Commit e4f9bb9

Browse files
committed
Write release notes.
1 parent 23b6dd4 commit e4f9bb9

File tree

4 files changed

+20
-21
lines changed

4 files changed

+20
-21
lines changed

RELEASE_NOTES.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Release notes
22

3+
## What's new in 1.5.0 January 23 2020
4+
### Fixes:
5+
* IsDefined/GetAttribute(s) properly handle get of attribute when dealing inheriting attributes.
6+
7+
### New:
8+
* All ImmediateReflection types are serializable via C# standard serialization.
9+
10+
### Misc:
11+
* JetBrains.Annotations are no more embedded in the assembly, replaced by a private reference to official NuGet.
12+
* Minor optimization.
13+
314
## What's new in 1.4.1 September 2 2019
415
### Fixes:
516
* Properly handle null parameter for Copy and TryCopy (return null).

src/ImmediateReflection.Benchmark/ImmediateReflection.Benchmark.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
88
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
99

10-
<Title>ImmediateReflection</Title>
10+
<Title>ImmediateReflection.Benchmark</Title>
1111

1212
<Version>1.0.0</Version>
1313
<AssemblyVersion>1.0.0</AssemblyVersion>

src/ImmediateReflection/Compatibility/EnumerableUtils.cs

-16
Original file line numberDiff line numberDiff line change
@@ -95,22 +95,6 @@ public static IEnumerable<T> Empty<T>()
9595
return EmptyEnumerable<T>.Instance;
9696
}
9797

98-
/// <summary>
99-
/// Gets an enumerable and return it as a enumerable sequence.
100-
/// </summary>
101-
/// <typeparam name="T">Element type.</typeparam>
102-
/// <param name="source">Source enumerable.</param>
103-
/// <returns>Enumerable.</returns>
104-
[Pure]
105-
[NotNull, ItemNotNull]
106-
public static IEnumerable<T> AsEnumerable<T>([NotNull, ItemNotNull] IEnumerable<T> source)
107-
{
108-
Debug.Assert(source != null);
109-
110-
foreach (T element in source)
111-
yield return element;
112-
}
113-
11498
#region Buffer helper
11599

116100
/// <summary>

src/ImmediateReflection/ImmediateReflection.csproj

+8-4
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,16 @@ See benchmarks here: https://kernelith.github.io/ImmediateReflection/documentati
3939

4040
<IsPackable>true</IsPackable>
4141
<PackageId>ImmediateReflection</PackageId>
42-
<PackageReleaseNotes>➟ Release 1.4.1
42+
<PackageReleaseNotes>➟ Release 1.5.0
4343
Fixes:
44-
- Properly handle null parameter for Copy and TryCopy (return null).
44+
- IsDefined/GetAttribute(s) properly handle get of attribute when dealing inheriting attributes.
4545

46-
Changes:
47-
- Copy and TryCopy consider string and Type as copyable types and return themselves if asked.</PackageReleaseNotes>
46+
New:
47+
- All ImmediateReflection types are serializable via C# standard serialization.
48+
49+
Misc:
50+
- JetBrains.Annotations are no more embedded in the assembly, replaced by a private reference to official NuGet.
51+
- Minor optimization.</PackageReleaseNotes>
4852
<PackageTags>C# Reflection Fast Immediate Performance Delegate Dynamic</PackageTags>
4953

5054
<PublishRepositoryUrl>true</PublishRepositoryUrl>

0 commit comments

Comments
 (0)