Page MenuHomePhorge

[Breaking] Bump vodozemac to 0.10.0
ClosedPublic

Authored by tusooa on Sat, Aug 15, 8:44 PM.
Tags
None
Referenced Files
F85663670: D352.1788706825.diff
Sat, Sep 5, 8:00 AM
F85663406: D352.1788675368.diff
Fri, Sep 4, 11:16 PM
F85663307: D352.1788668501.diff
Fri, Sep 4, 9:21 PM
F85663278: D352.1788663732.diff
Fri, Sep 4, 8:02 PM
Subscribers
None

Details

Summary

Bump vodozemac and carry over breaking changes in 0.10.0 .

vodozemac::olm::Session::encrypt() may now throw.
Add a new type vodozemac::olm::SessionConfig, with two functions that creates instances of it: vodozemac::olm::new_session_config_default() and vodozemac::olm::new_session_config_version_1().
vodozemac::olm::Account::create_inbound_session() now takes a SessionConfig as the first argument.
vodozemac::olm::Account::create_outbound_session() now takes a SessionConfig as the first argument (this is a change in previous versions). It also may now throw.
vodozemac::olm::OlmMessageParts now contains a rust::Vec<std::uint8_t> instead of rust::String for the cipher text. The content of the cipher text is no longer base64-encoded. (This is a change in vodozemac 0.8.0)

Type: add

Test Plan

Check unit tests pass.

Diff Detail

Repository
rVB vodozemac-bindings
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 698
Build 1378: Invoke BuildbotBuildbot build #2441
Build 1377: arc lint + arc unit

Event Timeline

port back change to vodozemac::olm::OlmMessageParts in 0.8.0

This revision is now accepted and ready to land.Sat, Aug 22, 7:00 PM
This revision was automatically updated to reflect the committed changes.