Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump csharpier from 0.30.3 to 0.30.5 #189

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 3, 2025

Bumps csharpier from 0.30.3 to 0.30.5.

Release notes

Sourced from csharpier's releases.

0.30.5

What's Changed

Extra blank line added to file each time csharpier runs on this file #1426

When a file ended in a comment and that comment had multiple blank lines before it, a new blank line was being added each time it was formatted. // input

// input
namespace MyCompany.MyNamespace;
// Comment block
// 0.30.4
namespace MyCompany.MyNamespace;
// Comment block
// 0.30.5
namespace MyCompany.MyNamespace;
// Comment block
Full Changelog: https://github.com/belav/csharpier/compare/0.30.4...0.30.5
0.30.4
What's Changed
Formatting deletes unsafe modifier #1416
Formatting a using directive with an unsafe modifier resulted in the lose of the unsafe keyword
// input & expected output
using unsafe NvapiQueryInterface = delegate* unmanaged[Cdecl]<uint, nint>;
// 0.30.3
using NvapiQueryInterface = delegate* unmanaged[Cdecl]<uint, nint>;
</code></pre>
<h3>CSharpier keeps adding a newline every time a file is formatted <a href="https://redirect.github.com/belav/csharpier/issues/1408&quot;&gt;#1408&lt;/a&gt;&lt;/h3>
<p>In some cases if a file ended with a comment, CSharpier would add a new extra blank line above the comment each time it formatted the file</p>
<pre lang="c#"><code>// input &amp; expected outpet
using System;
namespace MyCompany.MyNamespace;
// Comment block
// 0.30.3
using System;
&lt;/tr&gt;&lt;/table&gt;
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/belav/csharpier/blob/main/CHANGELOG.md&quot;&gt;csharpier's changelog</a>.</em></p>
<blockquote>
<p># 0.30.5</p>
<h2>What's Changed</h2>
<h3>Extra blank line added to file each time csharpier runs on this file <a href="https://redirect.github.com/belav/csharpier/issues/1426&quot;&gt;#1426&lt;/a&gt;&lt;/h3>
<p>When a file ended in a comment and that comment had multiple blank lines before it, a new blank line was being added each time it was formatted.
// input</p>
<pre lang="c#"><code>// input
namespace MyCompany.MyNamespace;
// Comment block
// 0.30.4
namespace MyCompany.MyNamespace;
// Comment block
// 0.30.5
namespace MyCompany.MyNamespace;
// Comment block
Full Changelog: https://github.com/belav/csharpier/compare/0.30.4...0.30.5
0.30.4
What's Changed
Formatting deletes unsafe modifier #1416
Formatting a using directive with an unsafe modifier resulted in the lose of the unsafe keyword
// input &amp;amp; expected output
using unsafe NvapiQueryInterface = delegate* unmanaged[Cdecl]&amp;lt;uint, nint&amp;gt;;

// 0.30.3
using NvapiQueryInterface = delegate* unmanaged[Cdecl]&amp;lt;uint, nint&amp;gt;;
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;CSharpier keeps adding a newline every time a file is formatted &lt;a href=&quot;https://redirect.github.com/belav/csharpier/issues/1408&quot;&gt;#1408&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;In some cases if a file ended with a comment, CSharpier would add a new extra blank line above the comment each time it formatted the file&lt;/p&gt;
&lt;pre lang=&quot;c#&quot;&gt;&lt;code&gt;// input &amp;amp; expected outpet
using System;

namespace MyCompany.MyNamespace;

// Comment block

// 0.30.3
using System;

namespace MyCompany.MyNamespace;
&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;... (truncated)&lt;/p&gt;
&lt;/details&gt;
&lt;details&gt;
&lt;summary&gt;Commits&lt;/summary&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/belav/csharpier/commit/c9b62885f1bb3c432f5e1a19f0905985445aafb7&quot;&gt;&lt;code&gt;c9b6288&lt;/code&gt;&lt;/a&gt; Releasing 0.30.5&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/belav/csharpier/commit/4b757ee3778ac2e139d7d05a9cc30e6665a47556&quot;&gt;&lt;code&gt;4b757ee&lt;/code&gt;&lt;/a&gt; Improving the hack that ensures we don't keep adding new lines before a file ...&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/belav/csharpier/commit/e5b55658e30c69c1608524368fec0b3a1446bd3f&quot;&gt;&lt;code&gt;e5b5565&lt;/code&gt;&lt;/a&gt; Update some doc&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/belav/csharpier/commit/a34fd5aef7016b27b214485a53e5e6f03511b02f&quot;&gt;&lt;code&gt;a34fd5a&lt;/code&gt;&lt;/a&gt; update doc&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/belav/csharpier/commit/c7cb204aca8b1e8c70fba4b135b0cb701eb579ec&quot;&gt;&lt;code&gt;c7cb204&lt;/code&gt;&lt;/a&gt; Adding level for diagnostic. Modify behavior so new diagnostic only appears o...&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/belav/csharpier/commit/2f2796ceadbf96eb238df67e041f240415220b79&quot;&gt;&lt;code&gt;2f2796c&lt;/code&gt;&lt;/a&gt; Fixing issue with older versions of VS not working (&lt;a href=&quot;https://redirect.github.com/belav/csharpier/issues/1422&quot;&gt;#1422&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/belav/csharpier/commit/5ebeb1d083e4b013bdf59d389a67092abb88e923&quot;&gt;&lt;code&gt;5ebeb1d&lt;/code&gt;&lt;/a&gt; Update CHANGELOG.md&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/belav/csharpier/commit/064d35f47b29706064c8a0a1fc93065394abb987&quot;&gt;&lt;code&gt;064d35f&lt;/code&gt;&lt;/a&gt; Releasing 0.30.4 (&lt;a href=&quot;https://redirect.github.com/belav/csharpier/issues/1420&quot;&gt;#1420&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/belav/csharpier/commit/cd618acb8c59fdc74aaded8185d6d8b55454bcb8&quot;&gt;&lt;code&gt;cd618ac&lt;/code&gt;&lt;/a&gt; Fixing a bug introduced by one of the fixes (&lt;a href=&quot;https://redirect.github.com/belav/csharpier/issues/1421&quot;&gt;#1421&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/belav/csharpier/commit/3b88bee2b94c862d981a2e34155bdd042be97c74&quot;&gt;&lt;code&gt;3b88bee&lt;/code&gt;&lt;/a&gt; Fixing issue with losing unsafe keyword on using statement (&lt;a href=&quot;https://redirect.github.com/belav/csharpier/issues/1417&quot;&gt;#1417&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Additional commits viewable in &lt;a href=&quot;https://github.com/belav/csharpier/compare/0.30.3...0.30.5&quot;&gt;compare view&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/details&gt;

&lt;br /&gt;
</code></pre>


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=csharpier&package-manager=nuget&previous-version=0.30.3&new-version=0.30.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Bumps [csharpier](https://github.com/belav/csharpier) from 0.30.3 to 0.30.5.
- [Release notes](https://github.com/belav/csharpier/releases)
- [Changelog](https://github.com/belav/csharpier/blob/main/CHANGELOG.md)
- [Commits](belav/csharpier@0.30.3...0.30.5)

---
updated-dependencies:
- dependency-name: csharpier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants