/jansson/CHANGES

http://github.com/nicolasff/webdis · #! · 206 lines · 133 code · 73 blank · 0 comment · 0 complexity · 3155ab801b34e0dbbfa0e8418ef04bb4 MD5 · raw file

  1. Version 1.3
  2. ===========
  3. Released 2010-06-13
  4. * New functions:
  5. - `json_object_iter_set()`, `json_object_iter_set_new()`: Change
  6. object contents while iterating over it.
  7. - `json_object_iter_at()`: Return an iterator that points to a
  8. specific object item.
  9. * New encoding flags:
  10. - ``JSON_PRESERVE_ORDER``: Preserve the insertion order of object
  11. keys.
  12. * Bug fixes:
  13. - Fix an error that occured when an array or object was first
  14. encoded as empty, then populated with some data, and then
  15. re-encoded
  16. - Fix the situation like above, but when the first encoding resulted
  17. in an error
  18. * Documentation:
  19. - Clarify the documentation on reference stealing, providing an
  20. example usage pattern
  21. Version 1.2.1
  22. =============
  23. Released 2010-04-03
  24. * Bug fixes:
  25. - Fix reference counting on ``true``, ``false`` and ``null``
  26. - Estimate real number underflows in decoder with 0.0 instead of
  27. issuing an error
  28. * Portability:
  29. - Make ``int32_t`` available on all systems
  30. - Support compilers that don't have the ``inline`` keyword
  31. - Require Autoconf 2.60 (for ``int32_t``)
  32. * Tests:
  33. - Print test names correctly when ``VERBOSE=1``
  34. - ``test/suites/api``: Fail when a test fails
  35. - Enhance tests for iterators
  36. - Enhance tests for decoding texts that contain null bytes
  37. * Documentation:
  38. - Don't remove ``changes.rst`` in ``make clean``
  39. - Add a chapter on RFC conformance
  40. Version 1.2
  41. ===========
  42. Released 2010-01-21
  43. * New functions:
  44. - `json_equal()`: Test whether two JSON values are equal
  45. - `json_copy()` and `json_deep_copy()`: Make shallow and deep copies
  46. of JSON values
  47. - Add a version of all functions taking a string argument that
  48. doesn't check for valid UTF-8: `json_string_nocheck()`,
  49. `json_string_set_nocheck()`, `json_object_set_nocheck()`,
  50. `json_object_set_new_nocheck()`
  51. * New encoding flags:
  52. - ``JSON_SORT_KEYS``: Sort objects by key
  53. - ``JSON_ENSURE_ASCII``: Escape all non-ASCII Unicode characters
  54. - ``JSON_COMPACT``: Use a compact representation with all unneeded
  55. whitespace stripped
  56. * Bug fixes:
  57. - Revise and unify whitespace usage in encoder: Add spaces between
  58. array and object items, never append newline to output.
  59. - Remove const qualifier from the ``json_t`` parameter in
  60. `json_string_set()`, `json_integer_set()` and `json_real_set`.
  61. - Use ``int32_t`` internally for representing Unicode code points
  62. (int is not enough on all platforms)
  63. * Other changes:
  64. - Convert ``CHANGES`` (this file) to reStructured text and add it to
  65. HTML documentation
  66. - The test system has been refactored. Python is no longer required
  67. to run the tests.
  68. - Documentation can now be built by invoking ``make html``
  69. - Support for pkg-config
  70. Version 1.1.3
  71. =============
  72. Released 2009-12-18
  73. * Encode reals correctly, so that first encoding and then decoding a
  74. real always produces the same value
  75. * Don't export private symbols in ``libjansson.so``
  76. Version 1.1.2
  77. =============
  78. Released 2009-11-08
  79. * Fix a bug where an error message was not produced if the input file
  80. could not be opened in `json_load_file()`
  81. * Fix an assertion failure in decoder caused by a minus sign without a
  82. digit after it
  83. * Remove an unneeded include of ``stdint.h`` in ``jansson.h``
  84. Version 1.1.1
  85. =============
  86. Released 2009-10-26
  87. * All documentation files were not distributed with v1.1; build
  88. documentation in make distcheck to prevent this in the future
  89. * Fix v1.1 release date in ``CHANGES``
  90. Version 1.1
  91. ===========
  92. Released 2009-10-20
  93. * API additions and improvements:
  94. - Extend array and object APIs
  95. - Add functions to modify integer, real and string values
  96. - Improve argument validation
  97. - Use unsigned int instead of ``uint32_t`` for encoding flags
  98. * Enhance documentation
  99. - Add getting started guide and tutorial
  100. - Fix some typos
  101. - General clarifications and cleanup
  102. * Check for integer and real overflows and underflows in decoder
  103. * Make singleton values thread-safe (``true``, ``false`` and ``null``)
  104. * Enhance circular reference handling
  105. * Don't define ``-std=c99`` in ``AM_CFLAGS``
  106. * Add C++ guards to ``jansson.h``
  107. * Minor performance and portability improvements
  108. * Expand test coverage
  109. Version 1.0.4
  110. =============
  111. Released 2009-10-11
  112. * Relax Autoconf version requirement to 2.59
  113. * Make Jansson compile on platforms where plain ``char`` is unsigned
  114. * Fix API tests for object
  115. Version 1.0.3
  116. =============
  117. Released 2009-09-14
  118. * Check for integer and real overflows and underflows in decoder
  119. * Use the Python json module for tests, or simplejson if the json
  120. module is not found
  121. * Distribute changelog (this file)
  122. Version 1.0.2
  123. =============
  124. Released 2009-09-08
  125. * Handle EOF correctly in decoder
  126. Version 1.0.1
  127. =============
  128. Released 2009-09-04
  129. * Fixed broken `json_is_boolean()`
  130. Version 1.0
  131. ===========
  132. Released 2009-08-25
  133. * Initial release