New
Abseil LTS branch, August 2025, Patch 1
Abseil LTS 20250814.1
What's New:
absl::Mutexnow contains lower-case method names likelock()andshared_lock()to align with standard C++ mutex methods. This allowsabsl::Mutexto be used withstd::scoped_lockand friends. The old names are still present but may be removed in a future release.- The RAII Mutex-locker types like
absl::MutexLock,absl::ReaderMutexLock, and friends now accept references toabsl::Mutex. The pointer-accepting constructors are now deprecated, and may be removed in a future release.
Breaking Changes:
- Nullability template types, which were deprecated in the May 2025 release, have been removed.
absl::string_view(nullptr), which is undefined behavior according to the C++ standard, now triggers anassertfailure. Note that unless you changedabsl/base/options.h,absl::string_viewis an alias forstd::string_view, so by default you will be inheriting the behavior of your standard library instead of using the Abseil implementation.- Abseil's hash tables now require a hash function that has a return type with size >= .
Baseline: 987c57f325f7fa8472fa84e1f885f7534d391b0d Cherry-pick: d38452e1ee03523a208362186fd42248ff2609f6 (Patch 1)