Skip to content

Commit

Permalink
add changelog and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jessedoyle committed Sep 11, 2015
1 parent 996b4f5 commit afdac1a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# v0.5.1 - September 11, 2015

- Add this `CHANGLEOG`.
- Fix issue [#1](https://github.com/jessedoyle/duktape.cr/issues/1) by linking against standard math library.
- Cleanup `Makefile` syntax.

# v0.5.0 - September 8, 2015

- Intial public release.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ sbx.get_prop -2 # [ global Math ]
sbx.push_string "PI" # [ global Math "PI" ]
sbx.get_prop -2 # [ global Math PI ]
pi = sbx.get_number -1
puts "PI: #{pi}"
puts "PI: #{pi}" # => PI: 3.14159
sbx.pop_3
```

Expand Down Expand Up @@ -116,7 +116,7 @@ will raise `Duktape::Error "SyntaxError"`.

## Sandbox vs Context

You should only execute untrusted javascript code on from within a `Duktape::Sandbox` instance. A sandbox isolates code from insecure operations such as Duktape's internal `require` mechanism and the `Duktape` global javascript object.
You should only execute untrusted javascript code from within a `Duktape::Sandbox` instance. A sandbox isolates code from insecure operations such as Duktape's internal `require` mechanism and the `Duktape` global javascript object.

Note that a sandbox does not currently protect against infinite loops or excessive runtime. Ideally, a timeout mechanism will be available in future releases.

Expand Down
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: duktape.cr
version: 0.5.0
version: 0.5.1

authors:
- Jesse Doyle <jdoyle@ualberta.ca>
Expand Down
2 changes: 1 addition & 1 deletion src/duktape/version.cr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Duktape
module VERSION
MAJOR = 0
MINOR = 5
TINY = 0
TINY = 1
PRE = nil

STRING = [MAJOR, MINOR, TINY, PRE].compact.join "."
Expand Down

0 comments on commit afdac1a

Please sign in to comment.