|
| 1 | +# Changelog |
| 2 | +## [Unreleased](https://github.com/gilzoide/godot-csharp-gdextension-bindgen/compare/0.2.0...HEAD) |
| 3 | +### Added |
| 4 | +- Support for default values with types `float`, `StringName`, float Vector types, `Color`, all Packed Array types, `Transform2D` and `Transform3D` |
| 5 | + |
| 6 | +### Changed |
| 7 | +- Inherited enums and integer constants are not exposed in GDExtension classes, which fixes possible name clashes |
| 8 | +- Private methods, whose name start with the prefix `_`, are not exposed anymore |
| 9 | + |
| 10 | +### Fixed |
| 11 | +- Only export `addons/csharp_gdextension_bindgen` folder to the Asset Library |
| 12 | +- Enums where one of the constants is present in all constant names. |
| 13 | + Example: `Node.ProcessThreadMessages` and `FLAG_PROCESS_THREAD_MESSAGES` |
| 14 | +- Only add the "Enum" suffix to enum types when their name would clash with another declaration, such as a signal, method or property. |
| 15 | + This was done to match Godot's C# binding generation logic. |
| 16 | +- Inner type name from typed arrays |
| 17 | +- Support for properties that register more than one class name in "class_name". |
| 18 | + In such case, the common parent class is used. |
| 19 | + Example: `CanvasItem.material` uses `CanvasItemMaterial,ShaderMaterial`. |
| 20 | +- Names of Godot classes that don't exactly match their GDScript counterparts. |
| 21 | + The code replicates what Godot does in [modules/mono/utils/naming_utils.cpp](https://github.com/godotengine/godot/blob/4.3-stable/modules/mono/utils/naming_utils.cpp). |
| 22 | + Example: `MultiplayerAPI` -> `MultiplayerApi` |
| 23 | + |
| 24 | + |
| 25 | +## [0.2.0](https://github.com/gilzoide/godot-csharp-gdextension-bindgen/releases/tag/0.2.0) |
| 26 | +### Added |
| 27 | +- [cli_entrypoint.gd](addons/csharp_gdextension_bindgen/cli_entrypoint.gd) script that can be used to generate bindings via command line. |
| 28 | + Usage: |
| 29 | + ```sh |
| 30 | + godot --headless --script addons/csharp_gdextension_bindgen/cli_entrypoint.gd -- [OUTPUT_DIR] [NAMESPACE] |
| 31 | + ``` |
| 32 | + |
| 33 | + |
| 34 | +## [0.1.0](https://github.com/gilzoide/godot-csharp-gdextension-bindgen/releases/tag/0.1.0) |
| 35 | +### Added |
| 36 | +- [csharp_gdextension_bindgen.gd](addons/csharp_gdextension_bindgen/csharp_gdextension_bindgen.gd) editor plugin that generates C# bindings for all GDExtension classes currently registered. |
| 37 | + To generate the bindings, enable the plugin and use the menu item `Project -> Tools -> Generate C# GDExtension Bindings`. |
0 commit comments