Skip to content

Commit

Permalink
v2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kermalis committed Jun 8, 2024
1 parent 56d24ad commit 1bd178e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Kermalis
Copyright (c) 2024 Kermalis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
17 changes: 8 additions & 9 deletions Source/EndianBinaryIO.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFrameworks>net7.0;net8.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<OutputType>Library</OutputType>
<RootNamespace>Kermalis.EndianBinaryIO</RootNamespace>
<Nullable>enable</Nullable>
<NoWarn>IDE0270,IDE0290</NoWarn>

<Authors>Kermalis</Authors>
<Copyright>Kermalis</Copyright>
<Product>EndianBinaryIO</Product>
<Title>EndianBinaryIO</Title>
<PackageId>EndianBinaryIO</PackageId>
<AssemblyName>EndianBinaryIO</AssemblyName>
<Version>2.1.0</Version>
<Version>2.1.1</Version>
<RepositoryUrl>https://github.com/Kermalis/EndianBinaryIO</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Description>This .NET library provides a simple API to read/write bytes from/to streams and spans using user-specified endianness.
Expand All @@ -28,13 +29,11 @@ Project URL and Samples ― https://github.com/Kermalis/EndianBinaryIO</Descript
<PackageTags>Serialization;Reflection;Endianness;LittleEndian;BigEndian;EndianBinaryIO</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageReleaseNotes># Version 2.1.0 Changelog:
* .NET 7.0 support only.
* Added methods for reading/writing `Int128`/`UInt128`.
* Added `TrimNullTerminators(ref ReadOnlySpan&lt;char&gt; chars)` to `EndianBinaryPrimitives`.
* Added "unsafe" methods to `EndianBinaryPrimitives` that read/write to/from `ReadOnlySpan&lt;T&gt;`/`Span&lt;T&gt;`. These are similar to their non-`_Unsafe` counterparts, aside from the fact that they don't check for errors. Their goal is performance.
<PackageReleaseNotes># Version 2.1.1 Changelog:
* .NET 7.0 and .NET 8.0 support.
* Small optimization when reading empty strings.

No breaking changes from v2.0.1</PackageReleaseNotes>
No breaking changes from v2.1.0</PackageReleaseNotes>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand All @@ -61,4 +60,4 @@ No breaking changes from v2.0.1</PackageReleaseNotes>
</None>
</ItemGroup>

</Project>
</Project>
8 changes: 4 additions & 4 deletions Testing/EndianBinaryTesting.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFrameworks>net7.0;net8.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<RootNamespace>Kermalis.EndianBinaryIOTests</RootNamespace>
<IsPackable>false</IsPackable>
Expand All @@ -14,9 +14,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 1bd178e

Please sign in to comment.