Skip to content

v0.13.0

Latest

Choose a tag to compare

@hubagaspar91 hubagaspar91 released this 20 Nov 11:24
· 3 commits to main since this release
v0.13.0
d4f83e1

Changed — breaking

  • ledgrpc now vendors the protos of Canton 3.7.1, which Splice 0.10.0
    runs. They replace the Canton 3.5.11 set, by way of an unreleased 3.6.4
    sync. Each root is still copied whole from its upstream module, as in #28.
  • Canton 3.7 makes the v31 topology messages stable for protocol version
    37. v31::TopologyMapping now uses the same field numbers as
    v30::TopologyMapping, so v31 bytes from Canton 3.6 do not decode.
  • protocol::v31 loses SubmitterMetadata, ExternalAuthorization,
    CompressedBatch, SequencedEvent, SubmissionRequest and
    EnvelopeContent. Their successors are in protocol::v32.
    SubmissionRequest also has a newer form in the new protocol::v33.
  • The sequencer connect and initialization messages drop their
    protocol::v30 StaticSynchronizerParameters variant. They add a
    protocol::v33 variant under a new field number. The v31 and v32
    variants stay.
  • The sequencer admin v30 package loses the OnboardingState and
    InitializeSequencerFromOnboardingState RPCs. Callers move to
    OnboardingStateV2 and InitializeSequencerFromOnboardingStateV2, which
    the same package already has. The new sequencer::admin::v31 package
    holds only payload messages, such as OnboardingStateForSequencerV2 and
    SequencerSnapshot.
  • The Admin API PartyManagementService moves AcsReplicationStatus to the
    top level.
  • crypto::v31 is removed, because Canton 3.6 drops that package.
  • protocol::v30 loses the synchronizer-internal messages that Canton
    dropped: Envelope, Batch, SequencedEvent, SubmissionRequest,
    SubmitterMetadata, EncryptedViewMessage and ExternalAuthorization.
    protocol::v31 loses NamespaceDelegation, OwnerToKeyMapping and
    PartyToKeyMapping.
  • SignedTopologyTransactions::signed_transaction is renamed to
    signed_transactions. The field number stays the same, so the wire
    format does not change.
  • The Ledger API PartyManagementAlphaService loses ExportPartyAcs and
    AddPartyWithAcs. The Admin API PartyManagementService gains
    AddPartyWithAcsAsync and GetAddPartyStatus. The Admin API
    ExportPartyAcs and ImportPartyAcs keep their messages and only gain
    fields.
  • The participant messages PartyReplicationSourceParticipantMessage and
    PartyReplicationTargetParticipantMessage are renamed to
    AcsReplicationSourceParticipantMessage and
    AcsReplicationTargetParticipantMessage.
  • token::SendParams::execute_before is now Option<std::time::Duration>
    instead of Option<chrono::Duration>. send returns an error when the
    duration overflows the time range. Before, the addition panicked.
  • The wallet mining-round fields created_at, opens_at and
    target_closes_at are now jiff::Timestamp instead of
    chrono::DateTime<Utc>. They read and write the same RFC 3339 strings.

Changed

  • The token crate writes requestedAt and executeBefore with a Z
    offset and without trailing zero digits, for example
    2026-11-19T12:54:31.67331Z. Before, chrono wrote
    2026-11-19T12:54:31.673310+00:00. Both forms name the same instant, and
    the registry and the Ledger API accept both.

Security

  • The workspace replaces chrono with jiff, because RUSTSEC-2026-0543
    marks chrono as unmaintained. The workspace also moves to
    canton-api-client 3.6.1-0.1.1, which uses jiff instead of chrono.
  • The lockfile moves openssl to 0.10.82 and openssl-sys to 0.9.118.
    This closes RUSTSEC-2026-0463 and RUSTSEC-2026-0473 to RUSTSEC-2026-0479.
    The lockfile applies only to builds of this workspace, so a consumer
    updates openssl in its own lockfile.

Added

  • The topology read and write services accept and return a v31 mapping
    next to v30. A synchronizer on protocol version 37 uses v31, and one
    on 36 or lower still uses v30.
  • AuthorizeRequest gains an optional protocol_version. On a protocol
    version 37 synchronizer, a client can set 36 to get a v30 transaction.
    The new force flag FORCE_FLAG_ALLOW_V30_PARTY_TO_PARTICIPANT_AFTER_HOSTING_STATES
    goes with it.
  • The Admin API PartyManagementService gains GetAcsReplicationStatus.
  • New RPCs include StateService::ConvertRecordTimeToOffset,
    TopologyManagerReadService::GenerateOnboardingTopologyTransactions, and
    the digest consistency checks on ParticipantRepairService.