Skip to content

v0.4.13

Choose a tag to compare

@github-actions github-actions released this 27 Nov 11:26
· 7 commits to master since this release
be64b4f
  • Document versioning scheme
  • Rework WASM API to return TSResult<T> = { Success: T } | { Error: JsErrorData } without triggering exceptions
  • Rework sum and currency into a coherent Sum type that's ready for multi-currency and exchange rates (breaking DB change)
  • Refactor the transport layer to distinguish between protocol and the rest and to use borsh for serialization on our side
  • Add strong types for SchnorrSignature, Sha256Hash, BlockId, File types, Mint types and use PublicKey and SecretKey in protocol types (breaking DB change)
  • Use bytes without encoding for bill data (breaking DB change)
  • Fix plaintext-chain rendering - the nesting of data now works properly and one JSON.parse call is enough (breaking API change)
  • Add IdentityType to IdentityCreateBlockData and IdentityUpdateBlockData
  • Remove BackupService and BackupStore since it's unused
  • Remove file-based FileUpload - we use surreal/nostr-based everywhere
  • Refactoring & Restructuring, removing cross-crate exports (breaking for Library dependents)
  • Properly separate protocol parts from application in bcr-ebill-core (breaking for Library dependents, breaking DB change)
  • Remove email from anon identities and contacts
  • Change document max file size to 10 MB and max files on bill to 20
  • Add request deadlines to BillHistoryBlock
  • Remove identity_proof API and adapt and move to new email confirmation API
  • Add dev mode flag disable_mandatory_email_confirmations, to make it easier for testing
  • Identity Confirmation via Email
    • Add persistence
    • Adapt create_identity and deanonymize to require a confirmed email for identified users
    • Add endpoints to confirm, verify an email address and to get_email_confirmations
    • Adapt IdentityProof Block to include the email confirmation signed by the mint
    • Split up update_identity and update_email for identity and create identity proof block on email update
    • Change flow for company creation to first call create_company_keys to get a key pair and node id, then confirm email of creator, then create company
      • Add email to signatory and use a data structure for signatories (breaking API and DB change)
    • Adapt signatory handling for companies
      • API for inviting signatories
      • API to accept/reject company invites
      • Restructured company persistence - company table is now a cache, calculated from the chain (similar to bills)
      • Added possibility to locally hide past invites
    • Add notification when being invited to a company
    • Add signer_identity_proof to bill block data and verify it
  • Add Contact Handshake

Version: v0.4.13