Repository navigation
Releases
v10.1.0.1
Binaries are available on NuGet:
https://www.nuget.org/packages/StringBuilderArray/10.1.0.1
What's Changed
- Fix #7
Full Changelog: v10.1.0.0...v10.1.0.1
v10.1.0.0
Binaries are available on NuGet:
https://www.nuget.org/packages/StringBuilderArray/10.1.0.0
What's Changed
-
The
GetIndexmethod has been removed. Its behavior was unpredictable, including due to the splitting of the interpolated string into substrings, which occurred without the library user’s knowledge. Therefore, the method was removed.
For example:
If we callsb.Append($"Some{i}Text"), then inside the string builder we won’t have one string“Some1Text”, but three:“Some”,“1”,“Text”. What index should theGetIndex("1")method return? And how can we ensure consistent behavior in .NET10 and netstandard 2.0 if one has the ability to intercept interpolation while the other doesn’t? For these reasons, we had to abandon “GetIndex”. It was also not entirely clear how and why to use it. -
The “InsertByIndex” method has been added to replace the removed “Insert”. The parameters accept the character index in the string builder. The IndexDirection parameter is also accepted, indicating from which end or from which beginning the index should be counted.
-
The insertion behavior is set to match the behavior of the “Insert” methods for strings.
- Tests and fixes for the behaviors they identified were also added. For example, breaking a linked list or inserting elements in the wrong address.
Full Changelog: v10.0.1.0...v10.1.0.0
v10.0.1.0
Binaries are available on NuGet:
https://www.nuget.org/packages/StringBuilderArray/10.0.1.0
What's Changed
- Fix IndexOutOfRangeException in GetIndex by @armadavalor in #5
New Contributors
- @armadavalor made their first contribution in #5
Full Changelog: v10.0.0.0...v10.0.1.0
v10.0.0.0
Binaries are available on NuGet:
https://www.nuget.org/packages/StringBuilderArray/10.0.0.0
- Update .NET
v1.3.5.1
Binaries are available on NuGet:
https://www.nuget.org/packages/StringBuilderArray/1.3.5.1
- InterpolatedStringHandler for methods(Append,AppendLine, Insert)
v1.3.0.0
Binaries are available on NuGet:
https://www.nuget.org/packages/StringBuilderArray/1.3.0.0
- Added search and insert methods by index
v1.2.1.0
Binaries are available on NuGet:
https://www.nuget.org/packages/StringBuilderArray/1.2.1.0
- Fix: Circular reference
v1.2.0.0
Binaries are available on NuGet:
https://www.nuget.org/packages/StringBuilderArray/1.2.0.0
- Added Enumerator
v1.1.1.0
Binaries are available on NuGet:
https://www.nuget.org/packages/StringBuilderArray/1.1.1.0
- Support NativeAOT: for .NET 6+
v1.1.0.0
Binaries are available on NuGet:
https://www.nuget.org/packages/StringBuilderArray/1.1.0.0
- Clear method and possibility reuse instance