Sharpify 1.8.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sharpify --version 1.8.0
                    
NuGet\Install-Package Sharpify -Version 1.8.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sharpify" Version="1.8.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sharpify" Version="1.8.0" />
                    
Directory.Packages.props
<PackageReference Include="Sharpify" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sharpify --version 1.8.0
                    
#r "nuget: Sharpify, 1.8.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Sharpify@1.8.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sharpify&version=1.8.0
                    
Install as a Cake Addin
#tool nuget:?package=Sharpify&version=1.8.0
                    
Install as a Cake Tool

CHANGELOG

v1.8.0

  • AllocatedStringBuffer now has variation that accepts a char[] as input buffer, this version which also has a corresponding overload in StringBuffer.Create supports an implicit converter to ReadOnlyMemory<char>, intellisense will allow you to use this converter even you used Span<char> as a buffer, but doing so will cause an exception to be thrown, as a Span<char> can be stack allocated and won't be able to be referenced.
  • The method above paved the way to creating a FormatNonAllocated(TimeSpan), ToRemainingDurationNonAllocated(TimeSpan), ToTimeStampNonAllocated(TimeSpan), and FormatBytesNonAllocated(double), these overloads would format directly to span, and return a slice, this would completely bypass the string allocation, which would've otherwise caused large amounts of GC overhead in frequent calls.
  • Added ToArrayFast(List) and ToListFast(Array) extension methods, that efficiently create an array from list and the other way around.
  • SerializableObject<T> and MonitoredSerializableObject<T> now require a JsonTypeInfo<T> instead of a JsonSerializerContext to improve type safety, as the JsonSerializerContext overloads cannot verify that the context has any implementation for the type, potentially leading to exceptions at runtime.
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Sharpify:

Package Downloads
Sharpify.Data

An extension of Sharpify, focused on Data

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.1 493 11/18/2025
2.5.0 1,124 11/13/2024
2.4.0 4,058 10/21/2024
2.4.0-alpha 274 10/8/2024
2.2.0 669 7/26/2024
2.1.0 200 7/18/2024
2.0.0 310 6/3/2024
1.8.1 238 5/30/2024
1.8.0 224 4/17/2024
1.7.3 324 1/29/2024
1.7.2 207 1/23/2024
1.7.1 429 1/20/2024
1.7.0 188 1/20/2024
1.6.0 235 1/15/2024
1.5.0 261 1/10/2024
1.4.2 218 1/8/2024
1.4.1 290 1/4/2024
1.4.0 255 1/4/2024
1.3.1 228 12/31/2023
1.3.0 236 12/31/2023
1.2.0 234 12/24/2023
1.1.0 222 12/7/2023
1.0.9 185 12/7/2023
1.0.8 237 11/22/2023
1.0.7 203 9/23/2023
1.0.6 240 8/21/2023
1.0.5 289 5/4/2023
1.0.4 348 4/23/2023
1.0.3 291 4/19/2023
1.0.2 297 4/19/2023
1.0.1 294 4/14/2023
1.0.0 304 4/14/2023