Skip to content

Latest commit

 

History

History
80 lines (68 loc) · 3.45 KB

CHANGELOG.md

File metadata and controls

80 lines (68 loc) · 3.45 KB

Change Log

[0.3.1]

  • Add support for MSVC on Windows.
  • Allow FlatBuffer enums to be used in switch statements without warnings.
  • Remove warnings for 32-bit builds.
  • Fix runtime detection of endianness and add support for more platforms with compile time detection of endianness.
  • Fix scope bug where global namespace symbols from included schema would be invisible in parent schema.
  • Add missing static for generated union verifiers.
  • Fix bug in json printer unicode escape and hash table bug in compiler.
  • Fix json parser under allocation bug.
  • Fix emit_test early dealloc bug.

[0.3.0]

  • Rename examples folder to samples folder.
  • Add samples/monster example.
  • BREAKING: added missing _vec infix on some operations related to building vectors. For example Weapon_push -> Weapon_vec_push.
  • BREAKING: vector and string start functions no longer takes a count/len argument as it proved tedious and not very useful. The return value is now 0 on success rather than a buffer pointer. Use _extend call after start when the length argument is non-zero.

[0.2.1]

  • Disallow unquoted symbolic list in JSON parser by default for Google flatc compatibility.
  • Remove PRIVATE flags from CMake build files to support older CMake versions.
  • Simplify switching between ninja and make build tools.
  • Fix incorrectly named unaligned read macros - impacts non-x86 targets.
  • Mirror grisu3 headers in portable library to avoid dependency on external/grisu3.
  • Use correct grisu3 header for parsing, improving json parsing times.
  • Move include/portable to include/flatcc/portable to simplify runtime distribution and to prevent potential name and versioning conflicts.
  • Fix is_union in bfbs2json.c example.

[0.2.0]

  • BREAKING: flatcc verify functions now return a distinct error code. This breaks existing code. Before non-zero was success, now flatcc_verify_ok == 0. The error code can be converted to a string using flatcc_verify_error_string(ret).
  • BREAKING, minor: Remove user state from builder interface - now providing a user stack instead.
  • Fix verification of nested flatbuffers.
  • Fix certain header fields that was not endian encoded in builder.
  • MAJOR: Generate json printer and parser.
  • Added high performance integer printinger to portable library and fast floating point priting to runtime library (grisu3) for JSON.
  • Comparison agains default value now prints float to generated source with full precision ("%.17g").
  • MAJOR: read-only generated files no longer attempt to be independent of files in the flatcc include dir. Instead they will use one well-defined source of information for flatbuffer types and endian detection.
  • Always depend portable/pendian.h and portable/pendian_detect.h. (The include/portable dir can be copied under include/flatcc if so desired).
  • Updates to set of include files in include/flatcc.
  • Upgrade to pstdint.h 0.1.15 to fix 64-bit printf issue on OS-X.
  • Support for portable unaligned reads.
  • Hide symbols that leak into namespace via parent include.
  • Suppress unused function and variable warnings for GCC (in addition to clang).

[0.1.1]

  • Rename libflatccbuilder.a to libflatccrt.a (flatcc runtime).
  • Add suffix to all generated files (monster_test.h -> monster_test_reader.h)
  • Add buffer verifiers (`monster_test_verifier.h).
  • Assert on error in flatcc builder by default.
  • Fix -I include path regression in flatcc command.

[0.1.0]

  • Initial public release.