Skip to content

Commit

Permalink
Merge pull request #40 from jessedoyle/duk-2.2.0
Browse files Browse the repository at this point in the history
Duktape 2.2.0
  • Loading branch information
Jesse Doyle authored Dec 29, 2017
2 parents 67571ce + 1936265 commit 0e59b56
Show file tree
Hide file tree
Showing 19 changed files with 20,480 additions and 16,581 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# v0.13.0 - Dec 28, 2017

- Update Duktape to version `2.2.0`, rebuilding all necessary
configuration and header files.
- [**upstream change**]
`LibDUK::Compile::*` and `LibDUK::BufObj::*` constant values have
been changed - remap these constants to their updated values.
- [**upstream change**]
`LibDUK::Bool` is now of type `UInt32` (as opposed to `Int32`).
- Add bindings for new public API methods:
`duk_pus_proxy`, `duk_seal`, `duk_freeze`, `duk_require_object`, `duk_is_constructable`
and `duk_opt_xxx` methods. The `duk_opt` methods work similar to
`duk_require_xxx`, but allow a default value to be passed in that
is used when there is no value at the given stack index.
- Alias `LibDUK::Number` as `Float64` for more simple type changes in
the future.
- Add the `Duktape::API::Opt` module to encapsulate binding wrapper code
for the `duk_opt` methods implemented.
- Run all code through the crystal `0.24.1` formatter.
- See [duktape releases](https://github.com/svaarala/duktape/blob/master/RELEASES.rst) for more info.

# v0.12.1 - Nov 2, 2017

- [_bugfix_] - Fix an unintended `Duktape` heap instantiation when creating a new `Duktape::Context`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ version: 1.0.0 # your project's version
dependencies:
duktape:
github: jessedoyle/duktape.cr
version: ~> 0.12.1
version: ~> 0.13.0
```
then execute:
Expand Down
Loading

0 comments on commit 0e59b56

Please sign in to comment.