Skip to content

Commit 13c4d78

Browse files
committed
v0.5.0
1 parent e9e8a0a commit 13c4d78

2 files changed

Lines changed: 37 additions & 17 deletions

File tree

ChangeLog

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,47 @@
11

2+
2012-12-20 version 0.5.0:
3+
4+
* Rewrote all code and improved performance significantly
5+
* Added MessagePack::Buffer class
6+
* Added MessagePack::Packer class
7+
* Added Packer#buffer and Unpacker#buffer accessors which return MessagePack::Buffer
8+
* Added Packer#write_{array,map}_header and Unpacker#read_{array,map}_header methods
9+
* Added Packer#write_nil and Unpacker#skip_nil methods
10+
* Added Packer#write -> #pack alias and Unpacker#read method
11+
* Added exception classes - UnpackError, MalformedFormatError, StackError and TypeError
12+
* Added MessagePack.dup -> .pack and MessagePack.load -> .unpack aliases
13+
* Added Packer#empty?, #size and #clear methods
14+
* Added Packer#write_to(io) method to flush serialized data to IO efficiently
15+
* Added Unpacker#skip method to skip an object efficiently
16+
* Removed obsoleted Unpacker#fill, #execute, #execute_limit, #finished? and #data methods
17+
* Removed obsoleted Unapcker#stream and #stream= methods. Use unpacker.buffer.io instead
18+
19+
220
2012-05-05 version 0.4.7:
321

4-
* Fixed serialization of double values on ARM OABI architectures
5-
* Fixed byteorder problem on big-endian platforms
6-
* Don't use MRI internals in the Ruby extension for Rubinius
7-
* Detect whether st.h is present and don't use RUBY_VM as the condition for
8-
Rubinius
22+
* Fixed serialization of double values on ARM OABI architectures
23+
* Fixed byteorder problem on big-endian platforms
24+
* Don't use MRI internals in the Ruby extension for Rubinius
25+
* Detect whether st.h is present and don't use RUBY_VM as the condition for
26+
Rubinius
927

1028
2011-08-08 version 0.4.6:
1129

12-
* Fixed compile error problem on Mac OS X Lion
30+
* Fixed compile error problem on Mac OS X Lion
1331

1432
2011-05-09 version 0.4.5:
1533

16-
* Improves compatibility with JRuby
34+
* Improves compatibility with JRuby
1735

1836
2010-11-28 version 0.4.4:
1937

20-
* Adds Unpacker#feed_each method
21-
* Improves compatibility with Rubinius
22-
* Improves compatibility with ruby-1.8.5
23-
* Encodings of String instances to UTF-8 on Ruby 1.9
38+
* Adds Unpacker#feed_each method
39+
* Improves compatibility with Rubinius
40+
* Improves compatibility with ruby-1.8.5
41+
* Encodings of String instances to UTF-8 on Ruby 1.9
2442

2543
2010-06-29 version 0.4.3:
2644

27-
* Adds MessagePack::VERSION constant
28-
* Fixes SEGV problem caused by GC bug at MessagePack_Unpacker_mark
45+
* Adds MessagePack::VERSION constant
46+
* Fixes SEGV problem caused by GC bug at MessagePack_Unpacker_mark
2947

Rakefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ else
5252
end
5353
end
5454

55+
task :default => :build
56+
5557

5658
###
5759
## Cross compile memo
@@ -69,17 +71,17 @@ end
6971
# exec $SHELL -l
7072
#
7173
### install cross-compiled ruby 1.9.3
72-
# rbenv install ruby-1.9.3-p327
74+
# rbenv install 1.9.3-p327
7375
# gem install rake-compiler
74-
# rake-compiler cross-ruby VERSION=ruby-1.9.3-p327
76+
# rake-compiler cross-ruby VERSION=1.9.3-p327
7577
#
7678
### install cross-compiled ruby 1.8.7
77-
# rbenv install ruby-1.8.7-p371
79+
# rbenv install 1.8.7-p371
7880
# gem install rake-compiler
7981
# rake-compiler cross-ruby VERSION=1.8.7-p371
8082
#
8183
### build gem
82-
# rbenv shell ruby-1.8.7-p371
84+
# rbenv shell 1.8.7-p371
8385
# gem install bundler && bundle
8486
# rake cross native gem RUBY_CC_VERSION=1.8.7:1.9.3
8587
#

0 commit comments

Comments
 (0)