mvukov / rules_ros2

Build ROS 2 with Bazel
Apache License 2.0
80 stars 45 forks source link

Update dependency nlohmann_json to v3.11.3 #219

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
nlohmann_json http_archive patch v3.11.2 -> v3.11.3

Release Notes

nlohmann/json (nlohmann_json) ### [`v3.11.3`](https://togithub.com/nlohmann/json/releases/tag/v3.11.3): JSON for Modern C++ version 3.11.3 [Compare Source](https://togithub.com/nlohmann/json/compare/v3.11.2...v3.11.3) Release date: 2023-11-28 SHA-256: 9bea4c8066ef4a1c206b2be5a36302f8926f7fdc6087af5d20b417d0cf103ea6 (json.hpp), a22461d13119ac5c78f205d3df1db13403e58ce1bb1794edc9313677313f4a9d (include.zip), d6c65aca6b1ed68e7a182f4757257b107ae403032760ed6ef121c9d55e81757d (json.tar.xz) ##### Summary This release fixes some bugs found in the [3.11.2](https://togithub.com/nlohmann/json/releases/tag/v3.11.2) release. All changes are backward-compatible. :moneybag: Note you can **support this project** via [GitHub sponsors](https://togithub.com/sponsors/nlohmann) or [PayPal](https://paypal.me/nlohmann). ##### :sparkles: New Features - Allow [**custom base class**](https://json.nlohmann.me/api/basic_json/json_base_class_t/) as node customization point. This adds an additional template parameter which allows to set a custom base class for `nlohmann::json`. This class serves as an extension point and allows to add functionality to json node. Examples for such functionality might be metadata or additional member functions (e.g., visitors) or other application specific code. By default the parameter is set to `void` and an empty base class is used. In this case the library behaves as it already did. [#​3110](https://togithub.com/nlohmann/json/issues/3110) - Add more specific parse error message when attempting to **parse empty input**. [#​4037](https://togithub.com/nlohmann/json/issues/4037) [#​4180](https://togithub.com/nlohmann/json/issues/4180) - Add serialization-only user defined type [**macros**](https://json.nlohmann.me/features/macros/) (`NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_ONLY_SERIALIZE` and `NLOHMANN_DEFINE_TYPE_INTRUSIVE_ONLY_SERIALIZE`). [#​3816](https://togithub.com/nlohmann/json/issues/3816) - Add **Bazel** build support. If you are using [Bazel](https://bazel.build/) you can simply reference this repository using `http_archive` or `git_repository` and depend on `@nlohmann_json//:json`. [#​3709](https://togithub.com/nlohmann/json/issues/3709) - Support Apple's Swift Package Manager. [#​4010](https://togithub.com/nlohmann/json/issues/4010) ##### :bug: Bug Fixes - Adjust CMake files to accept `NEW` **CMake policies** up to CMake 3.14. This fixes a nasty deprecation warning that "Compatibility with CMake < 3.5 will be removed from a future version of CMake". [#​4076](https://togithub.com/nlohmann/json/issues/4076) [#​4112](https://togithub.com/nlohmann/json/issues/4112) - Fix CMake header path in install with custom `CMAKE_INSTALL_INCLUDEDIR`. [#​4194](https://togithub.com/nlohmann/json/issues/4194) - Add missing `` header include. [#​3717](https://togithub.com/nlohmann/json/issues/3717) [#​3718](https://togithub.com/nlohmann/json/issues/3718) [#​3719](https://togithub.com/nlohmann/json/issues/3719) - Replace uses of `INT_MIN`/`INT_MAX`, etc. with `std::numeric_limits` and consistently use `std`-namespaced integer types to make library work with never GCC versions. [#​3722](https://togithub.com/nlohmann/json/issues/3722) [#​3723](https://togithub.com/nlohmann/json/issues/3723) - Add missing files (`json_fwd.hpp` and Bazel build files) to release artifact `include.zip`. [#​3727](https://togithub.com/nlohmann/json/issues/3727) [#​3728](https://togithub.com/nlohmann/json/issues/3728) - Fix 'declaration hides global declaration' warning. [#​3751](https://togithub.com/nlohmann/json/issues/3751) - Fix natvis XML. [#​3858](https://togithub.com/nlohmann/json/issues/3858) [#​3863](https://togithub.com/nlohmann/json/issues/3863) - Fix warning about moved from object. [#​3805](https://togithub.com/nlohmann/json/issues/3805) [#​3889](https://togithub.com/nlohmann/json/issues/3889) - Remove a magic number to fix a warning. [#​3837](https://togithub.com/nlohmann/json/issues/3837) [#​3888](https://togithub.com/nlohmann/json/issues/3888) - Fix debug pretty-printer by checking if match is valid before accessing group. [#​3919](https://togithub.com/nlohmann/json/issues/3919) [#​3920](https://togithub.com/nlohmann/json/issues/3920) - Fix custom allocators by defining missing `rebind` type. [#​3895](https://togithub.com/nlohmann/json/issues/3895) [#​3927](https://togithub.com/nlohmann/json/issues/3927) - Prevent memory leak when exception is thrown in `adl_serializer::to_json` [#​3881](https://togithub.com/nlohmann/json/issues/3881) [#​3901](https://togithub.com/nlohmann/json/issues/3901) - Fix Clang-Tidy warnings. [#​4047](https://togithub.com/nlohmann/json/issues/4047) - Fix init-list construction when `size_type` is not `int`. [#​4140](https://togithub.com/nlohmann/json/issues/4140) - Fix deprecation warning "identifier `_json` preceded by whitespace in a literal operator declaration". [#​4129](https://togithub.com/nlohmann/json/issues/4129) [#​4161](https://togithub.com/nlohmann/json/issues/4161) - Fix compile error with `_HAS_STATIC_RTTI=0`. [#​4046](https://togithub.com/nlohmann/json/issues/4046) - Fix char_traits deprecation warning "`char_traits` is deprecated: `char_traits` for `T` not equal to `char`, `wchar_t`, `char8_t`, `char16_t` or `char32_t` is non-standard". [#​4163](https://togithub.com/nlohmann/json/issues/4163) [#​4179](https://togithub.com/nlohmann/json/issues/4179) ##### :hammer: Further Changes ##### CI - Use official [Clang](https://togithub.com/silkeh/docker-clang)/[GCC](https://hub.docker.com/\_/gcc) Docker containers in the CI. [#​3703](https://togithub.com/nlohmann/json/issues/3703) - Add workflow to check if the source files are amalgamated. [#​3693](https://togithub.com/nlohmann/json/issues/3693) - Fix CI build. [#​3724](https://togithub.com/nlohmann/json/issues/3724) [#​3862](https://togithub.com/nlohmann/json/issues/3862) [#​3978](https://togithub.com/nlohmann/json/issues/3978) [#​3985](https://togithub.com/nlohmann/json/issues/3985) [#​4025](https://togithub.com/nlohmann/json/issues/4025) [#​4083](https://togithub.com/nlohmann/json/issues/4083) [#​4160](https://togithub.com/nlohmann/json/issues/4160) [#​4196](https://togithub.com/nlohmann/json/issues/4196) [#​4215](https://togithub.com/nlohmann/json/issues/4215) - Use Clang 15. [#​3822](https://togithub.com/nlohmann/json/issues/3822) [#​3876](https://togithub.com/nlohmann/json/issues/3876) - Add [CIFuzz](https://google.github.io/oss-fuzz/getting-started/continuous-integration/) CI GitHub action. [#​3845](https://togithub.com/nlohmann/json/issues/3845) - Fix MinGW script and CI. [#​3892](https://togithub.com/nlohmann/json/issues/3892) [#​4175](https://togithub.com/nlohmann/json/issues/4175) - Removed lgtm and DroneCI and added [Cirrus CI](https://cirrus-ci.org). [#​3890](https://togithub.com/nlohmann/json/issues/3890) [#​3906](https://togithub.com/nlohmann/json/issues/3906) [#​3935](https://togithub.com/nlohmann/json/issues/3935) [#​3937](https://togithub.com/nlohmann/json/issues/3937) - Set minimal permissions to Github Workflows. [#​3971](https://togithub.com/nlohmann/json/issues/3971) [#​3972](https://togithub.com/nlohmann/json/issues/3972) - Refactor amalgamation workflow to avoid dangerous use of pull_request_target. [#​3945](https://togithub.com/nlohmann/json/issues/3945) [#​3969](https://togithub.com/nlohmann/json/issues/3969) ##### Documentation - Add [**migration guide**](https://json.nlohmann.me/integration/migration_guide/) to replace deprecated library functions. [#​3702](https://togithub.com/nlohmann/json/issues/3702) [#​3887](https://togithub.com/nlohmann/json/issues/3887) - Add dark mode toggle to documentation [#​3726](https://togithub.com/nlohmann/json/issues/3726) - Fix typos in documentation. [#​3748](https://togithub.com/nlohmann/json/issues/3748) [#​3767](https://togithub.com/nlohmann/json/issues/3767) [#​3902](https://togithub.com/nlohmann/json/issues/3902) [#​3932](https://togithub.com/nlohmann/json/issues/3932) [#​3951](https://togithub.com/nlohmann/json/issues/3951) [#​4109](https://togithub.com/nlohmann/json/issues/4109) [#​4126](https://togithub.com/nlohmann/json/issues/4126) [#​4143](https://togithub.com/nlohmann/json/issues/4143) [#​4149](https://togithub.com/nlohmann/json/issues/4149) [#​4159](https://togithub.com/nlohmann/json/issues/4159) [#​4173](https://togithub.com/nlohmann/json/issues/4173) - Update Codacy link. [#​3740](https://togithub.com/nlohmann/json/issues/3740) - Bump documentation tool versions. [#​3781](https://togithub.com/nlohmann/json/issues/3781) [#​3872](https://togithub.com/nlohmann/json/issues/3872) [#​3891](https://togithub.com/nlohmann/json/issues/3891) [#​3934](https://togithub.com/nlohmann/json/issues/3934) - Add vcpkg port version badge. [#​3988](https://togithub.com/nlohmann/json/issues/3988) - Add to `CONTRIBUTING.md` that `make pretty` is required for test updates. [#​4045](https://togithub.com/nlohmann/json/issues/4045) - Use template get instead of get in examples. [#​3827](https://togithub.com/nlohmann/json/issues/3827) [#​4038](https://togithub.com/nlohmann/json/issues/4038) [#​4039](https://togithub.com/nlohmann/json/issues/4039) - Capture exceptions by `const&` in docs. [#​4099](https://togithub.com/nlohmann/json/issues/4099) - Fix source highlighting in user defined type macros docs. [#​4169](https://togithub.com/nlohmann/json/issues/4169) ##### Tests - Use `std::ranges::equals` for range comparisons in test case. [#​3927](https://togithub.com/nlohmann/json/issues/3927) [#​3950](https://togithub.com/nlohmann/json/issues/3950) - Add more algorithm tests to `unit-algorithm.cpp`. [#​4044](https://togithub.com/nlohmann/json/issues/4044) ##### :fire: Deprecated functions This release does not deprecate any function. See the [**migration guide**](https://json.nlohmann.me/integration/migration_guide/) for help adjusting your code for future versions. The following functions have been deprecated in earlier versions and will be removed in the next major version (i.e., 4.0.0): - The function `iterator_wrapper` is deprecated. Please use the member function [`items()`](https://json.nlohmann.me/api/basic_json/items/) instead. - Functions `friend std::istream& operator<<(basic_json&, std::istream&)` and `friend std::ostream& operator>>(const basic_json&, std::ostream&)` are deprecated. Please use [`friend std::istream& operator>>(std::istream&, basic_json&)`](https://json.nlohmann.me/api/operator_gtgt/) and [`friend operator<<(std::ostream&, const basic_json&)`](https://json.nlohmann.me/api/operator_ltlt/) instead. - Passing iterator pairs or pointer/length pairs to parsing functions (`basic_json::parse`, `basic_json::accept`, `basic_json::sax_parse`, `basic_json::from_cbor`, `basic_json::from_msgpack`, `basic_json::from_ubjson`, `basic_json::from_bson`) via initializer lists is deprecated. Instead, pass two iterators; for instance, call `basic_json::from_cbor(ptr, ptr+len)` instead of `basic_json::from_cbor({ptr, len})`. - The implicit conversion from JSON Pointers to string ([`json_pointer::operator string_t`](https://json.nlohmann.me/api/json_pointer/operator_string_t)) is deprecated. Use [`json_pointer::to_string`](https://json.nlohmann.me/api/json_pointer/to_string/) instead. - Comparing JSON Pointers with strings via [`operator==`](https://json.nlohmann.me/api/json_pointer/operator_eq/) and [`operator!=`](https://json.nlohmann.me/api/json_pointer/operator_ne/) have been deprecated. To compare a [`json_pointer`](https://json.nlohmann.me/api/json_pointer/) `p` with a string `s`, convert `s` to a `json_pointer` first and use [`json_pointer::operator==`](https://json.nlohmann.me/api/json_pointer/operator_eq/) or [`json_pointer::operator!=`](https://json.nlohmann.me/api/json_pointer/operator_ne/). [#​3684](https://togithub.com/nlohmann/json/issues/3684) All deprecations are annotated with [`HEDLEY_DEPRECATED_FOR`](https://nemequ.github.io/hedley/api-reference.html#HEDLEY_DEPRECATED_FOR) to report which function to use instead.

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 8 months ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.