Skip to content

Releases: BlaineHeffron/soroban-sdk-tools

soroban-sdk-tools-v0.1.3

Choose a tag to compare

@github-actions github-actions released this 26 Jun 15:33
233112e

Added

  • add nested sub-invocation support to real auth flow
  • add nested mock auth

Fixed

  • update tests for new auth API and __constructor (#32)
  • add explicit lifetime to mock_auth_invocation return type

Other

  • Add mainnet storage case study site
  • main into feat/soroban-examples-sdk-tools
  • Merge pull request #30 from BlaineHeffron/feat/nested_auth

soroban-sdk-tools-macro-v0.1.3

Choose a tag to compare

@github-actions github-actions released this 26 Jun 15:32
233112e

Other

  • Update soroban-sdk and related crates to v27 (#40)

soroban-sdk-tools-v0.1.2

Choose a tag to compare

@github-actions github-actions released this 24 Feb 23:32
d24287b

Other

  • rewrite README for clarity, fix docs.rs and crates.io setup (#28)
  • Merge pull request #26 from BlaineHeffron/remove-unnecessary-clones
  • remove unnecessary clones before into_val calls

soroban-sdk-tools-v0.1.1

Choose a tag to compare

@github-actions github-actions released this 24 Feb 19:40
3eff887

Added

  • add try_invoke to CallBuilder and AuthClient
  • add real auth
  • add real key authorization testing (Ed25519, Secp256k1, Secp256r1)
  • set abort and unknown error codes, remove user set options
  • add SequentialError trait for 0-based inner error mapping
  • sequential code assignment
  • add options for handling abort, unknown codes
  • add errors example contracts to test wasm spec
  • scerr macro

Fixed

  • unify cfg gates to not(target_family=wasm) and resolve clippy warnings
  • resolve clippy warnings and fmt in auth code
  • relax CallBuilder fn_name from &'static str to &'a str
  • prevent u32 overflow in signature_expiration_ledger
  • normalize secp256k1 signatures to low-S form
  • setup_mock_auth clears prior auth state when authorizers is empty
  • cfg gates, testutils feature for tests, and invoke-without-auth test
  • prevent cross-contract error code mismapping in ?? operator path
  • bit split 10/22 instead of 22/10

Other

  • Merge pull request #19 from BlaineHeffron/fix/auth-testutils-gate
  • storage convenience methods (#18)
  • Split auth.rs into auth submodules
  • update examples and tests for borrow-based auth API
  • use shorthand field init and widen auth cfg gate to non-wasm
  • document sign/authorize mutual exclusion panic on CallBuilder
  • move NONCE_COUNTER thread_local to module scope
  • auth client
  • fmt, clippy
  • remove unused description() method from ContractError trait
  • remove mode and support nested code passthrough
  • generate flattened errors in spec
  • add contractimport_with_errors
  • attr parsing refactor
  • common error aggregation

soroban-sdk-tools-macro-v0.1.2

Choose a tag to compare

@github-actions github-actions released this 24 Feb 23:31
d24287b

Added

  • add try_invoke to CallBuilder and AuthClient
  • add real auth
  • add real key authorization testing (Ed25519, Secp256k1, Secp256r1)
  • set abort and unknown error codes, remove user set options
  • dont allow explicit discriminants in root mode
  • add SequentialError trait for 0-based inner error mapping
  • sequential code assignment
  • add options for handling abort, unknown codes
  • scerr macro

Fixed

  • unify cfg gates to not(target_family=wasm) and resolve clippy warnings
  • resolve clippy warnings and fmt in auth code
  • remove allocations
  • switch cfg for auth client to non-wasm
  • cfg gates, testutils feature for tests, and invoke-without-auth test
  • qualify traits inline to remove needing to import them
  • prevent cross-contract error code mismapping in ?? operator path
  • use sequential codes in contractimport spec/tree instead of native codes
  • bit split 10/22 instead of 22/10
  • passthrough when inner decoding fails
  • fix/cleanup
  • fix/remove redundant specs

Other

  • storage convenience methods (#18)
  • use soroban_spec_rust::generate_type_ident instead of custom impl
  • auth client
  • clippy
  • remove unnecessary / dead fallback code that wouldn't get reached
  • fmt, clippy
  • remove unused description() method from ContractError trait
  • use match with range patterns in generated from_code/into_code
  • remove mode and support nested code passthrough
  • generate flattened errors in spec
  • add contractimport_with_errors
  • refactor scerr_impl
  • fmt
  • make root_max a const
  • attr parsing refactor
  • common error aggregation

soroban-sdk-tools-macro-v0.1.1

Choose a tag to compare

@github-actions github-actions released this 24 Feb 19:39
3eff887

Added

  • add try_invoke to CallBuilder and AuthClient
  • add real auth
  • add real key authorization testing (Ed25519, Secp256k1, Secp256r1)
  • set abort and unknown error codes, remove user set options
  • dont allow explicit discriminants in root mode
  • add SequentialError trait for 0-based inner error mapping
  • sequential code assignment
  • add options for handling abort, unknown codes
  • scerr macro

Fixed

  • unify cfg gates to not(target_family=wasm) and resolve clippy warnings
  • resolve clippy warnings and fmt in auth code
  • remove allocations
  • switch cfg for auth client to non-wasm
  • cfg gates, testutils feature for tests, and invoke-without-auth test
  • qualify traits inline to remove needing to import them
  • prevent cross-contract error code mismapping in ?? operator path
  • use sequential codes in contractimport spec/tree instead of native codes
  • bit split 10/22 instead of 22/10
  • passthrough when inner decoding fails
  • fix/cleanup
  • fix/remove redundant specs

Other

  • storage convenience methods (#18)
  • use soroban_spec_rust::generate_type_ident instead of custom impl
  • auth client
  • clippy
  • remove unnecessary / dead fallback code that wouldn't get reached
  • fmt, clippy
  • remove unused description() method from ContractError trait
  • use match with range patterns in generated from_code/into_code
  • remove mode and support nested code passthrough
  • generate flattened errors in spec
  • add contractimport_with_errors
  • refactor scerr_impl
  • fmt
  • make root_max a const
  • attr parsing refactor
  • common error aggregation