Skip to content

v1.2.0

Compare
Choose a tag to compare
@jothepro jothepro released this 25 Sep 17:04
· 31 commits to main since this release
5644f72

Added

  • In C++, records are generated with a default constructor that initializes all members by default. This can be disabled with the new option --cpp-omit-default-record-constructor <true/false>. (#79)
  • finalize methods in the generated Java gluecode are annotated with SuppressWarnings("deprecation"). Using finalize is inevitable until a better solution is found . (#16)

Changed

  • The generated C wrapper functions do not refer to "Python" in their names any more. The long term goal is to make the C wrapper a general purpose interface that can be used for bridging to other languages as well.

Removed

  • In an attempt to clean up the CLI, all --<lang>-base-lib-include-prefix parameters have been removed, because we see no need to set a different include path than provided by the cross-language-cpp/djinni-support-lib. The default include paths did not change (djinni/<lang>). (#82)

Fixed

  • The list of generated files (--list-out-files) was missing the Objective-C Bridging Header. It is now included in the list as expected. (#54)
  • In C++/CLI types would not always be specified by their full namespace type name. (#78)
  • The Swift bridging header would be created as a 0 byte file if —skip-generation true was passed. This is now fixed and no bridging header is generated if —skip-generation true was passed. (#80)
  • Comments would not be copied to C++/CLI for interface and to C++ for enum. Comments are now copied consistently to all languages. (#67)
  • Extern Djinni flag was not marshalled properly for JNI. (#90)