Eric Haszlakiewicz | 8ce53f9 | 2012-07-29 18:43:55 -0500 | [diff] [blame^] | 1 | |
| 2 | NEXT.VERSION |
| 3 | |
| 4 | * IMPORTANT: the name of the library has changed to libjson-c.so and |
| 5 | the header files are now in include/json-c. |
| 6 | The pkgconfig name has also changed from json to json-c. |
| 7 | You should change your build to use appropriate -I and -l options. |
| 8 | A compatibility shim is in place so builds using the old name will |
| 9 | continue to work, but that will be removed in the next release. |
| 10 | |
Michael Clark | f5dd43a | 2009-08-27 06:40:00 +0000 | [diff] [blame] | 11 | 0.10 |
Eric Haszlakiewicz | 1abaaee | 2012-04-29 12:54:14 -0500 | [diff] [blame] | 12 | |
| 13 | * Add a json_object_to_json_string_ext() function to allow output to be |
| 14 | formatted in a more human readable form. |
| 15 | * Add json_object_object_get_ex(), a NULL-safe get object method, to be able |
| 16 | to distinguish between a key not present and the value being NULL. |
| 17 | * Add an alternative iterator implementation, see json_object_iterator.h |
| 18 | * Make json_object_iter public to enable external use of the |
| 19 | json_object_object_foreachC macro. |
| 20 | * Add a printbuf_memset() function to provide an effecient way to set and |
| 21 | append things like whitespace indentation. |
| 22 | * Adjust json_object_is_type and json_object_get_type so they return |
| 23 | json_type_null for NULL objects and handle NULL passed to |
| 24 | json_objct_object_get(). |
| 25 | * Rename boolean type to json_bool. |
| 26 | * Fix various compile issues for Visual Studio and MinGW. |
| 27 | * Allow json_tokener_parse_ex() to be re-used to parse multiple object. |
| 28 | Also, fix some parsing issues with capitalized hexadecimal numbers and |
| 29 | number in E notation. |
| 30 | * Add json_tokener_get_error() and json_tokener_error_desc() to better |
| 31 | encapsulate the process of retrieving errors while parsing. |
| 32 | * Various improvements to the documentation of many functions. |
| 33 | * Add new json_object_array_sort() function. |
Eric Haszlakiewicz | 20707f4 | 2011-05-03 21:17:50 +0000 | [diff] [blame] | 34 | * Fix a bug in json_object_get_int(), which would incorrectly return 0 |
| 35 | when called on a string type object. |
| 36 | Eric Haszlakiewicz |
| 37 | * Add a json_type_to_name() function. |
| 38 | Eric Haszlakiewicz |
| 39 | * Add a json_tokener_parse_verbose() function. |
| 40 | Jehiah Czebotar |
| 41 | * Improve support for null bytes within JSON strings. |
| 42 | Jehiah Czebotar |
Michael Clark | bd0a567 | 2010-10-13 14:09:41 +0000 | [diff] [blame] | 43 | * Fix file descriptor leak if memory allocation fails in json_util |
| 44 | Zachary Blair, zack_blair at hotmail dot com |
Michael Clark | c4dceae | 2010-10-06 16:39:20 +0000 | [diff] [blame] | 45 | * Add int64 support. Two new functions json_object_net_int64 and |
| 46 | json_object_get_int64. Binary compatibility preserved. |
| 47 | Eric Haszlakiewicz, EHASZLA at transunion com |
| 48 | Rui Miguel Silva Seabra, rms at 1407 dot org |
Michael Clark | f5dd43a | 2009-08-27 06:40:00 +0000 | [diff] [blame] | 49 | * Fix subtle bug in linkhash where lookup could hang after all slots |
| 50 | were filled then successively freed. |
| 51 | Spotted by Jean-Marc Naud, j dash m at newtraxtech dot com |
| 52 | * Make json_object_from_file take const char *filename |
| 53 | Spotted by Vikram Raj V, vsagar at attinteractive dot com |
Brent Miller | 126ad95 | 2009-08-20 06:50:22 +0000 | [diff] [blame] | 54 | * Add handling of surrogate pairs (json_tokener.c, test4.c, Makefile.am) |
| 55 | Brent Miller, bdmiller at yahoo dash inc dot com |
Brent Miller | f8663fc | 2009-08-20 06:41:32 +0000 | [diff] [blame] | 56 | * Correction to comment describing printbuf_memappend in printbuf.h |
| 57 | Brent Miller, bdmiller at yahoo dash inc dot com |
| 58 | |
Michael Clark | 68cafad | 2009-01-06 22:56:57 +0000 | [diff] [blame] | 59 | 0.9 |
Michael Clark | 09abeff | 2009-08-19 07:23:23 +0000 | [diff] [blame] | 60 | * Add README.html README-WIN32.html config.h.win32 to Makefile.am |
| 61 | Michael Clark, <michael@metaparadigm.com> |
Christopher Watford | b22565d | 2009-07-31 02:12:46 +0000 | [diff] [blame] | 62 | * Add const qualifier to the json_tokener_parse functions |
| 63 | Eric Haszlakiewicz, EHASZLA at transunion dot com |
Michael Clark | 7fb9b03 | 2009-07-25 00:13:44 +0000 | [diff] [blame] | 64 | * Rename min and max so we can never clash with C or C++ std library |
Michael Clark | c80ba8d | 2009-07-25 00:21:18 +0000 | [diff] [blame] | 65 | Ian Atha, thatha at yahoo dash inc dot com |
Christopher Watford | 543bb14 | 2009-07-08 03:46:10 +0000 | [diff] [blame] | 66 | * Fix any noticeable spelling or grammar errors. |
| 67 | * Make sure every va_start has a va_end. |
| 68 | * Check all pointers for validity. |
| 69 | Erik Hovland, erik at hovland dot org |
Michael Clark | 24ea8c0 | 2009-04-27 08:22:22 +0000 | [diff] [blame] | 70 | * Fix json_object_get_boolean to return false for empty string |
| 71 | Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com |
Michael Clark | 95f55a7 | 2009-04-27 08:16:58 +0000 | [diff] [blame] | 72 | * optimizations to json_tokener_parse_ex(), printbuf_memappend() |
| 73 | Brent Miller, bdmiller at yahoo dash inc dot com |
Christopher Watford | c5cbf82 | 2009-06-30 03:40:53 +0000 | [diff] [blame] | 74 | * Disable REFCOUNT_DEBUG by default in json_object.c |
Michael Clark | 266a3fd | 2009-02-25 01:55:31 +0000 | [diff] [blame] | 75 | * Don't use this as a variable, so we can compile with a C++ compiler |
Michael Clark | aaec1ef | 2009-02-25 02:31:32 +0000 | [diff] [blame] | 76 | * Add casts from void* to type of assignment when using malloc |
| 77 | * Add #ifdef __cplusplus guards to all of the headers |
| 78 | * Add typedefs for json_object, json_tokener, array_list, printbuf, lh_table |
Michael Clark | 266a3fd | 2009-02-25 01:55:31 +0000 | [diff] [blame] | 79 | Michael Clark, <michael@metaparadigm.com> |
Michael Clark | 22dee7c | 2009-02-25 01:51:40 +0000 | [diff] [blame] | 80 | * Null pointer dereference fix. Fix json_object_get_boolean strlen test |
| 81 | to not return TRUE for zero length string. Remove redundant includes. |
| 82 | Erik Hovland, erik at hovland dot org |
Michael Clark | e8de078 | 2009-02-25 01:45:00 +0000 | [diff] [blame] | 83 | * Fixed warning reported by adding -Wstrict-prototypes |
| 84 | -Wold-style-definition to the compilatin flags. |
| 85 | Dotan Barak, dotanba at gmail dot com |
Michael Clark | 68cafad | 2009-01-06 22:56:57 +0000 | [diff] [blame] | 86 | * Add const correctness to public interfaces |
| 87 | Gerard Krol, g dot c dot krol at student dot tudelft dot nl |
| 88 | |
Michael Clark | dfaf670 | 2007-10-25 02:26:00 +0000 | [diff] [blame] | 89 | 0.8 |
Michael Clark | 8cdac64 | 2009-01-05 03:57:59 +0000 | [diff] [blame] | 90 | * Add va_end for every va_start |
| 91 | Dotan Barak, dotanba at gmail dot com |
Michael Clark | dfaf670 | 2007-10-25 02:26:00 +0000 | [diff] [blame] | 92 | * Add macros to enable compiling out debug code |
| 93 | Geoffrey Young, geoff at modperlcookbook dot org |
Michael Clark | c8f4a6e | 2007-12-07 02:44:24 +0000 | [diff] [blame] | 94 | * Fix bug with use of capital E in numbers with exponents |
| 95 | Mateusz Loskot, mateusz at loskot dot net |
| 96 | * Add stddef.h include |
Michael Clark | 14862b1 | 2007-12-07 02:50:42 +0000 | [diff] [blame] | 97 | * Patch allows for json-c compile with -Werror and not fail due to |
| 98 | -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations |
| 99 | Geoffrey Young, geoff at modperlcookbook dot org |
Michael Clark | dfaf670 | 2007-10-25 02:26:00 +0000 | [diff] [blame] | 100 | |
Michael Clark | a850f8e | 2007-03-13 08:26:26 +0000 | [diff] [blame] | 101 | 0.7 |
| 102 | * Add escaping of backslash to json output |
| 103 | * Add escaping of foward slash on tokenizing and output |
| 104 | * Changes to internal tokenizer from using recursion to |
| 105 | using a depth state structure to allow incremental parsing |
| 106 | |
Michael Clark | 837240f | 2007-03-13 08:26:25 +0000 | [diff] [blame] | 107 | 0.6 |
| 108 | * Fix bug in escaping of control characters |
| 109 | Johan Björklund, johbjo09 at kth dot se |
| 110 | * Remove include "config.h" from headers (should only |
| 111 | be included from .c files) |
| 112 | Michael Clark <michael@metaparadigm.com> |
| 113 | |
Michael Clark | f6a6e48 | 2007-03-13 08:26:23 +0000 | [diff] [blame] | 114 | 0.5 |
| 115 | * Make headers C++ compatible by change *this to *obj |
| 116 | * Add ifdef C++ extern "C" to headers |
| 117 | * Use simpler definition of min and max in bits.h |
| 118 | Larry Lansing, llansing at fuzzynerd dot com |
| 119 | |
| 120 | * Remove automake 1.6 requirement |
| 121 | * Move autogen commands into autogen.sh. Update README |
| 122 | * Remove error pointer special case for Windows |
| 123 | * Change license from LGPL to MIT |
| 124 | Michael Clark <michael@metaparadigm.com> |
| 125 | |
Michael Clark | 0370baa | 2007-03-13 08:26:22 +0000 | [diff] [blame] | 126 | 0.4 |
| 127 | * Fix additional error case in object parsing |
| 128 | * Add back sign reversal in nested object parse as error pointer |
| 129 | value is negative, while error value is positive. |
| 130 | Michael Clark <michael@metaparadigm.com> |
| 131 | |
Michael Clark | 7b899b6 | 2007-03-13 08:26:21 +0000 | [diff] [blame] | 132 | 0.3 |
| 133 | * fix pointer arithmetic bug for error pointer check in is_error() macro |
| 134 | * fix type passed to printbuf_memappend in json_tokener |
| 135 | * update autotools bootstrap instructions in README |
| 136 | Michael Clark <michael@metaparadigm.com> |
| 137 | |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 138 | 0.2 |
| 139 | * printbuf.c - C. Watford (christopher.watford@gmail.com) |
| 140 | Added a Win32/Win64 compliant implementation of vasprintf |
| 141 | * debug.c - C. Watford (christopher.watford@gmail.com) |
| 142 | Removed usage of vsyslog on Win32/Win64 systems, needs to be handled |
| 143 | by a configure script |
| 144 | * json_object.c - C. Watford (christopher.watford@gmail.com) |
| 145 | Added scope operator to wrap usage of json_object_object_foreach, this |
| 146 | needs to be rethought to be more ANSI C friendly |
| 147 | * json_object.h - C. Watford (christopher.watford@gmail.com) |
| 148 | Added Microsoft C friendly version of json_object_object_foreach |
| 149 | * json_tokener.c - C. Watford (christopher.watford@gmail.com) |
| 150 | Added a Win32/Win64 compliant implementation of strndup |
| 151 | * json_util.c - C. Watford (christopher.watford@gmail.com) |
| 152 | Added cast and mask to suffice size_t v. unsigned int conversion |
| 153 | correctness |
| 154 | * json_tokener.c - sign reversal issue on error info for nested object parse |
| 155 | spotted by Johan Björklund (johbjo09 at kth.se) |
| 156 | * json_object.c - escape " in json_escape_str |
| 157 | * Change to automake and libtool to build shared and static library |
| 158 | Michael Clark <michael@metaparadigm.com> |
| 159 | |
| 160 | 0.1 |
| 161 | * initial release |