Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:games
nlohmann_json
nlohmann_json.changes
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nlohmann_json.changes of Package nlohmann_json
------------------------------------------------------------------- Sat Apr 20 18:27:48 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de> - add upstream signing key and verify source signature ------------------------------------------------------------------- Sun Jan 21 11:39:51 UTC 2024 - Dirk Müller <dmueller@suse.com> - fix build with non-suse dists ------------------------------------------------------------------- Sat Dec 2 07:17:04 UTC 2023 - Christoph G <foss@grueninger.de> - Update to version 3.11.3: * Allow custom base class as node customization point. * Add more specific parse error message when attempting to parse empty input. * Add serialization-only user defined type macros ------------------------------------------------------------------- Fri Aug 12 16:40:16 UTC 2022 - Antoine Belvire <antoine.belvire@opensuse.org> - Update to version 3.11.2: * This release fixes some bugs found in the 3.11.1 release. * Furthermore, the inline namespace of the library has been re-structured. * All changes are backward-compatible. * Full changelog available at https://github.com/nlohmann/json/releases/tag/v3.11.2 ------------------------------------------------------------------- Tue Aug 2 11:06:05 UTC 2022 - Antoine Belvire <antoine.belvire@opensuse.org> - Update to 3.11.1: * Version 3.11.0 moved the user-defined string literals (UDL) into namespace nlohmann::literals::json_literals. Unfortunately, this namespace was not imported to the global namespace by default which broke code. This release fixes this bug. - Update to 3.11.0: * String view support for all functions working on object keys (e.g., at or operator[]), avoiding unnecessary allocations. * BJData as the fifth supported binary format besides BSON, CBOR, MessagePack, and UBJSON. * Better C++20 support to make the library integrate more smoothly with newer codebases. * Better support for avoiding problems when multiple versions of the library are used in the same project. * Even better and more extensive documentation and examples. * More tests for edge cases like 32-bit support, C++20 features, using the library with ICPC, or after including <windows.h>. * Full changelog available at: https://github.com/nlohmann/json/releases/tag/v3.11.0 ------------------------------------------------------------------- Sun Jan 16 16:11:50 UTC 2022 - Antoine Belvire <antoine.belvire@opensuse.org> - Update to 3.10.5: * Summary: + The previous version 3.10.4 introduced support to convert std::filesystem objects to JSON and vice versa. Unfortunately, we made the assumption that any compiler supporting C++17 would also have proper filesystem support. This was a mistake. This release introduces preprocessor checks (and means to override them) to make sure that the conversion support is only compiled if the compiler is detected to support it. + All changes are backward-compatible. * Bug fixes: + Make sure C++17 filesystem conversions are only used if the compiler supports it. Furthermore, add defines JSON_HAS_FILESYSTEM and JSON_HAS_EXPERIMENTAL_FILESYSTEM which can be set to 0 to avoid using filesystem support altogether.std::filesystem. (gh#nlohmann/json#3090, gh#nlohmann/json#3097, gh#nlohmann/json#3156, gh#nlohmann/json#3203) + Fix a compilation error with Nvidia CUDA Compiler (NVCC). (gh#nlohmann/json#3013) + Fix a warning for shadowed variables. (gh#nlohmann/json#3188) + Fix a warning on a pointless comparison. (gh#nlohmann/json#2712, gh#nlohmann/json#2676, gh#nlohmann/json#1390, gh#nlohmann/json#755) * Improvements: + Add a parameter to the update function to recursively merge objects with common keys. + Extend std::hash and std::swap to work on any nlohmann::basic_json specializations rather than just nlohmann::json * Further Changes: + Update CI to use Clang 14, GCC 6, and Clang-Tidy 14. + Update cpplint. + Add build step for the Nvidia CUDA Compiler (NVCC). + Remove Travis CI. (gh#nlohmann/json#3087) + Compile and execute the test suite with C++17. + The mkdocs-based documentation in doc/mkdocs has been totally overworked. It now has a unified structure, more examples, and contains all information from the previous Doxygen-based documentation. The single source of truth is now the documentation on https://json.nlohmann.me and in particular the API Documentation. + Removed Wandbox online examples. + Fix typos, links, and parameter names in the documentation. + Add more examples. * Deprecated functions: + 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 following functions have been deprecated in earlier versions and will be removed in the next major version (i.e., 4.0.0): - Function iterator_wrapper are 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. + All deprecations are annotated with HEDLEY_DEPRECATED_FOR to report which function to use instead. ------------------------------------------------------------------- Tue Dec 7 09:14:52 UTC 2021 - ecsos <ecsos@opensuse.org> - Update to 3.10.4 - Compiler error in output serializer due to 'incompatible initializer' #3081 - Strange behaviour when using std::sort on std::vector<json> #3080 - Unhandled exception: nlohmann::detail::parse_error #3078 - explicit constructor with default does not compile #3077 - Parse an object but get an array using GCC #3076 - Version 3.10.3 breaks backward-compatibility with 3.10.2 #3070 - Feature request, Add to_json/from_json to align with other to/from binary api. #3067 - vcpkg is out of date #3066 - Revert invalid fix #3082 (nlohmann) - Allow to use get with explicit constructor #3079 (nlohmann) - fix std::filesystem::path regression #3073 (theodelrieu) - Fix Clang version #3040 (nlohmann) - Fix assertion failure for JSON_DIAGNOSTICS #3037 (carlsmedstad) - meta: fix is_compatible/constructible traits #3020 (theodelrieu) - Set parent pointers for values inserted via update() (fixes #3007). #3008 (AnthonyVH) - Allow allocators for output_vector_adapter #2989 (nlohmann) - Re-add Clang 12 #2986 (nlohmann) - Use new Docker image #2981 (nlohmann) - Fix -Wunused warnings on JSON_DIAGNOSTICS #2976 (gcerretani) - Update docset generation script #2967 (nlohmann) Full Changelog: https://github.com/nlohmann/json/compare/v3.10.3...3.10.4 - Changes from 3.10.3 - Parsing an emtpy string returns a string with size 1 instead of expected 0 #3057 - Linking error duplicate symbol: std::type_info::operator== on static build with MinGW #3042 - Yet another assertion failure when inserting into arrays with JSON_DIAGNOSTICS set #3032 - accept and parse function not work well with a pure number string #3029 - push_back doesn't work for serializing containers #3027 - Strange behaviour when creating array with single element #3025 - Input ordered_json doesn't work #3023 - Issue iterating through 'items' #3021 - Cannot spell the namespace right #3015 - JSON Parse error when reading json object from file #3011 - Parent pointer not properly set when using update() #3007 - Overwriting terminated null character #3001 - 'operator =' is ambiguous on VS2017 #2997 - JSON Patch for Array Elements #2994 - JSON Parse throwing error #2983 - to_{binary format} does not provide a mechanism for specifying a custom allocator for the returned type. #2982 - 3.10.1 zip json.hpp has version number 3.10.0 instead of 3.10.1 #2973 - Assertion failure when serializing array with JSON_DIAGNOSTICS set #2926 Full Changelog: https://github.com/nlohmann/json/compare/v3.10.2...v3.10.3 ------------------------------------------------------------------- Tue Oct 5 06:38:22 UTC 2021 - ecsos <ecsos@opensuse.org> - Update to 3.10.2 - Annoying -Wundef on new JSON_DIAGNOSTICS macro #2975 - += issue with multiple redirection. #2970 - incomplete type nlohmann::detail::wide_string_input_helper compilation error #2969 - Fix -Wunused warnings on JSON_DIAGNOSTICS #2976 (gcerretani) - Changes from 3.10.1 and 3.10.0 see: https://github.com/nlohmann/json/blob/develop/ChangeLog.md ------------------------------------------------------------------- Thu Dec 17 17:58:44 UTC 2020 - Matthias Mailänder <mailaender@opensuse.org> - update to version 3.9.1 - drop gcc10-fix.patch - enable JSON_MultipleHeaders for backwards compatibility - disable tests which download data from the internet ------------------------------------------------------------------- Fri Aug 28 07:43:37 UTC 2020 - Michael Vetter <mvetter@suse.com> - Fix typo in summary: headeri -> header ------------------------------------------------------------------- Thu Aug 20 09:00:48 UTC 2020 - Martin Liška <mliska@suse.cz> - Use memoryperjob constraint instead of %limit_build macro. ------------------------------------------------------------------- Tue Apr 14 06:04:52 UTC 2020 - Martin Liška <mliska@suse.cz> - Add gcc10-fix.patch in order to fix build with GCC 10. ------------------------------------------------------------------- Tue Apr 14 06:02:57 UTC 2020 - Martin Liška <mliska@suse.cz> - Update to version 3.7.3: Bug Fixes * Removed reserve() calls from the destructor which could lead to quadratic complexity. #1837 #1838 fire Deprecated functions This release does not deprecate any functions. As an overview, the following functions have been deprecated in earlier versions and will be removed in the next major version (i.e., 4.0.0): * Function iterator_wrapper are 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. ------------------------------------------------------------------- Mon Jul 29 20:19:53 UTC 2019 - Martin Hauke <mardnh@gmx.de> - Update to version 3.7.0 New Features * Add overload of the contains function to check if a JSON pointeris valid without throwing exceptions, just like its counterpart for object keys. * Add a function to_string to allow for generic conversion to strings. * Add return value for the emplace_back function, returning a reference to the added element just like C++17 is introducing this for std::vector. Bug Fixes * Fix an issue where typedefs with certain names yielded a compilation error. * Fix a conversion to std::string_view in the unit tests. * Fix get_to method to clear existing content before writing. Improvements * Switch from Catch to doctest for the unit tests which speeds up compilation and runtime of the 112,112,308 tests. * Add an explicit section to the README about the frequently addressed topics character encoding, comments in JSON, and the order of object keys. * Use GNUInstallDirs to set library install directories. - Use previously introduced testsuite timeout only on Tumbleweed or newer since the way the timeout parameter is passed to the %ctest macro does not work on older distributions. ------------------------------------------------------------------- Thu Apr 4 13:09:57 UTC 2019 - Andreas Schwab <schwab@suse.de> - Increase testsuite timeout so that test-unicode_all can pass ------------------------------------------------------------------- Sun Mar 24 22:25:54 UTC 2019 - Martin Hauke <mardnh@gmx.de> - Lower required cmake version - Update to version 3.6.1 New Features * Overworked the public interface for JSON Pointers. The creation of JSON Pointers is simplified with operator/ and operator/=. JSON Pointers can be inspected with empty, back, and parent_pointer, and manipulated with push_back and pop_back. * Added a boolean method contains to check whether an element exists in a JSON object with a given key. Returns false when acalled on non-object types. Improvements * The performance of dumping integers has been greatly improved. * Added CMake parameter JSON_Install to control whether the library should be installed (default: on). * Fixed a lot of compiler and linter warnings. * Reduced required CMake version from 3.8 to 3.1. * Added nodiscard attribute to meta(), array(), object(), from_cbor, from_msgpack, from_ubjson, from_bson, and parse. ------------------------------------------------------------------- Wed Mar 6 12:09:01 UTC 2019 - Martin Hauke <mardnh@gmx.de> - Add memory constraints to workaround OOM issues on OBS ------------------------------------------------------------------- Fri Feb 22 17:51:35 UTC 2019 - olaf@aepfle.de - Require cmake 3.8 - Use gcc7 instead of gcc6 because this variant is likely available - Remove unused cppcheck ------------------------------------------------------------------- Sat Jan 19 11:31:36 UTC 2019 - mardnh@gmx.de - Update to version 3.5.0 This release introduces the support for structured bindings and reading from FILE*. Besides, a few bugs have been fixed. All changes are backward-compatible. - Update to version 3.4.0 This release introduces three new features: * BSON (Binary JSON) is next to CBOR, MessagePack, and UBJSON the fourth binary (de)serialization format supported by the library. * Adjustable error handlers for invalid Unicode allows to specify the behavior when invalid byte sequences are serialized. * Simplified enum/JSON mapping with a macro in case the default mapping to integers is not desired. Furthermore, some effort has been invested in improving the parse error messages. Besides, a few bugs have been fixed. All changes are backward-compatible. - Update to version 3.3.0 This release adds support for GCC 4.8. Furthermore, it adds a function get_to to write a JSON value to a passed reference. Another topic of this release was the CMake support which has been overworked and documented. Besides, a lot of bugs have been fixed and slight improvements have been made. All changes are backward-compatible. - Update to version 3.2.0 This release introduces a SAX interface to the library. While this may be a very special feature used by only few people, it allowed to unify all functions that consumed input and created some kind of JSON value. Internally, now all existing functions like parse, accept, from_cbor, from_msgpack, and from_ubjson use the SAX interface with different event processors. This allowed to separate the input processing from the value generation. Furthermore, throwing an exception in case of a parse error is now optional and up to the event processor. Finally, the JSON parser is now non-recursive (meaning it does not use the call stack, but std::vector<bool> to track the hierarchy of structured values) which allows to process nested input more efficiently. Furthermore, the library finally is able to parse from wide string types. This is the first step toward opening the library from UTF-8 to UTF-16 and UTF-32. This release further fixes several bugs in the library. All changes are backward-compatible. - Drop patches: * nlohmann_json-cmake-lib_suffix.patch (not longer needed) ------------------------------------------------------------------- Tue Apr 10 09:08:51 UTC 2018 - mardnh@gmx.de - Update to version 3.1.2 Bug Fixes * Fixed a memory leak occurring in the parser callback (#1001). * Different specializations of basic_json (e.g., using different template arguments for strings or objects) can now be used in assignments (#972, # 977, #986). * Fixed a logical error in an iterator range check (#992). Improvements * The parser and the serialization now support user-defined string types (# 1006, #1009). Further Changes * Clang Analyzer is now used as additional static analyzer; see make clang_analyze. * Overworked README by adding links to the documentation (#981). Deprecated functions This release does not deprecate any functions. As an overview, the following functions have been deprecated in earlier versions and will be removed in the next major version (i.e., 4.0.0): * Function iterator_wrapper are 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. - Update to version 3.1.1 Bug Fixes * Fixed parsing of CBOR strings with indefinite length (#961). Earlier versions of this library misinterpreted the CBOR standard and rejected input with the 0x7F start byte. * Fixed user-defined conversion to vector type (#924, #969). A wrong SFINAE check rejected code though a user-defined conversion was provided. * Fixed documentation of the parser behavior for objects with duplicate keys (#963). The exact behavior is not specified by RFC 8259 and the library now also provides no guarantee which object key is stored. * Added check to detect memory overflow when parsing UBJSON containers (#962 ). The optimized UBJSON format allowed for specifying an array with billions of null elements with a few bytes and the library did not check whether this size exceeded max_size(). Further Changes * Code coverage is now calculated for the individual header files, allowing to find uncovered lines more quickly than by browsing through the single header version (#953, #957). * A Makefile target run_benchmarks was added to quickly build and run the benchmark suite. * The documentation was harmonized with respect to the header inclusion (#955 ). Now all examples and the README use #include <nlohmann/json.hpp> to allow for selecting single_include or include or whatever installation folder as include directory. * Added note on how to use the library with the cget package manager (#954). Deprecated functions This release does not deprecate any functions. As an overview, the following functions have been deprecated in earlier versions and will be removed in the next major version (i.e., 4.0.0): * Function iterator_wrapper are 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. - Update to version 3.1.0 Summary This release adds support for the UBJSON format and JSON Merge Patch. It also contains some minor changes and bug fixes. All changes are backward-compatible. New features * The library now supports UBJSON (Universal Binary JSON Specification) as binary format to read and write JSON values space-efficiently. See the documentation overview for a comparison of the different formats CBOR, MessagePack, and UBJSON. * JSON Merge Patch (RFC 7386) offers an intuitive means to describe patches between JSON values (#876, #877). See the documentation of merge_patch for more information. Improvements * The library now uses the Grisu2 algorithm for printing floating-point numbers (based on the reference implementation by Florian Loitsch) which produces a short representation which is guaranteed to round-trip (#360, # 935, #936). * The UTF-8 handling was further simplified by using the decoder of Björn Hoehrmann in more scenarios. Reorganization * Though the library is released as a single header, its development got more and more complicated. With this release, the header is split into several files and the single-header file json.hpp can be generated from these development sources. In the repository, folder include contains the development sources and single_include contains the single json.hpp header (#700, #906, #907, #910, #911, #915, #920, #924, #925, #928, #944). * The split further allowed for a forward declaration header include/nlohmann /json_fwd.hpp to speed up compilation times (#314). Further changes * Google Benchmark is now used for micro benchmarks (see benchmarks folder, # 921). * The serialization (JSON and binary formats) now properly work with the libraries string template parameter, allowing for optimized string implementations to be used in constraint environments such as embedded software (#941, #950). * The exceptional behavior can now be overridden by defining macros JSON_THROW_USER, JSON_TRY_USER, and JSON_CATCH_USER, defining the behavior of throw, try and catch, respectively. This allows to switch off C++'s exception mechanism yet still execute user-defined code in case an error condition occurs (#938). * To facilitate the interplay with flex and Bison, the library does not use the variable name yytext any more as it could clash with macro definitions (#933). * The library now defines NLOHMANN_JSON_VERSION_MAJOR, NLOHMANN_JSON_VERSION_MINOR, and NLOHMANN_JSON_VERSION_PATCH to allow for conditional compilation based on the included library version (#943, #948). * A compilation error with ICC has been fixed (#947). * Typos and links in the documentation have been fixed (#900, #930). * A compiler error related to incomplete types has been fixed (#919). * The tests form the UTF-8 decoder stress test have been added to the test suite. Deprecated functions * Function iterator_wrapper has been deprecated (#874). Since its introduction, the name was up for discussion, as it was too technical. We now introduced the member function items() with the same semantics. iterator_wrapper will be removed in the next major version (i.e., 4.0.0). Furthermore, the following functions are deprecated since version 3.0.0 and will be removed in the next major version (i.e., 4.0.0): * friend std::istream& operator<<(basic_json&, std::istream&) * friend std::ostream& operator>>(const basic_json&, std::ostream&) Please use friend std::istream& operator>>(std::istream&, basic_json&) and friend operator<<(std::ostream&, const basic_json&) instead. - Rebase patch: * nlohmann_json-cmake-lib_suffix.patch ------------------------------------------------------------------- Wed Jan 24 08:24:28 UTC 2018 - mpluskal@suse.com - Build in build phase - Utilise more cmake macros - Fix building on Leap ------------------------------------------------------------------- Tue Jan 23 07:35:12 UTC 2018 - adam.majer@suse.de - Fix typo ------------------------------------------------------------------- Thu Jan 18 08:56:41 UTC 2018 - adam.majer@suse.de - Remove some buzzwords from Summary and Description - Only build unit tests in the %check target - Use gcc6-c++ for %check as it is available in Leap 42.3 ------------------------------------------------------------------- Sat Jan 13 14:09:53 UTC 2018 - mardnh@gmx.de - Initial package, version 3.0.1 - Add patch: * nlohmann_json-cmake-lib_suffix.patch
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor