diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index bf349df65..e7e435dd3 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -15,7 +15,7 @@ add_dependencies(libjsonnet++ jsonnet) # CMake prepends CMAKE_SHARED_LIBRARY_PREFIX to shared libraries, so without # this step the output would be |liblibjsonnet|. set_target_properties(libjsonnet++ PROPERTIES OUTPUT_NAME jsonnet++ - VERSION "0.14.0" + VERSION "0.15.0" SOVERSION "0" PUBLIC_HEADER "${LIB_HEADER}") install(TARGETS libjsonnet++ diff --git a/doc/ref/stdlib.html b/doc/ref/stdlib.html index 91de23e50..f1f73ae9d 100644 --- a/doc/ref/stdlib.html +++ b/doc/ref/stdlib.html @@ -545,18 +545,19 @@

std.stripChars(str, chars)

+ Available since version 0.15.0.

Removes characters chars from the beginning and from the end of str.

-
-

- Example: std.stripChars(" test test test ", " ") yields "test test test". -

-

- Example: std.stripChars("aaabbbbcccc", "ac") yields "bbbb". -

-

- Example: std.stripChars("cacabbbbaacc", "ac") yields "bbbb". -

- Available in upcoming version. +

+ Example: std.stripChars(" test test test ", " ") yields "test test test". +

+

+ Example: std.stripChars("aaabbbbcccc", "ac") yields "bbbb". +

+

+ Example: std.stripChars("cacabbbbaacc", "ac") yields "bbbb". +

+
+
@@ -574,18 +575,18 @@

std.lstripChars(str, chars)

+ Available since version 0.15.0.

Removes characters chars from the beginning of str.

-
-

- Example: std.lstripChars(" test test test ", " ") yields "test test test ". -

-

- Example: std.lstripChars("aaabbbbcccc", "ac") yields "bbbbcccc". -

-

- Example: std.lstripChars("cacabbbbaacc", "ac") yields "bbbbaacc". -

- Available in upcoming version. +

+ Example: std.lstripChars(" test test test ", " ") yields "test test test ". +

+

+ Example: std.lstripChars("aaabbbbcccc", "ac") yields "bbbbcccc". +

+

+ Example: std.lstripChars("cacabbbbaacc", "ac") yields "bbbbaacc". +

+`
@@ -603,18 +604,18 @@

std.rstripChars(str, chars)

+ Available since version 0.15.0.

Removes characters chars from the beginning and from the end of str.

+

+ Example: std.rstripChars(" test test test ", " ") yields " test test test". +

+

+ Example: std.rstripChars("aaabbbbcccc", "ac") yields "aaabbbb". +

+

+ Example: std.rstripChars("cacabbbbaacc", "ac") yields "cacabbbb". +

-

- Example: std.rstripChars(" test test test ", " ") yields " test test test". -

-

- Example: std.rstripChars("aaabbbbcccc", "ac") yields "aaabbbb". -

-

- Example: std.rstripChars("cacabbbbaacc", "ac") yields "cacabbbb". -

- Available in upcoming version.
@@ -977,10 +978,10 @@

std.parseHex(str)

std.parseJson(str)

+ Available since version 0.13.0.

Parses a JSON string.

- Available since version 0.13.0

Example: std.parseJson('{"foo": "bar"}') yields {"foo": "bar"}.

@@ -991,7 +992,7 @@

std.parseJson(str)

std.encodeUTF8(str)

- Available since version 0.13.0 + Available since version 0.13.0.

Encode a string using UTF8. Returns an array of numbers representing bytes. @@ -1013,7 +1014,7 @@

std.decodeUTF8(arr)

- Available since version 0.13.0 + Available since version 0.13.0.

Decode an array of numbers representing bytes using UTF8. Returns a string. @@ -1418,11 +1419,11 @@

std.member(arr, x)

+ Available since version 0.15.0.

Returns whether x occurs in arr. Argument arr may be an array or a string.

- Available in upcoming version.
@@ -1660,6 +1661,7 @@

std.repeat(what, count)

+ Available since version 0.15.0.

Repeats an array or a string what a number of times specified by an integer count.

Example: std.repeat([1, 2, 3], 3) yields [1, 2, 3, 1, 2, 3, 1, 2, 3]. @@ -1667,7 +1669,6 @@

std.repeat(what, count)

Example 2: std.repeat("blah", 2) yields "blahblah".

- Available in upcoming release.
@@ -1761,8 +1762,8 @@

std.reverse(arr)

+ Available since version 0.13.0.

Reverses an array.

- Available since version 0.13.0
@@ -2101,11 +2102,11 @@

std.trace(str, rest)

+ Available since version 0.11.0.

Outputs the given string str to stderr and returns rest as the result.

- Available since version 0.11.0

Example:

local conditionalReturn(cond, in1, in2) =
diff --git a/include/libjsonnet.h b/include/libjsonnet.h
index 0c4bbc865..9d36c6bef 100644
--- a/include/libjsonnet.h
+++ b/include/libjsonnet.h
@@ -31,7 +31,7 @@ limitations under the License.
  *
  * If this isn't the sae as jsonnet_version() then you've got a mismatched binary / header.
  */
-#define LIB_JSONNET_VERSION "v0.14.0"
+#define LIB_JSONNET_VERSION "v0.15.0"
 
 /** Return the version string of the Jsonnet interpreter.  Conforms to semantic versioning
  * http://semver.org/ If this does not match LIB_JSONNET_VERSION then there is a mismatch between
diff --git a/test_cmd/fmt_help.golden.stdout.cpp b/test_cmd/fmt_help.golden.stdout.cpp
index 269fe1a08..2ea552cc1 100644
--- a/test_cmd/fmt_help.golden.stdout.cpp
+++ b/test_cmd/fmt_help.golden.stdout.cpp
@@ -1,4 +1,4 @@
-Jsonnet reformatter v0.14.0
+Jsonnet reformatter v0.15.0
 
 jsonnetfmt {