- Support loading
libmsgpackc
as well aslibmsgpackc.so.2
, iflibmsgpack
cannot be found.
- Require ffi ~> 1.0.
- Load
libmsgpack.so.3
iflibmsgpack.so
does not exist. - Use
:string
,:buffer_out
,:buffer_in
FFI types. - {FFI::MsgPack::MsgObject#set!} now raises a TypeError when given ambigious values.
- Temporarily drop support for Rubinius due to missing FFI::Union.
- Added {FFI::MsgPack::MsgObject#set!}.
- Added {FFI::MsgPack::MsgObject#set_nil!}.
- Added {FFI::MsgPack::MsgObject#set_boolean!}.
- Added {FFI::MsgPack::MsgObject#set_integer!}.
- Added {FFI::MsgPack::MsgObject#set_double!}.
- Added {FFI::MsgPack::MsgObject#set_float!}.
- Added {FFI::MsgPack::MsgObject#set_raw!}.
- Added {FFI::MsgPack::MsgObject#set_array!}.
- Added {FFI::MsgPack::MsgObject#set_map!}.
- Fixed a major bug, where newly created buffers holding Msg Raws, Arrays or Maps, were getting GCed and then overwritten.
- Added {FFI::MsgPack.version}.
- Added specs for {FFI::MsgPack::Packable}.
- {FFI::MsgPack.pack} now accepts multiple arguments.
- Fixed a typo in {FFI::MsgPack::Packable#to_msgpack} (thanks bb).
- Fixed the packing of {Hash} objects.
- Fixed the struct layout of {FFI::MsgPack::MsgKeyValue}.
- Require libmsgpack >= 0.5.0, due to changes in the
msgpack_object_type
enum.
- Fixed {FFI::MsgPack::MsgObject#initialize} on JRuby.
- Initial release.
- Can pack and unpack
nil
,true
,false
, Integers, Floats, Strings, Arrays and Hashes. - Provides a buffered / callback driven packer.
- Provides a buffered / streaming unpacker.
- Can pack and unpack