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 @@
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"
.
-
+ Example: std.stripChars(" test test test ", " ")
yields "test test test"
.
+
+ Example: std.stripChars("aaabbbbcccc", "ac")
yields "bbbb"
.
+
+ Example: std.stripChars("cacabbbbaacc", "ac")
yields "bbbb"
.
+
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"
.
-
+ Example: std.lstripChars(" test test test ", " ")
yields "test test test "
.
+
+ Example: std.lstripChars("aaabbbbcccc", "ac")
yields "bbbbcccc"
.
+
+ Example: std.lstripChars("cacabbbbaacc", "ac")
yields "bbbbaacc"
.
+
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"
.
-
Parses a JSON string.
- Available since version 0.13.0Example: std.parseJson('{"foo": "bar"}')
yields {"foo": "bar"}
.
Encode a string using UTF8. Returns an array of numbers representing bytes. @@ -1013,7 +1014,7 @@
Decode an array of numbers representing bytes using UTF8. Returns a string. @@ -1418,11 +1419,11 @@
Returns whether x
occurs in arr
.
Argument arr
may be an array or a string.
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 @@
Example 2: std.repeat("blah", 2)
yields "blahblah"
.
Reverses an array.
- Available since version 0.13.0
Outputs the given string str
to stderr and
returns rest
as the result.
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 {