Skip to content

Commit 5f1aca5

Browse files
committed
Bumped up to 0.2.3
[added] * supported jsonSerializable interface * added ProtocolBuffersEnum::toArray() method [bug fixes] * #33 Message::append on a repeated field causes segfault, batch * assigning it throws exception * fixed refcounting problem
1 parent 86179bd commit 5f1aca5

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

package.xml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,27 @@
1111
<email>chobieeeee@php.net</email>
1212
<active>yes</active>
1313
</lead>
14-
<date>2014-02-14</date>
15-
<time>04:50:48</time>
14+
<date>2014-04-13</date>
15+
<time>22:00:48</time>
1616
<version>
17-
<release>0.2.2</release>
18-
<api>0.2.0</api>
17+
<release>0.2.3</release>
18+
<api>0.2.3</api>
1919
</version>
2020
<stability>
2121
<release>alpha</release>
2222
<api>alpha</api>
2323
</stability>
2424
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
25-
<notes>Bumped up to 0.2.2
25+
<notes>Bumped up to 0.2.3
2626

2727
[added]
28-
* added IDE friendly stub file.
29-
* added ProtocolBuffersEnum::getName($value) method.
28+
* supported jsonSerializable interface
29+
* added ProtocolBuffersEnum::toArray() method
3030

3131
[bug fixes]
32-
* #31 fixes potential for segmentation fault when using camel case field name.
33-
* #32 don't waste memory when retain parent message.
32+
* #33 Message::append on a repeated field causes segfault, batch assigning it throws exception
33+
* fixed refcounting problem
34+
3435
</notes>
3536
<contents>
3637
<dir name="/">
@@ -74,6 +75,8 @@
7475
<file role="doc" name="README.md"/>
7576
<file role="src" name="serializer.c"/>
7677
<file role="src" name="serializer.h"/>
78+
<file role="src" name="json_serializer.c"/>
79+
<file role="src" name="json_serializer.h"/>
7780
<file role="src" name="unknown_field.c"/>
7881
<file role="src" name="unknown_field.h"/>
7982
<file role="src" name="unknown_field_set.c"/>
@@ -195,6 +198,10 @@
195198
<file role="test" name="600_wakeup.phpt"/>
196199
<file role="test" name="700_merge_from.phpt"/>
197200
<file role="test" name="700_set_from.phpt"/>
201+
<file role="test" name="700_merge_from.phpt"/>
202+
<file role="test" name="700_jsonserializable.phpt"/>
203+
<file role="test" name="700_jsonserializable_invalid_utf8.phpt"/>
204+
<file role="test" name="700_toarray_invalid_utf8.phpt"/>
198205
<file role="test" name="800_helper_debug_zval.phpt"/>
199206
<file role="test" name="800_helper_write_varint32.phpt"/>
200207
<file role="test" name="800_helper_zigzag.phpt"/>
@@ -221,6 +228,7 @@
221228
<file role="test" name="999_remove_first_ns.phpt"/>
222229
<file role="test" name="999_required_property.phpt"/>
223230
<file role="test" name="999_no31_initialize_target_should_be_same_name_as_declarations.phpt" />
231+
<file role="test" name="999_no33_batch_assignment.phpt" />
224232
<dir name="fixtures">
225233
<file role="test" name="001_big_tag.bin"/>
226234
<file role="test" name="001_bool.bin"/>
@@ -309,6 +317,8 @@
309317
<file role="test" name="field_uint64.proto.php"/>
310318
<file role="test" name="repeated_int32.proto.php"/>
311319
<file role="test" name="repeated_string.proto.php"/>
320+
<file role="test" name="outer_inner.proto.php" />
321+
<file role="test" name="AllTypes.proto.php" />
312322
</dir>
313323
<dir name="proto">
314324
<file role="test" name="addressbook.proto"/>

php_protocolbuffers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#define PHP_PROTOCOLBUFFERS_H
3333

3434
#define PHP_PROTOCOLBUFFERS_EXTNAME "protocolbuffers"
35-
#define PHP_PROTOCOLBUFFERS_VERSION "0.2.2"
35+
#define PHP_PROTOCOLBUFFERS_VERSION "0.2.3"
3636

3737
#ifdef HAVE_CONFIG_H
3838
#include "config.h"

0 commit comments

Comments
 (0)