-
Notifications
You must be signed in to change notification settings - Fork 7
Sdk release preparation #39
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
Changes from 3 commits
22f5c90
a1b4d88
dab6550
a11f824
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to `aptos-sdk-macros` will be documented in this file. | ||
|
|
||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
|
||
| ## [unreleased] | ||
|
|
||
| ## [0.2.0] - 2026-02-25 | ||
|
|
||
| ### Security | ||
| - Made path traversal check in `aptos_contract_file!` non-bypassable via path canonicalization | ||
| - Added input validation for Rust identifiers generated from Move ABI to prevent panics on malformed input | ||
| - Added Rust keyword detection with automatic raw identifier (`r#`) fallback | ||
|
|
||
| ### Changed | ||
| - Updated generated code to use `const-hex` instead of `hex` crate (aligns with aptos-sdk 0.4.0) | ||
| - Removed unused `extra-traits` feature from `syn` dependency | ||
| - Configured `docs.rs` publishing metadata | ||
|
|
||
| ## [0.1.0] - 2026-01-06 | ||
|
|
||
| ### Added | ||
| - `aptos_contract!` procedural macro for inline ABI-based contract bindings | ||
| - `aptos_contract_file!` procedural macro for file-based ABI contract bindings | ||
| - Type-safe Rust code generation from Move module ABIs | ||
| - Support for entry functions, view functions, and struct definitions | ||
| - Move-to-Rust type mapping (primitives, vectors, options, objects) | ||
|
|
||
| [0.2.0]: https://github.com/aptos-labs/aptos-rust-sdk/releases/tag/macros-v0.2.0 | ||
| [0.1.0]: https://github.com/aptos-labs/aptos-rust-sdk/releases/tag/macros-v0.1.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,12 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
|
||
| ## [unreleased] | ||
|
|
||
| ## [0.4.0] - 2026-02-25 | ||
|
|
||
| ### Security | ||
| - Comprehensive security audit remediating 21 findings across the SDK | ||
| - Second-pass audit fixes across crypto, keyless, and API client modules | ||
| - Enforced low-S normalization for ECDSA (secp256k1/secp256r1) signatures to match aptos-core | ||
| - Hardened keyless account JWT verification | ||
| - Improved input validation across API clients and codegen | ||
|
|
||
| ### Changed | ||
| - Upgraded `reqwest` to v0.13 | ||
| - Use `const-hex` crate instead of `hex` | ||
| - Upgraded `reqwest` from v0.12 to v0.13 | ||
| - Replaced `hex` crate with `const-hex` for improved performance | ||
| - Removed `async-trait` dependency in favor of native async trait support | ||
| - Audited and cleaned up dependency tree | ||
| - Bumped `keccak` from 0.1.5 to 0.1.6 | ||
| - Improved dependency feature selection for reduced compile times | ||
| - Configured `docs.rs` metadata for release builds | ||
|
|
||
| ### Fixed | ||
| - Resolved rustdoc warnings breaking CI documentation check | ||
| - Fixed clippy `needless_borrows_for_generic_args` warnings | ||
|
|
||
| ### Performance | ||
| - Reduced allocations and lock overhead in hot paths | ||
|
|
||
| ### Removed | ||
| - Unnecessary feature-flags | ||
| - `async-trait` dependency | ||
|
|
||
| ## [0.1.0] - 2026-01-06 | ||
gregnazario marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
|
@@ -88,5 +110,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
| - This SDK is independent of `aptos-core` for faster compilation | ||
| - Minimum Supported Rust Version (MSRV): 1.90 | ||
|
|
||
| [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 | ||
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.