GuilhermeStracini / hello-world-mongodb-dotnet

📚 A repository to learn MongoDB with .NET
MIT License
1 stars 0 forks source link

Bump csharpier from 0.28.2 to 0.29.1 #22

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps csharpier from 0.28.2 to 0.29.1.

Release notes

Sourced from csharpier's releases.

0.29.1

What's Changed

Sorting of usings with underscore differs from Visual Studio #1327

CSharpier now sorts _ to the bottom of usings.

using SomeCompany.MWord;
using SomeCompany.ZWord;
using SomeCompany._Word;

Process cannot access the file "....net8.0\any\server.log" while running multiple extensions. #1324

CSharpier Server now uses a log file name based on the port that it is starting on to avoid concurrency issues trying to access the same log file

Full Changelog: https://github.com/belav/csharpier/compare/0.29.0...0.29.1

0.29.0

Breaking Changes

The formatting command will now exit with an error code of 1 if one of the target files cannot be compiled #1131

Prior to 0.29.0 if csharpier encountered a file that could not be compiled it would treat it as a warning and exit with a code of 0.
As of 0.29.0 a file that cannot be compiled is now treated as an error and csharpier will exit with code 1

What's Changed

Enforce trailing commas in object and collection initializer #668

CSharpier will now add trailing commas automatically where appropriate. It will collapse to a single line and remove the trailing comma in cases where everything fits on one line.

// input
public enum SomeEnum
{
    Value1,
    Value2
}

string[] someArray = new string[] { someLongValue_____________________________________________, someLongValue_____________________________________________ };

string[] someArray = new string[] { someValue, someValue, };

// 0.29.0 public enum SomeEnum { Value1, Value2, }

</tr></table>

... (truncated)

Changelog

Sourced from csharpier's changelog.

# 0.29.1

What's Changed

Sorting of usings with underscore differs from Visual Studio #1327

CSharpier now sorts _ to the bottom of usings.

using SomeCompany.MWord;
using SomeCompany.ZWord;
using SomeCompany._Word;

Process cannot access the file "....net8.0\any\server.log" while running multiple extensions. #1324

CSharpier Server now uses a log file name based on the port that it is starting on to avoid concurrency issues trying to access the same log file

Full Changelog: https://github.com/belav/csharpier/compare/0.29.0...0.29.1

0.29.0

Breaking Changes

The formatting command will now exit with an error code of 1 if one of the target files cannot be compiled #1131

Prior to 0.29.0 if csharpier encountered a file that could not be compiled it would treat it as a warning and exit with a code of 0.
As of 0.29.0 a file that cannot be compiled is now treated as an error and csharpier will exit with code 1

What's Changed

Enforce trailing commas in object and collection initializer #668

CSharpier will now add trailing commas automatically where appropriate. It will collapse to a single line and remove the trailing comma in cases where everything fits on one line.

// input
public enum SomeEnum
{
    Value1,
    Value2
}

string[] someArray = new string[] { someLongValue_____________________________________________, someLongValue_____________________________________________ };

string[] someArray = new string[] { someValue, someValue, };

// 0.29.0 public enum SomeEnum { Value1, Value2, }

string[] someArray = new string[] </tr></table>

... (truncated)

Commits
  • b87b4df Releasing 0.29.1 (#1331)
  • 10e0780 Support for multiple csharpier servers running at the same time, have them wr...
  • 2ed8622 Getting _ to sort to the top like it should (#1328)
  • 688aeb7 VS - Use dotnet tool list to find both local and global installs of csharpier...
  • 1cdcf0a fix width
  • c529570 prettier all the java
  • 88383e7 Using dotnet tool list for rider extension (#1325)
  • 2456512 Modify VSCode extension to use dotnet tool list + only warn to instal… (#1323)
  • 6cb3821 Format with 29 (#1322)
  • 0abbc1d fix typo
  • Additional commits viewable in compare view


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)

Description by Korbit AI

What change is being made?

Bump csharpier from 0.28.2 to 0.29.1 in the .config/dotnet-tools.json file.

Why are these changes being made?

This update includes bug fixes and performance improvements in csharpier, ensuring our code formatting tool is up-to-date with the latest enhancements.

Summary by CodeRabbit

dependabot[bot] commented 1 month ago

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

semanticdiff-com[bot] commented 1 month ago

Review changes with SemanticDiff.

Analyzed 1 of 1 files.

Filename Status
:heavy_check_mark: .config/dotnet-tools.json Analyzed
senior-dev-bot[bot] commented 1 month ago

Hi there! :wave: Thanks for opening a PR. It looks like you've already reached the 5 review limit on our Basic Plan for the week. If you still want a review, feel free to upgrade your subscription in the Web App and then reopen the PR

korbit-ai[bot] commented 1 month ago

My review is in progress :book: - I will have feedback for you in a few minutes!

codara-ai-code-review[bot] commented 1 month ago

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

  1. /.config/dotnet-tools.json - Updating the version of the "csharpier" tool to 0.29.1 without verifying compatibility or any breaking changes might introduce issues with the existing codebase or tool usage.

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

  1. /.config/dotnet-tools.json - Before updating the tool version, it's recommended to check the release notes or documentation to ensure there are no breaking changes or compatibility issues with the current setup. This proactive approach can prevent unexpected problems in the future.
pr-code-reviewer[bot] commented 1 month 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.

gooroo-dev[bot] commented 1 month ago

Please double check the following review of the pull request:

Issues counts

🐞Mistake 🤪Typo 🚨Security 🚀Performance 💪Best Practices 📖Readability ❓Others
0 0 0 0 0 0 0

Changes in the diff

Identified Issues

No issues were identified in the proposed changes. The update is straightforward and does not introduce any apparent problems.

Explanation

The proposed change is a version bump for the csharpier tool in the .config/dotnet-tools.json file. This update does not introduce any new features, remove any existing features, or cause any known issues. Therefore, no additional code changes or tests are required for this update.

Summon me to re-review when updated! Yours, Gooroo.dev Add a reaction or reply to share your thoughts!

coderabbitai[bot] commented 1 month ago

Walkthrough

The update involves a change in the version number of the csharpier tool within the .config/dotnet-tools.json file, moving from version 0.28.2 to 0.29.1. This indicates an upgrade to a newer release, although specific details about the changes or improvements in this version are not provided.

Changes

File Change Summary
.config/dotnet-tools.json Updated csharpier version from 0.28.2 to 0.29.1

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Dotnet
    participant Csharpier

    User->>Dotnet: Request to use csharpier
    Dotnet->>Csharpier: Invoke csharpier 0.29.1
    Csharpier-->>Dotnet: Process request
    Dotnet-->>User: Return results

Poem

🐇 In the meadow, tools do play,
Csharpier hops, a brand new way!
Version jumps, oh what a cheer,
Upgrades bring joy, let’s all draw near!
With each change, we leap and bound,
In code's garden, magic is found! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)
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 .` - `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 generate interesting stats about this repository and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@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 as 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. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### 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://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
deepsource-io[bot] commented 1 month ago

Here's the code health analysis summary for commits b380915..791d4b5. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Test coverage LogoTest coverage✅ SuccessView Check ↗
DeepSource Secrets LogoSecrets✅ SuccessView Check ↗
DeepSource C# LogoC#✅ SuccessView Check ↗

Code Coverage Report

MetricAggregateC#
Branch Coverage100%100%
Composite Coverage100%100%
Line Coverage100%100%

💡 If you’re a repository administrator, you can configure the quality gates from the settings.
instapr[bot] commented 1 month ago

Feedback on PR

🚀 Update csharpier to version 0.29.1
The dependency on csharpier has been successfully updated from 0.28.2 to 0.29.1.
Make sure to test the application with this new version.

🔗 Links

🛠 Files Modified

Let me know if you encounter any issues after this update.

guibranco commented 1 month ago

@dependabot squash and merge

github-actions[bot] commented 1 month ago

Infisical secrets check: :white_check_mark: No secrets leaked!

Scan results:

11:40PM INF scanning for exposed secrets...
11:40PM INF 20 commits scanned.
11:40PM INF scan completed in 64ms
11:40PM INF no leaks found