Update gdextension_interface.json and extension_api.json for Godot 4.7-beta1#1972
Update gdextension_interface.json and extension_api.json for Godot 4.7-beta1#1972dsnopek merged 1 commit intogodotengine:masterfrom
gdextension_interface.json and extension_api.json for Godot 4.7-beta1#1972Conversation
gdextension_interface.json and extension_api.json for Godot 4.7-beta1gdextension_interface.json and extension_api.json for Godot 4.7-beta1
|
Taking this out of DRAFT now that -beta1 is released! |
|
@dsnopek I assume that when 4.7 goes stable, I wonder if it would make more sense to avoid all the shuffling around of |
Yes
That would be easier to maintain, for sure! However, I went the way I went, because I know there's people whose workflow (either locally or in CI) is to replace the |
|
|
||
| def _get_api_file(extension_dir, api_version): | ||
| if api_version is None or api_version == supported_api_versions[-1]: | ||
| if api_version is None or api_version == default_api_version: |
There was a problem hiding this comment.
It's kind of questionable we're defaulting at all. We technically would like users to target the minimum API version they can support, but defaulting to a low version would be confusing. Making the decision always explicit might be good long-term.
This PR aims to update the GDExtension interface and API files for Godot 4.7-beta1, and make some small build system changes, so that we still default to using the latest stable Godot version (4.6)
This is a DRAFT because Godot 4.7-beta1 still isn't out yet!
But this let's us get ready a bit, and let's me make some follow-up PRs that use the new stuff :-)