Repository navigation
Releases
Releases · SentryPeer/SentryPeer
v5.0.0
Stable release
Changes
- Update crates using cargo update for latest versions and to fix compile issues with bindgen
- Update our clippy lints and address them. Mainly to remove unwrap() and expect() to avoid panics in production and other idiomatic changes - #422
- Make CMakeLists.txt more robust - #424
- Clean up cppcheck - #427
- Handle CMake and Autotools better in build.rs - #429
Fixes
- Panic on startup when the default config directory can't be created (e.g. read-only container filesystem) - #420
- macOS frameworks are not linked to correctly - #423
- Logging injection potential - SonarCloud - #428
- Fix panic on SIP packets containing an embedded NUL byte - #419
- Fix abort on a SIP response packet, which has no method, so sip_method is NULL and util_duplicate_string() asserts - #446
v4.0.5
Stable release
Fixes
- Removed the requirement of supplying
client_idandclient_secreton the
command line if thewebook_urloption of-wis passed. See #274
Thanks for reporting @szenzero
Added
- Config file location configurable via
-gflag andSENTRYPEER_CONFIG_FILE
environment variable, defaulting to OS dependent locations
Changes
- Replace
janssonwithserde_jsonfor JSON parsing/generation and switch to using Rust versions - Replace
libcurlwithreqwestfor HTTP requests and switch to using Rust versions cargo clippywarnings fixed- Upgrade to Rust 2024 edition
- Dependencies updated to the latest versions
- Apply
cargo clippysuggestions - Update breaking changes
rcgenAPI - Only check major version output in our cli integration test
- Run
autoscanto update missing checks fromconfigure.ac - Don't use
rust-llddue to rust-lang/rust#147329 - Add clippy lint checks to Cargo.toml to catch and
unwrap()orexpect()usage - Update Rust crates to the latest versions for security fixes
v4.0.4
Stable release
Fixes
- Switch to
Args::parse_from(), so cli works when using musl libc as per FFI, ALpine, musl and C and aports issue
v4.0.3
v4.0.2
v4.0.1
v4.0.0
Stable release
Changes
- SIP TLS support, using Rust and Tokio-rustls
- If no
cert.pemorkey.pemfiles are found, we automatically create them for you in the current working directory for a seemless start up experience -Noption to revert to old C way withselect()for TCP and UDP- TCP, UDP now all powered by Rust and Tokio
- We now support TLS configuration loaded from config using confy
- If a cert or key file is not found using
-tor-koptions, SentryPeer will
ask you if you'd like to create them - we use the very nice rcgen for this - New
-z, -tand-k` options for SIP TLS support - Command Line Interface (CLI) now powered by Rust using clap-rs
- Environment variables
SENTRYPEER_CERT,SENTRYPEER_KEYandSENTRYPEER_TLS_LISTEN_ADDRESS - We now look for
cargoandrustc, as we are porting parts of SentryPeer to Rust. New features will be written in Rust - SIP TLS support and other Rust-powered features will not be built if Rust is not detected.
make checknow runs Rust testsmake cleancleans up Rust builds--enable-debugargument added to./configureto enable debug mode for Rust code. Default is--release--enable-silent-rulesandmake V=1honoured in Rust code build--disable-rustargument added to./configureso you can disable Rust code buildCMakeLists.txtupdated to build Rust code and run all tests. We're using https://github.com/corrosion-rs/corrosion for this- README.md updated to reflect the new Rust code build options, and CMake build instructions that now also
include Rust code and running our tests - Show
CPPFLAGSandLDFLAGSinconfigurestatus summary as needed to do macOS builds if on arm64
v3.0.2
v3.0.1
Stable release
- Add a check for a response code of 403 to trigger a new access token request for WebHooks in addition to a 401
Changes
-pedantic-errorsis now enabled by default inMakefile.am
Fixes
- Switch to
getsockname()to correctly get destination IP address for SIP TCP mode - Check for a blank
User-agentSIP header and add a test case. Only a missing one was catered for before.
v3.0.0
Stable release
- OAuth2 support for sending events to the SentryPeerHQ RESTful API (client_credentials grant type) with
a Bearer token in the Authorization header
Fixes
- Clean up memory leaks in libcurl code when sending events to a WebHook url
- Fix segfault on parsing part of a 'To' SIP header that could be NULL
- Fix failing sqlite test on macOS