4.3-stable.expected 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. This file contains the expected output of --validate-extension-api when run against the extension_api.json of the
  2. 4.3-stable tag (the basename of this file).
  3. Only lines that start with "Validate extension JSON:" matter, everything else is considered a comment and ignored. They
  4. should instead be used to justify these changes and describe how users should work around these changes.
  5. Add new entries at the end of the file.
  6. ## Changes between 4.3-stable and 4.4-stable
  7. GH-95374
  8. --------
  9. Validate extension JSON: Error: Field 'classes/ShapeCast2D/properties/collision_result': getter changed value in new API, from "_get_collision_result" to &"get_collision_result".
  10. Validate extension JSON: Error: Field 'classes/ShapeCast3D/properties/collision_result': getter changed value in new API, from "_get_collision_result" to &"get_collision_result".
  11. These getters have been renamed to expose them. GDExtension language bindings couldn't have exposed these properties before.
  12. GH-90993
  13. --------
  14. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments': size changed value in new API, from 9 to 10.
  15. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/9': type changed value in new API, from "Array" to "int".
  16. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/9': default_value changed value in new API, from "Array[RID]([])" to "0".
  17. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/9': type changed value in new API, from "typedarray::RID" to "int".
  18. draw_list_begin added a new optional debug argument called breadcrumb.
  19. There used to be an Array argument as arg #9 initially, then changed to typedarray::RID in 4.1, and finally removed in 4.3.
  20. Since we're adding a new one at the same location, we need to silence those warnings for 4.1 and 4.3.
  21. GH-95126
  22. --------
  23. Validate extension JSON: Error: Field 'classes/Shader/methods/get_default_texture_parameter/return_value': type changed value in new API, from "Texture2D" to "Texture".
  24. Validate extension JSON: Error: Field 'classes/Shader/methods/set_default_texture_parameter/arguments/1': type changed value in new API, from "Texture2D" to "Texture".
  25. Validate extension JSON: Error: Field 'classes/VisualShaderNodeCubemap/methods/get_cube_map/return_value': type changed value in new API, from "Cubemap" to "TextureLayered".
  26. Validate extension JSON: Error: Field 'classes/VisualShaderNodeCubemap/methods/set_cube_map/arguments/0': type changed value in new API, from "Cubemap" to "TextureLayered".
  27. Validate extension JSON: Error: Field 'classes/VisualShaderNodeCubemap/properties/cube_map': type changed value in new API, from "Cubemap" to "Cubemap,CompressedCubemap,PlaceholderCubemap,TextureCubemapRD".
  28. Validate extension JSON: Error: Field 'classes/VisualShaderNodeTexture2DArray/methods/get_texture_array/return_value': type changed value in new API, from "Texture2DArray" to "TextureLayered".
  29. Validate extension JSON: Error: Field 'classes/VisualShaderNodeTexture2DArray/methods/set_texture_array/arguments/0': type changed value in new API, from "Texture2DArray" to "TextureLayered".
  30. Validate extension JSON: Error: Field 'classes/VisualShaderNodeTexture2DArray/properties/texture_array': type changed value in new API, from "Texture2DArray" to "Texture2DArray,CompressedTexture2DArray,PlaceholderTexture2DArray,Texture2DArrayRD".
  31. Allow setting a cubemap as default parameter to shader.
  32. Compatibility methods registered.
  33. GH-93605
  34. --------
  35. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/Semaphore/methods/post': arguments
  36. Optional arguments added. Compatibility methods registered.
  37. GH-95212
  38. --------
  39. Validate extension JSON: Error: Field 'classes/RegEx/methods/compile/arguments': size changed value in new API, from 1 to 2.
  40. Validate extension JSON: Error: Field 'classes/RegEx/methods/create_from_string/arguments': size changed value in new API, from 1 to 2.
  41. Add optional argument to control error printing on compilation fail. Compatibility methods registered.
  42. GH-95375
  43. --------
  44. Validate extension JSON: Error: Field 'classes/AudioStreamPlayer/properties/playing': setter changed value in new API, from "_set_playing" to &"set_playing".
  45. Validate extension JSON: Error: Field 'classes/AudioStreamPlayer2D/properties/playing': setter changed value in new API, from "_set_playing" to &"set_playing".
  46. Validate extension JSON: Error: Field 'classes/AudioStreamPlayer3D/properties/playing': setter changed value in new API, from "_set_playing" to &"set_playing".
  47. These setters have been renamed to expose them. GDExtension language bindings couldn't have exposed these properties before.
  48. GH-94322
  49. --------
  50. Validate extension JSON: Error: Field 'classes/EditorInterface/methods/popup_node_selector/arguments': size changed value in new API, from 2 to 3.
  51. Validate extension JSON: Error: Field 'classes/EditorInterface/methods/popup_property_selector/arguments': size changed value in new API, from 3 to 4.
  52. Added optional argument to popup_property_selector and popup_node_selector to specify the current value.
  53. GH-94434
  54. --------
  55. Validate extension JSON: Error: Field 'classes/OS/methods/execute_with_pipe/arguments': size changed value in new API, from 2 to 3.
  56. Optional argument added. Compatibility method registered.
  57. GH-94684
  58. --------
  59. Validate extension JSON: Error: Field 'classes/SoftBody3D/methods/set_point_pinned/arguments': size changed value in new API, from 3 to 4.
  60. Optional argument added to allow for adding pin point at specific index. Compatibility method registered.
  61. GH-97281
  62. --------
  63. Validate extension JSON: Error: Field 'classes/InputMap/methods/add_action/arguments/1': default_value changed value in new API, from "0.5" to "0.2".
  64. Default deadzone value was changed. No adjustments should be necessary.
  65. Compatibility method registered.
  66. GH-97020
  67. --------
  68. Validate extension JSON: Error: Field 'classes/AnimationNode/methods/_process': is_const changed value in new API, from true to false.
  69. `_process` virtual method fixed to be non const instead.
  70. GH-97257
  71. --------
  72. Validate extension JSON: Error: Field 'classes/EditorFeatureProfile/enums/Feature/values/FEATURE_MAX': value changed value in new API, from 8.0 to 9.
  73. New entry to the `EditorFeatureProfile.Feature` enum added. Those need to go before `FEATURE_MAX`, which will always cause a compatibility break.
  74. GH-91201
  75. --------
  76. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/OS/methods/read_string_from_stdin': arguments
  77. Added optional argument. Compatibility method registered.
  78. GH-98918
  79. --------
  80. Validate extension JSON: Error: Field 'classes/FileAccess/methods/open_encrypted/arguments': size changed value in new API, from 3 to 4.
  81. Optional argument added to allow setting initialization vector. Compatibility method registered.
  82. GH-98972
  83. --------
  84. Validate extension JSON: Error: Field 'classes/TranslationServer/methods/standardize_locale/arguments': size changed value in new API, from 1 to 2.
  85. Optional argument added. Compatibility method registered.
  86. GH-99424
  87. --------
  88. Validate extension JSON: API was removed: builtin_classes/Projection/constants/PLANE_BOTTOM
  89. Validate extension JSON: API was removed: builtin_classes/Projection/constants/PLANE_FAR
  90. Validate extension JSON: API was removed: builtin_classes/Projection/constants/PLANE_LEFT
  91. Validate extension JSON: API was removed: builtin_classes/Projection/constants/PLANE_NEAR
  92. Validate extension JSON: API was removed: builtin_classes/Projection/constants/PLANE_RIGHT
  93. Validate extension JSON: API was removed: builtin_classes/Projection/constants/PLANE_TOP
  94. Validate extension JSON: API was removed: builtin_classes/Vector2/constants/AXIS_X
  95. Validate extension JSON: API was removed: builtin_classes/Vector2/constants/AXIS_Y
  96. Validate extension JSON: API was removed: builtin_classes/Vector2i/constants/AXIS_X
  97. Validate extension JSON: API was removed: builtin_classes/Vector2i/constants/AXIS_Y
  98. Validate extension JSON: API was removed: builtin_classes/Vector3/constants/AXIS_X
  99. Validate extension JSON: API was removed: builtin_classes/Vector3/constants/AXIS_Y
  100. Validate extension JSON: API was removed: builtin_classes/Vector3/constants/AXIS_Z
  101. Validate extension JSON: API was removed: builtin_classes/Vector3i/constants/AXIS_X
  102. Validate extension JSON: API was removed: builtin_classes/Vector3i/constants/AXIS_Y
  103. Validate extension JSON: API was removed: builtin_classes/Vector3i/constants/AXIS_Z
  104. Validate extension JSON: API was removed: builtin_classes/Vector4/constants/AXIS_W
  105. Validate extension JSON: API was removed: builtin_classes/Vector4/constants/AXIS_X
  106. Validate extension JSON: API was removed: builtin_classes/Vector4/constants/AXIS_Y
  107. Validate extension JSON: API was removed: builtin_classes/Vector4/constants/AXIS_Z
  108. Validate extension JSON: API was removed: builtin_classes/Vector4i/constants/AXIS_W
  109. Validate extension JSON: API was removed: builtin_classes/Vector4i/constants/AXIS_X
  110. Validate extension JSON: API was removed: builtin_classes/Vector4i/constants/AXIS_Y
  111. Validate extension JSON: API was removed: builtin_classes/Vector4i/constants/AXIS_Z
  112. These constants have been replaced with corresponding enum constants.
  113. GH-98670
  114. --------
  115. Validate extension JSON: Error: Field 'classes/RenderSceneBuffersRD/methods/create_texture/arguments': size changed value in new API, from 9 to 10.
  116. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments': size changed value in new API, from 10 to 7.
  117. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments': size changed value in new API, from 9 to 7.
  118. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/1': type changed value in new API, from "enum::RenderingDevice.InitialAction" to "bitfield::RenderingDevice.DrawFlags".
  119. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/2': type changed value in new API, from "enum::RenderingDevice.FinalAction" to "PackedColorArray".
  120. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/3': type changed value in new API, from "enum::RenderingDevice.InitialAction" to "float".
  121. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/4': type changed value in new API, from "enum::RenderingDevice.FinalAction" to "int".
  122. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/5': default_value changed value in new API, from "PackedColorArray()" to "Rect2(0, 0, 0, 0)".
  123. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/5': type changed value in new API, from "PackedColorArray" to "Rect2".
  124. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/6': default_value changed value in new API, from "1.0" to "0".
  125. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/6': meta changed value in new API, from "float" to "uint32".
  126. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_begin/arguments/6': type changed value in new API, from "float" to "int".
  127. Draw lists no longer require the initial and final action for color and depth attachments to be specified.
  128. Draw lists can now specify if a particular color, depth, or stencil attachment should be cleared.
  129. GH-78289
  130. --------
  131. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_16': return_value
  132. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_32': return_value
  133. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_64': return_value
  134. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_8': return_value
  135. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_buffer': return_value
  136. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_csv_line': return_value
  137. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_double': return_value
  138. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_half': return_value
  139. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_float': return_value
  140. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_line': return_value
  141. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_pascal_string': return_value
  142. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_real': return_value
  143. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_string': return_value
  144. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/FileAccess/methods/store_var': return_value
  145. Added return values. Compatibility method registered.
  146. GH-99481
  147. --------
  148. Validate extension JSON: Error: Field 'classes/RichTextLabel/methods/push_meta/arguments': size changed value in new API, from 2 to 3.
  149. Optional argument added to set tooltip. Compatibility method registered.
  150. GH-98443
  151. --------
  152. Validate extension JSON: Error: Field 'classes/Control/properties/offset_bottom': type changed value in new API, from "int" to "float".
  153. Validate extension JSON: Error: Field 'classes/Control/properties/offset_left': type changed value in new API, from "int" to "float".
  154. Validate extension JSON: Error: Field 'classes/Control/properties/offset_right': type changed value in new API, from "int" to "float".
  155. Validate extension JSON: Error: Field 'classes/Control/properties/offset_top': type changed value in new API, from "int" to "float".
  156. Property type changed to float to match the actual internal API and documentation.
  157. GH-99455
  158. --------
  159. Validate extension JSON: Error: Field 'classes/RenderingServer/methods/multimesh_allocate_data/arguments': size changed value in new API, from 5 to 6.
  160. Optional argument added to allow setting indirect draw mode on Multimesh. Compatibility method registered.
  161. GH-100129
  162. ---------
  163. Validate extension JSON: Error: Field 'classes/NavigationServer2D/methods/query_path': is_const changed value in new API, from true to false.
  164. Validate extension JSON: Error: Field 'classes/NavigationServer3D/methods/query_path': is_const changed value in new API, from true to false.
  165. Validate extension JSON: Error: Field 'classes/NavigationServer2D/methods/query_path/arguments': size changed value in new API, from 2 to 3.
  166. Validate extension JSON: Error: Field 'classes/NavigationServer3D/methods/query_path/arguments': size changed value in new API, from 2 to 3.
  167. Validate extension JSON: Error: Field 'classes/NavigationServer2D/methods/map_get_path': is_const changed value in new API, from true to false.
  168. Validate extension JSON: Error: Field 'classes/NavigationServer3D/methods/map_get_path': is_const changed value in new API, from true to false.
  169. `query_path` and `map_get_path` methods changed to be non const due to internal compatibility and server changes.
  170. Added optional callback parameters to `query_path` functions. Compatibility methods registered.
  171. GH-90057
  172. --------
  173. Validate extension JSON: Error: Field 'classes/EditorInterface/methods/open_scene_from_path/arguments': size changed value in new API, from 1 to 2.
  174. Added optional argument to open_scene_from_path to create a new inherited scene.
  175. Compatibility method registered.
  176. GH-97449
  177. --------
  178. Validate extension JSON: Error: Field 'classes/GraphEdit/methods/connect_node/arguments': size changed value in new API, from 4 to 5.
  179. Added optional argument to connect_node to specify whether the connection should be automatically deleted if invalid. Compatibility method registered.
  180. GH-88349
  181. --------
  182. Validate extension JSON: Error: Field 'classes/CSGMesh3D/properties/mesh': type changed value in new API, from "Mesh" to "Mesh,-PlaneMesh,-PointMesh,-QuadMesh,-RibbonTrailMesh".
  183. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_albedo': type changed value in new API, from "Texture2D" to "Texture2D,-AnimatedTexture,-AtlasTexture,-CameraTexture,-CanvasTexture,-MeshTexture,-Texture2DRD,-ViewportTexture".
  184. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_emission': type changed value in new API, from "Texture2D" to "Texture2D,-AnimatedTexture,-AtlasTexture,-CameraTexture,-CanvasTexture,-MeshTexture,-Texture2DRD,-ViewportTexture".
  185. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_normal': type changed value in new API, from "Texture2D" to "Texture2D,-AnimatedTexture,-AtlasTexture,-CameraTexture,-CanvasTexture,-MeshTexture,-Texture2DRD,-ViewportTexture".
  186. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_orm': type changed value in new API, from "Texture2D" to "Texture2D,-AnimatedTexture,-AtlasTexture,-CameraTexture,-CanvasTexture,-MeshTexture,-Texture2DRD,-ViewportTexture".
  187. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_albedo': type changed value in new API, from "Texture" to "Texture2D,-AnimatedTexture,-AtlasTexture,-CameraTexture,-CanvasTexture,-MeshTexture,-Texture2DRD,-ViewportTexture".
  188. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_emission': type changed value in new API, from "Texture" to "Texture2D,-AnimatedTexture,-AtlasTexture,-CameraTexture,-CanvasTexture,-MeshTexture,-Texture2DRD,-ViewportTexture".
  189. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_normal': type changed value in new API, from "Texture" to "Texture2D,-AnimatedTexture,-AtlasTexture,-CameraTexture,-CanvasTexture,-MeshTexture,-Texture2DRD,-ViewportTexture".
  190. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_orm': type changed value in new API, from "Texture" to "Texture2D,-AnimatedTexture,-AtlasTexture,-CameraTexture,-CanvasTexture,-MeshTexture,-Texture2DRD,-ViewportTexture".
  191. Validate extension JSON: Error: Field 'classes/Light3D/properties/light_projector': type changed value in new API, from "Texture2D" to "Texture2D,-AnimatedTexture,-AtlasTexture,-CameraTexture,-CanvasTexture,-MeshTexture,-Texture2DRD,-ViewportTexture".
  192. Validate extension JSON: Error: Field 'classes/PointLight2D/properties/texture': type changed value in new API, from "Texture2D" to "Texture2D,-AnimatedTexture,-AtlasTexture,-CameraTexture,-CanvasTexture,-MeshTexture,-Texture2DRD,-ViewportTexture".
  193. Property hints modified to disallow resource types that don't work. The types allowed are now more restricted, but this change only impacts the editor and not the actual exposed API. No adjustments should be necessary.
  194. Decal properties were previously changed from Texture to Texture2D in 4.2, so we need to silence those warnings too.
  195. GH-98441
  196. --------
  197. Validate extension JSON: Error: Field 'global_enums/KeyModifierMask/values/KEY_MODIFIER_MASK': value changed value in new API, from 5.32677e+08 to 2130706432.
  198. Key modifier mask value corrected. API change documented for compatibility.
  199. GH-92089
  200. --------
  201. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/CPUParticles2D/methods/restart': arguments
  202. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/CPUParticles3D/methods/restart': arguments
  203. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/GPUParticles2D/methods/restart': arguments
  204. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/GPUParticles3D/methods/restart': arguments
  205. Added an optional keep_seed parameter to restart particles, to avoid modifying the seed to do particle seeking.
  206. GH-101482
  207. ---------
  208. Validate extension JSON: Error: Field 'classes/RichTextLabel/methods/set_table_column_expand/arguments': size changed value in new API, from 3 to 4.
  209. Added optional "shrink" argument. Compatibility method registered.
  210. GH-101561
  211. --------
  212. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/index_buffer_create/arguments': size changed value in new API, from 4 to 5.
  213. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/uniform_buffer_create/arguments': size changed value in new API, from 2 to 3.
  214. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/storage_buffer_create/arguments': size changed value in new API, from 3 to 4.
  215. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/vertex_buffer_create/arguments': size changed value in new API, from 3 to 4.
  216. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/vertex_buffer_create/arguments/2': default_value changed value in new API, from "false" to "0".
  217. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/vertex_buffer_create/arguments/2': type changed value in new API, from "bool" to "bitfield::RenderingDevice.BufferCreationBits".
  218. Optional argument (creation flags) added. Compatibility methods registered.
  219. GH-101531
  220. ---------
  221. Validate extension JSON: API was removed: classes/EditorSceneFormatImporter/methods/_get_import_flags
  222. This virtual method, and the internal public `get_import_flags`, were never used by the engine, since it was open sourced.
  223. So we're removing it despite the compat breakage as there's no way for users to rely on this affecting engine behavior.
  224. GH-100913
  225. ---------
  226. Validate extension JSON: Error: Field 'classes/TextEdit/methods/get_line_column_at_pos/arguments': size changed value in new API, from 2 to 3.
  227. Added optional argument to disallow positions that are outside the column range of the line. Compatibility method registered.