Skip to content

Commit 853219a

Browse files
committed
CHANGELOG update
1 parent 894281b commit 853219a

File tree

1 file changed

+35
-22
lines changed

1 file changed

+35
-22
lines changed

CHANGELOG.md

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,41 @@
33

44
- API Changes
55

6-
- Non-const `basic_json::operator[const string_view_type& key]` no longer returns a proxy type. The rationale for this change is given in Git Issue #315.
7-
The new behavior for the non-const overload of `operator[](const string_view_type& key)` is to return a reference to the value that is associated with `key`, inserting a default
8-
constructed value with the key if no such key already exists, which is consistent with the standard library
9-
`std::map` behavior. The new behavior for the const overload of `operator[](const string_view_type& key)` is to return
10-
a const reference to the value that is associated with `key`, returning a const reference to a default
11-
constructed value with static storage duration if no such key already exists.
12-
13-
- Until 1.0.0, a buffer of text is supplied to `basic_json_parser` with a call to `update()`
14-
followed by a call to `parse_some()`. Once the parser reaches the end of the buffer,
15-
additional JSON text can be supplied to the parser with another call to `update()`,
16-
followed by another call to `parse_some()`. See [Incremental parsing (until 1.0.0)](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/basic_json_parser.md#incremental-parsing-until-01790).
17-
Since 0.179, an initial buffer of text is supplied to the parse with a call to
18-
`set_buffer`, and parsing commences with a call to `parse_some`. The parser can be
19-
constructed with a user provided chunk reader to obtain additional JSON text
20-
as needed. See [Incremental parsing (since 1.0.0)](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/basic_json_parser.md#incremental-parsing-since-01790).
21-
22-
- enum `bigint_chars_format` is deprecated and replaced by `bignum_format_kind`. Added `bignum_format` getter and setter functions to `basic_json_options`,
23-
and deprecated `bigint_format` getter and setter functions. Changed default `bignum_format` from `bigint_chars_format::base10`
24-
to `bignum_format_kind::raw`. Rationale: `bigint_chars_format` was misnamed, as it applied to `bigdec` as well as `bigint` numbers, and
25-
defaulting to `bigint_chars_format::base10` produced surprising results for users of our lossless number option.
26-
27-
- The URI argument passed to the jsonschema ResolveURI function object now included the fragment part of the URI.
6+
- Non-const `basic_json::operator[const string_view_type& key]` no longer
7+
returns a proxy type. The rationale for this change is given in Git Issue
8+
#315. The new behavior for the non-const overload of `operator[](const
9+
string_view_type& key)` is to return a reference to the value that is
10+
associated with `key`, inserting a default constructed value with the key
11+
if no such key already exists, which is consistent with the standard
12+
library `std::map` behavior. The new behavior for the const overload of
13+
`operator[](const string_view_type& key)` is to return a const reference
14+
to the value that is associated with `key`, returning a const reference to
15+
a default constructed value with static storage duration if no such key
16+
already exists.
17+
18+
- Until 1.0.0, a buffer of text is supplied to `basic_json_parser` with a
19+
call to `update()` followed by a call to `parse_some()`. Once the parser
20+
reaches the end of the buffer, additional JSON text can be supplied to the
21+
parser with another call to `update()`, followed by another call to
22+
`parse_some()`. See [Incremental parsing (until
23+
1.0.0)](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/basic_json_parser.md#incremental-parsing-until-01790).
24+
Since 0.179, an initial buffer of text is supplied to the parse with a
25+
call to `set_buffer`, and parsing commences with a call to `parse_some`.
26+
The parser can be constructed with a user provided chunk reader to obtain
27+
additional JSON text as needed. See [Incremental parsing (since
28+
1.0.0)](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/basic_json_parser.md#incremental-parsing-since-01790).
29+
30+
- enum `bigint_chars_format` is deprecated and replaced by
31+
`bignum_format_kind`. Added `bignum_format` getter and setter functions
32+
to `basic_json_options`, and deprecated `bigint_format` getter and setter
33+
functions. Changed default `bignum_format` from
34+
`bigint_chars_format::base10` to `bignum_format_kind::raw`. Rationale:
35+
`bigint_chars_format` was misnamed, as it applied to `bigdec` as well as
36+
`bigint` numbers, and defaulting to `bigint_chars_format::base10` produced
37+
surprising results for users of our lossless number option.
38+
39+
- The URI argument passed to the jsonschema ResolveURI function object now
40+
included the fragment part of the URI.
2841

2942
- Fixed bugs:
3043

0 commit comments

Comments
 (0)