Skip to content

Releases: cloudflare/boring

v5.0.2

19 Feb 02:24

Choose a tag to compare

What's Changed

For major changes in v5 see: https://github.com/cloudflare/boring/releases/tag/v5.0.0

Full Changelog: v5.0.1...v5.0.2

v5.0.1

12 Feb 15:38

Choose a tag to compare

  • Improved building with older versions of upstream BoringSSL C headers #469
  • Added mlkem and credential Cargo features for new BoringSSL APIs.

See v5.0.0 for major changes.

v5.0.0

10 Feb 17:48

Choose a tag to compare

Breaking changes

Upgrade to 4.21.1 first and fix any deprecation warnings.

Cargo features removed/simplified

  • FIPS only needs the fips Cargo feature, and the rest is customized via env vars (like BORING_BSSL_FIPS_PATH): #383
  • Removed the "kx-*" features #393
  • Post-quantum is enabled by default (X25519MLKEM768 and P256Kyber768Draft00) and the "pq-experimental" Cargo feature flag is not used any more.

Other semver changes

  • Updated BoringSSL to a newer version with updated patches by @nox in #419
  • Removed SslCurve API. Identifying curves by name is more reliable across different builds of BoringSSL. Use SslRef::curve_name() instead #390 #396
  • Removed deprecated X509CheckFlags #425
  • X509Store is now cheaply cloneable, but immutable. SslContextBuilder.cert_store_mut() can't be used after .set_cert_store(). If you need .cert_store_mut(), either don't overwrite the default store, or use .set_cert_store_builder() #426
  • X509StoreBuilder::add_cert takes a reference.
  • Hyper version upgraded from v0 to v1
  • set_ex_data() will always Drop previous values #424
  • Removed blanket Eq from FFI types
  • BIO_set_retry_write on WouldBlock @ihciah in #118

Added

Full Changelog: v4.20.0...v5.0.0

v5.0.0-alpha.3

03 Feb 15:11

Choose a tag to compare

v5.0.0-alpha.3 Pre-release
Pre-release

Full Changelog: v5.0.0-alpha.1...v5.0.0-alpha.3

v4.21.1

23 Jan 15:07

Choose a tag to compare

v5.0.0-alpha.1

21 Jan 17:25

Choose a tag to compare

v5.0.0-alpha.1 Pre-release
Pre-release

Breaking changes

Upgrade to 4.21.1 first and fix any deprecation warnings.

Cargo features removed/simplified

  • FIPS only needs the fips Cargo feature, and the rest is customized via env vars (like BORING_BSSL_FIPS_PATH): #383
  • Removed the "kx-*" features #393
  • Post-quantum is enabled by default (X25519MLKEM768 and P256Kyber768Draft00) and the "pq-experimental" Cargo feature flag is not used any more.

Other changes

  • Updated BoringSSL to a newer version with updated patches by @nox in #419
  • Removed SslCurve API. Identifying curves by name is more reliable across different builds of BoringSSL. #390
  • Removed deprecated X509CheckFlags #425
  • X509Store is immutable, but cloneable #426
  • Minimum Hyper version upgraded from v0
  • Added SslRef::curve_name() by @ghedo in #396
  • Added set_ticket_key_callback (SSL_CTX_set_tlsext_ticket_key_cb) by @toidiu in #330
  • SslCipherRef::protocol_id by @nox in #409
  • set_strict_cipher_list by @abernardeau-wallix in #416
  • set_ex_data() will always Drop previous values #424
  • Removed blanket Eq from FFI types
  • BIO_set_retry_write on WouldBlock @ihciah in #118

Full Changelog: v4.19.0...v5.0.0-alpha.1

v4.21.0

21 Jan 17:27

Choose a tag to compare

Deprecated APIs that were removed in v5.

v4.20.0

13 Jan 17:51

Choose a tag to compare

  • Add a more reliable Error::library_reason()
  • Fix string data conversion in ErrorStack::put()
  • CStr vs UTF-8 improvements in #371
  • Fix swapped host/target args and support TARGET_CC and CC_{target} in #375
  • Enable bindgen layout tests on all Rust versions 3116032

Full Changelog: v4.19.0...v4.20.0

v4.19.0

13 Jan 17:48
330bf82

Choose a tag to compare

Full Changelog: v4.18.0...v4.19.0

v4.18.0

29 Aug 18:46

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.17.0...v4.18.0