aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorbakpakin <calsrose@gmail.com>2022-05-09 10:19:40 -0500
committerbakpakin <calsrose@gmail.com>2022-05-09 10:19:40 -0500
commit85129a18734f5fee377d6abf89c6ffc74025a5b0 (patch)
tree012d800f6891e4aee741860b9edc982fb0df74b5
parentAdd `module/value` function to make grabbing bindings out module tables. (diff)
Prepare for 1.22.0 release.
-rw-r--r--CHANGELOG.md3
-rw-r--r--Makefile4
-rw-r--r--meson.build2
-rw-r--r--[-rwxr-xr-x]tools/format.sh0
4 files changed, 5 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9ede4780..e50db78d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,8 @@
# Changelog
All notable changes to this project will be documented in this file.
-## Unreleased - ???
+## 1.22.0 - 2022-05-09
+- Prohibit negative size argument to `table/new`.
- Add `module/value`.
- Remove `file/popen`. Use `os/spawn` with the `:pipe` options instead.
- Fix bug in peg `thru` and `to` combinators.
diff --git a/Makefile b/Makefile
index ab107ec6..f8c4cfbb 100644
--- a/Makefile
+++ b/Makefile
@@ -167,9 +167,9 @@ build/c/janet.c: build/janet_boot src/boot/boot.janet
########################
ifeq ($(UNAME), Darwin)
-SONAME=libjanet.1.21.dylib
+SONAME=libjanet.1.22.dylib
else
-SONAME=libjanet.so.1.21
+SONAME=libjanet.so.1.22
endif
build/c/shell.c: src/mainclient/shell.c
diff --git a/meson.build b/meson.build
index 86ba985a..b28f33ca 100644
--- a/meson.build
+++ b/meson.build
@@ -20,7 +20,7 @@
project('janet', 'c',
default_options : ['c_std=c99', 'build.c_std=c99', 'b_lundef=false', 'default_library=both'],
- version : '1.21.2')
+ version : '1.22.0')
# Global settings
janet_path = join_paths(get_option('prefix'), get_option('libdir'), 'janet')
diff --git a/tools/format.sh b/tools/format.sh
index 37e03f26..37e03f26 100755..100644
--- a/tools/format.sh
+++ b/tools/format.sh