Page MenuHomePhorge

[Breaking] Bump vodozemac to 0.10.0
ClosedPublic

Authored by tusooa on Sat, Aug 15, 8:44 PM.
Tags
None
Referenced Files
F85699292: D352.1789441959.diff
Sun, Sep 13, 8:12 PM
F85699205: D352.1789437592.diff
Sun, Sep 13, 6:59 PM
F85699189: D352.1789435821.diff
Sun, Sep 13, 6:30 PM
F85698260: D352.1789401111.diff
Sun, Sep 13, 8:51 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.