diff --git a/CHANGELOG.md b/CHANGELOG.md index f0c11f61..2804eb4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,10 @@ # v0.7.0 (unreleased) -* Updated to libsignal v0.54.0. +* Updated to libsignal v0.55.0. * Rewrote bridge using bridgev2 architecture. - * It is recommended to check the config file after upgrading. + * It is recommended to check the config file after upgrading. If you have + prevented the bridge from writing to the config, you should update it + manually. # v0.6.3 (2024-07-16) diff --git a/pkg/libsignalgo/libsignal b/pkg/libsignalgo/libsignal index b86d58e8..a8bc95bc 160000 --- a/pkg/libsignalgo/libsignal +++ b/pkg/libsignalgo/libsignal @@ -1 +1 @@ -Subproject commit b86d58e8d61e2d6f1687bfd30bd143e3eeeaaf6f +Subproject commit a8bc95bc7ebad76ee0bd467ece3321b886cbaef7 diff --git a/pkg/libsignalgo/libsignal-ffi.h b/pkg/libsignalgo/libsignal-ffi.h index 0292867c..8c443ac9 100644 --- a/pkg/libsignalgo/libsignal-ffi.h +++ b/pkg/libsignalgo/libsignal-ffi.h @@ -575,7 +575,6 @@ typedef struct { } SignalCPromiseFfiCdsiLookupResponse; typedef struct { - uint32_t reconnect_count; uint8_t raw_ip_type; double duration_secs; const char *connection_info; @@ -1521,6 +1520,8 @@ SignalFfiError *signal_connection_manager_set_proxy(const SignalConnectionManage SignalFfiError *signal_connection_manager_clear_proxy(const SignalConnectionManager *connection_manager); +SignalFfiError *signal_connection_manager_on_network_change(const SignalConnectionManager *connection_manager); + SignalFfiError *signal_create_otp(const char **out, const char *username, SignalBorrowedBuffer secret); SignalFfiError *signal_create_otp_from_base64(const char **out, const char *username, const char *secret); @@ -1581,7 +1582,9 @@ SignalFfiError *signal_chat_service_auth_send(SignalCPromiseFfiChatResponse *pro SignalFfiError *signal_chat_service_auth_send_and_debug(SignalCPromiseFfiResponseAndDebugInfo *promise, const SignalTokioAsyncContext *async_runtime, const SignalChat *chat, const SignalHttpRequest *http_request, uint32_t timeout_millis); -SignalFfiError *signal_chat_server_set_listener(const SignalTokioAsyncContext *runtime, const SignalChat *chat, const SignalFfiMakeChatListenerStruct *make_listener); +SignalFfiError *signal_chat_service_set_listener_auth(const SignalTokioAsyncContext *runtime, const SignalChat *chat, const SignalFfiMakeChatListenerStruct *make_listener); + +SignalFfiError *signal_chat_service_set_listener_unauth(const SignalTokioAsyncContext *runtime, const SignalChat *chat, const SignalFfiMakeChatListenerStruct *make_listener); SignalFfiError *signal_testing_chat_service_inject_raw_server_request(const SignalChat *chat, SignalBorrowedBuffer bytes); diff --git a/pkg/libsignalgo/version.go b/pkg/libsignalgo/version.go index 59cbbd7a..cb4bd770 100644 --- a/pkg/libsignalgo/version.go +++ b/pkg/libsignalgo/version.go @@ -2,4 +2,4 @@ package libsignalgo -const Version = "v0.54.0" +const Version = "v0.55.0"