4.1-stable.expected 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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: Hash changed for 'classes/RenderingDevice/methods/draw_list_end', from 19365687 to E9B4FA8E. This means that the function has changed and no compatibility function was provided.
  20. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/compute_list_end/arguments/0': default_value changed value in new API, from "7" to "32767".
  21. Validate extension JSON: Error: Hash changed for 'classes/RenderingDevice/methods/compute_list_end', from 19365687 to E9B4FA8E. This means that the function has changed and no compatibility function was provided.
  22. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/barrier/arguments/0': default_value changed value in new API, from "7" to "32767".
  23. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/barrier/arguments/1': default_value changed value in new API, from "7" to "32767".
  24. Validate extension JSON: Error: Hash changed for 'classes/RenderingDevice/methods/barrier', from 0FE50041 to DD9E8DAB. This means that the function has changed and no compatibility function was provided.
  25. Raster barrier was split into vertex and fragment barriers for use in mobile renderer.
  26. GH-79308
  27. --------
  28. Validate extension JSON: API was removed: classes/GraphEdit/methods/get_scroll_ofs
  29. Validate extension JSON: API was removed: classes/GraphEdit/methods/get_snap
  30. Validate extension JSON: API was removed: classes/GraphEdit/methods/get_zoom_hbox
  31. Validate extension JSON: API was removed: classes/GraphEdit/methods/is_using_snap
  32. Validate extension JSON: API was removed: classes/GraphEdit/methods/set_scroll_ofs
  33. Validate extension JSON: API was removed: classes/GraphEdit/methods/set_snap
  34. Validate extension JSON: API was removed: classes/GraphEdit/methods/set_use_snap
  35. Validate extension JSON: API was removed: classes/GraphEdit/properties/snap_distance
  36. Validate extension JSON: API was removed: classes/GraphEdit/properties/use_snap
  37. Validate extension JSON: API was removed: classes/GraphNode/methods/is_comment
  38. Validate extension JSON: API was removed: classes/GraphNode/methods/set_comment
  39. Validate extension JSON: API was removed: classes/GraphNode/properties/comment
  40. Validate extension JSON: Error: Field 'classes/GraphEdit/properties/scroll_offset': getter changed value in new API, from "get_scroll_ofs" to &"get_scroll_offset".
  41. Validate extension JSON: Error: Field 'classes/GraphEdit/properties/scroll_offset': setter changed value in new API, from "set_scroll_ofs" to &"set_scroll_offset".
  42. Intentional compatibility breakage during refactoring of API marked as experimental.
  43. FIXME: Still a WIP, review this list once the work is completed, especially if compatibility
  44. code is added.
  45. GH-73196
  46. --------
  47. Validate extension JSON: Error: Field 'classes/CodeEdit/methods/get_text_for_symbol_lookup': is_const changed value in new API, from false to true.
  48. Function was made `const`. No adjustments should be necessary.
  49. GH-78328
  50. --------
  51. Validate extension JSON: Error: Field 'classes/TileMap/methods/get_used_rect': is_const changed value in new API, from false to true.
  52. Function was made `const`. No adjustments should be necessary.
  53. GH-79606
  54. --------
  55. Validate extension JSON: Error: Field 'classes/RenderingDevice/methods/shader_create_from_bytecode/arguments': size changed value in new API, from 1 to 2.
  56. Added optional argument. Compatibility method registered.
  57. GH-78266
  58. --------
  59. Validate extension JSON: API was removed: classes/FontFile/properties/fallbacks
  60. Validate extension JSON: API was removed: classes/FontVariation/properties/fallbacks
  61. Validate extension JSON: API was removed: classes/SystemFont/properties/fallbacks
  62. The property was moved to their common base class Font.
  63. The setters and getters were already in Font, so this shouldn't affect compatibility.
  64. GH-36493
  65. --------
  66. Validate extension JSON: Error: Field 'classes/PopupMenu/methods/add_icon_shortcut/arguments': size changed value in new API, from 4 to 5.
  67. Validate extension JSON: Error: Field 'classes/PopupMenu/methods/add_shortcut/arguments': size changed value in new API, from 3 to 4.
  68. Added optional argument. Compatibility methods registered.
  69. GH-80954
  70. --------
  71. Validate extension JSON: Error: Field 'classes/Font/methods/find_variation/arguments': size changed value in new API, from 4 to 8.
  72. Added optional arguments. Compatibility method registered.
  73. GH-80852
  74. --------
  75. Validate extension JSON: API was removed: classes/GDScriptEditorTranslationParserPlugin
  76. Validate extension JSON: API was removed: classes/GDScriptNativeClass
  77. Validate extension JSON: API was removed: classes/GodotPhysicsServer2D
  78. Validate extension JSON: API was removed: classes/GodotPhysicsServer3D
  79. Validate extension JSON: API was removed: classes/IPUnix
  80. Validate extension JSON: API was removed: classes/MovieWriterMJPEG
  81. Validate extension JSON: API was removed: classes/MovieWriterPNGWAV
  82. Validate extension JSON: API was removed: classes/ResourceFormatImporterSaver
  83. Validate extension JSON: API was removed: classes/FramebufferCacheRD
  84. Validate extension JSON: API was removed: classes/UniformSetCacheRD
  85. Validate extension JSON: API was removed: classes/GLTFDocumentExtensionPhysics
  86. Validate extension JSON: API was removed: classes/GLTFDocumentExtensionTextureWebP
  87. Excluded unexposed classes from extension_api.json.
  88. GH-79311
  89. --------
  90. Validate extension JSON: API was removed: classes/GraphEdit/signals/delete_nodes_request
  91. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_color
  92. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_count
  93. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_height
  94. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_position
  95. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_slot
  96. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_input_type
  97. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_color
  98. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_count
  99. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_height
  100. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_position
  101. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_slot
  102. Validate extension JSON: API was removed: classes/GraphNode/methods/get_connection_output_type
  103. Validate extension JSON: API was removed: classes/GraphNode/methods/get_language
  104. Validate extension JSON: API was removed: classes/GraphNode/methods/get_overlay
  105. Validate extension JSON: API was removed: classes/GraphNode/methods/get_position_offset
  106. Validate extension JSON: API was removed: classes/GraphNode/methods/get_text_direction
  107. Validate extension JSON: API was removed: classes/GraphNode/methods/is_close_button_visible
  108. Validate extension JSON: API was removed: classes/GraphNode/methods/is_draggable
  109. Validate extension JSON: API was removed: classes/GraphNode/methods/is_resizable
  110. Validate extension JSON: API was removed: classes/GraphNode/methods/is_selectable
  111. Validate extension JSON: API was removed: classes/GraphNode/methods/is_selected
  112. Validate extension JSON: API was removed: classes/GraphNode/methods/set_draggable
  113. Validate extension JSON: API was removed: classes/GraphNode/methods/set_language
  114. Validate extension JSON: API was removed: classes/GraphNode/methods/set_overlay
  115. Validate extension JSON: API was removed: classes/GraphNode/methods/set_position_offset
  116. Validate extension JSON: API was removed: classes/GraphNode/methods/set_resizable
  117. Validate extension JSON: API was removed: classes/GraphNode/methods/set_selectable
  118. Validate extension JSON: API was removed: classes/GraphNode/methods/set_selected
  119. Validate extension JSON: API was removed: classes/GraphNode/methods/set_show_close_button
  120. Validate extension JSON: API was removed: classes/GraphNode/methods/set_text_direction
  121. Validate extension JSON: API was removed: classes/GraphNode/properties/draggable
  122. Validate extension JSON: API was removed: classes/GraphNode/properties/language
  123. Validate extension JSON: API was removed: classes/GraphNode/properties/overlay
  124. Validate extension JSON: API was removed: classes/GraphNode/properties/position_offset
  125. Validate extension JSON: API was removed: classes/GraphNode/properties/resizable
  126. Validate extension JSON: API was removed: classes/GraphNode/properties/selectable
  127. Validate extension JSON: API was removed: classes/GraphNode/properties/selected
  128. Validate extension JSON: API was removed: classes/GraphNode/properties/show_close
  129. Validate extension JSON: API was removed: classes/GraphNode/properties/text_direction
  130. Validate extension JSON: API was removed: classes/GraphNode/signals/close_request
  131. Validate extension JSON: API was removed: classes/GraphNode/signals/dragged
  132. Validate extension JSON: API was removed: classes/GraphNode/signals/node_deselected
  133. Validate extension JSON: API was removed: classes/GraphNode/signals/node_selected
  134. Validate extension JSON: API was removed: classes/GraphNode/signals/position_offset_changed
  135. Validate extension JSON: API was removed: classes/GraphNode/signals/raise_request
  136. Validate extension JSON: API was removed: classes/GraphNode/signals/resize_request
  137. Refactor GraphNode (splitup in GraphElement and GraphNode)
  138. GH-81070
  139. --------
  140. Validate extension JSON: API was removed: classes/TileMap/methods/get_quadrant_size
  141. Validate extension JSON: API was removed: classes/TileMap/methods/set_quadrant_size
  142. Validate extension JSON: API was removed: classes/TileMap/properties/cell_quadrant_size
  143. cell_quadrant_size/quadrant_size of the TileMap API was renamed to rendering_quadrant_size.
  144. GH-81298
  145. --------
  146. Validate extension JSON: Error: Field 'classes/PhysicsServer3DRenderingServerHandler/methods/_set_vertex/arguments/1': type changed value in new API, from "const void*" to "Vector3".
  147. Validate extension JSON: Error: Field 'classes/PhysicsServer3DRenderingServerHandler/methods/_set_normal/arguments/1': type changed value in new API, from "const void*" to "Vector3".
  148. Intentional compatibility breakage to be consistent with the new non-virtual set_vertex/set_normal.
  149. GH-79965
  150. --------
  151. Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/PopupMenu/methods/clear': arguments
  152. GH-80410
  153. --------
  154. Validate extension JSON: Error: Field 'classes/RichTextLabel/methods/add_image/arguments': size changed value in new API, from 6 to 10.
  155. Added optional argument. Compatibility method registered.
  156. GH-82403
  157. --------
  158. 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".
  159. Added/moved face_index field (introduced in GH-71233) to end of struct. Should still be compatible with 4.1.
  160. GH-80813
  161. --------
  162. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/_post_process_key_value
  163. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/add_animation_library
  164. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/advance
  165. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/clear_caches
  166. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/find_animation
  167. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/find_animation_library
  168. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/get_animation
  169. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/get_animation_library
  170. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/get_animation_library_list
  171. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/get_animation_list
  172. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/get_audio_max_polyphony
  173. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/has_animation
  174. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/has_animation_library
  175. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/is_active
  176. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/is_reset_on_save_enabled
  177. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/remove_animation_library
  178. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/rename_animation_library
  179. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/set_active
  180. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/set_audio_max_polyphony
  181. Validate extension JSON: API was removed: classes/AnimationPlayer/methods/set_reset_on_save_enabled
  182. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/audio_max_polyphony
  183. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/method_call_mode
  184. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/playback_active
  185. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/playback_process_mode
  186. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/reset_on_save
  187. Validate extension JSON: API was removed: classes/AnimationPlayer/properties/root_node
  188. Validate extension JSON: API was removed: classes/AnimationTree/methods/_post_process_key_value
  189. Validate extension JSON: API was removed: classes/AnimationTree/methods/advance
  190. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_audio_max_polyphony
  191. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_position
  192. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_position_accumulator
  193. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_rotation
  194. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_rotation_accumulator
  195. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_scale
  196. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_scale_accumulator
  197. Validate extension JSON: API was removed: classes/AnimationTree/methods/get_root_motion_track
  198. Validate extension JSON: API was removed: classes/AnimationTree/methods/is_active
  199. Validate extension JSON: API was removed: classes/AnimationTree/methods/set_active
  200. Validate extension JSON: API was removed: classes/AnimationTree/methods/set_audio_max_polyphony
  201. Validate extension JSON: API was removed: classes/AnimationTree/methods/set_root_motion_track
  202. Validate extension JSON: API was removed: classes/AnimationTree/properties/active
  203. Validate extension JSON: API was removed: classes/AnimationTree/properties/audio_max_polyphony
  204. Validate extension JSON: API was removed: classes/AnimationTree/properties/process_callback
  205. Validate extension JSON: API was removed: classes/AnimationTree/properties/root_motion_track
  206. Validate extension JSON: API was removed: classes/AnimationPlayer/signals/animation_finished
  207. Validate extension JSON: API was removed: classes/AnimationPlayer/signals/animation_libraries_updated
  208. Validate extension JSON: API was removed: classes/AnimationPlayer/signals/animation_list_changed
  209. Validate extension JSON: API was removed: classes/AnimationPlayer/signals/animation_started
  210. Validate extension JSON: API was removed: classes/AnimationPlayer/signals/caches_cleared
  211. Validate extension JSON: API was removed: classes/AnimationPlayer/signals/animation_changed
  212. Validate extension JSON: API was removed: classes/AnimationTree/signals/animation_finished
  213. Validate extension JSON: API was removed: classes/AnimationTree/signals/animation_started
  214. Validate extension JSON: Error: Field 'classes/AnimationPlayer/methods/seek/arguments': size changed value in new API, from 2 to 3.
  215. Validate extension JSON: Error: Field 'classes/AnimationTree/methods/get_tree_root/return_value': type changed value in new API, from "AnimationNode" to "AnimationRootNode".
  216. Validate extension JSON: Error: Field 'classes/AnimationTree/methods/set_tree_root/arguments/0': type changed value in new API, from "AnimationNode" to "AnimationRootNode".
  217. These definitions have been moved to those base classes, so the APIs are actually available.
  218. Some properties were renamed for integration, but the old setter/getters are kept.
  219. Also changed some methods name/argument/signature. Compatibility methods registered.