Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 103 additions & 25 deletions core/extension/gdextension_interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,10 @@
"type": "int32_t"
}
],
"deprecated": "Deprecated. Use GDExtensionClassNotification2 instead."
"deprecated": {
"since": "4.2",
"replace_with": "GDExtensionClassNotification2"
}
},
{
"name": "GDExtensionClassNotification2",
Expand Down Expand Up @@ -1461,7 +1464,10 @@
]
}
],
"deprecated": "Deprecated. Use GDExtensionClassCreationInfo4 instead."
"deprecated": {
"since": "4.2",
"replace_with": "GDExtensionClassCreationInfo4"
}
},
{
"name": "GDExtensionClassCreationInfo2",
Expand Down Expand Up @@ -1579,7 +1585,10 @@
]
}
],
"deprecated": "Deprecated. Use GDExtensionClassCreationInfo4 instead."
"deprecated": {
"since": "4.3",
"replace_with": "GDExtensionClassCreationInfo4"
}
},
{
"name": "GDExtensionClassCreationInfo3",
Expand Down Expand Up @@ -1701,7 +1710,10 @@
]
}
],
"deprecated": "Deprecated. Use GDExtensionClassCreationInfo4 instead."
"deprecated": {
"since": "4.4",
"replace_with": "GDExtensionClassCreationInfo4"
}
},
{
"name": "GDExtensionClassCreationInfo4",
Expand Down Expand Up @@ -2344,7 +2356,10 @@
"",
"`free_func` is necessary if `callable_userdata` needs to be cleaned up when the callable is freed."
],
"deprecated": "Deprecated. Use GDExtensionCallableCustomInfo2 instead."
"deprecated": {
"since": "4.3",
"replace_with": "GDExtensionCallableCustomInfo2"
}
},
{
"name": "GDExtensionCallableCustomInfo2",
Expand Down Expand Up @@ -2493,7 +2508,10 @@
"type": "const GDExtensionPropertyInfo*"
}
],
"deprecated": "Deprecated. Use GDExtensionScriptInstanceFreePropertyList2 instead."
"deprecated": {
"since": "4.3",
"replace_with": "GDExtensionScriptInstanceFreePropertyList2"
}
},
{
"name": "GDExtensionScriptInstanceFreePropertyList2",
Expand Down Expand Up @@ -2697,7 +2715,10 @@
"type": "const GDExtensionMethodInfo*"
}
],
"deprecated": "Deprecated. Use GDExtensionScriptInstanceFreeMethodList2 instead."
"deprecated": {
"since": "4.3",
"replace_with": "GDExtensionScriptInstanceFreeMethodList2"
}
},
{
"name": "GDExtensionScriptInstanceFreeMethodList2",
Expand Down Expand Up @@ -2807,7 +2828,10 @@
"type": "int32_t"
}
],
"deprecated": "Deprecated. Use GDExtensionScriptInstanceNotification2 instead."
"deprecated": {
"since": "4.2",
"replace_with": "GDExtensionScriptInstanceNotification2"
}
},
{
"name": "GDExtensionScriptInstanceNotification2",
Expand Down Expand Up @@ -3037,7 +3061,10 @@
"type": "GDExtensionScriptInstanceFree"
}
],
"deprecated": "Deprecated. Use GDExtensionScriptInstanceInfo3 instead."
"deprecated": {
"since": "4.2",
"replace_with": "GDExtensionScriptInstanceInfo3"
}
},
{
"name": "GDExtensionScriptInstanceInfo2",
Expand Down Expand Up @@ -3147,7 +3174,10 @@
"type": "GDExtensionScriptInstanceFree"
}
],
"deprecated": "Deprecated. Use GDExtensionScriptInstanceInfo3 instead."
"deprecated": {
"since": "4.3",
"replace_with": "GDExtensionScriptInstanceInfo3"
}
},
{
"name": "GDExtensionScriptInstanceInfo3",
Expand Down Expand Up @@ -3622,7 +3652,10 @@
"Gets the Godot version that the GDExtension was loaded into."
],
"since": "4.1",
"deprecated": "Deprecated in Godot 4.5. Use `get_godot_version2` instead."
"deprecated": {
"since": "4.5",
"replace_with": "get_godot_version2"
}
},
{
"name": "get_godot_version2",
Expand Down Expand Up @@ -3664,7 +3697,11 @@
"Allocates memory."
],
"since": "4.1",
"deprecated": "Deprecated in Godot 4.6. Use `mem_alloc2` instead."
"deprecated": {
"since": "4.6",
"message": "Does not allow explicitly requesting padding.",
"replace_with": "mem_alloc2"
}
},
{
"name": "mem_realloc",
Expand Down Expand Up @@ -3694,7 +3731,11 @@
"Reallocates memory."
],
"since": "4.1",
"deprecated": "Deprecated in Godot 4.6. Use `mem_realloc2` instead."
"deprecated": {
"since": "4.6",
"message": "Does not allow explicitly requesting padding.",
"replace_with": "mem_realloc2"
}
},
{
"name": "mem_free",
Expand All @@ -3714,7 +3755,11 @@
"Frees memory."
],
"since": "4.1",
"deprecated": "Deprecated in Godot 4.6. Use `mem_free2` instead."
"deprecated": {
"since": "4.6",
"message": "Does not allow explicitly requesting padding.",
"replace_with": "mem_free2"
}
},
{
"name": "mem_alloc2",
Expand Down Expand Up @@ -5885,7 +5930,10 @@
"Creates a String from a UTF-8 encoded C string with the given length."
],
"since": "4.1",
"deprecated": "Deprecated in Godot 4.3. Use `string_new_with_utf8_chars_and_len2` instead."
"deprecated": {
"since": "4.3",
"replace_with": "string_new_with_utf8_chars_and_len2"
}
},
{
"name": "string_new_with_utf8_chars_and_len2",
Expand Down Expand Up @@ -5955,7 +6003,10 @@
"Creates a String from a UTF-16 encoded C string with the given length."
],
"since": "4.1",
"deprecated": "Deprecated in Godot 4.3. Use `string_new_with_utf16_chars_and_len2` instead."
"deprecated": {
"since": "4.3",
"replace_with": "string_new_with_utf16_chars_and_len2"
}
},
{
"name": "string_new_with_utf16_chars_and_len2",
Expand Down Expand Up @@ -7512,7 +7563,10 @@
"Sets an Array to be a reference to another Array object."
],
"since": "4.1",
"deprecated": "Deprecated in Godot 4.5. use `Array::operator=` instead."
"deprecated": {
"since": "4.5",
"message": "Removed from interface. Use copy constructor instead."
}
},
{
"name": "array_set_typed",
Expand Down Expand Up @@ -8214,7 +8268,10 @@
"Creates a script instance that contains the given info and instance data."
],
"since": "4.1",
"deprecated": "Deprecated in Godot 4.2. Use `script_instance_create3` instead."
"deprecated": {
"since": "4.2",
"replace_with": "script_instance_create3"
}
},
{
"name": "script_instance_create2",
Expand Down Expand Up @@ -8244,7 +8301,10 @@
"Creates a script instance that contains the given info and instance data."
],
"since": "4.2",
"deprecated": "Deprecated in Godot 4.3. Use `script_instance_create3` instead."
"deprecated": {
"since": "4.3",
"replace_with": "script_instance_create3"
}
},
{
"name": "script_instance_create3",
Expand Down Expand Up @@ -8430,7 +8490,10 @@
"Provided struct can be safely freed once the function returns."
],
"since": "4.2",
"deprecated": "Deprecated in Godot 4.3. Use `callable_custom_create2` instead."
"deprecated": {
"since": "4.3",
"replace_with": "callable_custom_create2"
}
},
{
"name": "callable_custom_create2",
Expand Down Expand Up @@ -8512,7 +8575,10 @@
"The passed class must be a built-in godot class, or an already-registered extension class. In both cases, object_set_instance() should be called to fully initialize the object."
],
"since": "4.1",
"deprecated": "Deprecated in Godot 4.4. Use `classdb_construct_object2` instead."
"deprecated": {
"since": "4.4",
"replace_with": "classdb_construct_object2"
}
},
{
"name": "classdb_construct_object2",
Expand Down Expand Up @@ -8637,7 +8703,10 @@
"Provided struct can be safely freed once the function returns."
],
"since": "4.1",
"deprecated": "Deprecated in Godot 4.2. Use `classdb_register_extension_class4` instead."
"deprecated": {
"since": "4.2",
"replace_with": "classdb_register_extension_class5"
}
},
{
"name": "classdb_register_extension_class2",
Expand Down Expand Up @@ -8679,7 +8748,10 @@
"Provided struct can be safely freed once the function returns."
],
"since": "4.2",
"deprecated": "Deprecated in Godot 4.3. Use `classdb_register_extension_class4` instead."
"deprecated": {
"since": "4.3",
"replace_with": "classdb_register_extension_class5"
}
},
{
"name": "classdb_register_extension_class3",
Expand Down Expand Up @@ -8721,7 +8793,10 @@
"Provided struct can be safely freed once the function returns."
],
"since": "4.3",
"deprecated": "Deprecated in Godot 4.4. Use `classdb_register_extension_class4` instead."
"deprecated": {
"since": "4.4",
"replace_with": "classdb_register_extension_class5"
}
},
{
"name": "classdb_register_extension_class4",
Expand Down Expand Up @@ -8763,7 +8838,10 @@
"Provided struct can be safely freed once the function returns."
],
"since": "4.4",
"deprecated": "Deprecated in Godot 4.5. Use `classdb_register_extension_class5` instead."
"deprecated": {
"since": "4.5",
"replace_with": "classdb_register_extension_class5"
}
},
{
"name": "classdb_register_extension_class5",
Expand Down
34 changes: 32 additions & 2 deletions core/extension/gdextension_interface.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,22 @@
}
},
"deprecated": {
"type": "string"
"type": "object",
"properties": {
"since": {
"type": "string",
"pattern": "4\\.[0-9]+"
},
"message": {
"type": "string",
"pattern": "\\.$"
},
"replace_with": {
"type": "string"
}
},
"required": ["since"],
"additionalProperties": false
}
},
"required": [
Expand Down Expand Up @@ -256,7 +271,22 @@
"pattern": "4\\.[0-9]+"
},
"deprecated": {
"type": "string"
"type": "object",
"properties": {
"since": {
"type": "string",
"pattern": "4\\.[0-9]+"
},
"message": {
"type": "string",
"pattern": "\\.$"
},
"replace_with": {
"type": "string"
}
},
"required": ["since"],
"additionalProperties": false
},
"see": {
"type": "array",
Expand Down
Loading