4.1-stable_4.2-stable.expected 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. This file contains the expected output of --validate-extension-api when run against the extension_api.json of the
  2. 4.1-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.1-stable and 4.2-stable
  7. GH-79911
  8. --------
  9. Validate extension JSON: Error: Field 'classes/RenderingDevice/enums/BarrierMask/values/BARRIER_MASK_RASTER': value changed value in new API, from 1.0 to 9.
  10. Validate extension JSON: Error: Field 'classes/RenderingDevice/enums/BarrierMask/values/BARRIER_MASK_ALL_BARRIERS': value changed value in new API, from 7.0 to 32767.
  11. Validate extension JSON: Error: Field 'classes/RenderingDevice/enums/BarrierMask/values/BARRIER_MASK_NO_BARRIER': value changed value in new API, from 8.0 to 32768.
  12. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/texture_update/arguments/3': default_value changed value in new API, from "7" to "32767".
  13. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/texture_copy/arguments/9': default_value changed value in new API, from "7" to "32767".
  14. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/texture_clear/arguments/6': default_value changed value in new API, from "7" to "32767".
  15. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/texture_resolve_multisample/arguments/2': default_value changed value in new API, from "7" to "32767".
  16. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/buffer_update/arguments/4': default_value changed value in new API, from "7" to "32767".
  17. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/buffer_clear/arguments/3': default_value changed value in new API, from "7" to "32767".
  18. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/draw_list_end/arguments/0': default_value changed value in new API, from "7" to "32767".
  19. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/compute_list_end/arguments/0': default_value changed value in new API, from "7" to "32767".
  20. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/barrier/arguments/0': default_value changed value in new API, from "7" to "32767".
  21. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/barrier/arguments/1': default_value changed value in new API, from "7" to "32767".
  22. Raster barrier was split into vertex and fragment barriers for use in mobile renderer.
  23. GH-79308
  24. --------
  25. Validate extension JSON: API was removed: classes/GraphEdit/methods/get_scroll_ofs
  26. Validate extension JSON: API was removed: classes/GraphEdit/methods/get_snap
  27. Validate extension JSON: API was removed: classes/GraphEdit/methods/get_zoom_hbox
  28. Validate extension JSON: API was removed: classes/GraphEdit/methods/is_using_snap
  29. Validate extension JSON: API was removed: classes/GraphEdit/methods/set_scroll_ofs
  30. Validate extension JSON: API was removed: classes/GraphEdit/methods/set_snap
  31. Validate extension JSON: API was removed: classes/GraphEdit/methods/set_use_snap
  32. Validate extension JSON: API was removed: classes/GraphEdit/properties/snap_distance
  33. Validate extension JSON: API was removed: classes/GraphEdit/properties/use_snap
  34. Validate extension JSON: API was removed: classes/GraphNode/methods/is_comment
  35. Validate extension JSON: API was removed: classes/GraphNode/methods/set_comment
  36. Validate extension JSON: API was removed: classes/GraphNode/properties/comment
  37. Validate extension JSON: Error: Field 'classes/GraphEdit/properties/scroll_offset': getter changed value in new API, from "get_scroll_ofs" to &"get_scroll_offset".
  38. Validate extension JSON: Error: Field 'classes/GraphEdit/properties/scroll_offset': setter changed value in new API, from "set_scroll_ofs" to &"set_scroll_offset".
  39. Intentional compatibility breakage during refactoring of API marked as experimental.
  40. FIXME: Still a WIP, review this list once the work is completed, especially if compatibility
  41. code is added.
  42. GH-73196
  43. --------
  44. Validate extension JSON: Error: Field 'classes/CodeEdit/methods/get_text_for_symbol_lookup': is_const changed value in new API, from false to true.
  45. Function was made `const`. No adjustments should be necessary.
  46. GH-78328
  47. --------
  48. Validate extension JSON: Error: Field 'classes/TileMap/methods/get_used_rect': is_const changed value in new API, from false to true.
  49. Function was made `const`. No adjustments should be necessary.
  50. GH-79606
  51. --------
  52. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/shader_create_from_bytecode/arguments': size changed value in new API, from 1 to 2.
  53. Added optional argument. Compatibility method registered.
  54. GH-78266
  55. --------
  56. Validate extension JSON: API was removed: classes/FontFile/properties/fallbacks
  57. Validate extension JSON: API was removed: classes/FontVariation/properties/fallbacks
  58. Validate extension JSON: API was removed: classes/SystemFont/properties/fallbacks
  59. The property was moved to their common base class Font.
  60. The setters and getters were already in Font, so this shouldn't affect compatibility.
  61. GH-36493
  62. --------
  63. Validate extension JSON: Error: Field 'classes/PopupMenu/methods/add_icon_shortcut/arguments': size changed value in new API, from 4 to 5.
  64. Validate extension JSON: Error: Field 'classes/PopupMenu/methods/add_shortcut/arguments': size changed value in new API, from 3 to 4.
  65. Added optional argument. Compatibility methods registered.
  66. GH-80954
  67. --------
  68. Validate extension JSON: Error: Field 'classes/Font/methods/find_variation/arguments': size changed value in new API, from 4 to 9.
  69. Added optional arguments. Compatibility method registered.
  70. GH-80852
  71. --------
  72. Validate extension JSON: API was removed: classes/GDScriptEditorTranslationParserPlugin
  73. Validate extension JSON: API was removed: classes/GDScriptNativeClass
  74. Validate extension JSON: API was removed: classes/GodotPhysicsServer2D
  75. Validate extension JSON: API was removed: classes/GodotPhysicsServer3D
  76. Validate extension JSON: API was removed: classes/IPUnix
  77. Validate extension JSON: API was removed: classes/MovieWriterMJPEG
  78. Validate extension JSON: API was removed: classes/MovieWriterPNGWAV
  79. Validate extension JSON: API was removed: classes/ResourceFormatImporterSaver
  80. Validate extension JSON: API was removed: classes/FramebufferCacheRD
  81. Validate extension JSON: API was removed: classes/UniformSetCacheRD
  82. Validate extension JSON: API was removed: classes/GLTFDocumentExtensionPhysics
  83. Validate extension JSON: API was removed: classes/GLTFDocumentExtensionTextureWebP
  84. Excluded unexposed classes from extension_api.json.
  85. GH-79311
  86. --------
  87. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_color
  88. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_count
  89. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_height
  90. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_position
  91. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_slot
  92. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_type
  93. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_color
  94. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_count
  95. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_height
  96. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_position
  97. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_slot
  98. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_type
  99. Validate extension JSON: API was removed: classes/GraphNode/methods/get_language
  100. Validate extension JSON: API was removed: classes/GraphNode/methods/get_overlay
  101. Validate extension JSON: API was removed: classes/GraphNode/methods/get_position_offset
  102. Validate extension JSON: API was removed: classes/GraphNode/methods/get_text_direction
  103. Validate extension JSON: API was removed: classes/GraphNode/methods/is_close_button_visible
  104. Validate extension JSON: API was removed: classes/GraphNode/methods/is_draggable
  105. Validate extension JSON: API was removed: classes/GraphNode/methods/is_resizable
  106. Validate extension JSON: API was removed: classes/GraphNode/methods/is_selectable
  107. Validate extension JSON: API was removed: classes/GraphNode/methods/is_selected
  108. Validate extension JSON: API was removed: classes/GraphNode/methods/set_draggable
  109. Validate extension JSON: API was removed: classes/GraphNode/methods/set_language
  110. Validate extension JSON: API was removed: classes/GraphNode/methods/set_overlay
  111. Validate extension JSON: API was removed: classes/GraphNode/methods/set_position_offset
  112. Validate extension JSON: API was removed: classes/GraphNode/methods/set_resizable
  113. Validate extension JSON: API was removed: classes/GraphNode/methods/set_selectable
  114. Validate extension JSON: API was removed: classes/GraphNode/methods/set_selected
  115. Validate extension JSON: API was removed: classes/GraphNode/methods/set_show_close_button
  116. Validate extension JSON: API was removed: classes/GraphNode/methods/set_text_direction
  117. Validate extension JSON: API was removed: classes/GraphNode/properties/draggable
  118. Validate extension JSON: API was removed: classes/GraphNode/properties/language
  119. Validate extension JSON: API was removed: classes/GraphNode/properties/overlay
  120. Validate extension JSON: API was removed: classes/GraphNode/properties/position_offset
  121. Validate extension JSON: API was removed: classes/GraphNode/properties/resizable
  122. Validate extension JSON: API was removed: classes/GraphNode/properties/selectable
  123. Validate extension JSON: API was removed: classes/GraphNode/properties/selected
  124. Validate extension JSON: API was removed: classes/GraphNode/properties/show_close
  125. Validate extension JSON: API was removed: classes/GraphNode/properties/text_direction
  126. Validate extension JSON: API was removed: classes/GraphNode/signals/close_request
  127. Validate extension JSON: API was removed: classes/GraphNode/signals/dragged
  128. Validate extension JSON: API was removed: classes/GraphNode/signals/node_deselected
  129. Validate extension JSON: API was removed: classes/GraphNode/signals/node_selected
  130. Validate extension JSON: API was removed: classes/GraphNode/signals/position_offset_changed
  131. Validate extension JSON: API was removed: classes/GraphNode/signals/raise_request
  132. Validate extension JSON: API was removed: classes/GraphNode/signals/resize_request
  133. Refactor GraphNode (splitup in GraphElement and GraphNode)
  134. GH-81070
  135. --------
  136. Validate extension JSON: API was removed: classes/TileMap/methods/get_quadrant_size
  137. Validate extension JSON: API was removed: classes/TileMap/methods/set_quadrant_size
  138. Validate extension JSON: API was removed: classes/TileMap/properties/cell_quadrant_size
  139. cell_quadrant_size/quadrant_size of the TileMap API was renamed to rendering_quadrant_size.
  140. GH-81298
  141. --------
  142. Validate extension JSON: Error: Field 'classes/PhysicsServer3DRenderingServerHandler/methods/_set_vertex/arguments/1': type changed value in new API, from "const void*" to "Vector3".
  143. Validate extension JSON: Error: Field 'classes/PhysicsServer3DRenderingServerHandler/methods/_set_normal/arguments/1': type changed value in new API, from "const void*" to "Vector3".
  144. Intentional compatibility breakage to be consistent with the new non-virtual set_vertex/set_normal.
  145. GH-79965
  146. --------
  147. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/PopupMenu/methods/clear': arguments
  148. GH-80410
  149. --------
  150. Validate extension JSON: Error: Field 'classes/RichTextLabel/methods/add_image/arguments': size changed value in new API, from 6 to 10.
  151. Added optional argument. Compatibility method registered.
  152. GH-82403
  153. --------
  154. Validate extension JSON: Error: Field 'native_structures/PhysicsServer3DExtensionRayResult': format changed value in new API, from "Vector3 position;Vector3 normal;RID rid;ObjectID collider_id;Object *collider;int shape" to "Vector3 position;Vector3 normal;RID rid;ObjectID collider_id;Object *collider;int shape;int face_index".
  155. Added/moved face_index field (introduced in GH-71233) to end of struct. Should still be compatible with 4.1.
  156. GH-80813
  157. --------
  158. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/_post_process_key_value
  159. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/add_animation_library
  160. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/advance
  161. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/clear_caches
  162. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/find_animation
  163. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/find_animation_library
  164. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/get_animation
  165. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/get_animation_library
  166. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/get_animation_library_list
  167. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/get_animation_list
  168. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/get_audio_max_polyphony
  169. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/has_animation
  170. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/has_animation_library
  171. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/is_active
  172. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/is_reset_on_save_enabled
  173. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/remove_animation_library
  174. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/rename_animation_library
  175. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/set_active
  176. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/set_audio_max_polyphony
  177. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/set_reset_on_save_enabled
  178. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/audio_max_polyphony
  179. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/method_call_mode
  180. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/playback_active
  181. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/playback_process_mode
  182. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/reset_on_save
  183. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/root_node
  184. Validate extension JSON: API was removed: classes/AnimationTree/methods/_post_process_key_value
  185. Validate extension JSON: API was removed: classes/AnimationTree/methods/advance
  186. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_audio_max_polyphony
  187. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_position
  188. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_position_accumulator
  189. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_rotation
  190. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_rotation_accumulator
  191. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_scale
  192. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_scale_accumulator
  193. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_track
  194. Validate extension JSON: API was removed: classes/AnimationTree/methods/is_active
  195. Validate extension JSON: API was removed: classes/AnimationTree/methods/set_active
  196. Validate extension JSON: API was removed: classes/AnimationTree/methods/set_audio_max_polyphony
  197. Validate extension JSON: API was removed: classes/AnimationTree/methods/set_root_motion_track
  198. Validate extension JSON: API was removed: classes/AnimationTree/properties/active
  199. Validate extension JSON: API was removed: classes/AnimationTree/properties/audio_max_polyphony
  200. Validate extension JSON: API was removed: classes/AnimationTree/properties/process_callback
  201. Validate extension JSON: API was removed: classes/AnimationTree/properties/root_motion_track
  202. Validate extension JSON: API was removed: classes/AnimationPlayer/signals/animation_finished
  203. Validate extension JSON: API was removed: classes/AnimationPlayer/signals/animation_libraries_updated
  204. Validate extension JSON: API was removed: classes/AnimationPlayer/signals/animation_list_changed
  205. Validate extension JSON: API was removed: classes/AnimationPlayer/signals/animation_started
  206. Validate extension JSON: API was removed: classes/AnimationPlayer/signals/caches_cleared
  207. Validate extension JSON: API was removed: classes/AnimationTree/signals/animation_finished
  208. Validate extension JSON: API was removed: classes/AnimationTree/signals/animation_started
  209. Validate extension JSON: Error: Field 'classes/AnimationPlayer/methods/seek/arguments': size changed value in new API, from 2 to 3.
  210. Validate extension JSON: Error: Field 'classes/AnimationTree/methods/get_tree_root/return_value': type changed value in new API, from "AnimationNode" to "AnimationRootNode".
  211. Validate extension JSON: Error: Field 'classes/AnimationTree/methods/set_tree_root/arguments/0': type changed value in new API, from "AnimationNode" to "AnimationRootNode".
  212. These definitions have been moved to those base classes, so the APIs are actually available.
  213. Some properties were renamed for integration, but the old setter/getters are kept.
  214. Also changed some methods name/argument/signature. Compatibility methods registered.
  215. GH-81582
  216. --------
  217. Validate extension JSON: API was removed: classes/GraphEdit/methods/is_arrange_nodes_button_hidden
  218. Validate extension JSON: API was removed: classes/GraphEdit/methods/set_arrange_nodes_button_hidden
  219. Validate extension JSON: API was removed: classes/GraphEdit/properties/arrange_nodes_button_hidden
  220. Make GraphEdit toolbar more customizable
  221. GH-81138
  222. --------
  223. Validate extension JSON: Error: Field 'classes/ImporterMesh/methods/add_surface/arguments/6': meta changed value in new API, from "uint32" to "uint64".
  224. Validate extension JSON: Error: Field 'classes/ImporterMesh/methods/get_surface_format/return_value': meta changed value in new API, from "uint32" to "uint64".
  225. Validate extension JSON: Error: Field 'classes/MeshDataTool/methods/commit_to_surface/arguments': size changed value in new API, from 1 to 2.
  226. Validate extension JSON: Error: Field 'classes/MeshDataTool/methods/get_format/return_value': meta changed value in new API, from "int32" to "uint64".
  227. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/shader_get_vertex_input_attribute_mask/return_value': meta changed value in new API, from "uint32" to "uint64".
  228. Validate extension JSON: Error: Field 'classes/SurfaceTool/methods/commit/arguments/1': meta changed value in new API, from "uint32" to "uint64".
  229. Surface format was increased to 64 bits from 32 bits. Compatibility methods registered.
  230. GH-79527
  231. --------
  232. Validate extension JSON: Error: Field 'classes/ParticleProcessMaterial/properties/orbit_velocity_curve': type changed value in new API, from "CurveTexture" to "CurveTexture,CurveXYZTexture".
  233. Added accepted curve type from only CurveTexture to CurveXYZTexture.
  234. GH-84113
  235. --------
  236. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_albedo': type changed value in new API, from "Texture" to "Texture2D".
  237. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_emission': type changed value in new API, from "Texture" to "Texture2D".
  238. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_normal': type changed value in new API, from "Texture" to "Texture2D".
  239. Validate extension JSON: Error: Field 'classes/Decal/properties/texture_orm': type changed value in new API, from "Texture" to "Texture2D".
  240. Validate extension JSON: Error: Field 'classes/LineEdit/properties/right_icon': type changed value in new API, from "Texture" to "Texture2D".
  241. Validate extension JSON: Error: Field 'classes/Sprite3D/properties/texture': type changed value in new API, from "Texture" to "Texture2D".
  242. Changed the hint types of some nodes' properties from Texture to Texture2D. No adjustments should be necessary.
  243. GH-84419
  244. --------
  245. Validate extension JSON: API was removed: classes/Node/constants/NOTIFICATION_NODE_RECACHE_REQUESTED
  246. Removed unused NOTIFICATION_NODE_RECACHE_REQUESTED notification. It also used to conflict with CanvasItem.NOTIFICATION_DRAW and Window.NOTIFICATION_VISIBILITY_CHANGED (which still need to be resolved).