v1.3.0
Thanks to @paulo-coutinho, @mutagene, @ngmeyer & @eakoli for contributing to this release!
Should be used together with djinni-support-lib v1.2.0
Added
- Generated C++ records can be serialized and deserialized with nlohmann/json, if
--cpp-json-serialization nlohmann_json
is passed to the generator. Read more... (#99)
This feature has been ported from hiennguyenle/finn. - The generated Objective-C protocols do now conform to NSObject. (#117, #118)
- Generics are now supported for extern types in Objective-C & C++/CLI. (#113)
Ifgeneric: true
is set in the type definition YAML, the generic type information is populated to the generated interfaces. This feature already existed for Java and has now been extended to Objective-C & C++/CLI. A usage example can be found here in the integration tests.
Changed
- Under the hood some dependencies have been updated (#111):
- scala 2.13.6 (the latest scala 2.x release)
- sbt 1.5.5
- scalatest 3.2.10
- scala-parser-combinators 2.1.0
- snakeyaml 1.29
Note
Any contributions to this repository now have to be formatted with scalafmt in order to pass the PR checks. Make sure to run sbt scalafmtAll
before committing your changes!