- BETH
- Concepts and reference
- Compatibility and release notes
Compatibility and release notes
BETH environments and prerequisites
Purpose
Section titled “Purpose”Use this reference to:
- Choose a known-good BETH component set.
- Check what changed between repository releases.
- Identify required migration work.
- Determine whether a reported problem is a documented issue or an unconfirmed compatibility gap.
Before you upgrade
Section titled “Before you upgrade”- Pin every library and package to an immutable release tag or approved manifest.
- Confirm the target environment before installing BETH DAR packages.
- Do not infer production support from files bundled in a repository tag.
- Test the complete workflow in the target environment before production use.
- Keep rollback instructions and the previously approved component set available.
Compatibility at a glance
Section titled “Compatibility at a glance”The table below records the repository baseline. Verify the complete component row against the maintained compatibility matrix before deployment.
| Component | Repository baseline | Evidence | Status |
|---|---|---|---|
bitsafe-token-lib | v0.6.0 | The release package manifest reports version 0.6.0. | Repository baseline. Verify the target environment and support window. |
canton-lib | v0.13.0 | bitsafe-token-lib v0.6.0 pins the token, ledger, keycloak, registry, and common crates to this tag. | Direct dependency of the working baseline. |
canton-api-client | 3.6.1-0.1.1 | Declared by the bitsafe-token-lib v0.6.0 package manifest. | Wire-client baseline. Verify the approved participant range. |
| Canton participant | 3.6.1 for bitsafe-token-lib v0.6.0 | The library uses the Canton 3.6.1 API client. Its active-contract requests use the eventFormat field that Canton 3.6.1 requires. | Verify the maintained support range before you use an older participant. |
| BETH DAR package | Package bundled at bitsafe-token-lib v0.6.0: beth-0.2.0.dar | The v0.6.0 DAR directory includes beth-0.2.0.dar and its package ID and SHA-256 checksum. | Bundled candidate, not proof that every environment has deployed or approved it. |
| Utility and Splice DAR dependencies | Tagged manifest under dars/dependencies | The repository includes the dependency files used by its upload and validation tooling. | Verify the environment-specific dependency set and vetting status. |
Compatibility matrix format
Section titled “Compatibility matrix format”Use the maintained machine-readable matrix for mutable version and support information.
| Environment | bitsafe-token-lib | canton-lib | Canton participant | BETH DAR | Utility and Splice release | Last verified | Support status |
|---|---|---|---|---|---|---|---|
| Repository baseline only | v0.6.0 | v0.13.0 | Verify in the maintained matrix | Bundled candidate: 0.2.0 | Verify in the maintained matrix | 20 November 2026, source review and local build | Repository baseline only |
Use these support labels consistently:
- Supported: Engineering has validated the complete row and owns its support window.
- Maintenance: Security and critical fixes only, with an announced end date.
- Deprecated: A replacement and migration path exist, and removal is scheduled.
- Unsupported: No compatibility or operational support is provided.
Select and verify a component set
Section titled “Select and verify a component set”- Choose the target environment. Use the maintained environment reference. Do not copy party identifiers, endpoints, or package IDs from another environment.
- Pin
bitsafe-token-lib. Use an immutable tag. Do not use a mutablemainbranch in production guidance. - Use the matching
canton-libtag. Read thebitsafe-token-libpackage manifest for the exact dependency pin. - Confirm the Canton participant version. Check the approved matrix before building or submitting commands.
- Install the approved DAR set. The repository recommends the gRPC upload script,
dars/upload_dars.sh beth, which uploads dependency DARs before BETH DARs. Confirm the environment manifest before running it. - Run the DAR inventory check.
ASSET=beth cargo run --example check_darscompares the tagged DAR files with packages installed on the participant. A pass confirms package presence only. It does not prove environment compatibility, package vetting, permissions, or a working mint or redemption flow. - Run a read-only check. Authenticate, select the intended party, and run a balance or contract query.
- Run the environment acceptance test. Complete the approved operation, verify the ledger and application result, and record the tested versions and date.
- Keep rollback evidence. Record the previously supported matrix row and the conditions for reverting.
Release notes
Section titled “Release notes”Each library publishes its release notes on GitHub:
Deprecations and migration actions
Section titled “Deprecations and migration actions”| Deprecated behavior | Replacement | Migration action | Removal or compatibility note |
|---|---|---|---|
SendParams::execute_before as Option<chrono::Duration> | Option<std::time::Duration> | Pass a std::time::Duration, for example Duration::from_secs(3600). send now returns an error when the duration overflows the time range. | Breaking change in bitsafe-token-lib v0.6.0 and canton-lib v0.13.0. |
canton-lib v0.12.0 pins next to bitsafe-token-lib | canton-lib v0.13.0 | Change every canton-lib tag in your Cargo.toml to v0.13.0. A direct canton-api-client dependency must be 3.6.1-0.1.1. | Required by bitsafe-token-lib v0.6.0. Two different pins build two copies of the shared types, and then the types do not match. |
requestedAt and executeBefore strings with a +00:00 offset, from send, split, consolidate and batch | The same instant with a Z offset and no trailing zero digits, for example 2026-11-19T12:54:31.67331Z | No action, unless your code compares the raw time strings that these functions send. transfer::submit sends your own strings unchanged. The registry and the Ledger API accept both forms. | Changed in bitsafe-token-lib v0.6.0, when the library moved from chrono to jiff. |
Four-field EVM Deposit in BETH and CHYPE | Five-field Deposit with prevDepositBlock | Update struct literals and event filters. Decode historical logs with a separate four-field binding and the old topic. | Breaking change in bitsafe-token-lib v0.5.0. CBTC APIs remain unchanged. |
Version-pinned UserService template ID in AcceptCredentialOfferParams | Package-name template ID that the library sets | Remove the user_service_template_id field from each credentials::accept_credential_offer call. | Removed in canton-lib v0.12.0. A participant that does not vet the old package version rejects the old accept. |
ledger::submit::wait_for_transaction_tree | ledger::submit::wait_for_transaction | Update the function call. Replace transactionTree.eventsById parsing with iteration over transaction.events. Rename tree event variants to their flat equivalents. | Removed in canton-lib v0.10.0. Canton 3.6.1 disables the endpoint. |
| Implicit zero when the ledger-end offset is missing | Explicit error handling | Handle Err("Ledger end response missing offset") and investigate the upstream response. | Behavior changed in canton-lib v0.6.0. |
String or floating-point Daml decimal values in older canton-lib consumers | common::decimal::DamlDecimal | Parse validated decimal values and update affected transfer, context, and wallet fields. | Breaking change introduced in canton-lib v0.4.0. |
| Unpinned Git dependencies in examples or local projects | Immutable release tags from the approved matrix | Replace branch references with the exact approved tag before release. | Documentation safety rule, not a code-level deprecation. |
Technical sources
Section titled “Technical sources”bitsafe-token-libreleasev0.6.0bitsafe-token-libpackage manifest atv0.6.0bitsafe-token-libchangelog atv0.6.0- BETH DAR guidance at
v0.6.0 canton-libchangelog atv0.13.0canton-libpackage manifest atv0.13.0
Related pages
Section titled “Related pages”- BETH environments and prerequisites
- Install and validate BETH DARs
- BETH SDK, API, and integration reference
- BETH errors, retries, and troubleshooting
- Support and developer resources
Next step
Section titled “Next step”Use a supported path: BETH developer Quick Start.
Ask the docs
Answers come only from this documentation and can be wrong. Check the linked pages.
Ask a question about BitSafe, CBTC or the developer guides. For example: