Skip to content

Commit

Permalink
Update README and CHANGELOG. Don't auto-load module.l
Browse files Browse the repository at this point in the history
  • Loading branch information
aw committed Feb 15, 2018
1 parent 459da5a commit c86b9f7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions json.l
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion module.l
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit c86b9f7

Please sign in to comment.