GuilhermeStracini / apiclient-boilerplate-dotnet

💡 🏗️ A boilerplate API client template for .NET API clients wrappers
https://guilhermestracini.github.io/apiclient-boilerplate-dotnet/
MIT License
4 stars 1 forks source link

Bump csharpier from 0.30.1 to 0.30.2 #263

Closed dependabot[bot] closed 4 days ago

dependabot[bot] commented 4 days ago

Bumps csharpier from 0.30.1 to 0.30.2.

Release notes

Sourced from csharpier's releases.

0.30.2

What's Changed

Collection expression inside a dictionary adds unexpected new line #1390

// input & expected output
Dictionary<string, string[]> dictionary = new()
{
    {
        "Key",
        [
            "SomeValue__________________________________________",
            "SomeValue__________________________________________",
        ]
    },
};

// 0.30.1
Dictionary<string, string[]> dictionary = new()
{
{
"Key",

    [
        &quot;SomeValue__________________________________________&quot;,
        &quot;SomeValue__________________________________________&quot;,
    ]
},

};

Failed syntax tree validation reported when trailing comma added before a trailing comment #1388

With the following code, CSharpier will add a trailing comma before the trailing comment.
CSharpier's syntax tree validation was incorrectly reporting this as a failure.

// input
var someObject = new SomeObject()
{
    Property1 = 1,
    Property2 = 2 // Trailing Comment
};

// output
var someObject = new SomeObject()
{
Property1 = 1,
Property2 = 2, // Trailing Comment
};

Changelog

Sourced from csharpier's changelog.

# 0.30.2

What's Changed

Collection expression inside a dictionary adds unexpected new line #1390

// input & expected output
Dictionary<string, string[]> dictionary = new()
{
    {
        "Key",
        [
            "SomeValue__________________________________________",
            "SomeValue__________________________________________",
        ]
    },
};

// 0.30.1
Dictionary<string, string[]> dictionary = new()
{
{
"Key",

    [
        &quot;SomeValue__________________________________________&quot;,
        &quot;SomeValue__________________________________________&quot;,
    ]
},

};

Failed syntax tree validation reported when trailing comma added before a trailing comment #1388

With the following code, CSharpier will add a trailing comma before the trailing comment.
CSharpier's syntax tree validation was incorrectly reporting this as a failure.

// input
var someObject = new SomeObject()
{
    Property1 = 1,
    Property2 = 2 // Trailing Comment
};

// output
var someObject = new SomeObject()
{
Property1 = 1,
Property2 = 2, // Trailing Comment
};

Full Changelog: https://github.com/belav/csharpier/compare/0.30.1...0.30.2

Commits


Dependabot compatibility score

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 will merge this PR once it's up-to-date and CI passes on it, as requested by @guibranco.


Dependabot commands and options
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 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)

Summary by Sourcery

Build:

dependabot[bot] commented 4 days ago

The following labels could not be found: nuget, packages.

korbit-ai[bot] commented 4 days ago

By default, I don't review pull requests opened by bots. If you would like me to review this pull request anyway, you can request a review via the /korbit-review command in a comment.

semanticdiff-com[bot] commented 4 days ago

Review changes with  SemanticDiff

Changed Files
| File | Status | | :--- | :--- | | [](https://app.semanticdiff.com/gh/GuilhermeStracini/apiclient-boilerplate-dotnet/pull/263/changes#.config/dotnet-tools.json)  [\.config/dotnet\-tools\.json](https://app.semanticdiff.com/gh/GuilhermeStracini/apiclient-boilerplate-dotnet/pull/263/changes#.config/dotnet-tools.json) | [](https://app.semanticdiff.com/gh/GuilhermeStracini/apiclient-boilerplate-dotnet/pull/263/changes#.config/dotnet-tools.json)  0% smaller |
pr-code-reviewer[bot] commented 4 days ago

:wave: Hi there!

Everything looks good!

Automatically generated with the help of gpt-3.5-turbo. Feedback? Please don't hesitate to drop me an email at webber@takken.io.

sourcery-ai[bot] commented 4 days ago

Reviewer's Guide by Sourcery

This is a minor version update of the CSharpier code formatting tool from version 0.30.1 to 0.30.2. The update primarily fixes two formatting issues: one related to collection expressions inside dictionaries and another regarding trailing commas before comments.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Updated CSharpier tool version in .NET tools configuration
  • Bumped CSharpier version from 0.30.1 to 0.30.2
.config/dotnet-tools.json

Tips and commands #### Interacting with Sourcery - **Trigger a new review:** Comment `@sourcery-ai review` on the pull request. - **Continue discussions:** Reply directly to Sourcery's review comments. - **Generate a GitHub issue from a review comment:** Ask Sourcery to create an issue from a review comment by replying to it. - **Generate a pull request title:** Write `@sourcery-ai` anywhere in the pull request title to generate a title at any time. - **Generate a pull request summary:** Write `@sourcery-ai summary` anywhere in the pull request body to generate a PR summary at any time. You can also use this command to specify where the summary should be inserted. #### Customizing Your Experience Access your [dashboard](https://app.sourcery.ai) to: - Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others. - Change the review language. - Add, remove or edit custom review instructions. - Adjust other review settings. #### Getting Help - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).
codara-ai-code-review[bot] commented 4 days ago

Potential issues, bugs, and flaws that can introduce unwanted behavior.

  1. /.config/dotnet-tools.json - Upgrading the version of csharpier from "0.30.1" to "0.30.2" without thorough testing could introduce breaking changes if the new version has modifications that affect existing functionalities or dependencies. It is advisable to review the changelog for any incompatibilities or issues.

Code suggestions and improvements for better exception handling, logic, standardization, and consistency.

  1. /.config/dotnet-tools.json - After upgrading any tool, it's important to run your complete test suite to ensure that the updated tool works as intended within your project. Consider incorporating this as a part of your version update process to avoid potential integration issues.
coderabbitai[bot] commented 4 days ago

[!IMPORTANT]

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit , please review it.` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (Invoked using PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. ### Other keywords and placeholders - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. - Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description. - Add `@coderabbitai` anywhere in the PR title to generate the title automatically. ### CodeRabbit Configuration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit. - Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
instapr[bot] commented 4 days ago
### Feedback:
- Directly update the version of csharpier in `.config/dotnet-tools.json` from 0.30.1 to 0.30.2.
guibranco commented 4 days ago

@dependabot squash and merge

codeclimate[bot] commented 4 days ago

Code Climate has analyzed commit 1144c632 and detected 0 issues on this pull request.

View more on Code Climate.

github-actions[bot] commented 4 days ago

Infisical secrets check: ✅ No secrets leaked!

💻 Scan logs ```txt 5:48PM INF scanning for exposed secrets... 5:48PM INF 347 commits scanned. 5:48PM INF scan completed in 97.3ms 5:48PM INF no leaks found ```
sonarcloud[bot] commented 4 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud