Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency nlohmann_json to v3.11.3 #50

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 7, 2023

This PR contains the following updates:

Package Type Update Change
nlohmann_json http_archive minor v3.10.5 -> v3.11.3

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

nlohmann/json (nlohmann_json)

v3.11.3: JSON for Modern C++ version 3.11.3

Compare Source

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 release.

All changes are backward-compatible.

💰 Note you can support this project via GitHub sponsors or PayPal.

✨ New Features
  • Allow custom base class 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
  • Add more specific parse error message when attempting to parse empty input. #​4037 #​4180
  • Add serialization-only user defined type macros (NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_ONLY_SERIALIZE and NLOHMANN_DEFINE_TYPE_INTRUSIVE_ONLY_SERIALIZE). #​3816
  • Add Bazel build support. If you are using Bazel you can simply reference this repository using http_archive or git_repository and depend on @nlohmann_json//:json. #​3709
  • Support Apple's Swift Package Manager. #​4010
🐛 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 #​4112
  • Fix CMake header path in install with custom CMAKE_INSTALL_INCLUDEDIR. #​4194
  • Add missing <numeric> header include. #​3717 #​3718 #​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 newer GCC versions. #​3722 #​3723
  • Add missing files (json_fwd.hpp and Bazel build files) to release artifact include.zip. #​3727 #​3728
  • Fix 'declaration hides global declaration' warning. #​3751
  • Fix natvis XML. #​3858 #​3863
  • Fix warning about moved from object. #​3805 #​3889
  • Remove a magic number to fix a warning. #​3837 #​3888
  • Fix debug pretty-printer by checking if match is valid before accessing group. #​3919 #​3920
  • Fix custom allocators by defining missing rebind type. #​3895 #​3927
  • Prevent memory leak when exception is thrown in adl_serializer::to_json #​3881 #​3901
  • Fix Clang-Tidy warnings. #​4047
  • Fix init-list construction when size_type is not int. #​4140
  • Fix deprecation warning "identifier _json preceded by whitespace in a literal operator declaration". #​4129 #​4161
  • Fix compile error with _HAS_STATIC_RTTI=0. #​4046
  • Fix char_traits deprecation warning "char_traits<unsigned char> is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard". #​4163 #​4179
🔨 Further Changes
CI
Documentation
Tests
  • Use std::ranges::equals for range comparisons in test case. #​3927 #​3950
  • Add more algorithm tests to unit-algorithm.cpp. #​4044
🔥 Deprecated functions

This release does not deprecate any function. See the 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):

All deprecations are annotated with HEDLEY_DEPRECATED_FOR to report which function to use instead.

v3.11.2: JSON for Modern C++ version 3.11.2

Compare Source

Release date: 2022-08-12
SHA-256: 665fa14b8af3837966949e8eb0052d583e2ac105d3438baba9951785512cf921 (json.hpp), e5c7a9f49a16814be27e4ed0ee900ecd0092bfb7dbfca65b5a421b774dccaaed (include.zip), 8c4b26bf4b422252e13f332bc5e388ec0ab5c3443d24399acb675e68278d341f (json.tar.xz)

Summary

This release fixes some bugs found in the 3.11.1 release. Furthermore, the of the namespace library has been re-structured.

All changes are backward-compatible.

💰 Note you can support this project via GitHub sponsors or PayPal.

🐛 Bug Fixes
  • Fix the value function which was broken for strings, size types, and nullptr in release 3.11.0. #​3652 #​3655 #​3663
  • Fix the json_fwd.hpp header to be self-contained and add it to the single-header release. #​3656 #​3679 #​3687
  • Fix regression that broke using json_pointer as key in associative containers. #​3680 #​3685
  • Add missing constraint to deprecated JSON Pointer overloads of contains and at. #​3658 #​3681
  • Fix comparison between json_pointer and strings with == and !=. These comparisons worked in 3.10.5, but were broken in 3.11.0 and 3.11.1. #​3654 #​3664
  • Fix to_json conversion of std::vector<bool>::reference and std::vector<bool>::const_reference for STLs where these are the same as basic_json::boolean_t& and basic_json::boolean_t, respectively. #​3677 #​3678
⚡ Improvements
🔨 Further Changes
Documentation
Community
CI
  • Remove the macos-10.15 image from the CI as it is removed by GitHub Actions. #​3612 #​3615 #​3626
  • Remove hardcoded paths in Ubuntu workflow. #​3626
  • Only trigger AppVeyor builds if relevant files have been changed. #​3626
  • Fix CodeQL warning. #​3626
  • Harmonize naming of GitHub Actions jobs. #​3661
  • Add labeler action to automatically add PR labels based on the changed files. #​3671 #​3674 #​3675
  • Lint API documentation in the CI. #​3672
  • Add local LGTM configuration and suppress warnings on third-party scripts. #​3643
🔥 Deprecated functions

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() 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&) and friend operator<<(std::ostream&, const basic_json&) 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) is deprecated. Use json_pointer::to_string instead.

All deprecations are annotated with HEDLEY_DEPRECATED_FOR to report which function to use instead.

v3.11.1

Compare Source

Full Changelog

v3.11.0

Compare Source

Full Changelog


Configuration

📅 Schedule: Branch creation - "after 1am and before 6am" in timezone America/Vancouver, 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from f77c8a2 to 6a4d3a7 Compare January 16, 2023 18:26
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from 6a4d3a7 to 5270510 Compare January 26, 2023 23:13
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch 3 times, most recently from 12623d2 to a8c1a06 Compare February 21, 2023 21:54
@renovate renovate bot changed the title Update dependency nlohmann_json to v3.11.2 chore(deps): update dependency nlohmann_json to v3.11.2 Mar 8, 2023
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from a8c1a06 to f085db3 Compare March 14, 2023 05:31
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from f085db3 to fe6ee70 Compare March 29, 2023 19:47
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch 2 times, most recently from ee318a0 to f607036 Compare April 14, 2023 03:47
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch 2 times, most recently from 1b43512 to eb1ea12 Compare April 16, 2023 08:13
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch 4 times, most recently from 989bba4 to 0a8126f Compare April 26, 2023 23:39
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from 0a8126f to ac0cf1f Compare May 5, 2023 09:38
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch 3 times, most recently from 6d618fa to 0a8a8b9 Compare May 19, 2023 09:26
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from 0a8a8b9 to e72580c Compare May 25, 2023 11:20
@zaucy zaucy enabled auto-merge (squash) August 1, 2023 18:51
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from e72580c to c2850d6 Compare August 1, 2023 18:51
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch 3 times, most recently from 5905883 to 68bad93 Compare August 12, 2023 02:05
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from 68bad93 to 4c9ac98 Compare November 29, 2023 01:54
@renovate renovate bot changed the title chore(deps): update dependency nlohmann_json to v3.11.2 chore(deps): update dependency nlohmann_json to v3.11.3 Nov 29, 2023
Copy link

cocogitto-bot bot commented Nov 29, 2023

✔️ 4c9ac98 - Conventional commits check succeeded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants