Releases: emergent-design/libentity
v1.1.6 release
Added support for comments in the JSON parser.
v1.1.5 release
Decoding of an entity by reference is non-destructive - it will only overwrite values that exist in the supplied encoded data. The same should hold true for other container types such as std::map, std::vector and std::array. This release changes the behaviour accordingly.
v1.1.4 release
- Top-level arrays now supported in BSON
- Tree walking updated to support arrays
v1.1.3 release
Fix issue with std::stod handling very small doubles
v1.1.2 release
Fixes issue with default values in objects and arrays.
v1.1.1 release
- Breaking API changes
- No entity class anymore.
- Top-level encode/decode/to_tree/from_tree functions.
- Entities no longer need to be derived from entity.
- Extra helper macro for generating the mapping description function.
- Extra helper macro for merging mappings when dealing with derived structs.
- Additional static asserts to provide more useful error messages.
Debian packages available at http://downloads.emergent-design.co.uk/libentity/
v1.0.3 release
- Updated to catch2 test library.
- Changes to fix cross-compilation with mingw.
Debian packages available at http://downloads.emergent-design.co.uk/libentity/
v1.0.2 release
Removed the byte typedef to avoid future conflicts with C++17.
Debian x64 packages available at http://downloads.emergent-design.co.uk/libentity/
libentity v1.0.1
- New API based around a direct parser rather than a tree-based one.
- Parsing of top-level arrays.
- Const functions where appropriate.
- Conversion of entities to trees and vice versa.
- Entities can now contain trees!
- Recursive tree walking helper added.
- Support for std::array<> in an entity.
Debian x64 packages available at http://downloads.emergent-design.co.uk/libentity/
libentity v0.0.3
This version represents a change in the API for entity
since the previous implementation increased the size of any structure or class that was derived from it.
Due to these changes the mapping function now relies on a new mapping class.
Debian x64 packages available at http://downloads.emergent-design.co.uk/libentity/