Skip to content

Commit 44bdaee

Browse files
chore(deps): update dependency abseil-cpp to v20250814 (#561)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [abseil-cpp](https://redirect.github.com/abseil/abseil-cpp) | bazel_dep | major | `20240722.1` -> `20250814.1` | --- ### Release Notes <details> <summary>abseil/abseil-cpp (abseil-cpp)</summary> ### [`v20250814.1`](https://redirect.github.com/abseil/abseil-cpp/releases/tag/20250814.1): Abseil LTS branch, August 2025, Patch 1 [Compare Source](https://redirect.github.com/abseil/abseil-cpp/compare/20250814.0...20250814.1) ### Abseil LTS [`2025081`](https://redirect.github.com/abseil/abseil-cpp/commit/20250814).1 #### What's New: - `absl::Mutex` [now contains lower-case method names](https://redirect.github.com/abseil/abseil-cpp/commit/1f28b48632437172fc2c36244975ef4a8ab7049e) like `lock()` and `shared_lock()` to align with standard C++ mutex methods. This allows `absl::Mutex` to be used with `std::scoped_lock` and 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](https://redirect.github.com/abseil/abseil-cpp/commit/785b11b33f686b3c9ddc480e8c8d6bd6ae5b3824) to `absl::Mutex`. The pointer-accepting constructors are now deprecated, and may be removed in a future release. #### Breaking Changes: - Nullability template types, which were [deprecated](https://redirect.github.com/abseil/abseil-cpp/commit/caf854d58c061808bae2a41f2b7da21a3ba74028) in the May 2025 release, [have been removed](https://redirect.github.com/abseil/abseil-cpp/commit/e4c43850ad008b362b53622cb3c88fd915d8f714). - `absl::string_view(nullptr)`, which is [undefined behavior](https://cppreference.com/w/cpp/string/basic_string_view/basic_string_view.html) according to the C++ standard, now triggers an [`assert` failure](https://redirect.github.com/abseil/abseil-cpp/commit/61103b948d587aff46f259a23bfa7e28385561e7). Note that unless you changed [`absl/base/options.h`](https://redirect.github.com/abseil/abseil-cpp/blob/fece33c9057c7b9952eb05ec4180fd2dd3de53a7/absl/base/options.h#L76-L100), `absl::string_view` is an alias for `std::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](https://redirect.github.com/abseil/abseil-cpp/commit/7ece455c2527fa7f001a5f734a7efa42df4e767a) a hash function that has a return type with size >= `sizeof(size_t)`. Baseline: [`987c57f`](https://redirect.github.com/abseil/abseil-cpp/commit/987c57f325f7fa8472fa84e1f885f7534d391b0d) Cherry-pick: [`d38452e`](https://redirect.github.com/abseil/abseil-cpp/commit/d38452e1ee03523a208362186fd42248ff2609f6) (Patch 1) ### [`v20250814.0`](https://redirect.github.com/abseil/abseil-cpp/releases/tag/20250814.0): Abseil LTS branch, August 2025 [Compare Source](https://redirect.github.com/abseil/abseil-cpp/compare/20250512.1...20250814.0) ### Abseil LTS [`2025081`](https://redirect.github.com/abseil/abseil-cpp/commit/20250814).0 #### What's New: - `absl::Mutex` [now contains lower-case method names](https://redirect.github.com/abseil/abseil-cpp/commit/1f28b48632437172fc2c36244975ef4a8ab7049e) like `lock()` and `shared_lock()` to align with standard C++ mutex methods. This allows `absl::Mutex` to be used with `std::scoped_lock` and 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](https://redirect.github.com/abseil/abseil-cpp/commit/785b11b33f686b3c9ddc480e8c8d6bd6ae5b3824) to `absl::Mutex`. The pointer-accepting constructors are now deprecated, and may be removed in a future release. #### Breaking Changes: - Nullability template types, which were [deprecated](https://redirect.github.com/abseil/abseil-cpp/commit/caf854d58c061808bae2a41f2b7da21a3ba74028) in the May 2025 release, [have been removed](https://redirect.github.com/abseil/abseil-cpp/commit/e4c43850ad008b362b53622cb3c88fd915d8f714). - `absl::string_view(nullptr)`, which is [undefined behavior](https://cppreference.com/w/cpp/string/basic_string_view/basic_string_view.html) according to the C++ standard, now triggers an [`assert` failure](https://redirect.github.com/abseil/abseil-cpp/commit/61103b948d587aff46f259a23bfa7e28385561e7). Note that unless you changed [`absl/base/options.h`](https://redirect.github.com/abseil/abseil-cpp/blob/fece33c9057c7b9952eb05ec4180fd2dd3de53a7/absl/base/options.h#L76-L100), `absl::string_view` is an alias for `std::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](https://redirect.github.com/abseil/abseil-cpp/commit/7ece455c2527fa7f001a5f734a7efa42df4e767a) a hash function that has a return type with size >= `sizeof(size_t)`. #### Known Issues - `CHECK_<OP>` is failing to compile on older versions of GCC when one of the arguments is a C-style string. This is fixed by [`ba9a180`](https://redirect.github.com/abseil/abseil-cpp/commit/ba9a180d22e62edcd5f6c56b50287b286f96fc33) and will be included in a future patch release. Baseline: [`987c57f`](https://redirect.github.com/abseil/abseil-cpp/commit/987c57f325f7fa8472fa84e1f885f7534d391b0d) ### [`v20250512.1`](https://redirect.github.com/abseil/abseil-cpp/releases/tag/20250512.1): Abseil LTS branch, May 2025, Patch 1 [Compare Source](https://redirect.github.com/abseil/abseil-cpp/compare/20250512.0...20250512.1) ### Abseil LTS [`2025051`](https://redirect.github.com/abseil/abseil-cpp/commit/20250512).1 #### What's New: - The polyfill types `absl::any`, `absl::optional`, and `absl::variant` are now aliases for `std::any`, `std::optional`, and `std::variant` in all builds. (Note that the polyfill implementation `absl::string_view` remains at the present time, but it defaults to being an alias `std::string_view` in all builds.) - Added [`absl::FastTypeId<Type>()`](https://redirect.github.com/abseil/abseil-cpp/blob/master/absl/base/fast_type_id.h), which evaluates at compile-time to a unique id for the passed-in type. - Added `absl::endian` and `absl::byteswap` polyfills ([`25bce12`](https://redirect.github.com/abseil/abseil-cpp/commit/25bce1236b030ce8952ec06e5dd1a285f05b400a)). #### Breaking Changes: - Abseil now requires at least C++17 and follows [Google's Foundational C++ Support Policy](https://opensource.google/documentation/policies/cplusplus-support). See [this table](https://redirect.github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md) for a list of currently supported versions compilers, platforms, and build tools. - Nullability template types are deprecated and will be removed in a future release. The macro-style annotations (`absl_nonnull`, `absl_nullable`) should be used instead ([`caf854d`](https://redirect.github.com/abseil/abseil-cpp/commit/caf854d58c061808bae2a41f2b7da21a3ba74028)). #### Known Issues - None known at this time. Baseline: [`bc257a8`](https://redirect.github.com/abseil/abseil-cpp/commit/bc257a88f7c1939f24e0379f14a3589e926c950c) Cherry-pick: [`76bb243`](https://redirect.github.com/abseil/abseil-cpp/commit/76bb24329e8bf5f39704eb10d21b9a80befa7c81) (Patch 1) ### [`v20250512.0`](https://redirect.github.com/abseil/abseil-cpp/releases/tag/20250512.0): Abseil LTS branch, May 2025 [Compare Source](https://redirect.github.com/abseil/abseil-cpp/compare/20250127.1...20250512.0) ### Abseil LTS [`2025051`](https://redirect.github.com/abseil/abseil-cpp/commit/20250512).0 #### What's New: - The polyfill types `absl::any`, `absl::optional`, and `absl::variant` are now aliases for `std::any`, `std::optional`, and `std::variant` in all builds. (Note that the polyfill implementation `absl::string_view` remains at the present time, but it defaults to being an alias `std::string_view` in all builds.) - Added [`absl::FastTypeId<Type>()`](https://redirect.github.com/abseil/abseil-cpp/blob/master/absl/base/fast_type_id.h), which evaluates at compile-time to a unique id for the passed-in type. - Added `absl::endian` and `absl::byteswap` polyfills ([`25bce12`](https://redirect.github.com/abseil/abseil-cpp/commit/25bce1236b030ce8952ec06e5dd1a285f05b400a)). #### Breaking Changes: - Abseil now requires at least C++17 and follows [Google's Foundational C++ Support Policy](https://opensource.google/documentation/policies/cplusplus-support). See [this table](https://redirect.github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md) for a list of currently supported versions compilers, platforms, and build tools. - Nullability template types are deprecated and will be removed in a future release. The macro-style annotations (`absl_nonnull`, `absl_nullable`) should be used instead ([`caf854d`](https://redirect.github.com/abseil/abseil-cpp/commit/caf854d58c061808bae2a41f2b7da21a3ba74028)). #### Known Issues - This release fails to compile with GCC7 and GCC8. This is fixed in [20250512.1](https://redirect.github.com/abseil/abseil-cpp/releases/tag/20250512.1). Baseline: [`bc257a8`](https://redirect.github.com/abseil/abseil-cpp/commit/bc257a88f7c1939f24e0379f14a3589e926c950c) ### [`v20250127.1`](https://redirect.github.com/abseil/abseil-cpp/releases/tag/20250127.1): Abseil LTS branch, January 2025, Patch 1 [Compare Source](https://redirect.github.com/abseil/abseil-cpp/compare/20250127.0...20250127.1) ### Abseil LTS [`2025012`](https://redirect.github.com/abseil/abseil-cpp/commit/20250127).1 #### What's New: - Added support for [Bazel 8.0](https://blog.bazel.build/2024/12/09/bazel-8-release.html) - Added support for [Bazel Platforms](https://bazel.build/concepts/platforms) for better portability - Added [`ABSL_ATTRIBUTE_VIEW`](https://redirect.github.com/abseil/abseil-cpp/blob/0dd7d3925a0d316cfa741b71a1a24e1a84c962c8/absl/base/attributes.h#L845-L873) and [`ABSL_ATTRIBUTE_OWNER`](https://redirect.github.com/abseil/abseil-cpp/blob/0dd7d3925a0d316cfa741b71a1a24e1a84c962c8/absl/base/attributes.h#L875-L904) for diagnosing certain lifetime issues - Many performance improvements - A [security issue](https://redirect.github.com/abseil/abseil-cpp/commit/5a0e2cb5e3958dd90bb8569a2766622cb74d90c1) in hash container create/resize has been fixed. Note that the latest patch releases for previous LTS versions also address this issue. #### Breaking Changes: - Bazel `BUILD` files now reference repositories by their canonical names from the Bazel Central Registry. For example, Abseil is now `@abseil-cpp` instead of `@com_google_absl`, and GoogleTest is now `@googletest` instead of `@com_google_googletest`. Users still using the old `WORKSPACE` system may need to use `repo_mapping` on repositories that still use the old names. See [`90a7ba6`](https://redirect.github.com/abseil/abseil-cpp/commit/90a7ba66e88bf1b6fe98b196208448704766dac0) for an example. #### Other: - This will be the last release to support C++14. [Future releases will require at least C++17](https://opensource.google/documentation/policies/cplusplus-support#c_language_standard). #### Known Issues - None known at this time. Baseline: [`98ebd7e`](https://redirect.github.com/abseil/abseil-cpp/commit/98ebd7e1292d3064ea68105368ee3c334ded63d0) Cherry-pick: [`9ac7062`](https://redirect.github.com/abseil/abseil-cpp/commit/9ac7062b1860d895fb5a8cbf58c3e9ef8f674b5f) Cherry-pick: [`d9e4955`](https://redirect.github.com/abseil/abseil-cpp/commit/d9e4955c65cd4367dd6bf46f4ccb8cd3d100540b) (Patch 1) ### [`v20250127.0`](https://redirect.github.com/abseil/abseil-cpp/releases/tag/20250127.0): Abseil LTS branch, January 2025 [Compare Source](https://redirect.github.com/abseil/abseil-cpp/compare/20240722.1...20250127.0) ### Abseil LTS [`2025012`](https://redirect.github.com/abseil/abseil-cpp/commit/20250127).0 #### What's New: - Added support for [Bazel 8.0](https://blog.bazel.build/2024/12/09/bazel-8-release.html) - Added support for [Bazel Platforms](https://bazel.build/concepts/platforms) for better portability - Added [`ABSL_ATTRIBUTE_VIEW`](https://redirect.github.com/abseil/abseil-cpp/blob/0dd7d3925a0d316cfa741b71a1a24e1a84c962c8/absl/base/attributes.h#L845-L873) and [`ABSL_ATTRIBUTE_OWNER`](https://redirect.github.com/abseil/abseil-cpp/blob/0dd7d3925a0d316cfa741b71a1a24e1a84c962c8/absl/base/attributes.h#L875-L904) for diagnosing certain lifetime issues - Many performance improvements - A [security issue](https://redirect.github.com/abseil/abseil-cpp/commit/5a0e2cb5e3958dd90bb8569a2766622cb74d90c1) in hash container create/resize has been fixed. Note that the latest patch releases for previous LTS versions also address this issue. #### Breaking Changes: - Bazel `BUILD` files now reference repositories by their canonical names from the Bazel Central Registry. For example, Abseil is now `@abseil-cpp` instead of `@com_google_absl`, and GoogleTest is now `@googletest` instead of `@com_google_googletest`. Users still using the old `WORKSPACE` system may need to use `repo_mapping` on repositories that still use the old names. See [`90a7ba6`](https://redirect.github.com/abseil/abseil-cpp/commit/90a7ba66e88bf1b6fe98b196208448704766dac0) for an example. #### Other: - This will be the last release to support C++14. [Future releases will require at least C++17](https://opensource.google/documentation/policies/cplusplus-support#c_language_standard). #### Known Issues - None known at this time. Baseline: [`98ebd7e`](https://redirect.github.com/abseil/abseil-cpp/commit/98ebd7e1292d3064ea68105368ee3c334ded63d0) Cherry-pick: [`9ac7062`](https://redirect.github.com/abseil/abseil-cpp/commit/9ac7062b1860d895fb5a8cbf58c3e9ef8f674b5f) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marcus Boerger <[email protected]>
1 parent 4532273 commit 44bdaee

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ jobs:
6161
strategy:
6262
fail-fast: false
6363
matrix:
64-
# TODO: This doesn't work with arm64 Macs yet, hence pinning to macos-13.
65-
os: [macos-13, ubuntu-latest]
64+
# TODO: This doesn't work with arm64 Macs yet. That is due to openssl being x86 only here.
65+
# Since macos-14+ requires "-large" we have to disable this for now.
66+
os: [ubuntu-latest]
6667
bazel_version: [latest] # rules_rust bzlmod support is experimental and needs latest version as of now (20230912).
6768
bzlmod: [true, false]
6869
runs-on: ${{ matrix.os }}

.trunk/trunk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ lint:
5757
batch: true
5858
in_place: true
5959
enabled:
60-
- actionlint@1.6.25
60+
- actionlint@1.7.8
6161
6262
6363
- git-diff-check

tests/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ bazel_dep(name = "rules_go", version = "0.50.1", repo_name = "io_bazel_rules_go"
2727
bazel_dep(name = "rules_rust", version = "0.67.0")
2828
bazel_dep(name = "rules_foreign_cc", version = "0.15.0")
2929
bazel_dep(name = "rules_shell", version = "0.6.1")
30-
bazel_dep(name = "abseil-cpp", version = "20240722.1", repo_name = "com_google_absl")
30+
bazel_dep(name = "abseil-cpp", version = "20250814.1", repo_name = "com_google_absl")
3131

3232
# TODO: Remove when protobuf is released with a version of rules_python that supports 8.x
3333
bazel_dep(name = "rules_python", version = "1.6.3")

0 commit comments

Comments
 (0)