Skip to content

Remove native version and use native contract hash - #186

Merged
josesimoes merged 1 commit into
developfrom
new-assembly-format
Oct 13, 2026
Merged

josesimoes merged 1 commit into
developfrom
new-assembly-format

Conversation

@josesimoes

Copy link
Copy Markdown
Member

Description

  • Removed the AssemblyNativeVersion attribute from AssemblyInfo.cs.
  • Updated the nuspec description to reference the native contract hash.
  • Added the native contract hash tag to the nuspec tags.
  • Updated nanoFramework.CoreLibrary to 2.0.0-preview.63 in the nuspec, packages.config, nfproj and packages.lock.json files.

Motivation and Context

How Has This Been Tested?

Built by the CI pipeline of this PR.

Screenshots

Types of changes

  • Improvement (non-breaking change that improves a feature, code or algorithm)
  • Bug fix (non-breaking change which fixes an issue with code or algorithm)
  • New feature (non-breaking change which adds functionality to code)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Config and build (change in the configuration and build system, has no impact on code or features)
  • Dependencies (update dependencies and changes associated, has no impact on code or features)
  • Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
  • Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

  • My code follows the code style of this project (only if there are changes in source code).
  • My changes require an update to the documentation (there are changes that require the docs website to be updated).
  • I have updated the documentation accordingly (the changes require an update on the docs in this repo).
  • I have read the CONTRIBUTING document.
  • I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
  • I have added new tests to cover my changes.

🤖 Generated with Claude Code

- Remove AssemblyNativeVersion attribute from AssemblyInfo.cs.
- Update nuspec description and tags to use the native contract hash.
- Update nanoFramework.CoreLibrary to 2.0.0-preview.63.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: nanoframework/coderabbit/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 8d79631d-c879-403c-96ea-42da0d07e2d5
📥 Commits

Reviewing files that changed from the base of the PR and between d1f927d and 40e25c0.

📒 Files selected for processing (17)
  • Tests/GenericCollections/GenericCollections.nfproj
  • Tests/GenericCollections/packages.config
  • Tests/GenericCollections/packages.lock.json
  • Tests/HashtableTests/HashtableTests.nfproj
  • Tests/HashtableTests/packages.config
  • Tests/HashtableTests/packages.lock.json
  • Tests/QueueTests/QueueTests.nfproj
  • Tests/QueueTests/packages.config
  • Tests/QueueTests/packages.lock.json
  • Tests/StackTests/StackTests.nfproj
  • Tests/StackTests/packages.config
  • Tests/StackTests/packages.lock.json
  • nanoFramework.System.Collections.nuspec
  • nanoFramework.System.Collections/Properties/AssemblyInfo.cs
  • nanoFramework.System.Collections/nanoFramework.System.Collections.nfproj
  • nanoFramework.System.Collections/packages.config
  • nanoFramework.System.Collections/packages.lock.json
💤 Files with no reviewable changes (1)
  • nanoFramework.System.Collections/Properties/AssemblyInfo.cs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated the collections library and related test projects to use nanoFramework Core Library version 2.0.0-preview.63.
    • Updated package metadata to identify the required native contract by its contract hash instead of native version and checksum.

Walkthrough

The collection package and its four test projects update their nanoFramework.CoreLibrary dependency from preview.52 to preview.63. Package metadata now identifies the native contract by hash and removes the assembly native version attribute.

Changes

CoreLibrary dependency and package metadata

Layer / File(s) Summary
Collection package metadata
nanoFramework.System.Collections.nuspec, nanoFramework.System.Collections/Properties/AssemblyInfo.cs, nanoFramework.System.Collections/nanoFramework.System.Collections.nfproj, nanoFramework.System.Collections/packages.config, nanoFramework.System.Collections/packages.lock.json
The package description and tags use the native contract hash. The CoreLibrary dependency and project reference now use preview.63. The assembly native version attribute is removed.
Test project dependencies
Tests/GenericCollections/*, Tests/HashtableTests/*, Tests/QueueTests/*, Tests/StackTests/*
Each test project updates its CoreLibrary reference, package version, and lock entry to preview.63. The lock entry’s content hash also changes.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 40e25

No demonstrated issue blocks merging. Confirm that the matching interpreter declaration is included before releasing the package.

Pre-merge checks · Passed 4
Passed Passed checks (4 passed)
Check name Status Explanation
Title check Passed The title clearly summarizes the main change, contains no issue or PR reference, and does not end with a full stop. Its stated length is 50 characters, which is concise but at the preferred limit.
Description check Passed The description directly explains the removed attribute, native contract hash updates, dependency updates, testing status, and change type. It is related to the changeset.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Comment @coderabbitai help to get the list of available commands.

@nfbot

nfbot commented Oct 12, 2026

Copy link
Copy Markdown
Member

⚠️ Native declaration update required!

The native contract hash of nanoFramework.System.Collections has changed. The native declaration in nf-interpreter must be updated before this package can be released.

Previously published This build
Native contract hash 0xDD331830 0xD8CFAC0D

👉 Tracking issue: nanoframework/Home#1925

The issue contains a link to the stubs artifact from this build and instructions for GitHub Copilot to perform the update.

@josesimoes

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@josesimoes

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@sonarqubecloud

Copy link
Copy Markdown

@josesimoes
josesimoes merged commit 1543a6d into develop Oct 13, 2026
8 checks passed
@josesimoes
josesimoes deleted the new-assembly-format branch October 13, 2026 01:31
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.

2 participants