Skip to content

Releases: linkdotnet/StringBuilder

v1.6.0

10 Nov 19:38
f2c42cf

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

Choose a tag to compare

Added

  • Hot path optimization for strings

v1.5.0

05 Nov 20:07

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

v1.4.1

04 Nov 19:30

Choose a tag to compare

Added

  • Smaller internal API improvements
  • Smaller performance improvements

v1.4.0

11 Oct 16:42

Choose a tag to compare

Added

  • Added the scoped keyword to simplify code and allow more scenarios for the user

Fixed

  • Grow allowed values, which would truncate the internally represented string

v1.3.0

25 Jul 16:27

Choose a tag to compare

Fixed

  • Fixed an issue where memory is not returned to the ArrayPool
  • Fixed an issue where memory could be overwritten, giving the chance to tamper with the internal array

v1.2.0

20 Apr 06:47

Choose a tag to compare

Added

  • ValueStringBuilder constructor can take initial buffer instead of creating it itself.
  • More compiler hints for inlining.

v1.1.0

16 Apr 06:23
c821342

Choose a tag to compare

Added

  • Contains method.

Fixed

  • Smaller tweaks in CI/CD
  • IndexOf and LastIndexOf did not return 0 when passing an empty string. Now it is aligned to string.IndexOf.

Removed

  • Debug symbol package (snupkg) due to the many constraints of NuGet.org

v1.0.1

13 Apr 12:03

Choose a tag to compare

Added

  • Enabled some optimization hints for the compiler.
  • Include debug symbols when publishing to NuGet for easier debugging experience

v1.0.0

12 Apr 16:44

Choose a tag to compare

Added

  • LastIndexOf to find the last occurence in the represented string.
  • ReplaceGeneric<T> added for generic replacement in the string builder. Can have performance / allocation penalties in comparison to the non-generic version.