jansson/CHANGES

144 lines
3.4 KiB
Plaintext
Raw Normal View History

2010-01-22 03:07:14 +08:00
Version 1.2
===========
Released 2010-01-21
* New functions:
- `json_equal()`: Test whether two JSON values are equal
- `json_copy()` and `json_deep_copy()`: Make shallow and deep copies
of JSON values
- Add a version of all functions taking a string argument that
doesn't check for valid UTF-8: `json_string_nocheck()`,
`json_string_set_nocheck()`, `json_object_set_nocheck()`,
`json_object_set_new_nocheck()`
* New encoding flags:
- ``JSON_SORT_KEYS``: Sort objects by key
- ``JSON_ENSURE_ASCII``: Escape all non-ASCII Unicode characters
- ``JSON_COMPACT``: Use a compact representation with all unneeded
whitespace stripped
* Bug fixes:
2010-01-20 03:19:37 +08:00
- Revise and unify whitespace usage in encoder: Add spaces between
array and object items, never append newline to output.
- Remove const qualifier from the ``json_t`` parameter in
`json_string_set()`, `json_integer_set()` and `json_real_set`.
2010-01-20 03:19:37 +08:00
- Use ``int32_t`` internally for representing Unicode code points
(int is not enough on all platforms)
* Other changes:
- Convert ``CHANGES`` (this file) to reStructured text and add it to
HTML documentation
2010-01-20 03:19:37 +08:00
- The test system has been refactored. Python is no longer required
to run the tests.
- Documentation can now be built by invoking ``make html``
2010-01-20 03:19:37 +08:00
- Support for pkg-config
Version 1.1.3
=============
Released 2009-12-18
2009-12-19 03:43:12 +08:00
* Encode reals correctly, so that first encoding and then decoding a
real always produces the same value
* Don't export private symbols in ``libjansson.so``
2009-12-19 03:43:12 +08:00
Version 1.1.2
=============
2009-12-19 03:43:12 +08:00
Released 2009-11-08
2009-11-08 20:13:32 +08:00
* Fix a bug where an error message was not produced if the input file
could not be opened in `json_load_file()`
2009-11-08 20:13:32 +08:00
* Fix an assertion failure in decoder caused by a minus sign without a
digit after it
* Remove an unneeded include of ``stdint.h`` in ``jansson.h``
2009-11-08 20:13:32 +08:00
Version 1.1.1
=============
Released 2009-10-26
2009-10-27 03:27:10 +08:00
* All documentation files were not distributed with v1.1; build
documentation in make distcheck to prevent this in the future
* Fix v1.1 release date in ``CHANGES``
2009-10-27 03:27:10 +08:00
Version 1.1
===========
2009-10-27 03:27:10 +08:00
Released 2009-10-20
2009-10-21 02:29:16 +08:00
* API additions and improvements:
2009-10-21 02:29:16 +08:00
- Extend array and object APIs
- Add functions to modify integer, real and string values
- Improve argument validation
- Use unsigned int instead of ``uint32_t`` for encoding flags
2009-10-21 02:29:16 +08:00
* Enhance documentation
2009-10-21 02:29:16 +08:00
- Add getting started guide and tutorial
- Fix some typos
- General clarifications and cleanup
2009-10-21 02:29:16 +08:00
* Check for integer and real overflows and underflows in decoder
* Make singleton values thread-safe (``true``, ``false`` and ``null``)
2009-10-21 02:29:16 +08:00
* Enhance circular reference handling
* Don't define ``-std=c99`` in ``AM_CFLAGS``
* Add C++ guards to ``jansson.h``
2009-10-21 02:29:16 +08:00
* Minor performance and portability improvements
* Expand test coverage
Version 1.0.4
=============
Released 2009-10-11
2009-10-12 02:30:12 +08:00
* Relax Autoconf version requirement to 2.59
* Make Jansson compile on platforms where plain ``char`` is unsigned
2009-10-12 02:30:12 +08:00
* Fix API tests for object
Version 1.0.3
=============
Released 2009-09-14
2009-09-14 19:32:41 +08:00
* Check for integer and real overflows and underflows in decoder
* Use the Python json module for tests, or simplejson if the json
module is not found
* Distribute changelog (this file)
Version 1.0.2
=============
Released 2009-09-08
2009-09-08 21:48:26 +08:00
* Handle EOF correctly in decoder
2009-09-14 19:32:41 +08:00
Version 1.0.1
=============
Released 2009-09-04
* Fixed broken `json_is_boolean()`
2009-09-06 17:45:47 +08:00
Version 1.0
===========
2009-09-14 19:32:41 +08:00
Released 2009-08-25
2009-09-06 17:45:47 +08:00
* Initial release