diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c5d07d..eb074e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 3.3.0 (2018-02-15) + + * Fix issue #9 - Bug in namespaces functionality + * Add regression tests for this issue + * Add notice about namespaces in PicoLisp >= 17.3.4 + * Don't load module.l in json.l + ## 3.2.0 (2018-01-10) * Fix issue #8 - Invalid encoding of true,false,null diff --git a/README.md b/README.md index 042bea0..6d6bb0c 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,9 @@ This library has been rewritten in pure PicoLisp and contains **no external depe # Usage -> **Note:** Namespaces can be disabled by setting the environment variable `PIL_NAMESPACES=false` +> **Note:** Namespaces do not work with versions of PicoLisp `>= 17.3.4`, please set the environment variable `PIL_NAMESPACES=false` (this may change in the future). -Only the following functions are exported publicly, and namespaced with `(symbols 'json)` (or the prefix: `json~`): +Only the following functions are exported publicly: * `(decode arg1 arg2)` parses a JSON string or file - `arg1` _String_: the JSON string or filename you want to decode diff --git a/json.l b/json.l index d8a8c02..e7061b4 100644 --- a/json.l +++ b/json.l @@ -14,8 +14,6 @@ (local iterate-object iterate-list make-null make-boolean make-json-number) (local make-json-string make-json-array make-generic make-object make-array) ) -(load (pack (car (file)) "module.l")) - # send error message to STDERR [de err-throw (Error) (msg Error) diff --git a/module.l b/module.l index a4f5978..f1c2014 100644 --- a/module.l +++ b/module.l @@ -1,6 +1,6 @@ [de MODULE_INFO ("name" "json") - ("version" "3.2.0") + ("version" "3.3.0") ("summary" "JSON encoder/decoder for PicoLisp") ("source" "https://github.com/aw/picolisp-json.git") ("author" "Alexander Williams")