Преглед на файлове

Update list of known breaking changes compared to 4.0-stable (3)

RedworkDE преди 2 години
родител
ревизия
3ed8721c97
променени са 2 файла, в които са добавени 11 реда и са изтрити 1 реда
  1. 10 0
      misc/extension_api_validation/4.0-stable.expected
  2. 1 1
      misc/scripts/validate_extension_api.sh

+ 10 - 0
misc/extension_api_validation/4.0-stable.expected

@@ -314,3 +314,13 @@ Validate extension JSON: Error: Field 'classes/PhysicsDirectSpaceState2D/methods
 Validate extension JSON: Error: Field 'classes/PhysicsDirectSpaceState3D/methods/collide_shape/return_value': type changed value in new API, from "typedarray::PackedVector3Array" to "typedarray::Vector3".
 Validate extension JSON: Error: Field 'classes/PhysicsDirectSpaceState3D/methods/collide_shape/return_value': type changed value in new API, from "typedarray::PackedVector3Array" to "typedarray::Vector3".
 
 
 The previous type declaration was simply wrong and the method did actually already return objects of the new type.
 The previous type declaration was simply wrong and the method did actually already return objects of the new type.
+
+
+GH-76688
+--------
+Validate extension JSON: Error: Field 'classes/EditorUndoRedoManager/methods/create_action/arguments': size changed value in new API, from 3 to 4.
+Validate extension JSON: Error: Field 'classes/UndoRedo/methods/create_action/arguments': size changed value in new API, from 2 to 3.
+Validate extension JSON: Error: Hash changed for 'classes/EditorUndoRedoManager/methods/create_action', from E07DA3CD to D543BA91. This means that the function has changed and no compatibility function was provided.
+Validate extension JSON: Error: Hash changed for 'classes/UndoRedo/methods/create_action', from 0AEC1BFC to E87757EB. This means that the function has changed and no compatibility function was provided.
+
+Added a optional parameters with default values. No adjustments should be necessary.

+ 1 - 1
misc/scripts/validate_extension_api.sh

@@ -50,7 +50,7 @@ while read -r file; do
         make_annotation "The following validation errors no longer occur (compared to $reference_tag):" "$obsolete_validation_error" warning "$file"
         make_annotation "The following validation errors no longer occur (compared to $reference_tag):" "$obsolete_validation_error" warning "$file"
     fi
     fi
     if [ -n "$new_validation_error" ]; then
     if [ -n "$new_validation_error" ]; then
-        make_annotation "Compatibility to $reference_tag is broken in the following ways:" "$new_validation_error" error README.md
+        make_annotation "Compatibility to $reference_tag is broken in the following ways:" "$new_validation_error" error "$file"
         has_problems=1
         has_problems=1
     fi
     fi