Skip to content

Update 1 NuGet dependencies #144

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

Merged

Conversation

nfbot
Copy link
Member

@nfbot nfbot commented Apr 30, 2025

Bumps nanoFramework.Logging from 1.1.156 to 1.1.157

[version update]

⚠️ This is an automated update. ⚠️

Summary by CodeRabbit

  • Chores
    • Updated the nanoFramework.Logging package to version 1.1.157.

Bumps nanoFramework.Logging from 1.1.156 to 1.1.157</br>
[version update]

### ⚠️ This is an automated update. ⚠️
Copy link

coderabbitai bot commented Apr 30, 2025

Walkthrough

The change updates the nanoFramework.Logging package version from 1.1.156 to 1.1.157 in the nanoFramework.System.Text.RegularExpression.Benchmark/packages.lock.json file. This involves modifying the requested version, resolved version, and content hash for this package. No other dependencies or public entities were altered.

Changes

File(s) Change Summary
nanoFramework.System.Text.RegularExpression.Benchmark/packages.lock.json Updated nanoFramework.Logging package from 1.1.156 to 1.1.157; adjusted version fields and content hash accordingly.

Sequence Diagram(s)

No sequence diagram is necessary for this change, as it only updates a package version without affecting control flow or feature logic.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, 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 generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this 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 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 for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c975ff0 and c500e5d.

⛔ Files ignored due to path filters (2)
  • nanoFramework.System.Text.RegularExpression.Benchmark/nanoFramework.System.Text.RegularExpression.Benchmark.nfproj is excluded by none and included by none
  • nanoFramework.System.Text.RegularExpression.Benchmark/packages.config is excluded by none and included by none
📒 Files selected for processing (1)
  • nanoFramework.System.Text.RegularExpression.Benchmark/packages.lock.json (1 hunks)

Comment on lines +19 to +21
"requested": "[1.1.157, 1.1.157]",
"resolved": "1.1.157",
"contentHash": "x+NjFgtfz9vFSuhkvSftvvZ4t6h82pUKZo/yAn8M1KSFKhOzy3x12wyRGqOoIzGdY9XobpnBO2V80Rv8huoj3Q=="
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Verify updated nanoFramework.Logging version and contentHash

The dependency has been bumped from 1.1.156 to 1.1.157 and the contentHash updated. Please confirm that version 1.1.157 is published on NuGet and that the contentHash correctly reflects the package contents to avoid any lock‐file inconsistencies.


🏁 Script executed:

#!/bin/bash
# Verify that nanoFramework.Logging 1.1.157 is available in the NuGet feed
if curl -s https://api.nuget.org/v3-flatcontainer/nanoframework.logging/index.json | grep -q '"1.1.157"'; then
  echo "✅ Version 1.1.157 exists on NuGet."
else
  echo "❌ Error: Version 1.1.157 not found in NuGet feed."
  exit 1
fi

Length of output: 182


🏁 Script executed:

#!/bin/bash
set -e
# Download the nupkg for nanoFramework.Logging 1.1.157
curl -sL -o pkg.nupkg https://api.nuget.org/v3-flatcontainer/nanoframework.logging/1.1.157/nanoframework.logging.1.1.157.nupkg

# Compute SHA-512 hash and Base64‐encode it
computed_hash=$(python3 - << 'EOF'
import hashlib, base64, sys
data = open('pkg.nupkg', 'rb').read()
print(base64.b64encode(hashlib.sha512(data).digest()).decode())
EOF
)

expected_hash="x+NjFgtfz9vFSuhkvSftvvZ4t6h82pUKZo/yAn8M1KSFKhOzy3x12wyRGqOoIzGdY9XobpnBO2V80Rv8huoj3Q=="

if [ "$computed_hash" = "$expected_hash" ]; then
  echo "✅ contentHash matches expected value."
else
  echo "❌ contentHash mismatch: computed $computed_hash"
  exit 1
fi

Length of output: 812


Incorrect contentHash for nanoFramework.Logging 1.1.157

The computed SHA-512 Base64 of the downloaded 1.1.157 nupkg (oCK20uudtK6z52iu5/3Vm+jWYP+gbg4R4+Op8Tb06iTnY813AzGHgrM92pHiPCDRg+u5frDWGQ6x/RbldckMMg==) does not match the lock‐file’s current contentHash. Please update it:

  • nanoFramework.System.Text.RegularExpression.Benchmark/packages.lock.json (line 21)
-    "contentHash": "x+NjFgtfz9vFSuhkvSftvvZ4t6h82pUKZo/yAn8M1KSFKhOzy3x12wyRGqOoIzGdY9XobpnBO2V80Rv8huoj3Q=="
+    "contentHash": "oCK20uudtK6z52iu5/3Vm+jWYP+gbg4R4+Op8Tb06iTnY813AzGHgrM92pHiPCDRg+u5frDWGQ6x/RbldckMMg=="
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"requested": "[1.1.157, 1.1.157]",
"resolved": "1.1.157",
"contentHash": "x+NjFgtfz9vFSuhkvSftvvZ4t6h82pUKZo/yAn8M1KSFKhOzy3x12wyRGqOoIzGdY9XobpnBO2V80Rv8huoj3Q=="
"requested": "[1.1.157, 1.1.157]",
"resolved": "1.1.157",
- "contentHash": "x+NjFgtfz9vFSuhkvSftvvZ4t6h82pUKZo/yAn8M1KSFKhOzy3x12wyRGqOoIzGdY9XobpnBO2V80Rv8huoj3Q=="
+ "contentHash": "oCK20uudtK6z52iu5/3Vm+jWYP+gbg4R4+Op8Tb06iTnY813AzGHgrM92pHiPCDRg+u5frDWGQ6x/RbldckMMg=="

@nfbot nfbot merged commit 447542e into main Apr 30, 2025
6 checks passed
@nfbot nfbot deleted the nfbot/update-dependencies/1304f0b7-b6fc-448e-b3be-a582e983135a branch April 30, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant