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

Update 7 NuGet dependencies #368

Merged

Conversation

nfbot
Copy link
Member

@nfbot nfbot commented Jan 8, 2025

Bumps nanoFramework.Iot.Device.ePaper from 1.0.547 to 1.0.558
Bumps nanoFramework.System.IO.FileSystem from 1.1.66 to 1.1.69
Bumps nanoFramework.System.IO.Ports from 1.1.86 to 1.1.107
Bumps nanoFramework.System.IO.Streams from 1.1.59 to 1.1.77
Bumps nanoFramework.System.Text from 1.2.54 to 1.3.1
Bumps nanoFramework.System.Device.Wifi from 1.5.91 to 1.5.105
Bumps nanoFramework.System.Net from 1.11.1 to 1.11.15

[version update]

⚠️ This is an automated update. ⚠️

Summary by CodeRabbit

  • Dependency Updates
    • Updated multiple nanoFramework system libraries across various projects
    • Key updates include:
      • System.IO.FileSystem: v1.1.66 → v1.1.69
      • System.IO.Ports: v1.1.86 → v1.1.107
      • System.IO.Streams: v1.1.59 → v1.1.77
      • System.Text: v1.2.54 → v1.3.1
    • Some projects also updated System.Device.Wifi and System.Net libraries

Bumps nanoFramework.Iot.Device.ePaper from 1.0.547 to 1.0.558</br>Bumps nanoFramework.System.IO.FileSystem from 1.1.66 to 1.1.69</br>Bumps nanoFramework.System.IO.Ports from 1.1.86 to 1.1.107</br>Bumps nanoFramework.System.IO.Streams from 1.1.59 to 1.1.77</br>Bumps nanoFramework.System.Text from 1.2.54 to 1.3.1</br>Bumps nanoFramework.System.Device.Wifi from 1.5.91 to 1.5.105</br>Bumps nanoFramework.System.Net from 1.11.1 to 1.11.15</br>
[version update]

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

coderabbitai bot commented Jan 8, 2025

Walkthrough

This pull request involves updating dependency versions across multiple packages.lock.json files in various nanoFramework projects. The updates primarily focus on incrementing versions for core system libraries such as nanoFramework.System.IO.FileSystem, nanoFramework.System.IO.Ports, nanoFramework.System.IO.Streams, and nanoFramework.System.Text. Some projects also saw updates to nanoFramework.System.Device.Wifi and nanoFramework.System.Net. The changes appear to be a systematic version upgrade across the nanoFramework ecosystem.

Changes

File Path Changes
Tests/FireTestApp/packages.lock.json Updated versions:
- nanoFramework.System.IO.FileSystem (1.1.66 → 1.1.69)
- nanoFramework.System.IO.Streams (1.1.59 → 1.1.77)
- nanoFramework.System.Text (1.2.54 → 1.3.1)
Tests/M5Core2TestApp/packages.lock.json Updated versions:
- nanoFramework.System.Device.Wifi (1.5.91 → 1.5.105)
- nanoFramework.System.IO.FileSystem (1.1.66 → 1.1.69)
- nanoFramework.System.IO.Ports (1.1.86 → 1.1.107)
- nanoFramework.System.IO.Streams (1.1.59 → 1.1.77)
- nanoFramework.System.Net (1.11.1 → 1.11.15)
- nanoFramework.System.Text (1.2.54 → 1.3.1)
Tests/M5CoreTestApp/packages.lock.json Updated versions:
- nanoFramework.System.IO.FileSystem (1.1.66 → 1.1.69)
- nanoFramework.System.IO.Ports (1.1.86 → 1.1.107)
- nanoFramework.System.IO.Streams (1.1.59 → 1.1.77)
- nanoFramework.System.Text (1.2.54 → 1.3.1)
Tests/ToughTestApp/packages.lock.json Updated versions:
- nanoFramework.System.Device.Wifi (1.5.91 → 1.5.105)
- nanoFramework.System.IO.FileSystem (1.1.66 → 1.1.69)
- nanoFramework.System.IO.Ports (1.1.86 → 1.1.107)
- nanoFramework.System.IO.Streams (1.1.59 → 1.1.77)
- nanoFramework.System.Net (1.11.1 → 1.11.15)
- nanoFramework.System.Text (1.2.54 → 1.3.1)
nanoFramework.CoreInk/packages.lock.json Updated version:
- nanoFramework.Iot.Device.ePaper (1.0.547 → 1.0.558)
nanoFramework.Fire/packages.lock.json Updated versions:
- nanoFramework.System.IO.FileSystem (1.1.66 → 1.1.69)
- nanoFramework.System.IO.Ports (1.1.86 → 1.1.107)
- nanoFramework.System.IO.Streams (1.1.59 → 1.1.77)
- nanoFramework.System.Text (1.2.54 → 1.3.1)
nanoFramework.M5Core/packages.lock.json Updated versions:
- nanoFramework.System.IO.FileSystem (1.1.66 → 1.1.69)
- nanoFramework.System.IO.Ports (1.1.86 → 1.1.107)
- nanoFramework.System.IO.Streams (1.1.59 → 1.1.77)
- nanoFramework.System.Text (1.2.54 → 1.3.1)
nanoFramework.M5Core2/packages.lock.json Updated versions:
- nanoFramework.System.IO.FileSystem (1.1.66 → 1.1.69)
- nanoFramework.System.IO.Ports (1.1.86 → 1.1.107)
- nanoFramework.System.IO.Streams (1.1.59 → 1.1.77)
- nanoFramework.System.Text (1.2.54 → 1.3.1)
nanoFramework.Tough/packages.lock.json Updated versions:
- nanoFramework.System.IO.FileSystem (1.1.66 → 1.1.69)
- nanoFramework.System.IO.Ports (1.1.86 → 1.1.107)
- nanoFramework.System.IO.Streams (1.1.59 → 1.1.77)
- nanoFramework.System.Text (1.2.54 → 1.3.1)

Possibly related PRs

Suggested labels

CI: Publish Release


📜 Recent review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between d9a894e and eb8a05d.

⛔ Files ignored due to path filters (23)
  • Tests/FireTestApp/FireTestApp.nfproj is excluded by none and included by none
  • Tests/FireTestApp/packages.config is excluded by none and included by none
  • Tests/M5Core2TestApp/M5Core2TestApp.nfproj is excluded by none and included by none
  • Tests/M5Core2TestApp/packages.config is excluded by none and included by none
  • Tests/M5CoreTestApp/M5CoreTestApp.nfproj is excluded by none and included by none
  • Tests/M5CoreTestApp/packages.config is excluded by none and included by none
  • Tests/ToughTestApp/ToughTestApp.nfproj is excluded by none and included by none
  • Tests/ToughTestApp/packages.config is excluded by none and included by none
  • nanoFramework.CoreInk.nuspec is excluded by none and included by none
  • nanoFramework.CoreInk/nanoFramework.CoreInk.nfproj is excluded by none and included by none
  • nanoFramework.CoreInk/packages.config is excluded by none and included by none
  • nanoFramework.Fire.nuspec is excluded by none and included by none
  • nanoFramework.Fire/nanoFramework.Fire.nfproj is excluded by none and included by none
  • nanoFramework.Fire/packages.config is excluded by none and included by none
  • nanoFramework.M5Core.nuspec is excluded by none and included by none
  • nanoFramework.M5Core/nanoFramework.M5Core.nfproj is excluded by none and included by none
  • nanoFramework.M5Core/packages.config is excluded by none and included by none
  • nanoFramework.M5Core2.nuspec is excluded by none and included by none
  • nanoFramework.M5Core2/nanoFramework.M5Core2.nfproj is excluded by none and included by none
  • nanoFramework.M5Core2/packages.config is excluded by none and included by none
  • nanoFramework.Tough.nuspec is excluded by none and included by none
  • nanoFramework.Tough/nanoFramework.Tough.nfproj is excluded by none and included by none
  • nanoFramework.Tough/packages.config is excluded by none and included by none
📒 Files selected for processing (9)
  • Tests/FireTestApp/packages.lock.json (2 hunks)
  • Tests/M5Core2TestApp/packages.lock.json (4 hunks)
  • Tests/M5CoreTestApp/packages.lock.json (2 hunks)
  • Tests/ToughTestApp/packages.lock.json (2 hunks)
  • nanoFramework.CoreInk/packages.lock.json (1 hunks)
  • nanoFramework.Fire/packages.lock.json (2 hunks)
  • nanoFramework.M5Core/packages.lock.json (2 hunks)
  • nanoFramework.M5Core2/packages.lock.json (2 hunks)
  • nanoFramework.Tough/packages.lock.json (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: nanoFramework / NuGets using latest version
🔇 Additional comments (11)
nanoFramework.CoreInk/packages.lock.json (1)

43-45: LGTM: Minor version update for ePaper device library

The update from 1.0.547 to 1.0.558 is a minor version bump, suggesting backward-compatible changes.

Tests/ToughTestApp/packages.lock.json (2)

79-81: LGTM: Minor version updates for system libraries

The following updates are minor version bumps, suggesting backward-compatible changes:

  • System.Device.Wifi: 1.5.91 → 1.5.105
  • System.IO.FileSystem: 1.1.66 → 1.1.69
  • System.IO.Ports: 1.1.86 → 1.1.107
  • System.IO.Streams: 1.1.59 → 1.1.77
  • System.Net: 1.11.1 → 1.11.15

Also applies to: 85-87, 91-93, 97-99, 103-105


115-117: Verify compatibility with System.Text major version update

The update from 1.2.54 to 1.3.1 is a major version bump that might include breaking changes.

Run the following script to check for potential impacts:

✅ Verification successful

System.Text update appears safe

The update to System.Text 1.3.1 is safe as the codebase only uses basic UTF8 encoding/decoding operations in a single test file, which are part of .NET's backward compatibility guarantee.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Search for System.Text usage patterns that might be affected by the major version update

# Look for direct System.Text usage
rg -l "using.*System\.Text" 

# Look for specific encoding usage patterns
rg "Encoding\." -A 3

Length of output: 684

nanoFramework.M5Core/packages.lock.json (1)

133-135: LGTM! Package updates look consistent.

The version updates follow semantic versioning and are applied consistently:

  • System.IO.FileSystem: 1.1.66 -> 1.1.69 (patch)
  • System.IO.Ports: 1.1.86 -> 1.1.107 (patch)
  • System.IO.Streams: 1.1.59 -> 1.1.77 (patch)
  • System.Text: 1.2.54 -> 1.3.1 (minor)

Since System.Text has a minor version bump (1.2.x -> 1.3.x), let's verify there are no breaking changes:

Also applies to: 139-141, 145-147, 169-171

✅ Verification successful

System.Text update is safe to proceed

The minor version update from 1.2.54 to 1.3.1 is safe as System.Text is used as a transitive dependency with no direct API usage in the codebase.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check for any major API changes in System.Text usage
rg -l "using.*System\.Text" | xargs rg "System\.Text\." -A 2

Length of output: 62


Script:

#!/bin/bash
# Find all nanoFramework project files and check their package references
fd -e nfproj | xargs cat

# Search for common System.Text types and usages
rg -i "encoding|stringbuilder|system\.text" -A 2

# Look for using directives with broader pattern
rg "using.*Text"

Length of output: 76389

nanoFramework.Fire/packages.lock.json (1)

145-147: Package updates are consistent with other projects.

The version updates match those in nanoFramework.M5Core/packages.lock.json.

Also applies to: 151-153, 157-159, 181-183

Tests/M5Core2TestApp/packages.lock.json (1)

133-135: Additional package updates look good.

The file includes two additional package updates:

  • System.Device.Wifi: 1.5.91 -> 1.5.105 (patch)
  • System.Net: 1.11.1 -> 1.11.15 (patch)

All version updates are consistent with other files.

Also applies to: 145-147, 151-153, 157-159, 169-171, 187-189

nanoFramework.M5Core2/packages.lock.json (1)

151-153: Package updates are consistent with other projects.

The version updates match those in other packages.lock.json files.

Also applies to: 157-159, 163-165, 187-189

nanoFramework.Tough/packages.lock.json (2)

109-111: Version updates look good for IO-related packages.

The minor version updates for System.IO.FileSystem, System.IO.Ports, and System.IO.Streams are safe incremental updates.

Also applies to: 115-117, 121-123, 133-135


133-135: Verify breaking changes in System.Text 1.3.1

There's a major version update for System.Text (1.2.54 -> 1.3.1).

Run this script to check for breaking changes:

✅ Verification successful

No breaking changes found in System.Text 1.3.1

The update from 1.2.54 to 1.3.1 contains only dependency updates and maintenance changes, with no API modifications that would affect the current usage of UTF8 encoding operations.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for breaking changes in System.Text 1.3.1

# Search for System.Text usage patterns that might be affected
rg -l "using.*System\.Text" | xargs rg "Encoding\.|StringBuilder\."

# Check changelog or release notes
curl -s "https://raw.githubusercontent.com/nanoframework/lib-nanoFramework.System.Text/v1.3.1/CHANGELOG.md"

Length of output: 26315

Tests/M5CoreTestApp/packages.lock.json (1)

121-123: Version updates are consistent.

The package version updates in this file match those in nanoFramework.Tough/packages.lock.json, maintaining consistency across the project.

Also applies to: 127-129, 133-135, 157-159

Tests/FireTestApp/packages.lock.json (1)

139-141: Version updates are consistent.

The package version updates in this file match those in other files, maintaining consistency across the project. Note that System.IO.Ports is not included as it's not a dependency in this project.

Also applies to: 145-147, 169-171


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
🪧 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. (Beta)
  • @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

sonarqubecloud bot commented Jan 8, 2025

@nfbot nfbot merged commit 72ee5af into main Jan 8, 2025
7 checks passed
@nfbot nfbot deleted the nfbot/update-dependencies/3015124e-25ce-4d7d-8ca3-6a76eb9eae91 branch January 8, 2025 07:34
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