diff --git a/CHANGELOG.md b/CHANGELOG.md index 1645c799..4ed95ac4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## [0.5.2-pre] +## [0.5.2] - Handle union vectors in binary schema generation (.bfbs). - Handle mixed union types in binary schema (.bfbs). diff --git a/README.md b/README.md index 7942bad2..73658a5c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ OS-X & Ubuntu: [![Build Status](https://travis-ci.org/dvidelabs/flatcc.svg?branch=master)](https://travis-ci.org/dvidelabs/flatcc) Windows: [![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/dvidelabs/flatcc?branch=master&svg=true)](https://ci.appveyor.com/project/dvidelabs/flatcc) -_NOTE: 0.5.0 changed the union interface, and low-level union accessor names -were cleaned up in 0.5.1._ _The JSON parser may change the interface for parsing union vectors in a future release which requires code generation to match library @@ -27,7 +25,7 @@ or printing in less than 2 us for a 10 field mixed type message. * [Poll on Meson Build](#poll-on-meson-build) * [Reporting Bugs](#reporting-bugs) * [Status](#status) - * [Main features supported as of 0.5.1](#main-features-supported-as-of-051) + * [Main features supported as of 0.5.2](#main-features-supported-as-of-052) * [Supported platforms (CI tested)](#supported-platforms-ci-tested) * [Platforms reported to work by users](#platforms-reported-to-work-by-users) * [Portability](#portability) @@ -252,13 +250,12 @@ fi ## Status -Release 0.5.2 (ongoing) introduces optional `_get` suffix to -reader methods. By using `flatcc -g` only `_get` methods are -valid. This removes potential name conficts for some field -names. 0.5.2 also introduces the long awaited clone operation -for tables and vectors. A C++ smoketest was added to reduce the -number void pointer assignment errors that kept sneaking in. -The runtime library now needs an extra file `refmap.c`. +Release 0.5.2 introduces optional `_get` suffix to reader methods. By +using `flatcc -g` only `_get` methods are valid. This removes potential +name conficts for some field names. 0.5.2 also introduces the long +awaited clone operation for tables and vectors. A C++ smoketest was +added to reduce the number void pointer assignment errors that kept +sneaking in. The runtime library now needs an extra file `refmap.c`. Release 0.5.1 fixes a buffer overrun in the JSON printer and improves the portable libraries compatibility with C++ and the @@ -274,7 +271,7 @@ low-level union interface so the terms { type, value } are used consistently over { type, member } and { types, members }. -### Main features supported as of 0.5.1 +### Main features supported as of 0.5.2 - generated FlatBuffers reader and builder headers for C - generated FlatBuffers verifier headers for C diff --git a/include/flatcc/flatcc_version.h b/include/flatcc/flatcc_version.h index 87b2a979..3bb5b009 100644 --- a/include/flatcc/flatcc_version.h +++ b/include/flatcc/flatcc_version.h @@ -2,12 +2,12 @@ extern "C" { #endif -#define FLATCC_VERSION_TEXT "0.5.2-pre" +#define FLATCC_VERSION_TEXT "0.5.2" #define FLATCC_VERSION_MAJOR 0 #define FLATCC_VERSION_MINOR 5 #define FLATCC_VERSION_PATCH 2 /* 1 or 0 */ -#define FLATCC_VERSION_RELEASED 0 +#define FLATCC_VERSION_RELEASED 1 #ifdef __cplusplus } diff --git a/include/flatcc/reflection/flatbuffers_common_builder.h b/include/flatcc/reflection/flatbuffers_common_builder.h index 2c141c7d..fd31ce2b 100644 --- a/include/flatcc/reflection/flatbuffers_common_builder.h +++ b/include/flatcc/reflection/flatbuffers_common_builder.h @@ -1,7 +1,7 @@ #ifndef FLATBUFFERS_COMMON_BUILDER_H #define FLATBUFFERS_COMMON_BUILDER_H -/* Generated by flatcc 0.5.2-pre FlatBuffers schema compiler for C by dvide.com */ +/* Generated by flatcc 0.5.2 FlatBuffers schema compiler for C by dvide.com */ /* Common FlatBuffers build functionality for C. */ diff --git a/include/flatcc/reflection/flatbuffers_common_reader.h b/include/flatcc/reflection/flatbuffers_common_reader.h index 96040526..a74de5c2 100644 --- a/include/flatcc/reflection/flatbuffers_common_reader.h +++ b/include/flatcc/reflection/flatbuffers_common_reader.h @@ -1,7 +1,7 @@ #ifndef FLATBUFFERS_COMMON_READER_H #define FLATBUFFERS_COMMON_READER_H -/* Generated by flatcc 0.5.2-pre FlatBuffers schema compiler for C by dvide.com */ +/* Generated by flatcc 0.5.2 FlatBuffers schema compiler for C by dvide.com */ /* Common FlatBuffers read functionality for C. */ diff --git a/include/flatcc/reflection/reflection_builder.h b/include/flatcc/reflection/reflection_builder.h index c4adc775..a63c9106 100644 --- a/include/flatcc/reflection/reflection_builder.h +++ b/include/flatcc/reflection/reflection_builder.h @@ -1,7 +1,7 @@ #ifndef REFLECTION_BUILDER_H #define REFLECTION_BUILDER_H -/* Generated by flatcc 0.5.2-pre FlatBuffers schema compiler for C by dvide.com */ +/* Generated by flatcc 0.5.2 FlatBuffers schema compiler for C by dvide.com */ #ifndef REFLECTION_READER_H #include "reflection_reader.h" diff --git a/include/flatcc/reflection/reflection_reader.h b/include/flatcc/reflection/reflection_reader.h index 2eb24982..b5f5b969 100644 --- a/include/flatcc/reflection/reflection_reader.h +++ b/include/flatcc/reflection/reflection_reader.h @@ -1,7 +1,7 @@ #ifndef REFLECTION_READER_H #define REFLECTION_READER_H -/* Generated by flatcc 0.5.2-pre FlatBuffers schema compiler for C by dvide.com */ +/* Generated by flatcc 0.5.2 FlatBuffers schema compiler for C by dvide.com */ #ifndef FLATBUFFERS_COMMON_READER_H #include "flatbuffers_common_reader.h" diff --git a/include/flatcc/reflection/reflection_verifier.h b/include/flatcc/reflection/reflection_verifier.h index ef0ec35b..e8dcd5b0 100644 --- a/include/flatcc/reflection/reflection_verifier.h +++ b/include/flatcc/reflection/reflection_verifier.h @@ -1,7 +1,7 @@ #ifndef REFLECTION_VERIFIER_H #define REFLECTION_VERIFIER_H -/* Generated by flatcc 0.5.2-pre FlatBuffers schema compiler for C by dvide.com */ +/* Generated by flatcc 0.5.2 FlatBuffers schema compiler for C by dvide.com */ #ifndef REFLECTION_READER_H #include "reflection_reader.h"