Skip to content

Releases: linkdotnet/StringBuilder

v1.10.1

28 Nov 12:28
fd323d3
Compare
Choose a tag to compare

Changed

  • Minor changes and hints for the JIT

v1.10.0

20 Nov 09:58
e86baec
Compare
Choose a tag to compare

Added

  • Append(char* value, int length) overload.

Changed

  • Better exception when appending ISpanFormattable and buffer is not large enough.

v1.9.0

18 Nov 18:28
67bd592
Compare
Choose a tag to compare

Added

  • Added Equals(ReadOnlySpan<char>) overload

Changed

  • Slight improvement when appending nullable types to the string builder

v1.8.0

15 Nov 08:47
ad466c8
Compare
Choose a tag to compare

Added

  • implicit cast operator from string and ReadOnlySpan<char> to the ValueStringBuilder with pre-initialized buffer

Changed

  • various path optimizations for replace logic to use less allocations while being faster

Removed

  • Removed value type overloads for Append and Insert and just offer Append(ISpanFormattable) and Insert(ISpanFormattable), which covers more cases.

v1.7.0

12 Nov 22:47
Compare
Choose a tag to compare

Added

  • ToString(startIndex, length) to get a substring from the builder
  • Append(Guid guid) and Insert(Guid guid) as new overload
  • Added optional format string for Append and Insert

v1.6.2

11 Nov 17:26
Compare
Choose a tag to compare

Changed

  • Slight improvements for IndexOf methods

Fixed

  • Some of the exception had the wrong order (message and parameter name)

v1.6.1

11 Nov 09:02
2060cf8
Compare
Choose a tag to compare

Added

  • Added net7.0 target

Changed

  • Updated docs

v1.6.0

10 Nov 19:38
f2c42cf
Compare
Choose a tag to compare

Addeed

  • Added overload which allows an initial string for the ValueStringBuilder
  • Meziantou.Analyzer as developer dependency to spot issues early on
  • readonly hint's on readonly methods

Changed

  • Added StructLayout(LayoutKind.Auto), which makes the ValueStringBuilder not usable for unmanaged code

v1.5.1

05 Nov 21:08
Compare
Choose a tag to compare

Added

  • Hot path optimization for strings

v1.5.0

05 Nov 20:07
Compare
Choose a tag to compare

Added

  • New easy API for concatenating smaller strings or objects via ValueStringBuilder.Concat("Hello", " ", "World");
  • Smaller performance improvements in internal API's