FEDORA-2019-b9591266b4 created by xvitaly 3 years ago for Fedora 29
stable

New Features

  • Structured bindings are now supported for JSON objects and arrays via the items() member function, so finally this code is possible:
    for (auto& [key, val] : j.items()) {
        std::cout << key << ':' << val << '\n';
    }
  • Added support for reading from FILE* to support situations in which streams are nit available or would require too much RAM. #1370 #1392

Bug Fixes

  • The eofbit was not set for input streams when the end of a stream was reached while parsing. #1340 #1343
  • Fixed a bug in the SAX parser for BSON arrays.

Improvements

  • Added support for Clang 5.0.1 (PS4 version). #1341 #1342

Further Changes

  • Added a warning for implicit conversions to the documentation: It is not recommended to use implicit conversions when reading from a JSON value. Details about this recommendation can be found here. #1363
  • Fixed typos in the documentation. #1329 #1380 #1382
  • Fixed a C4800 warning. #1364
  • Fixed a -Wshadow warning #1346
  • Wrapped std::snprintf calls to avoid error in MSVC. #1337
  • Added code to allow installation via Meson. #1345

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.

How to install

sudo dnf upgrade --advisory=FEDORA-2019-b9591266b4

This update has been submitted for testing by xvitaly.

3 years ago

This update has been pushed to testing.

3 years ago

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

3 years ago

This update has been submitted for batched by xvitaly.

3 years ago

This update has been submitted for stable by xvitaly.

3 years ago

This update has been pushed to stable.

3 years ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
0
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Dates
submitted
3 years ago
in testing
3 years ago
in stable
3 years ago

Automated Test Results