diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index ed2c0eb09..78fbbf992 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -24,6 +24,6 @@ assignees: '' **What jsoncons library version?** - - [ ] Latest release 0.177.0 + - [ ] Latest release 0.178.0 - [ ] Other release ______ - [ ] master diff --git a/CHANGELOG.md b/CHANGELOG.md index 428c3b39a..227f17a24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,32 @@ 0.178.0 (on master) ------- +Defect fixes: + +- Fixed issue with `jmespath::join function` through PR #546 + +- Fixed issue with the path for cmake config files through PR #547 + +- Made the basic_json constructor `basic_json(const Allocator&)` +consistent with `basic_json(json_object_arg_t, const Allocator& alloc = Allocator())`. + +- `basic_json` copy construction now applies allocator traits `select_on_container_copy_construction` +to the allocator obtained from `other`. For pmr allocators, this gives a default constructed pmr allocator rather +than a copy of the allocator in `other`. + +Enhancements: + +- Improved the implementation of `basic_json` swap. Previously in +some cases it would allocate. + +- Improved the implementation of `basic_json` copy assignment. +Reduced allocations when assigning from array to array and object to +object. + +- Documented the rules for `basic_json` allocators +[here](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/json/allocators.md), +and added numerous tests for conformance to the rules. + 0.177.0 ------- diff --git a/README.md b/README.md index 44d09dd24..44eddbc81 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ _"really good"_ _"awesome project"_ _"very solid and very dependable"_ _"my team [Get started with HealthImaging image sets and image frames using an AWS SDK](https://docs.aws.amazon.com/healthimaging/latest/devguide/example_medical-imaging_Scenario_ImageSetsAndFrames_section.html) -[RubyGems.org](https://rubygems.org/gems/jsoncons/versions/0.1.3?locale=en) [rjsoncons](https://cran.rstudio.com/web/packages/rjsoncons/index.html) [coppeliarobotics](https://manual.coppeliarobotics.com/en/zmqRemoteApiOverview.htm) +[RubyGems.org](https://rubygems.org/gems/jsoncons/versions/0.1.3?locale=en) [rjsoncons](https://cran.rstudio.com/web/packages/rjsoncons/index.html) [Coppelia Robotics](https://manual.coppeliarobotics.com/en/zmqRemoteApiOverview.htm) ## Get jsoncons diff --git a/doc/ref/corelib/basic_json.md b/doc/ref/corelib/basic_json.md index 74aa10843..6f28d6da2 100644 --- a/doc/ref/corelib/basic_json.md +++ b/doc/ref/corelib/basic_json.md @@ -187,7 +187,7 @@ for their storage, otherwise attempts to return a default constructed allocator.
bool contains(const string_view_type& key) const noexcept |
+ bool contains(const string_view_type& key) const noexcept | Returns true if an object has a member with the given key , otherwise false |