Revisions of nlohmann_json

buildservice-autocommit accepted request 719726 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 12)
auto commit by copy to link target
Martin Hauke's avatar Martin Hauke (mnhauke) committed (revision 11)
- 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.
buildservice-autocommit accepted request 688044 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 10)
auto commit by copy to link target
Martin Hauke's avatar Martin Hauke (mnhauke) committed (revision 9)
- 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.
Martin Hauke's avatar Martin Hauke (mnhauke) committed (revision 8)
- Lower required cmake version
buildservice-autocommit accepted request 682128 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 7)
auto commit by copy to link target
Martin Hauke's avatar Martin Hauke (mnhauke) committed (revision 6)
- Add memory constraints to workaround OOM issues on OBS
buildservice-autocommit accepted request 667163 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 5)
auto commit by copy to link target
Martin Hauke's avatar Martin Hauke (mnhauke) committed (revision 4)
- 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.
buildservice-autocommit accepted request 595159 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 3)
auto commit by copy to link target
Martin Hauke's avatar Martin Hauke (mnhauke) committed (revision 2)
- 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.
Martin Hauke's avatar Martin Hauke (mnhauke) committed (revision 1)
Displaying all 12 revisions
openSUSE Build Service is sponsored by