Skip to content

Commit

Permalink
Write release notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
KeRNeLith committed Jan 23, 2020
1 parent 23b6dd4 commit e4f9bb9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 21 deletions.
11 changes: 11 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

<Title>ImmediateReflection</Title>
<Title>ImmediateReflection.Benchmark</Title>

<Version>1.0.0</Version>
<AssemblyVersion>1.0.0</AssemblyVersion>
Expand Down
16 changes: 0 additions & 16 deletions src/ImmediateReflection/Compatibility/EnumerableUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,22 +95,6 @@ public static IEnumerable<T> Empty<T>()
return EmptyEnumerable<T>.Instance;
}

/// <summary>
/// Gets an enumerable and return it as a enumerable sequence.
/// </summary>
/// <typeparam name="T">Element type.</typeparam>
/// <param name="source">Source enumerable.</param>
/// <returns>Enumerable.</returns>
[Pure]
[NotNull, ItemNotNull]
public static IEnumerable<T> AsEnumerable<T>([NotNull, ItemNotNull] IEnumerable<T> source)
{
Debug.Assert(source != null);

foreach (T element in source)
yield return element;
}

#region Buffer helper

/// <summary>
Expand Down
12 changes: 8 additions & 4 deletions src/ImmediateReflection/ImmediateReflection.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,16 @@ See benchmarks here: https://kernelith.github.io/ImmediateReflection/documentati

<IsPackable>true</IsPackable>
<PackageId>ImmediateReflection</PackageId>
<PackageReleaseNotes>➟ Release 1.4.1
<PackageReleaseNotes>➟ 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.</PackageReleaseNotes>
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.</PackageReleaseNotes>
<PackageTags>C# Reflection Fast Immediate Performance Delegate Dynamic</PackageTags>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand Down

0 comments on commit e4f9bb9

Please sign in to comment.