Skip to content

Commit

Permalink
Update changelog for version 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Aug 10, 2017
1 parent cb9d9d1 commit 52b2d10
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,33 @@
## Changelog
### 0.6.0

* Supported Lua Versions now include Lua 5.2 and Lua 5.3. LuaJIT and Lua 5.1
remain supported as well.
* Flag `use-pkgconfig` was added to allow discovery of library and include paths
via pkg-config. Setting a specific Lua version flag now implies `system-lua`.
(Sean Proctor)
* The module was renamed from `Scripting.Lua` to `Foreign.Lua`. The code is now
split over multiple sub-modules. Files processed with hsc2hs are restricted to
Foreign.Lua.Api.
* A `Lua` monad (reader monad over LuaState) is introduced. Functions which took
a LuaState as their first argument are changed into monadic functions within
that monad.
* Error handling has been redesigned completely. A new LuaException was
introduced and is thrown in unexpected situations. Errors in lua which are
leading to a `longjmp` are now caught with the help of additional C wrapper
functions. Those no longer lead to uncontrolled program termination but are
converted into a LuaException.
* `peek` no longer returns `Maybe a` but just `a`. A LuaException is thrown if
an error occurs (i.e. in situtations where Nothing would have been returned
previously).
* The `StackValue` typeclass has been split into `FromLuaStack` and
`ToLuaStack`. Instances not satisfying the law `x == push x *> peek (-1)` have
been dropped.
* Documentation of API functions was improved. Most docstrings have been copied
from the official Lua manual, enriched with proper markup and links, and
changed to properly describe hslua specifics when necessary.
* Example programs have been moved to a separate repository.
* Unused files were removed. (Sean Proctor)

### 0.5.0

Expand Down

0 comments on commit 52b2d10

Please sign in to comment.