Skip to content

Releases: linkdotnet/StringBuilder

v1.4.1

04 Nov 19:30
Compare
Choose a tag to compare

Added

  • Smaller internal API improvements
  • Smaller performance improvements

v1.4.0

11 Oct 16:42
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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.

v0.9.5

10 Apr 15:26
4578f1d
Compare
Choose a tag to compare

Added

  • IndexOf methods to retrieve the index of the first occurence of a word.
  • Capacity to give the user an indication if the internal array will grow soon.
  • EnsureCapacity to set the buffer size to avoid re-allocation in a hot path.

Fixed

  • Some methods throw the wrong exception. When an index is "invalid" then a ArgumentOutOfRange exception is thrown.

v0.9.4

09 Apr 14:58
Compare
Choose a tag to compare

As well as the other releases, this release will add more API calls.

Added

  • Added AppendJoin methods.

v0.9.3

09 Apr 09:48
Compare
Choose a tag to compare

Smaller release which adds more functions to the library.

Added

  • Added Replace methods which also tries to have the least amount of allocations.
  • Added GetPinnableReference which allows to get the content via the fixed keyword.