This file is indexed.

/usr/share/doc/libjansson-dev/html/changes.html is in libjansson-doc 2.11-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Changes in Jansson &#8212; Jansson 2.11 documentation</title>
    <link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '2.11',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true,
        SOURCELINK_SUFFIX: '.txt'
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="prev" title="API Reference" href="apiref.html" />
   
  <link rel="stylesheet" href="_static/custom.css" type="text/css" />
  
  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

  </head>
  <body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="changes-in-jansson">
<h1>Changes in Jansson<a class="headerlink" href="#changes-in-jansson" title="Permalink to this headline"></a></h1>
<div class="section" id="version-2-11">
<h2>Version 2.11<a class="headerlink" href="#version-2-11" title="Permalink to this headline"></a></h2>
<p>Released 2018-02-09</p>
<ul class="simple">
<li>New features:<ul>
<li>Add <a class="reference internal" href="apiref.html#c.json_pack" title="json_pack"><code class="xref c c-func docutils literal"><span class="pre">json_pack()</span></code></a> format specifiers s*, o* and O* for values that
can be omitted if null (#339).</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_error_code" title="json_error_code"><code class="xref c c-func docutils literal"><span class="pre">json_error_code()</span></code></a> to retrieve numeric error codes (#365, #380,
#381).</li>
<li>Enable thread safety for <code class="xref c c-func docutils literal"><span class="pre">json_dump()</span></code> on all systems.  Enable thread
safe <a class="reference internal" href="apiref.html#c.json_decref" title="json_decref"><code class="xref c c-func docutils literal"><span class="pre">json_decref()</span></code></a> and <a class="reference internal" href="apiref.html#c.json_incref" title="json_incref"><code class="xref c c-func docutils literal"><span class="pre">json_incref()</span></code></a> for modern compilers (#389).</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_sprintf" title="json_sprintf"><code class="xref c c-func docutils literal"><span class="pre">json_sprintf()</span></code></a> and <a class="reference internal" href="apiref.html#c.json_vsprintf" title="json_vsprintf"><code class="xref c c-func docutils literal"><span class="pre">json_vsprintf()</span></code></a> (#393).</li>
</ul>
</li>
<li>Bug Fixes:<ul>
<li>Fix incorrect report of success from <a class="reference internal" href="apiref.html#c.json_dump_file" title="json_dump_file"><code class="xref c c-func docutils literal"><span class="pre">json_dump_file()</span></code></a> when an error
is returned by <code class="xref c c-func docutils literal"><span class="pre">fclose()</span></code> (#359).</li>
<li>Make json_equal() const-correct (#344).</li>
<li>Fix incomplete stealing of references by <a class="reference internal" href="apiref.html#c.json_pack" title="json_pack"><code class="xref c c-func docutils literal"><span class="pre">json_pack()</span></code></a> (#374).</li>
</ul>
</li>
<li>Build:<ul>
<li>Work around gcc’s -Wimplicit-fallthrough.</li>
<li>Fix CMake detection of <code class="xref c c-func docutils literal"><span class="pre">sys/types.h()</span></code> header (#375).</li>
<li>Fix <code class="xref c c-func docutils literal"><span class="pre">jansson.pc()</span></code> generated by CMake to be more consistent with the one
generated using GNU Autotools (#368).</li>
</ul>
</li>
<li>Other:<ul>
<li>Miscellaneous documentation fixes (#356, #378, #395).</li>
<li>Remove unnecessary reference actions from parsers (#377).</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-10">
<h2>Version 2.10<a class="headerlink" href="#version-2-10" title="Permalink to this headline"></a></h2>
<p>Released 2017-03-02</p>
<ul class="simple">
<li>New features:<ul>
<li>Add JSON_EMBED encoding flag allowing arrays and objects to be encoded
into existing streams (#329).</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_dumpb" title="json_dumpb"><code class="xref c c-func docutils literal"><span class="pre">json_dumpb()</span></code></a> function for dumping to a pre-allocated buffer (#328).</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_dumpfd" title="json_dumpfd"><code class="xref c c-func docutils literal"><span class="pre">json_dumpfd()</span></code></a> and <a class="reference internal" href="apiref.html#c.json_loadfd" title="json_loadfd"><code class="xref c c-func docutils literal"><span class="pre">json_loadfd()</span></code></a> functions for dumping to streaming
file descriptors (#328).</li>
<li>Add support for parsing buffers larger than 2GB (#309).</li>
</ul>
</li>
<li>Build:<ul>
<li>Fix CMake build when LONG_LONG_INT is defined as “” (#321)</li>
</ul>
</li>
<li>Other:<ul>
<li>Internal code cleanup (#311, #314)</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-9">
<h2>Version 2.9<a class="headerlink" href="#version-2-9" title="Permalink to this headline"></a></h2>
<p>Released 2016-09-18</p>
<ul class="simple">
<li>New features:<ul>
<li>Add <code class="docutils literal"><span class="pre">json_auto_t</span></code> to automatically decref a value that goes out
of scope. Available only on GCC and Clang. (#301)</li>
</ul>
</li>
<li>Build:<ul>
<li>Fix CMake build (at least on Linux) by removing conflicting
jansson_config.h from the distribution (#306)</li>
<li>Change CMake install target generation to be optional (#305)</li>
</ul>
</li>
<li>Documentation:<ul>
<li>Small documentation fixes.</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-8">
<h2>Version 2.8<a class="headerlink" href="#version-2-8" title="Permalink to this headline"></a></h2>
<p>Released 2016-08-30</p>
<ul class="simple">
<li>New features:<ul>
<li>Always preserve insertion order of object items.
<a class="reference internal" href="apiref.html#c.json_object_iter" title="json_object_iter"><code class="xref c c-func docutils literal"><span class="pre">json_object_iter()</span></code></a> and friends, <a class="reference internal" href="apiref.html#c.json_object_foreach" title="json_object_foreach"><code class="xref c c-func docutils literal"><span class="pre">json_object_foreach()</span></code></a> and
<a class="reference internal" href="apiref.html#c.json_dumps" title="json_dumps"><code class="xref c c-func docutils literal"><span class="pre">json_dumps()</span></code></a> and friends now always work in the insertion order of
object items (#293).</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_object_foreach_safe" title="json_object_foreach_safe"><code class="xref c c-func docutils literal"><span class="pre">json_object_foreach_safe()</span></code></a> macro that allows
<a class="reference internal" href="apiref.html#c.json_object_del" title="json_object_del"><code class="xref c c-func docutils literal"><span class="pre">json_object_del()</span></code></a> calls during iteration (#230).</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_get_alloc_funcs" title="json_get_alloc_funcs"><code class="xref c c-func docutils literal"><span class="pre">json_get_alloc_funcs()</span></code></a> to allow reading the allocation
functions set by <a class="reference internal" href="apiref.html#c.json_set_alloc_funcs" title="json_set_alloc_funcs"><code class="xref c c-func docutils literal"><span class="pre">json_set_alloc_funcs()</span></code></a> (#262, #264).</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_pack" title="json_pack"><code class="xref c c-func docutils literal"><span class="pre">json_pack()</span></code></a> format specifiers s?, o? and O? for values that
can be null (#261, #270).</li>
</ul>
</li>
<li>Bug fixes:<ul>
<li>Fix a crash when parsing inputs consisting of very deeply nested
arrays or objects (#282, #284).</li>
<li>Never convert numbers to integers in the parser when
JSON_DECODE_INT_AS_REAL is set. This fixes error messages for
overflowing numbers when JSON_DECODE_INT_AS_REAL is set (#212).</li>
<li>Fix a use-after-free in <a class="reference internal" href="apiref.html#c.json_pack" title="json_pack"><code class="xref c c-func docutils literal"><span class="pre">json_pack()</span></code></a> error handling.</li>
<li>Fix subnormal number parsing on mingw32.</li>
<li>Handle out-of-memory situations gracefully in the hashtable
implementation (#298).</li>
</ul>
</li>
<li>Build:<ul>
<li>Fix build with CMake on all versions of Visual Studio up to 2015
(#262, #289).</li>
<li>Fix pkgconfig libdir when using CMake (#268).</li>
<li>Fix CMake config for static CRT builds on Windows (#206).</li>
<li>Fix warnings on LLVM 6.0 targeting iOS arm64 (#208).</li>
<li>Add coverlls.io support via Travis for a nice test coverage badge
(#211).</li>
<li>Don’t expect <code class="docutils literal"><span class="pre">jansson_config.h</span></code> to be in the compiler’s include
path (#209).</li>
<li>Add a build-time option to set initial hashtable size (#213).</li>
<li>Use snprintf and strncpy in place of sprintf and strcpy to silence
linker warnings on OpenBSD (#233).</li>
</ul>
</li>
<li>Documentation:<ul>
<li>Fix various typos in documentation, and a broken link (#258).</li>
<li>Add an example program in <code class="docutils literal"><span class="pre">examples/</span></code> (#214, #217).</li>
<li>Fix building of documentation man pages (#207).</li>
<li>Document the fact that copying objects doesn’t preserve the
insertion order of keys (#237).</li>
</ul>
</li>
<li>Tests:<ul>
<li>Don’t use the nonstandard __FUNCTION__ macro in tests.</li>
<li>Use expr instead of $((…)) in shell scripts for Solaris 10
compatibility.</li>
<li>Disable Visual Studio warning C4756 when triggered deliberately in
tests (#216).</li>
<li>Other minor fixes (#221, #248).</li>
</ul>
</li>
<li>Other changes:<ul>
<li>List all unrecognized object keys when strict unpacking fails
(#263).</li>
<li>Alter the order of the members of the hashtable_pair struct for
easier debugging.</li>
<li>Minor performance improvement to <code class="xref c c-func docutils literal"><span class="pre">json_dump()</span></code> and friends (#234).</li>
<li>Minor style fixes (#255, #257).</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-7">
<h2>Version 2.7<a class="headerlink" href="#version-2-7" title="Permalink to this headline"></a></h2>
<p>Released 2014-10-02</p>
<ul class="simple">
<li>New features:<ul>
<li><a class="reference internal" href="apiref.html#c.json_pack" title="json_pack"><code class="xref c c-func docutils literal"><span class="pre">json_pack()</span></code></a> and friends: Add format specifiers <code class="docutils literal"><span class="pre">s%</span></code> and <code class="docutils literal"><span class="pre">+%</span></code>
for a size_t string length (#141).</li>
<li><a class="reference internal" href="apiref.html#c.json_unpack" title="json_unpack"><code class="xref c c-func docutils literal"><span class="pre">json_unpack()</span></code></a> and friends: Add format specifier <code class="docutils literal"><span class="pre">s%</span></code> for
unpacking the string length along with the string itself (#141).</li>
<li>Add length-aware string constructors <a class="reference internal" href="apiref.html#c.json_stringn" title="json_stringn"><code class="xref c c-func docutils literal"><span class="pre">json_stringn()</span></code></a> and
<a class="reference internal" href="apiref.html#c.json_stringn_nocheck" title="json_stringn_nocheck"><code class="xref c c-func docutils literal"><span class="pre">json_stringn_nocheck()</span></code></a>, length-aware string mutators
<a class="reference internal" href="apiref.html#c.json_string_setn" title="json_string_setn"><code class="xref c c-func docutils literal"><span class="pre">json_string_setn()</span></code></a> and <a class="reference internal" href="apiref.html#c.json_string_setn_nocheck" title="json_string_setn_nocheck"><code class="xref c c-func docutils literal"><span class="pre">json_string_setn_nocheck()</span></code></a>, and a
function for getting string’s length <a class="reference internal" href="apiref.html#c.json_string_length" title="json_string_length"><code class="xref c c-func docutils literal"><span class="pre">json_string_length()</span></code></a> (#141,
#143).</li>
<li>Support <code class="docutils literal"><span class="pre">\u0000</span></code> escapes in the decoder. The support can be
enabled by using the <code class="docutils literal"><span class="pre">JSON_ALLOW_NUL</span></code> decoding flag (#141).</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_boolean_value" title="json_boolean_value"><code class="xref c c-func docutils literal"><span class="pre">json_boolean_value()</span></code></a> as an alias for <a class="reference internal" href="apiref.html#c.json_is_true" title="json_is_true"><code class="xref c c-func docutils literal"><span class="pre">json_is_true()</span></code></a>
(#146).</li>
<li>Add JSON_REAL_PRECISION encoding flag/macro for controlling real
number precision (#178).</li>
<li>Define the maximum indentation as JSON_MAX_INDENT (#191).</li>
</ul>
</li>
<li>Bug fixes:<ul>
<li>Some malformed <code class="docutils literal"><span class="pre">\uNNNN</span></code> escapes could crash the decoder with an
assertion failure.</li>
<li>Avoid integer overflows with very long strings in UTF-8 decoder and
hashtable.</li>
<li>Check for <em>NULL</em> key in <a class="reference internal" href="apiref.html#c.json_object_get" title="json_object_get"><code class="xref c c-func docutils literal"><span class="pre">json_object_get()</span></code></a> and
<a class="reference internal" href="apiref.html#c.json_object_del" title="json_object_del"><code class="xref c c-func docutils literal"><span class="pre">json_object_del()</span></code></a> (#151).</li>
<li>Enhance hashtable seeding on Windows (#162).</li>
<li><a class="reference internal" href="apiref.html#c.json_unpack" title="json_unpack"><code class="xref c c-func docutils literal"><span class="pre">json_unpack()</span></code></a>: Allow mixing JSON_STRICT with optional keys
(#162, #163).</li>
<li>Fix int/int32 mismatch (#142).</li>
<li>Parse subnormal numbers correctly (#202).</li>
</ul>
</li>
<li>Build:<ul>
<li>Remove VS2010 build files. CMake should be used on Windows instead
(#165).</li>
<li>Fix CMake build flags for MinGW (#193).</li>
<li>Add CMake config files for find_package. Rename config.h to
jansson_private_config.h (#157, #159).</li>
<li>Make Valgrind checks work with CMake (#160).</li>
<li>Fix feature checks to use correct __ATOMIC flags.</li>
<li>Fix CMake checks for uint16_t and uint8_t support (#177).</li>
<li>Make Jansson build on SmartOS/Solaris (#171).</li>
<li>Work around a GCC bug on Solaris (#175).</li>
<li>Fix autoreconf on Debian (#182).</li>
<li>Don’t use GNU make specific export for global AM_CFLAGS (#203,
#204).</li>
<li>Fix building on Android using the supplied Android.mk (#166,
#174).</li>
<li>Android.mk: Add -DHAVE_STDINT_H to LOCAL_CFLAGS (#200).</li>
</ul>
</li>
<li>Documentation:<ul>
<li>Document JANSSON_BUILD_SHARED_LIBS CMake option (#187).</li>
</ul>
</li>
<li>Tests:<ul>
<li>Close file handles correctly (#198).</li>
</ul>
</li>
<li>Other changes:<ul>
<li><code class="docutils literal"><span class="pre">\uNNNN</span></code> escapes are now encoded in upper case for better
readability.</li>
<li>Enable usage of AddressSanitizer (#180).</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-6">
<h2>Version 2.6<a class="headerlink" href="#version-2-6" title="Permalink to this headline"></a></h2>
<p>Released 2014-02-11</p>
<ul class="simple">
<li>Security:<ul>
<li>CVE-2013-6401: The hash function used by the hashtable
implementation has been changed, and is automatically seeded with
random data when the first JSON object is created. This prevents
an attacker from causing large JSON objects with specially crafted
keys perform poorly.</li>
</ul>
</li>
<li>New features:<ul>
<li><a class="reference internal" href="apiref.html#c.json_object_seed" title="json_object_seed"><code class="xref c c-func docutils literal"><span class="pre">json_object_seed()</span></code></a>: Set the seed value of the hash function.</li>
</ul>
</li>
<li>Bug fixes:<ul>
<li>Include CMake specific files in the release tarball.</li>
</ul>
</li>
<li>Documentation:<ul>
<li>Fix tutorial source to send a User-Agent header, which is now
required by the GitHub API.</li>
<li>Set all memory to zero in secure_free() example.</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-5">
<h2>Version 2.5<a class="headerlink" href="#version-2-5" title="Permalink to this headline"></a></h2>
<p>Released 2013-09-19</p>
<ul class="simple">
<li>New features:<ul>
<li><a class="reference internal" href="apiref.html#c.json_pack" title="json_pack"><code class="xref c c-func docutils literal"><span class="pre">json_pack()</span></code></a> and friends: Add format specifiers <code class="docutils literal"><span class="pre">s#</span></code>, <code class="docutils literal"><span class="pre">+</span></code> and
<code class="docutils literal"><span class="pre">+#</span></code>.</li>
<li>Add <code class="docutils literal"><span class="pre">JSON_DECODE_INT_AS_REAL</span></code> decoding flag to treat all numbers
as real in the decoder (#123).</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_array_foreach" title="json_array_foreach"><code class="xref c c-func docutils literal"><span class="pre">json_array_foreach()</span></code></a>, paralleling <a class="reference internal" href="apiref.html#c.json_object_foreach" title="json_object_foreach"><code class="xref c c-func docutils literal"><span class="pre">json_object_foreach()</span></code></a>
(#118).</li>
</ul>
</li>
<li>Bug fixes:<ul>
<li><a class="reference internal" href="apiref.html#c.json_dumps" title="json_dumps"><code class="xref c c-func docutils literal"><span class="pre">json_dumps()</span></code></a> and friends: Don’t crash if json is <em>NULL</em> and
<code class="docutils literal"><span class="pre">JSON_ENCODE_ANY</span></code> is set.</li>
<li>Fix a theoretical integer overflow in <code class="xref c c-func docutils literal"><span class="pre">jsonp_strdup()</span></code>.</li>
<li>Fix <code class="xref c c-func docutils literal"><span class="pre">l_isxdigit()</span></code> macro (#97).</li>
<li>Fix an off-by-one error in <a class="reference internal" href="apiref.html#c.json_array_remove" title="json_array_remove"><code class="xref c c-func docutils literal"><span class="pre">json_array_remove()</span></code></a>.</li>
</ul>
</li>
<li>Build:<ul>
<li>Support CMake in addition to GNU Autotools (#106, #107, #112,
#115, #120, #127).</li>
<li>Support building for Android (#109).</li>
<li>Don’t use <code class="docutils literal"><span class="pre">-Werror</span></code> by default.</li>
<li>Support building and testing with VPATH (#93).</li>
<li>Fix compilation when <code class="docutils literal"><span class="pre">NDEBUG</span></code> is defined (#128)</li>
</ul>
</li>
<li>Tests:<ul>
<li>Fix a refleak in <code class="docutils literal"><span class="pre">test/bin/json_process.c</span></code>.</li>
</ul>
</li>
<li>Documentation:<ul>
<li>Clarify the return value of <a class="reference internal" href="apiref.html#c.json_load_callback_t" title="json_load_callback_t"><code class="xref c c-func docutils literal"><span class="pre">json_load_callback_t()</span></code></a>.</li>
<li>Document how to circumvent problems with separate heaps on Windows.</li>
<li>Fix memory leaks and warnings in <code class="docutils literal"><span class="pre">github_commits.c</span></code>.</li>
<li>Use <a class="reference internal" href="apiref.html#c.json_decref" title="json_decref"><code class="xref c c-func docutils literal"><span class="pre">json_decref()</span></code></a> properly in tutorial.</li>
</ul>
</li>
<li>Other:<ul>
<li>Make it possible to forward declare <code class="docutils literal"><span class="pre">struct</span> <span class="pre">json_t</span></code>.</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-4">
<h2>Version 2.4<a class="headerlink" href="#version-2-4" title="Permalink to this headline"></a></h2>
<p>Released 2012-09-23</p>
<ul class="simple">
<li>New features:<ul>
<li>Add <a class="reference internal" href="apiref.html#c.json_boolean" title="json_boolean"><code class="xref c c-func docutils literal"><span class="pre">json_boolean()</span></code></a> macro that returns the JSON true or false
value based on its argument (#86).</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_load_callback" title="json_load_callback"><code class="xref c c-func docutils literal"><span class="pre">json_load_callback()</span></code></a> that calls a callback function
repeatedly to read the JSON input (#57).</li>
<li>Add JSON_ESCAPE_SLASH encoding flag to escape all occurences of
<code class="docutils literal"><span class="pre">/</span></code> with <code class="docutils literal"><span class="pre">\/</span></code>.</li>
</ul>
</li>
<li>Bug fixes:<ul>
<li>Check for and reject NaN and Inf values for reals. Encoding these
values resulted in invalid JSON.</li>
<li>Fix <a class="reference internal" href="apiref.html#c.json_real_set" title="json_real_set"><code class="xref c c-func docutils literal"><span class="pre">json_real_set()</span></code></a> to return -1 on error.</li>
</ul>
</li>
<li>Build:<ul>
<li>Jansson now builds on Windows with Visual Studio 2010, and
includes solution and project files in <code class="docutils literal"><span class="pre">win32/vs2010/</span></code>
directory.</li>
<li>Fix build warnings (#77, #78).</li>
<li>Add <code class="docutils literal"><span class="pre">-no-undefined</span></code> to LDFLAGS (#90).</li>
</ul>
</li>
<li>Tests:<ul>
<li>Fix the symbol exports test on Linux/PPC64 (#88).</li>
</ul>
</li>
<li>Documentation:<ul>
<li>Fix typos (#73, #84).</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-3-1">
<h2>Version 2.3.1<a class="headerlink" href="#version-2-3-1" title="Permalink to this headline"></a></h2>
<p>Released 2012-04-20</p>
<ul class="simple">
<li>Build issues:<ul>
<li>Only use <code class="docutils literal"><span class="pre">long</span> <span class="pre">long</span></code> if <code class="docutils literal"><span class="pre">strtoll()</span></code> is also available.</li>
</ul>
</li>
<li>Documentation:<ul>
<li>Fix the names of library version constants in documentation. (#52)</li>
<li>Change the tutorial to use GitHub API v3. (#65)</li>
</ul>
</li>
<li>Tests:<ul>
<li>Make some tests locale independent. (#51)</li>
<li>Distribute the library exports test in the tarball.</li>
<li>Make test run on shells that don’t support the <code class="docutils literal"><span class="pre">export</span> <span class="pre">FOO=bar</span></code>
syntax.</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-3">
<h2>Version 2.3<a class="headerlink" href="#version-2-3" title="Permalink to this headline"></a></h2>
<p>Released 2012-01-27</p>
<ul class="simple">
<li>New features:<ul>
<li><a class="reference internal" href="apiref.html#c.json_unpack" title="json_unpack"><code class="xref c c-func docutils literal"><span class="pre">json_unpack()</span></code></a> and friends: Add support for optional object keys
with the <code class="docutils literal"><span class="pre">{s?o}</span></code> syntax.</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_object_update_existing" title="json_object_update_existing"><code class="xref c c-func docutils literal"><span class="pre">json_object_update_existing()</span></code></a> and
<a class="reference internal" href="apiref.html#c.json_object_update_missing" title="json_object_update_missing"><code class="xref c c-func docutils literal"><span class="pre">json_object_update_missing()</span></code></a>, for updating only existing keys or
only adding missing keys to an object. (#37)</li>
<li>Add <a class="reference internal" href="apiref.html#c.json_object_foreach" title="json_object_foreach"><code class="xref c c-func docutils literal"><span class="pre">json_object_foreach()</span></code></a> for more convenient iteration over
objects. (#45, #46)</li>
<li>When decoding JSON, write the number of bytes that were read from
input to <code class="docutils literal"><span class="pre">error.position</span></code> also on success. This is handy with
<code class="docutils literal"><span class="pre">JSON_DISABLE_EOF_CHECK</span></code>.</li>
<li>Add support for decoding any JSON value, not just arrays or
objects. The support is enabled with the new <code class="docutils literal"><span class="pre">JSON_DECODE_ANY</span></code>
flag. Patch by Andrea Marchesini. (#4)</li>
</ul>
</li>
<li>Bug fixes<ul>
<li>Avoid problems with object’s serial number growing too big. (#40,
#41)</li>
<li>Decoding functions now return NULL if the first argument is NULL.
Patch by Andrea Marchesini.</li>
<li>Include <code class="docutils literal"><span class="pre">jansson_config.h.win32</span></code> in the distribution tarball.</li>
<li>Remove <code class="docutils literal"><span class="pre">+</span></code> and leading zeros from exponents in the encoder.
(#39)</li>
<li>Make Jansson build and work on MinGW. (#39, #38)</li>
</ul>
</li>
<li>Documentation<ul>
<li>Note that the same JSON values must not be encoded in parallel by
separate threads. (#42)</li>
<li>Document MinGW support.</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-2-1">
<h2>Version 2.2.1<a class="headerlink" href="#version-2-2-1" title="Permalink to this headline"></a></h2>
<p>Released 2011-10-06</p>
<ul class="simple">
<li>Bug fixes:<ul>
<li>Fix real number encoding and decoding under non-C locales. (#32)</li>
<li>Fix identifier decoding under non-UTF-8 locales. (#35)</li>
<li><a class="reference internal" href="apiref.html#c.json_load_file" title="json_load_file"><code class="xref c c-func docutils literal"><span class="pre">json_load_file()</span></code></a>: Open the input file in binary mode for maximum
compatiblity.</li>
</ul>
</li>
<li>Documentation:<ul>
<li>Clarify the lifecycle of the result of the <code class="docutils literal"><span class="pre">s</span></code> fromat of
<a class="reference internal" href="apiref.html#c.json_unpack" title="json_unpack"><code class="xref c c-func docutils literal"><span class="pre">json_unpack()</span></code></a>. (#31)</li>
<li>Add some portability info. (#36)</li>
<li>Little clarifications here and there.</li>
</ul>
</li>
<li>Other:<ul>
<li>Some style fixes, issues detected by static analyzers.</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-2">
<h2>Version 2.2<a class="headerlink" href="#version-2-2" title="Permalink to this headline"></a></h2>
<p>Released 2011-09-03</p>
<ul class="simple">
<li>New features:<ul>
<li><a class="reference internal" href="apiref.html#c.json_dump_callback" title="json_dump_callback"><code class="xref c c-func docutils literal"><span class="pre">json_dump_callback()</span></code></a>: Pass the encoder output to a callback
function in chunks.</li>
</ul>
</li>
<li>Bug fixes:<ul>
<li><a class="reference internal" href="apiref.html#c.json_string_set" title="json_string_set"><code class="xref c c-func docutils literal"><span class="pre">json_string_set()</span></code></a>: Check that target is a string and value is
not NULL.</li>
</ul>
</li>
<li>Other:<ul>
<li>Documentation typo fixes and clarifications.</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-1">
<h2>Version 2.1<a class="headerlink" href="#version-2-1" title="Permalink to this headline"></a></h2>
<p>Released 2011-06-10</p>
<ul class="simple">
<li>New features:<ul>
<li><a class="reference internal" href="apiref.html#c.json_loadb" title="json_loadb"><code class="xref c c-func docutils literal"><span class="pre">json_loadb()</span></code></a>: Decode a string with a given size, useful if the
string is not null terminated.</li>
<li>Add <code class="docutils literal"><span class="pre">JSON_ENCODE_ANY</span></code> encoding flag to allow encoding any JSON
value. By default, only arrays and objects can be encoded. (#19)</li>
<li>Add <code class="docutils literal"><span class="pre">JSON_REJECT_DUPLICATES</span></code> decoding flag to issue a decoding
error if any JSON object in the input contins duplicate keys. (#3)</li>
<li>Add <code class="docutils literal"><span class="pre">JSON_DISABLE_EOF_CHECK</span></code> decoding flag to stop decoding after a
valid JSON input. This allows other data after the JSON data.</li>
</ul>
</li>
<li>Bug fixes:<ul>
<li>Fix an additional memory leak when memory allocation fails in
<a class="reference internal" href="apiref.html#c.json_object_set" title="json_object_set"><code class="xref c c-func docutils literal"><span class="pre">json_object_set()</span></code></a> and friends.</li>
<li>Clear errno before calling <code class="xref c c-func docutils literal"><span class="pre">strtod()</span></code> for better portability. (#27)</li>
</ul>
</li>
<li>Building:<ul>
<li>Avoid set-but-not-used warning/error in a test. (#20)</li>
</ul>
</li>
<li>Other:<ul>
<li>Minor clarifications to documentation.</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-0-1">
<h2>Version 2.0.1<a class="headerlink" href="#version-2-0-1" title="Permalink to this headline"></a></h2>
<p>Released 2011-03-31</p>
<ul class="simple">
<li>Bug fixes:<ul>
<li>Replace a few <code class="xref c c-func docutils literal"><span class="pre">malloc()</span></code> and <code class="xref c c-func docutils literal"><span class="pre">free()</span></code> calls with their
counterparts that support custom memory management.</li>
<li>Fix object key hashing in json_unpack() strict checking mode.</li>
<li>Fix the parentheses in <code class="docutils literal"><span class="pre">JANSSON_VERSION_HEX</span></code> macro.</li>
<li>Fix <a class="reference internal" href="apiref.html#c.json_object_size" title="json_object_size"><code class="xref c c-func docutils literal"><span class="pre">json_object_size()</span></code></a> return value.</li>
<li>Fix a few compilation issues.</li>
</ul>
</li>
<li>Portability:<ul>
<li>Enhance portability of <code class="xref c c-func docutils literal"><span class="pre">va_copy()</span></code>.</li>
<li>Test framework portability enhancements.</li>
</ul>
</li>
<li>Documentation:<ul>
<li>Distribute <code class="docutils literal"><span class="pre">doc/upgrading.rst</span></code> with the source tarball.</li>
<li>Build documentation in strict mode in <code class="docutils literal"><span class="pre">make</span> <span class="pre">distcheck</span></code>.</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-2-0">
<h2>Version 2.0<a class="headerlink" href="#version-2-0" title="Permalink to this headline"></a></h2>
<p>Released 2011-02-28</p>
<p>This release is backwards incompatible with the 1.x release series.
See the chapter “Upgrading from older versions” in documentation for
details.</p>
<ul class="simple">
<li>Backwards incompatible changes:<ul>
<li>Unify unsigned integer usage in the API: All occurences of
unsigned int and unsigned long have been replaced with size_t.</li>
<li>Change JSON integer’s underlying type to the widest signed integer
type available, i.e. long long if it’s supported, otherwise long.
Add a typedef json_int_t that defines the type.</li>
<li>Change the maximum indentation depth to 31 spaces in encoder. This
frees up bits from the flags parameter of encoding functions
<a class="reference internal" href="apiref.html#c.json_dumpf" title="json_dumpf"><code class="xref c c-func docutils literal"><span class="pre">json_dumpf()</span></code></a>, <a class="reference internal" href="apiref.html#c.json_dumps" title="json_dumps"><code class="xref c c-func docutils literal"><span class="pre">json_dumps()</span></code></a> and <a class="reference internal" href="apiref.html#c.json_dump_file" title="json_dump_file"><code class="xref c c-func docutils literal"><span class="pre">json_dump_file()</span></code></a>.</li>
<li>For future needs, add a flags parameter to all decoding functions
<a class="reference internal" href="apiref.html#c.json_loadf" title="json_loadf"><code class="xref c c-func docutils literal"><span class="pre">json_loadf()</span></code></a>, <a class="reference internal" href="apiref.html#c.json_loads" title="json_loads"><code class="xref c c-func docutils literal"><span class="pre">json_loads()</span></code></a> and <a class="reference internal" href="apiref.html#c.json_load_file" title="json_load_file"><code class="xref c c-func docutils literal"><span class="pre">json_load_file()</span></code></a>.</li>
</ul>
</li>
<li>New features<ul>
<li><a class="reference internal" href="apiref.html#c.json_pack" title="json_pack"><code class="xref c c-func docutils literal"><span class="pre">json_pack()</span></code></a>, <a class="reference internal" href="apiref.html#c.json_pack_ex" title="json_pack_ex"><code class="xref c c-func docutils literal"><span class="pre">json_pack_ex()</span></code></a>, <a class="reference internal" href="apiref.html#c.json_vpack_ex" title="json_vpack_ex"><code class="xref c c-func docutils literal"><span class="pre">json_vpack_ex()</span></code></a>: Create JSON
values based on a format string.</li>
<li><a class="reference internal" href="apiref.html#c.json_unpack" title="json_unpack"><code class="xref c c-func docutils literal"><span class="pre">json_unpack()</span></code></a>, <a class="reference internal" href="apiref.html#c.json_unpack_ex" title="json_unpack_ex"><code class="xref c c-func docutils literal"><span class="pre">json_unpack_ex()</span></code></a>, <a class="reference internal" href="apiref.html#c.json_vunpack_ex" title="json_vunpack_ex"><code class="xref c c-func docutils literal"><span class="pre">json_vunpack_ex()</span></code></a>: Simple
value extraction and validation functionality based on a format
string.</li>
<li>Add column, position and source fields to the <code class="docutils literal"><span class="pre">json_error_t</span></code>
struct.</li>
<li>Enhance error reporting in the decoder.</li>
<li><code class="docutils literal"><span class="pre">JANSSON_VERSION</span></code> et al.: Preprocessor constants that define the
library version.</li>
<li><a class="reference internal" href="apiref.html#c.json_set_alloc_funcs" title="json_set_alloc_funcs"><code class="xref c c-func docutils literal"><span class="pre">json_set_alloc_funcs()</span></code></a>: Set custom memory allocation functions.</li>
</ul>
</li>
<li>Fix many portability issues, especially on Windows.</li>
<li>Configuration<ul>
<li>Add file <code class="docutils literal"><span class="pre">jansson_config.h</span></code> that contains site specific
configuration. It’s created automatically by the configure script,
or can be created by hand if the configure script cannot be used.
The file <code class="docutils literal"><span class="pre">jansson_config.h.win32</span></code> can be used without
modifications on Windows systems.</li>
<li>Add a section to documentation describing how to build Jansson on
Windows.</li>
<li>Documentation now requires Sphinx 1.0 or newer.</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-1-3">
<h2>Version 1.3<a class="headerlink" href="#version-1-3" title="Permalink to this headline"></a></h2>
<p>Released 2010-06-13</p>
<ul class="simple">
<li>New functions:<ul>
<li><a class="reference internal" href="apiref.html#c.json_object_iter_set" title="json_object_iter_set"><code class="xref c c-func docutils literal"><span class="pre">json_object_iter_set()</span></code></a>, <a class="reference internal" href="apiref.html#c.json_object_iter_set_new" title="json_object_iter_set_new"><code class="xref c c-func docutils literal"><span class="pre">json_object_iter_set_new()</span></code></a>: Change
object contents while iterating over it.</li>
<li><a class="reference internal" href="apiref.html#c.json_object_iter_at" title="json_object_iter_at"><code class="xref c c-func docutils literal"><span class="pre">json_object_iter_at()</span></code></a>: Return an iterator that points to a
specific object item.</li>
</ul>
</li>
<li>New encoding flags:<ul>
<li><code class="docutils literal"><span class="pre">JSON_PRESERVE_ORDER</span></code>: Preserve the insertion order of object
keys.</li>
</ul>
</li>
<li>Bug fixes:<ul>
<li>Fix an error that occured when an array or object was first
encoded as empty, then populated with some data, and then
re-encoded</li>
<li>Fix the situation like above, but when the first encoding resulted
in an error</li>
</ul>
</li>
<li>Documentation:<ul>
<li>Clarify the documentation on reference stealing, providing an
example usage pattern</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-1-2-1">
<h2>Version 1.2.1<a class="headerlink" href="#version-1-2-1" title="Permalink to this headline"></a></h2>
<p>Released 2010-04-03</p>
<ul class="simple">
<li>Bug fixes:<ul>
<li>Fix reference counting on <code class="docutils literal"><span class="pre">true</span></code>, <code class="docutils literal"><span class="pre">false</span></code> and <code class="docutils literal"><span class="pre">null</span></code></li>
<li>Estimate real number underflows in decoder with 0.0 instead of
issuing an error</li>
</ul>
</li>
<li>Portability:<ul>
<li>Make <code class="docutils literal"><span class="pre">int32_t</span></code> available on all systems</li>
<li>Support compilers that don’t have the <code class="docutils literal"><span class="pre">inline</span></code> keyword</li>
<li>Require Autoconf 2.60 (for <code class="docutils literal"><span class="pre">int32_t</span></code>)</li>
</ul>
</li>
<li>Tests:<ul>
<li>Print test names correctly when <code class="docutils literal"><span class="pre">VERBOSE=1</span></code></li>
<li><code class="docutils literal"><span class="pre">test/suites/api</span></code>: Fail when a test fails</li>
<li>Enhance tests for iterators</li>
<li>Enhance tests for decoding texts that contain null bytes</li>
</ul>
</li>
<li>Documentation:<ul>
<li>Don’t remove <code class="docutils literal"><span class="pre">changes.rst</span></code> in <code class="docutils literal"><span class="pre">make</span> <span class="pre">clean</span></code></li>
<li>Add a chapter on RFC conformance</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-1-2">
<h2>Version 1.2<a class="headerlink" href="#version-1-2" title="Permalink to this headline"></a></h2>
<p>Released 2010-01-21</p>
<ul class="simple">
<li>New functions:<ul>
<li><a class="reference internal" href="apiref.html#c.json_equal" title="json_equal"><code class="xref c c-func docutils literal"><span class="pre">json_equal()</span></code></a>: Test whether two JSON values are equal</li>
<li><a class="reference internal" href="apiref.html#c.json_copy" title="json_copy"><code class="xref c c-func docutils literal"><span class="pre">json_copy()</span></code></a> and <a class="reference internal" href="apiref.html#c.json_deep_copy" title="json_deep_copy"><code class="xref c c-func docutils literal"><span class="pre">json_deep_copy()</span></code></a>: Make shallow and deep copies
of JSON values</li>
<li>Add a version of all functions taking a string argument that
doesn’t check for valid UTF-8: <a class="reference internal" href="apiref.html#c.json_string_nocheck" title="json_string_nocheck"><code class="xref c c-func docutils literal"><span class="pre">json_string_nocheck()</span></code></a>,
<a class="reference internal" href="apiref.html#c.json_string_set_nocheck" title="json_string_set_nocheck"><code class="xref c c-func docutils literal"><span class="pre">json_string_set_nocheck()</span></code></a>, <a class="reference internal" href="apiref.html#c.json_object_set_nocheck" title="json_object_set_nocheck"><code class="xref c c-func docutils literal"><span class="pre">json_object_set_nocheck()</span></code></a>,
<a class="reference internal" href="apiref.html#c.json_object_set_new_nocheck" title="json_object_set_new_nocheck"><code class="xref c c-func docutils literal"><span class="pre">json_object_set_new_nocheck()</span></code></a></li>
</ul>
</li>
<li>New encoding flags:<ul>
<li><code class="docutils literal"><span class="pre">JSON_SORT_KEYS</span></code>: Sort objects by key</li>
<li><code class="docutils literal"><span class="pre">JSON_ENSURE_ASCII</span></code>: Escape all non-ASCII Unicode characters</li>
<li><code class="docutils literal"><span class="pre">JSON_COMPACT</span></code>: Use a compact representation with all unneeded
whitespace stripped</li>
</ul>
</li>
<li>Bug fixes:<ul>
<li>Revise and unify whitespace usage in encoder: Add spaces between
array and object items, never append newline to output.</li>
<li>Remove const qualifier from the <code class="docutils literal"><span class="pre">json_t</span></code> parameter in
<a class="reference internal" href="apiref.html#c.json_string_set" title="json_string_set"><code class="xref c c-func docutils literal"><span class="pre">json_string_set()</span></code></a>, <a class="reference internal" href="apiref.html#c.json_integer_set" title="json_integer_set"><code class="xref c c-func docutils literal"><span class="pre">json_integer_set()</span></code></a> and <a class="reference internal" href="apiref.html#c.json_real_set" title="json_real_set"><code class="xref c c-func docutils literal"><span class="pre">json_real_set()</span></code></a>.</li>
<li>Use <code class="docutils literal"><span class="pre">int32_t</span></code> internally for representing Unicode code points
(int is not enough on all platforms)</li>
</ul>
</li>
<li>Other changes:<ul>
<li>Convert <code class="docutils literal"><span class="pre">CHANGES</span></code> (this file) to reStructured text and add it to
HTML documentation</li>
<li>The test system has been refactored. Python is no longer required
to run the tests.</li>
<li>Documentation can now be built by invoking <code class="docutils literal"><span class="pre">make</span> <span class="pre">html</span></code></li>
<li>Support for pkg-config</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="version-1-1-3">
<h2>Version 1.1.3<a class="headerlink" href="#version-1-1-3" title="Permalink to this headline"></a></h2>
<p>Released 2009-12-18</p>
<ul class="simple">
<li>Encode reals correctly, so that first encoding and then decoding a
real always produces the same value</li>
<li>Don’t export private symbols in <code class="docutils literal"><span class="pre">libjansson.so</span></code></li>
</ul>
</div>
<div class="section" id="version-1-1-2">
<h2>Version 1.1.2<a class="headerlink" href="#version-1-1-2" title="Permalink to this headline"></a></h2>
<p>Released 2009-11-08</p>
<ul class="simple">
<li>Fix a bug where an error message was not produced if the input file
could not be opened in <a class="reference internal" href="apiref.html#c.json_load_file" title="json_load_file"><code class="xref c c-func docutils literal"><span class="pre">json_load_file()</span></code></a></li>
<li>Fix an assertion failure in decoder caused by a minus sign without a
digit after it</li>
<li>Remove an unneeded include of <code class="docutils literal"><span class="pre">stdint.h</span></code> in <code class="docutils literal"><span class="pre">jansson.h</span></code></li>
</ul>
</div>
<div class="section" id="version-1-1-1">
<h2>Version 1.1.1<a class="headerlink" href="#version-1-1-1" title="Permalink to this headline"></a></h2>
<p>Released 2009-10-26</p>
<ul class="simple">
<li>All documentation files were not distributed with v1.1; build
documentation in make distcheck to prevent this in the future</li>
<li>Fix v1.1 release date in <code class="docutils literal"><span class="pre">CHANGES</span></code></li>
</ul>
</div>
<div class="section" id="version-1-1">
<h2>Version 1.1<a class="headerlink" href="#version-1-1" title="Permalink to this headline"></a></h2>
<p>Released 2009-10-20</p>
<ul class="simple">
<li>API additions and improvements:<ul>
<li>Extend array and object APIs</li>
<li>Add functions to modify integer, real and string values</li>
<li>Improve argument validation</li>
<li>Use unsigned int instead of <code class="docutils literal"><span class="pre">uint32_t</span></code> for encoding flags</li>
</ul>
</li>
<li>Enhance documentation<ul>
<li>Add getting started guide and tutorial</li>
<li>Fix some typos</li>
<li>General clarifications and cleanup</li>
</ul>
</li>
<li>Check for integer and real overflows and underflows in decoder</li>
<li>Make singleton values thread-safe (<code class="docutils literal"><span class="pre">true</span></code>, <code class="docutils literal"><span class="pre">false</span></code> and <code class="docutils literal"><span class="pre">null</span></code>)</li>
<li>Enhance circular reference handling</li>
<li>Don’t define <code class="docutils literal"><span class="pre">-std=c99</span></code> in <code class="docutils literal"><span class="pre">AM_CFLAGS</span></code></li>
<li>Add C++ guards to <code class="docutils literal"><span class="pre">jansson.h</span></code></li>
<li>Minor performance and portability improvements</li>
<li>Expand test coverage</li>
</ul>
</div>
<div class="section" id="version-1-0-4">
<h2>Version 1.0.4<a class="headerlink" href="#version-1-0-4" title="Permalink to this headline"></a></h2>
<p>Released 2009-10-11</p>
<ul class="simple">
<li>Relax Autoconf version requirement to 2.59</li>
<li>Make Jansson compile on platforms where plain <code class="docutils literal"><span class="pre">char</span></code> is unsigned</li>
<li>Fix API tests for object</li>
</ul>
</div>
<div class="section" id="version-1-0-3">
<h2>Version 1.0.3<a class="headerlink" href="#version-1-0-3" title="Permalink to this headline"></a></h2>
<p>Released 2009-09-14</p>
<ul class="simple">
<li>Check for integer and real overflows and underflows in decoder</li>
<li>Use the Python json module for tests, or simplejson if the json
module is not found</li>
<li>Distribute changelog (this file)</li>
</ul>
</div>
<div class="section" id="version-1-0-2">
<h2>Version 1.0.2<a class="headerlink" href="#version-1-0-2" title="Permalink to this headline"></a></h2>
<p>Released 2009-09-08</p>
<ul class="simple">
<li>Handle EOF correctly in decoder</li>
</ul>
</div>
<div class="section" id="version-1-0-1">
<h2>Version 1.0.1<a class="headerlink" href="#version-1-0-1" title="Permalink to this headline"></a></h2>
<p>Released 2009-09-04</p>
<ul class="simple">
<li>Fixed broken <a class="reference internal" href="apiref.html#c.json_is_boolean" title="json_is_boolean"><code class="xref c c-func docutils literal"><span class="pre">json_is_boolean()</span></code></a></li>
</ul>
</div>
<div class="section" id="version-1-0">
<h2>Version 1.0<a class="headerlink" href="#version-1-0" title="Permalink to this headline"></a></h2>
<p>Released 2009-08-25</p>
<ul class="simple">
<li>Initial release</li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Changes in Jansson</a><ul>
<li><a class="reference internal" href="#version-2-11">Version 2.11</a></li>
<li><a class="reference internal" href="#version-2-10">Version 2.10</a></li>
<li><a class="reference internal" href="#version-2-9">Version 2.9</a></li>
<li><a class="reference internal" href="#version-2-8">Version 2.8</a></li>
<li><a class="reference internal" href="#version-2-7">Version 2.7</a></li>
<li><a class="reference internal" href="#version-2-6">Version 2.6</a></li>
<li><a class="reference internal" href="#version-2-5">Version 2.5</a></li>
<li><a class="reference internal" href="#version-2-4">Version 2.4</a></li>
<li><a class="reference internal" href="#version-2-3-1">Version 2.3.1</a></li>
<li><a class="reference internal" href="#version-2-3">Version 2.3</a></li>
<li><a class="reference internal" href="#version-2-2-1">Version 2.2.1</a></li>
<li><a class="reference internal" href="#version-2-2">Version 2.2</a></li>
<li><a class="reference internal" href="#version-2-1">Version 2.1</a></li>
<li><a class="reference internal" href="#version-2-0-1">Version 2.0.1</a></li>
<li><a class="reference internal" href="#version-2-0">Version 2.0</a></li>
<li><a class="reference internal" href="#version-1-3">Version 1.3</a></li>
<li><a class="reference internal" href="#version-1-2-1">Version 1.2.1</a></li>
<li><a class="reference internal" href="#version-1-2">Version 1.2</a></li>
<li><a class="reference internal" href="#version-1-1-3">Version 1.1.3</a></li>
<li><a class="reference internal" href="#version-1-1-2">Version 1.1.2</a></li>
<li><a class="reference internal" href="#version-1-1-1">Version 1.1.1</a></li>
<li><a class="reference internal" href="#version-1-1">Version 1.1</a></li>
<li><a class="reference internal" href="#version-1-0-4">Version 1.0.4</a></li>
<li><a class="reference internal" href="#version-1-0-3">Version 1.0.3</a></li>
<li><a class="reference internal" href="#version-1-0-2">Version 1.0.2</a></li>
<li><a class="reference internal" href="#version-1-0-1">Version 1.0.1</a></li>
<li><a class="reference internal" href="#version-1-0">Version 1.0</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="index.html">Documentation overview</a><ul>
      <li>Previous: <a href="apiref.html" title="previous chapter">API Reference</a></li>
  </ul></li>
</ul>
</div>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/changes.rst.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <div><input type="text" name="q" /></div>
      <div><input type="submit" value="Go" /></div>
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &copy;2009-2018, Petri Lehtinen.
      
      |
      Powered by <a href="http://sphinx-doc.org/">Sphinx 1.6.6</a>
      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.8</a>
      
      |
      <a href="_sources/changes.rst.txt"
          rel="nofollow">Page source</a>
    </div>

    

    
  </body>
</html>