Skip to content

Sdk release preparation#39

Merged
gregnazario merged 4 commits intomainfrom
cursor/sdk-release-preparation-3bc2
Feb 26, 2026
Merged

Sdk release preparation#39
gregnazario merged 4 commits intomainfrom
cursor/sdk-release-preparation-3bc2

Conversation

@gregnazario
Copy link
Contributor

Bumps aptos-sdk to v0.4.0 and aptos-sdk-macros to v0.2.0, updating changelogs to reflect security fixes, dependency upgrades, and breaking changes for release.

The aptos-sdk v0.4.0 release includes comprehensive security audit remediations, ECDSA signature hardening, and migration from hex to const-hex. aptos-sdk-macros v0.2.0 introduces breaking changes in generated code to align with const-hex and adds security hardening for path traversal and identifier validation.


Open in Web Open in Cursor 

Version bumps:
- aptos-sdk: 0.3.0 -> 0.4.0
- aptos-sdk-macros: 0.1.0 -> 0.2.0

aptos-sdk 0.4.0 changelog highlights:
- Security: Comprehensive audit remediating 21 findings, low-S ECDSA
  enforcement, hardened keyless JWT verification
- Changed: reqwest v0.13, hex -> const-hex, removed async-trait
- Performance: Reduced allocations and lock overhead in hot paths
- Fixed: Rustdoc warnings, clippy warnings

aptos-sdk-macros 0.2.0 changelog highlights:
- Security: Non-bypassable path traversal check, identifier validation
- Changed: Generated code uses const-hex instead of hex

Co-authored-by: Greg Nazario <greg@gnazar.io>
@cursor
Copy link

cursor bot commented Feb 25, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@gregnazario gregnazario requested a review from Copilot February 25, 2026 22:50
@gregnazario gregnazario marked this pull request as ready for review February 25, 2026 22:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Prepares the repository for an SDK release by bumping crate versions and updating changelogs to document the aptos-sdk v0.4.0 and aptos-sdk-macros v0.2.0 release contents (security fixes, dependency updates, and breaking changes).

Changes:

  • Bumped aptos-sdk crate version to 0.4.0 and updated its changelog with release notes and a release link.
  • Bumped aptos-sdk-macros crate version to 0.2.0, updated workspace dependency version, and added a new changelog for the macros crate.
  • Updated Cargo.lock to reflect the new crate versions.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
crates/aptos-sdk/Cargo.toml Bumps aptos-sdk version to 0.4.0 for release.
crates/aptos-sdk/CHANGELOG.md Adds 0.4.0 release notes and a release link reference.
crates/aptos-sdk-macros/Cargo.toml Bumps aptos-sdk-macros version to 0.2.0 for release.
crates/aptos-sdk-macros/CHANGELOG.md Introduces changelog documenting 0.2.0 security and breaking changes.
Cargo.toml Updates workspace dependency version for aptos-sdk-macros to 0.2.0.
Cargo.lock Updates locked versions for aptos-sdk/aptos-sdk-macros.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Remove incorrect claim that futures dependency was removed (it is
  still used)
- Fix 0.1.0 release link to use sdk-v0.1.0 tag prefix matching the
  release workflow convention

Co-authored-by: Greg Nazario <greg@gnazar.io>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

cargo publish rejects path-only workspace dependencies (including
dev-deps), so aptos-sdk-macros publishing would fail. Adding
version = "0.4.0" alongside the path ensures crates.io resolution
works correctly.

Co-authored-by: Greg Nazario <greg@gnazar.io>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


[0.1.0]: https://github.com/aptos-labs/aptos-rust-sdk/releases/tag/v0.1.0
[0.4.0]: https://github.com/aptos-labs/aptos-rust-sdk/releases/tag/sdk-v0.4.0
[0.1.0]: https://github.com/aptos-labs/aptos-rust-sdk/releases/tag/sdk-v0.1.0
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

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

The changelog link format for version 0.1.0 has been changed from "v0.1.0" to "sdk-v0.1.0". Ensure that this GitHub release tag actually exists or will be created with this exact format, otherwise the link will be broken.

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@gregnazario gregnazario merged commit 35f0645 into main Feb 26, 2026
17 checks passed
@gregnazario gregnazario deleted the cursor/sdk-release-preparation-3bc2 branch February 26, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants