Skip to content

Tags: jmezach/dotnet-operator-sdk

Tags

v9.0.0-pre.3

Toggle v9.0.0-pre.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(client): don't access disposed resources (dotnet#738)

This PR is ensuring that the host does not stop with an exception. Those
exceptions were occuring because the `CancellationTokenSource` inside
the hosted services was already disposed when `StopAsync` got called.
The reason for this is that the host invokes `DisposeAsync` **before**
`StopAsync`.

v9.0.0

Toggle v9.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: release next version (dotnet#736)

v9.0.0-pre.2

Toggle v9.0.0-pre.2's commit message

Unverified

No user is associated with the committer email.
chore: add maintenance branches to releaserc

v9.0.0-pre.1

Toggle v9.0.0-pre.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
style: fix linting errors (dotnet#726)

v8.0.2-pre.2

Toggle v8.0.2-pre.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(deps): update dependency sonaranalyzer.csharp to v9.20.0.85982 (d…

…otnet#723)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[SonarAnalyzer.CSharp](https://redirect.sonarsource.com/doc/sonar-visualstudio.html)
([source](https://github.com/SonarSource/sonar-dotnet)) |
`9.19.0.84025` -> `9.20.0.85982` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/SonarAnalyzer.CSharp/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/SonarAnalyzer.CSharp/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/SonarAnalyzer.CSharp/9.19.0.84025/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/SonarAnalyzer.CSharp/9.19.0.84025/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>SonarSource/sonar-dotnet (SonarAnalyzer.CSharp)</summary>

###
[`v9.20.0.85982`](https://github.com/SonarSource/sonar-dotnet/releases/tag/9.20.0.85982):
9.20

[Compare
Source](https://github.com/SonarSource/sonar-dotnet/compare/9.19.0.84025...9.20.0.85982)

Hey everyone!

This release brings a vast number of improvements. The main focus lies
on improving the capabilities of our Symbolic Execution engine, which
results in much more accurate findings. The biggest visible impact is a
significant reduction in false positives around loops for the rules
S2583 and S2589.

And a big thank you to [@&#8203;rcatley](https://github.com/rcatley)
for their external contribution!

##### Bug Fixes

- [8642](https://github.com/SonarSource/sonar-dotnet/issues/8642) -
\[C#] Exception in `SonarAnalyzer.Rules.CSharp.SymbolicExecutionRunner`

##### False Positive

- [8678](https://github.com/SonarSource/sonar-dotnet/issues/8678) -
\[C#, VB.NET] Fix S2583 FP: Variable Updated in Catch Block
- [8028](https://github.com/SonarSource/sonar-dotnet/issues/8028) -
\[C#, VB.NET] Fix S2583 FP: Loop with manually incremented counter
- [8449](https://github.com/SonarSource/sonar-dotnet/issues/8449) -
\[C#, VB.NET] Fix S2589 FP: Change this condition so that it does not
always evaluate to 'True'
- [8495](https://github.com/SonarSource/sonar-dotnet/issues/8495) -
\[C#, VB.NET] Fix S2583/S2589 FP: Return inside lock and using causes FP
after the block
- [8428](https://github.com/SonarSource/sonar-dotnet/issues/8428) -
\[C#, VB.NET] Fix S2583/S2589 FP: For loop with Array.Length
- [8483](https://github.com/SonarSource/sonar-dotnet/issues/8483) -
\[C#, VB.NET] Fix S4158 FP: Should not report on HashSet.UnionWith for
readonly fields.
- [8739](https://github.com/SonarSource/sonar-dotnet/issues/8739) -
\[C#] Fix S4049 FP: Do not raise on methods with generic parameters
- [8638](https://github.com/SonarSource/sonar-dotnet/issues/8638) -
\[C#] Fix S2386 & S3887 FP: should not be raised for FrozenDictionary
and FrozenSet
- [8611](https://github.com/SonarSource/sonar-dotnet/issues/8611) -
\[C#] Fix S2372 FP: Add support for method invocations
([@&#8203;rcatley](https://github.com/rcatley))
- [8567](https://github.com/SonarSource/sonar-dotnet/issues/8567) -
\[C#] Fix S2325 FP: Primary Constructor Support

##### False Negative

- [8486](https://github.com/SonarSource/sonar-dotnet/issues/8486) -
\[C#] Fix S2589 FN: Tuple binary operations (comparison)

##### Improvements

- [8010](https://github.com/SonarSource/sonar-dotnet/issues/8010) -
\[C#, VB.NET] S2589: Improve message in the case of null propagating
operator
- [7866](https://github.com/SonarSource/sonar-dotnet/issues/7866) -
\[C#, VB.NET] SE: Allow collection tracking even when S4158 is not
active
- [8499](https://github.com/SonarSource/sonar-dotnet/issues/8499) -
\[C#] SE: Learn number constraints from relational pattern
- [8651](https://github.com/SonarSource/sonar-dotnet/issues/8651) -
Update RSPEC before 9.20 release

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone
Europe/Zurich, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/buehler/dotnet-operator-sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

v8.0.2-pre.1

Toggle v8.0.2-pre.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(deps): update dependency roslynator.analyzers to v4.11.0 (dotnet#721

)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [Roslynator.Analyzers](https://github.com/dotnet/roslynator) |
`4.10.0` -> `4.11.0` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Roslynator.Analyzers/4.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Roslynator.Analyzers/4.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Roslynator.Analyzers/4.10.0/4.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Roslynator.Analyzers/4.10.0/4.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>dotnet/roslynator (Roslynator.Analyzers)</summary>

###
[`v4.11.0`](https://github.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#4110---2024-02-19)

##### Added

- Add analyzer "Use raw string literal"
[RCS1266](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1266)
([PR](https://github.com/dotnet/roslynator/pull/1375))
- Add analyzer "Convert 'string.Concat' to interpolated string"
[RCS1267](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1267)
([PR](https://github.com/dotnet/roslynator/pull/1379))
- Simplify LINQ query
[RCS1077](https://josefpihrt.github.io/docs/roslynator/analyzers/1077)
([PR](https://github.com/dotnet/roslynator/pull/1384))
    -   `items.Select(selector).Average()` => `items.Average(selector)`
    -   `items.Select(selector).Sum()` => `items.Sum(selector)`

##### Fixed

- Fix analyzer
[RCS0049](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0049)
([PR](https://github.com/dotnet/roslynator/pull/1386))
- Fix analyzer
[RCS1159](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1159)
([PR](https://github.com/dotnet/roslynator/pull/1390))
- Fix analyzer
[RCS1019](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1019)
([PR](https://github.com/dotnet/roslynator/pull/1402))
- Fix analyzer
[RCS1250](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1250)
([PR](https://github.com/dotnet/roslynator/pull/1403),
[PR](https://github.com/dotnet/roslynator/pull/1404))
- Fix code fix for
[CS8600](https://josefpihrt.github.io/docs/roslynator/fixes/CS8600)
changing the wrong type when casts or `var` are involved
([PR](https://github.com/dotnet/roslynator/pull/1393) by
[@&#8203;jroessel](https://github.com/jroessel))
- Fix Roslyn multi-targeting
([PR](https://github.com/dotnet/roslynator/pull/1407))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone
Europe/Zurich, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/buehler/dotnet-operator-sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

v8.0.1

Toggle v8.0.1's commit message
fix(watcher): queues not polling when status updated (dotnet#712)

With reference to
dotnet#707

This fixes the behaviour of requeues

Co-authored-by: Christoph Bühler <[email protected]>

v8.0.1-pre.7

Toggle v8.0.1-pre.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(watcher): queues not polling when status updated (dotnet#712)

With reference to
dotnet#707

This fixes the behaviour of requeues

Co-authored-by: Christoph Bühler <[email protected]>

v8.0.1-pre.6

Toggle v8.0.1-pre.6's commit message
fix(deps): update dependency microsoft.build.locator to v1.7.1

v8.0.1-pre.5

Toggle v8.0.1-pre.5's commit message
fix(deps): update dependency bouncycastle.cryptography to v2.3.0