lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi, list!

I'm happy to announce release of version 0.3 of my Luabins library.

Luabins is a small and simple library to serialize and unserialize
trivial Lua values (including tables) into arbitrary binary data
format.

Luabins is hosted at GitHub: http://github.com/agladysh/luabins/

You may download release 0.3 here:

http://github.com/agladysh/luabins/raw/tarball-0.3/luabins-0.3.tar.gz

Or you may browse sources online: http://github.com/agladysh/luabins/tree/v0.3

Rockspec to install 0.3 with Luarocks:

http://github.com/agladysh/luabins/raw/master/rockspec/luabins-0.3-1.rockspec

SCM rockspec is here (unchanged since last submit):

http://github.com/agladysh/luabins/raw/master/rockspec/luabins-scm-2.rockspec

What's new in 0.3:

Format unification for x86 and x86_64. Bug fixes.

WARNING: Format is not compatible with 0.2 and below.
         Only data saved on x86_64 is affected, though.
         Data, saved on x86, should load fine.

New features:

-- Format change: unified save format for x86 vs. x86_64.
-- API to save data to FILE * stream without Lua (see fwrite.h).

Bug fixes:

-- Load: fixed bug in readbyte, now it checks if we have data before read.
-- Load: fixed Lua C stack overflow bug on large data.

Misc:

-- Better module information.
   Replaced luabins.VERSION with _VERSION, _CONFIG and _COPYRIGHT.
-- Added some CLI tools, useful for Luabins development (see etc/).
-- Some code cleanup.

Any feedback welcome!

Alexander.