Skip to content

Commit 03498e4

Browse files
author
LinkDotNet Bot
committed
Updating to newest release
2 parents 14cb7a4 + 58416df commit 03498e4

18 files changed

+139
-34
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/[email protected].4
25+
uses: actions/[email protected].7
2626

27-
- uses: actions/[email protected].0
27+
- uses: actions/[email protected].1
2828
with:
2929
dotnet-version: |
3030
6.0.x

.github/workflows/create-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121

2222
- name: Checkout repository
23-
uses: actions/[email protected].4
23+
uses: actions/[email protected].7
2424
with:
2525
token: ${{ secrets.SBPAT }}
2626
persist-credentials: true
@@ -34,7 +34,7 @@ jobs:
3434
path: ./CHANGELOG.md
3535

3636
- name: Setup dotnet
37-
uses: actions/[email protected].0
37+
uses: actions/[email protected].1
3838
with:
3939
dotnet-version: |
4040
6.0.x
@@ -43,7 +43,7 @@ jobs:
4343
9.0.x
4444
4545
- name: Update CHANGELOG file
46-
uses: thomaseizinger/keep-a-changelog-new-release@3.0.0
46+
uses: thomaseizinger/keep-a-changelog-new-release@3.1.0
4747
with:
4848
version: ${{ github.event.inputs.versionIncrement }}
4949

@@ -59,7 +59,7 @@ jobs:
5959
git push origin main
6060
6161
- name: Create release on GitHub
62-
uses: thomaseizinger/create-release@1.0.0
62+
uses: thomaseizinger/create-release@2.0.0
6363
env:
6464
GITHUB_TOKEN: ${{ secrets.SBPAT }}
6565
with:

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: windows-latest
1313

1414
steps:
15-
- uses: actions/[email protected].4
15+
- uses: actions/[email protected].7
1616

1717
- name: Setup .NET
18-
uses: actions/[email protected].0
18+
uses: actions/[email protected].1
1919
with:
2020
dotnet-version: |
2121
6.0.x

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/[email protected].4
15+
- uses: actions/[email protected].7
1616
- name: Setup .NET
17-
uses: actions/[email protected].0
17+
uses: actions/[email protected].1
1818
with:
1919
dotnet-version: |
2020
6.0.x

.github/workflows/update-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout repository
16-
uses: actions/[email protected].4
16+
uses: actions/[email protected].7
1717
with:
1818
token: ${{ secrets.SBPAT }}
1919
persist-credentials: false

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ All notable changes to **ValueStringBuilder** will be documented in this file. T
66

77
## [Unreleased]
88

9+
## [1.21.0] - 2024-09-20
10+
11+
### Added
12+
13+
- `PadLeft` and `PadRight` methods
14+
915
## [1.20.0] - 2024-05-02
1016

1117
### Added
@@ -400,7 +406,8 @@ This release brings extensions to the `ValueStringBuilder` API. For `v1.0` the `
400406

401407
- Initial release
402408

403-
[unreleased]: https://github.com/linkdotnet/StringBuilder/compare/1.20.0...HEAD
409+
[unreleased]: https://github.com/linkdotnet/StringBuilder/compare/1.21.0...HEAD
410+
[1.21.0]: https://github.com/linkdotnet/StringBuilder/compare/1.20.0...1.21.0
404411
[1.20.0]: https://github.com/linkdotnet/StringBuilder/compare/1.19.1...1.20.0
405412
[1.19.1]: https://github.com/linkdotnet/StringBuilder/compare/1.19.0...1.19.1
406413
[1.19.0]: https://github.com/linkdotnet/StringBuilder/compare/1.18.6...1.19.0

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.24.0.89429">
4+
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167">
55
<PrivateAssets>all</PrivateAssets>
66
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
77
</PackageReference>

src/LinkDotNet.StringBuilder/LinkDotNet.StringBuilder.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</PropertyGroup>
4141

4242
<ItemGroup>
43-
<PackageReference Include="Meziantou.Analyzer" Version="2.0.150">
43+
<PackageReference Include="Meziantou.Analyzer" Version="2.0.163">
4444
<PrivateAssets>all</PrivateAssets>
4545
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4646
</PackageReference>

src/LinkDotNet.StringBuilder/ValueStringBuilder.AppendFormat.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public ref partial struct ValueStringBuilder
1515
/// The current version does not allow for a custom format.
1616
/// So: <code>AppendFormat("{0:00}")</code> is not allowed and will result in an exception.
1717
/// </remarks>
18-
[MethodImpl(MethodImplOptions.AggressiveOptimization)]
18+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
1919
public void AppendFormat<T>(
2020
[StringSyntax(StringSyntaxAttribute.CompositeFormat)] ReadOnlySpan<char> format,
2121
T arg)
@@ -71,7 +71,7 @@ public void AppendFormat<T>(
7171
/// The current version does not allow for a custom format.
7272
/// So: <code>AppendFormat("{0:00}")</code> is not allowed and will result in an exception.
7373
/// </remarks>
74-
[MethodImpl(MethodImplOptions.AggressiveOptimization)]
74+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
7575
public void AppendFormat<T1, T2>(
7676
[StringSyntax(StringSyntaxAttribute.CompositeFormat)] ReadOnlySpan<char> format,
7777
T1 arg1,
@@ -139,7 +139,7 @@ public void AppendFormat<T1, T2>(
139139
/// The current version does not allow for a custom format.
140140
/// So: <code>AppendFormat("{0:00}")</code> is not allowed and will result in an exception.
141141
/// </remarks>
142-
[MethodImpl(MethodImplOptions.AggressiveOptimization)]
142+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
143143
public void AppendFormat<T1, T2, T3>(
144144
[StringSyntax(StringSyntaxAttribute.CompositeFormat)] ReadOnlySpan<char> format,
145145
T1 arg1,
@@ -213,7 +213,7 @@ public void AppendFormat<T1, T2, T3>(
213213
/// The current version does not allow for a custom format.
214214
/// So: <code>AppendFormat("{0:00}")</code> is not allowed and will result in an exception.
215215
/// </remarks>
216-
[MethodImpl(MethodImplOptions.AggressiveOptimization)]
216+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
217217
public void AppendFormat<T1, T2, T3, T4>(
218218
[StringSyntax(StringSyntaxAttribute.CompositeFormat)] ReadOnlySpan<char> format,
219219
T1 arg1,
@@ -293,7 +293,7 @@ public void AppendFormat<T1, T2, T3, T4>(
293293
/// The current version does not allow for a custom format.
294294
/// So: <code>AppendFormat("{0:00}")</code> is not allowed and will result in an exception.
295295
/// </remarks>
296-
[MethodImpl(MethodImplOptions.AggressiveOptimization)]
296+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
297297
public void AppendFormat<T1, T2, T3, T4, T5>(
298298
[StringSyntax(StringSyntaxAttribute.CompositeFormat)] ReadOnlySpan<char> format,
299299
T1 arg1,

src/LinkDotNet.StringBuilder/ValueStringBuilder.AppendJoin.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void AppendJoin<T>(ReadOnlySpan<char> separator, IEnumerable<T> values)
4242
public void AppendJoin<T>(char separator, IEnumerable<T> values)
4343
=> AppendJoinInternalChar(separator, values);
4444

45-
[MethodImpl(MethodImplOptions.AggressiveOptimization)]
45+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
4646
private void AppendJoinInternalString<T>(ReadOnlySpan<char> separator, IEnumerable<T> values)
4747
{
4848
ArgumentNullException.ThrowIfNull(values);
@@ -68,7 +68,7 @@ private void AppendJoinInternalString<T>(ReadOnlySpan<char> separator, IEnumerab
6868
}
6969
}
7070

71-
[MethodImpl(MethodImplOptions.AggressiveOptimization)]
71+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
7272
private void AppendJoinInternalChar<T>(char separator, IEnumerable<T> values)
7373
{
7474
ArgumentNullException.ThrowIfNull(values);

0 commit comments

Comments
 (0)