| release date: | in development |
|---|
- Default value of
use_listisTruefor now. (It wasFalsefor 0.2.x) You should pass it explicitly for compatibility to 0.2.x.
- Pure Python fallback module is added. (thanks to bwesterb)
- Add
.skip()method toUnpacker(thanks to jnothman) - Add capturing feature. You can pass the writable object to
Unpacker.unpack()as a second parameter. - Add
Packer.pack_array_headerandPacker.pack_map_header. These methods only pack header of each type. - Add
autoresetoption toPacker(default: True). Packer doesn't return packed bytes and clear internal buffer. - Add
Packer.pack_map_pairs. It packs sequence of pair to map type.
| release date: | 2012-12-22 |
|---|
- Fix SEGV when object_hook or object_pairs_hook raise Exception. (#39)
| release date: | 2012-12-11 |
|---|
- Warn when use_list is not specified. It's default value will be changed in 0.3.
- Can't pack subclass of dict.
| release date: | 2012-09-21 |
|---|
- Add
use_single_floatoption toPacker. When it is true, packs float object in single precision format.
unpack()didn't restores gc state when it called with gc disabled.unpack()doesn't control gc now instead of restoring gc state collectly. User can control gc state when gc cause performance issue.Unpacker'sread_sizeoption didn't used.
| release date: | 2012-08-20 |
|---|
- Add
max_buffer_sizeparameter to Unpacker. It limits internal buffer size and allows unpack data from untrusted source safely. - Unpacker's buffer reallocation algorithm is less greedy now. It cause perforamce
derease in rare case but memory efficient and don't allocate than
max_buffer_size.
- Fix msgpack didn't work on SPARC Solaris. It was because choosing wrong byteorder
on compilation time. Use
sys.byteorderto get correct byte order. Very thanks to Chris Casey for giving test environment to me.
| release date: | 2012-06-27 |
|---|
- Drop supporting Python 2.5 and unify tests for Py2 and Py3.
- Use new version of msgpack-c. It packs correctly on big endian platforms.
- Remove deprecated packs and unpacks API.
- #8 Packing subclass of dict raises TypeError. (Thanks to Steeve Morin.)
| release date: | 2012-04-21 |
|---|
- Don't accept subtype of list and tuple as msgpack list. (Steeve Morin)
It allows customize how it serialized with
defaultargument.
- Fix wrong error message. (David Wolever)
- Fix memory leak while unpacking when
object_hookorlist_hookis used. (Steeve Morin)
- setup.py works on Python 2.5 (Steffen Siering)
- Optimization for serializing dict.
| release date: | 2011-12-27 |
|---|
- Re-enable packs/unpacks removed at 0.1.11. It will be removed when 0.2 is released.
| release date: | 2011-12-26 |
|---|
- Include test code for Python3 to sdist. (Johan Bergström)
- Fix compilation error on MSVC. (davidgaleano)
| release date: | 2011-08-22 |
|---|
- Add
encodingandunicode_errorsoption to packer and unpacker. When this option is specified, (un)packs unicode object instead of bytes. This enables using msgpack as a replacement of json. (tailhook)
| release date: | 2011-01-29 |
|---|
use_listoption is added to unpack(b) like Unpacker. (Use keyword argument because order of parameters are different)
- Fix typo.
- Add MemoryError check.
| release date: | 2011-01-10 |
|---|
- Support
loadsanddumpsaliases for API compatibility with simplejson and pickle. - Add object_hook and list_hook option to unpacker. It allows you to hook unpacing mapping type and array type.
- Add default option to packer. It allows you to pack unsupported types.
- unpacker accepts (old) buffer types.
- Fix segv around
Unpacker.feedorUnpacker(file).
| release date: | 2010-11-02 |
|---|
- Add object_hook and list_hook option to unpacker. It allows you to hook unpacing mapping type and array type.
- Add default option to packer. It allows you to pack unsupported types.
- unpacker accepts (old) buffer types.
- Compilation error on win32.