doc: Add "New in version 2.1" notes to new features
authorPetri Lehtinen <petri@digip.org>
Sat, 14 May 2011 17:46:13 +0000 (20:46 +0300)
committerPetri Lehtinen <petri@digip.org>
Sat, 14 May 2011 17:52:14 +0000 (20:52 +0300)
doc/apiref.rst

index 438cfdd..ea1877d 100644 (file)
@@ -738,6 +738,8 @@ can be ORed together to obtain *flags*.
    with other JSON systems. Even Jansson itself doesn't have any means
    to decode JSON texts whose root value is not object or array.
 
+   .. versionadded:: 2.1
+
 The following functions perform the actual JSON encoding. The result
 is in UTF-8.
 
@@ -798,6 +800,8 @@ affect especially the behavior of the decoder.
    need to be null-terminated. *flags* is currently unused, and should
    be set to 0.
 
+   .. versionadded:: 2.1
+
 .. function:: json_t *json_loadf(FILE *input, size_t flags, json_error_t *error)
 
    .. refcounting:: new