From e4f9bb90e7d6868fa0508539c74fb8a17e6af736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20Rab=C3=A9rin?= Date: Thu, 23 Jan 2020 10:01:26 +0100 Subject: [PATCH] Write release notes. --- RELEASE_NOTES.md | 11 +++++++++++ .../ImmediateReflection.Benchmark.csproj | 2 +- .../Compatibility/EnumerableUtils.cs | 16 ---------------- .../ImmediateReflection.csproj | 12 ++++++++---- 4 files changed, 20 insertions(+), 21 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 3fd1b60..3b483fa 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,16 @@ # Release notes +## What's new in 1.5.0 January 23 2020 +### Fixes: +* IsDefined/GetAttribute(s) properly handle get of attribute when dealing inheriting attributes. + +### New: +* All ImmediateReflection types are serializable via C# standard serialization. + +### Misc: +* JetBrains.Annotations are no more embedded in the assembly, replaced by a private reference to official NuGet. +* Minor optimization. + ## What's new in 1.4.1 September 2 2019 ### Fixes: * Properly handle null parameter for Copy and TryCopy (return null). diff --git a/src/ImmediateReflection.Benchmark/ImmediateReflection.Benchmark.csproj b/src/ImmediateReflection.Benchmark/ImmediateReflection.Benchmark.csproj index 71a8782..89ba696 100644 --- a/src/ImmediateReflection.Benchmark/ImmediateReflection.Benchmark.csproj +++ b/src/ImmediateReflection.Benchmark/ImmediateReflection.Benchmark.csproj @@ -7,7 +7,7 @@ false true - ImmediateReflection + ImmediateReflection.Benchmark 1.0.0 1.0.0 diff --git a/src/ImmediateReflection/Compatibility/EnumerableUtils.cs b/src/ImmediateReflection/Compatibility/EnumerableUtils.cs index c159b1a..c8f9bab 100644 --- a/src/ImmediateReflection/Compatibility/EnumerableUtils.cs +++ b/src/ImmediateReflection/Compatibility/EnumerableUtils.cs @@ -95,22 +95,6 @@ public static IEnumerable Empty() return EmptyEnumerable.Instance; } - /// - /// Gets an enumerable and return it as a enumerable sequence. - /// - /// Element type. - /// Source enumerable. - /// Enumerable. - [Pure] - [NotNull, ItemNotNull] - public static IEnumerable AsEnumerable([NotNull, ItemNotNull] IEnumerable source) - { - Debug.Assert(source != null); - - foreach (T element in source) - yield return element; - } - #region Buffer helper /// diff --git a/src/ImmediateReflection/ImmediateReflection.csproj b/src/ImmediateReflection/ImmediateReflection.csproj index 87bdb47..b3ee6f5 100644 --- a/src/ImmediateReflection/ImmediateReflection.csproj +++ b/src/ImmediateReflection/ImmediateReflection.csproj @@ -39,12 +39,16 @@ See benchmarks here: https://kernelith.github.io/ImmediateReflection/documentati true ImmediateReflection - ➟ Release 1.4.1 + ➟ Release 1.5.0 Fixes: -- Properly handle null parameter for Copy and TryCopy (return null). +- IsDefined/GetAttribute(s) properly handle get of attribute when dealing inheriting attributes. -Changes: -- Copy and TryCopy consider string and Type as copyable types and return themselves if asked. +New: +- All ImmediateReflection types are serializable via C# standard serialization. + +Misc: +- JetBrains.Annotations are no more embedded in the assembly, replaced by a private reference to official NuGet. +- Minor optimization. C# Reflection Fast Immediate Performance Delegate Dynamic true