Pydjinni

Latest version: v1.0a5

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0a5

Improving Windows compatibility

This release does not bring any new features, but focuses mainly on improving Windows compatibility. Check out the new [Visual Studio Extension](https://marketplace.visualstudio.com/items?itemName=PyDjinni.PyDjinni)!

Fixed

- Android Archive packaging is now possible on Windows. (3e04db9fc387149808f19f9140c6873af35c2017)
- The Language Server is now compatible with Visual Studio. (df2fd67e7ebfd9c187a90dd429a7f251d6b725ac)
- A problem with the language server deprecation warning diagnostic reports was fixed. (4904790a05ddbffca7664f22e3ac6c3a87a377a3)


**Full Changelog**: https://github.com/pydjinni/pydjinni/compare/v1.0a4...v1.0a5

1.0a4

Language Server

Added
* PyDjinni now ships with a language server that can be used by IDE plugins for improving the code editing experience. (90cc409ba29eaacc2024e6350af2d13be8090614)
* Python 3.12 is now supported. (079561b30a750af9522eb1935c3f611861d7ce6b)
* The Python wheel does now ship the [`PyDjinni`](https://github.com/pydjinni/pydjinni/blob/main/src/pydjinni/cmake/modules/PyDjinni.cmake) CMake module as a resource. This allows the new [`FindPyDjinni`](https://github.com/pydjinni/pydjinni/blob/main/cmake/modules/FindPyDjinni.cmake) CMake module to load the module from the current Python environment. (f2f1674c1f91f2d2b3dd2fd36c04c1b50a6e0b51)

**Full Changelog**: https://github.com/pydjinni/pydjinni/compare/v1.0a3...v1.0a4

1.0a3

C++/CLI Support, Comment Conversion, Record Deriving, and Enum String Serialization 💪

Added

* C++/CLI support was added (adapted from [cross-language-cpp/djinni-generator](https://github.com/cross-language-cpp/djinni-generator) , [iit-reacts/djinni](https://github.com/iit-reacts/djinni)). (508f749cd5654f9f5c99552c8f093e1dbd69c512)
* Comment conversion was vastly improved! It can now convert Markdown comments from the IDL to Javadoc, Doxygen, DocC and XML doc comments. It supports simple text styling, lists, code blocks, and more. The commands `returns`, `param` and `deprecated` can also be used. Adding `deprecated` to a comment marks the generated interfaces as deprecated (inspired by https://github.com/cross-language-cpp/djinni-generator/pull/156). (9c201ff71864552fdab3893bc7c5a0c18bd2ca37)
* Record deriving is finally implemented, supporting `str`, `eq` and `ord`. (2c6bf441c23e98c362c0f59fa54245b0ec7643c7)
* mutagene added `enum` and `flags` string serialization support in C++ (adapted from [Snapchat/djinni](https://github.com/Snapchat/djinni)). (8b3a4ef40ad885d4368821273c5dad4473db7c5d)

Changed

* The IDL parser was migrated from [Arpeggio](https://textx.github.io/Arpeggio/2.0/) to [ANTLR4](https://www.antlr.org/). This was required for the Language Server (Coming Soon™), because ANTLR4 supports syntax error recovery. (bacf0879e817c64f0b414b93deb72515e435b519)
* **Breaking Change:** The Android AAR packaging process was changed. The generated Java sources are now directly copied to the AAR Gradle project, without a need to package them into a JAR before. (9c201ff71864552fdab3893bc7c5a0c18bd2ca37)

New Contributors

Thanks to the first contributions to this project!

* paulocoutinhox made their first contribution in https://github.com/pydjinni/pydjinni/pull/9
* mutagene made their first contribution in https://github.com/pydjinni/pydjinni/pull/12

**Full Changelog**: https://github.com/pydjinni/pydjinni/compare/v1.0a2...v1.0a3

1.0a2

Initial Preview 🐣

This is the first early preview of the new **PyDjinni** C++ cross-platform library development toolkit.
It is unfinished and should only be used with caution! Some features may be incomplete or even broken!

PyDjinni was heavily inspired by [Djinni](https://djinni.xlcpp.dev).

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.