Repository navigation
·
1 commit
to main
since this release
Immutable
release. Only release title and notes can be modified.
nexus-sdk
Added
TransactionSignertrait withNexusClientBuilder::with_signerandWalletClient::connect_with_signer, so a wallet can sign with a key held outside the process;with_private_keyis unchanged.GcpKmsSigner, aTransactionSignerbacked by a Google Cloud KMS Ed25519 or P-256 key version, authenticated through Application Default Credentials, lives in the newnexus-gcp-kmscrate (nexus_gcp_kms::GcpKmsSigner); the SDK has nogcp-kmsfeature.GcpKmsSigner::newinstalls rustls' ring provider as the process default when none is installed.RemoteSigner(featureremote-signer) signs transactions through any HTTP signing service implementing a two-call JSON protocol (GET /v1/public-key,POST /v1/sign); every signature is verified locally against the caller-pinned address, andconnectproves the service holds that key with a fresh random challenge. Its HTTP client always uses rustls with the bundled Mozilla roots plusextra_root_ca_pem, whatever TLS backend other crates in the build select.
Changed
- Breaking:
WalletClient::sign_transactionis now async; local-key signatures are unchanged. - Updated the advisory policy for upstream-constrained zstd/zstd-safe versions and upgraded locked zstd-sys to 2.1.2; exception reasons record scope, review date, and removal criteria.
- Signed HTTP v3.1: Requests now carry a separate Ed25519 signature over the receiving Tool FQN, invocation nonce, and Unix-millisecond timestamp while preserving existing v3 input and result signature bytes. This protocol revision retains the
signed_http::v3API module andX-Nexus-Sig-V: 3wire header. See the v3.1 migration guide. - Breaking:
RecoveryReader::newnow accepts only the RPC URL.RecoveryReader::readinvokes its callback once within a 30 second deadline and returns failures to the caller, which owns continuation policy. - Breaking:
EventIngestor::startreports a connection failure once and closes the receiver. Callers own reconnection, resume from the last delivered checkpoint inclusively, and deduplicate replayed events. - Recovery discovery now returns failed reads, invalid responses, and incomplete coverage as errors. Individual requests and stalled response bodies have deadlines, while healthy pagination can continue as its cursor advances.
Fixed
- Updated the locked libz-sys to 1.1.31 to address RUSTSEC-2026-0418 (build script printed the full environment).
- Updated the locked rustls dependency to 0.23.46 to address four TLS security advisories.
- Expired walk inspection now considers committed Tool results preserved behind an earlier insufficient settlement marker. Current simulation determines whether funding permits settlement after a refill.
NexusErrorpreserves wrapped error sources so callers can identify typed RPC failures and choose the appropriate recovery policy.- DAG validation rejects entry ports on a vertex that is not a member of any entry group. Publishing only records entry ports for group members, so these ports were dropped silently and the published DAG could not supply them at run time.
- DAG validation rejects edges, default values and outputs that name an undeclared vertex, and a second default value for the same input port. These DAGs passed validation and then aborted on chain during publishing.
- Local DAG validation now uses reachability and memoized traversal to avoid enumerating repeated paths while preserving validation rules.
Removed
- Removed the recovery module's
ListConfigandListEventreexports and thepoller_stream_reconnectionsmetric. Recovery continuation and event reconnection belong to the caller. - Breaking: Removed the unused public signed HTTP v2 SDK module.
nexus-cli
Added
- Opt-in Cloud KMS signing (through
nexus-gcp-kms): setSUI_KMS_KEY_VERSIONornexus conf set --sui.kms-key-versionto a pinned.../cryptoKeyVersions/Nresource to sign with a Google Cloud KMS key through Application Default Credentials (roles/cloudkms.signerVerifier); an empty value counts as unset. Configuring it together withSUI_PK/sui.pkis an error; without it the CLI behaves as before. - Local signing accepts the Ed25519
suiprivkeyformat produced bysui keytool export, as well as legacy Base64 keys. Configure it usingSUI_SKor--sui.sk; existingSUI_PK,--sui.pk, and savedsui.pksettings remain supported. The CLI warns whenSUI_PKis used or conflicts withSUI_SK.
Fixed
- TAP scaffolds use brace bodies for the extension and test module in the generated test file so
nexus tap testcompiles successfully. tap requirementsandtap vault balanceread public state without requiring agent ownership or a private key.tool cashier accessalso works without a key when a beneficiary is supplied explicitly.walrus upload --estimatequotes storage without loading a signing wallet. Estimates reportpayerasnulland use the same encoding and price calculation as uploads.- Walrus commands decode Sui objects from their requested BCS bytes, preserving ownership and type checks without requiring omitted response fields.
- Fixed CLI argument validation incorrectly rejecting valid combinations of occurrence start, deadline, and priority fee options.
conf set,tap agent save/remove, and Tool registration no longer replace an existing configuration with defaults whenconf.tomlcannot be read or parsed. The command now fails and leaves the file untouched; only a missing file starts from the default configuration.
nexus-toolkit
Changed
- Signed HTTP v3.1: Required mode verifies the allowlisted Leader Tool-context signature and freshness before replay-cache access, with a configurable inclusive timestamp window defaulting to 30,000 ms. Older v3 requests without context headers are rejected even though the wire version remains
3. - Toolkit metadata always advertises HTTPS and ignores
X-Forwarded-Proto; the listener supports optional Leader client certificates. Per-Toolrequire_client_certificatedefaults tofalse; enabling it requires the TLS peer key to match the allowlisted Leader key before replay-cache access or execution.
Fixed
- Toolkit serves plain HTTP again when no TLS credentials are configured, for hosts that terminate HTTPS externally (e.g. Cloud Run). TLS remains required for
require_client_certificate. - Unsigned
/invokerequests now decode the Leader'sportsenvelope into Tool inputs, matching signed mode; plain input objects remain unsupported.