Changes for page Breaking Changes

Last modified by Michael Baumgardt on 2026/04/17 12:03

From version 109.1
edited by Ketraar
on 2023/11/29 19:08
Change comment: There is no comment for this version
To version 108.1
edited by Florian Lütkecosmann
on 2023/11/22 13:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.Ketraar
1 +xwiki:XWiki.Florian
Content
... ... @@ -18,27 +18,35 @@
18 18  
19 19  = Breaking Changes =
20 20  
21 -=== 7.00 ===
22 -
23 23  (% class="wrapped" %)
24 24  |=(((
25 25  Type
24 +)))|=(((
25 +Version
26 +)))|=(% colspan="2" %)(((
27 +Summary
26 26  )))
29 +|(% colspan="4" %)(((
30 +== 7.00 ==
31 +)))
27 27  |(% colspan="1" %)(% colspan="1" %)
28 28  (((
29 29  UI extensions
35 +)))|(% colspan="1" %)(% colspan="1" %)
36 +(((
37 +7.00 Beta 1
38 +)))|(% colspan="2" %)(% colspan="1" %)
39 +(((
40 +**FFI**: RemoveBuildPlot() changed
30 30  )))
31 31  |(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
32 32  (((
33 -// The build plot's buildstorage is no longer removed implicitly. The buildstorage will instead be cleaned-up once it is empty and no ships are docked.//
44 +// The build plot's buildstorage is no longer removed implicitly. The buildstorage will instead be cleaned-up once it is empty and no ships are docked.
34 34  )))
35 -
36 -----
37 -
38 -=== 6.00 ===
39 -
40 -
41 -(% class="wrapped" %)
46 +|(% colspan="4" %)(% colspan="3" %)
47 +(((
48 +== 6.00 ==
49 +)))
42 42  |(((
43 43  Libraries
44 44  )))|(((
... ... @@ -163,12 +163,10 @@
163 163  (((
164 164  //The yaw and pitch nodes in <angles> are now correctly interpreted as values in degrees.//
165 165  )))
166 -
167 -----
168 -
169 -=== 5.00 ===
170 -
171 -(% class="wrapped" %)
174 +|(% colspan="4" %)(% colspan="3" %)
175 +(((
176 +== 5.00 ==
177 +)))
172 172  |(((
173 173  Parameters
174 174  )))|(((
... ... @@ -176,16 +176,14 @@
176 176  )))|(% colspan="2" %)(((
177 177  **<controlpanel><entry>: minduration** removed, **maxduration** renamed to duration
178 178  )))
179 -|(% class="highlight-grey" colspan="7" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
185 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
180 180  (((
181 181  //'minduration' was unused in X4, maxduration was and still is taken as the actual duration of control panel hacks. No functionality change.//
182 182  )))
183 -
184 -----
185 -
186 -=== 4.10 ===
187 -
188 -(% class="wrapped" %)
189 +|(% colspan="4" %)(% colspan="3" %)
190 +(((
191 +== 4.10 ==
192 +)))
189 189  |(% colspan="1" %)(% colspan="1" %)
190 190  (((
191 191  UI extensions
... ... @@ -289,12 +289,10 @@
289 289  (((
290 290  //The spawnsource seed is no longer directly accessible by scripts. Use $component.seed, which will internally use the spawnsource seed if able. Note: An improvement is that .seed on objects without a spawnsource seed will now result in a value that differs between objects of the same macro, meaning it can now reliably be used for player property or job ships.//
291 291  )))
292 -
293 -----
294 -
295 -=== 4.00 ===
296 -
297 -(% class="wrapped" %)
296 +|(% colspan="4" %)(% colspan="3" %)
297 +(((
298 +== 4.00 ==
299 +)))
298 298  |(% colspan="1" %)(% colspan="1" %)
299 299  (((
300 300  UI core
... ... @@ -378,12 +378,10 @@
378 378  (((
379 379  //The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.//
380 380  )))
381 -
382 -----
383 -
384 -=== 3.30 ===
385 -
386 -(% class="wrapped" %)
383 +|(% colspan="4" %)(% colspan="3" %)
384 +(((
385 +== 3.30 ==
386 +)))
387 387  |(((
388 388  UI extensions
389 389  )))|(((
... ... @@ -391,16 +391,14 @@
391 391  )))|(% colspan="2" %)(((
392 392  **FFI: **Removed** GetMissionLimit() **and** IsMissionLimitEnabled()**
393 393  )))
394 -|(% class="highlight-grey" colspan="7" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
394 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
395 395  (((
396 396  //These mission limit-related functions (added in 3.30 Beta 1 and 2) are replaced with FFI IsMissionLimitReached()//
397 397  )))
398 -
399 -----
400 -
401 -=== 3.20 ===
402 -
403 -(% class="wrapped" %)
398 +|(% colspan="4" %)(% colspan="3" %)
399 +(((
400 +== 3.20 ==
401 +)))
404 404  |(((
405 405  Scripts
406 406  )))|(((
... ... @@ -439,12 +439,10 @@
439 439  (((
440 440  //With the addition of the Trade Rule feature the given functions are obsolete and do not function anymore. This set of functions will return dummy values to avoid breaking scripts. Use GetAllTradeRules(), GetContainerTradeRuleID(), SetContainerTradeRule() and similar trade rule functions as replacement.//
441 441  )))
442 -
443 -----
444 -
445 -=== 3.10 ===
446 -
447 -(% class="wrapped" %)
440 +|(% colspan="4" %)(% colspan="3" %)
441 +(((
442 +== 3.10 ==
443 +)))
448 448  |(% colspan="1" %)(% colspan="1" %)
449 449  (((
450 450  Scripts
... ... @@ -455,16 +455,14 @@
455 455  (((
456 456  Removed script action **<add_build/>**
457 457  )))
458 -|(% class="highlight-grey" colspan="7" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
454 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
459 459  (((
460 460  //Removed <add_build/> action which was no longer needed and would result in builds being added in unsupported ways. Use other <add_build_xxx/> actions.//
461 461  )))
462 -
463 -----
464 -
465 -=== 3.00 ===
466 -
467 -(% class="wrapped" %)
458 +|(% colspan="4" %)(% colspan="3" %)
459 +(((
460 +== 3.00 ==
461 +)))
468 468  |(% colspan="1" %)(% colspan="1" %)
469 469  (((
470 470  Scripts
... ... @@ -796,12 +796,10 @@
796 796  (((
797 797  $controllable.wing.name, $controllable.wing.iscommander, and $controllable.wing.commander have been replaced with $controllable.fleet.name, $controllable.fleet.iscommander, and $controllable.fleet.commander
798 798  )))
799 -
800 -----
801 -
802 -=== 2.60 ===
803 -
804 -(% class="wrapped" %)
793 +|(% colspan="4" %)(% colspan="3" %)
794 +(((
795 +== 2.60 ==
796 +)))
805 805  |(((
806 806  Scripts
807 807  )))|(((
... ... @@ -809,7 +809,7 @@
809 809  )))|(% colspan="2" %)(((
810 810  '**checkoperational**' filter behaviour changed
811 811  )))
812 -|(% class="highlight-grey" colspan="10" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
804 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
813 813  (((
814 814  //Actions and conditions which use the 'checkoperational' filter now behave differently. Instead of changing how 'class' and 'exactclass' behave, checkoperational == true adds an additional filter for the components being of state operational, equivalent to state="componentstate.operational". This is implicitly enabled in action elements (e.g. <find_.../>) or condition elements (e.g. <count_...>), meaning that find_ship will only find operational ships. Using such actions/conditions with checkoperational="false" will include non-operational components such as wrecked and constructions. Existing uses may find that results now exclude non-operational components.//
815 815  
... ... @@ -821,17 +821,11 @@
821 821  2.60 Beta 1
822 822  )))|(% colspan="2" %)(((
823 823  $container.**supplyresources** behavior changed
824 -)))| | |
825 -|(% class="highlight-grey" colspan="10" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
816 +)))
817 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
826 826  (((
827 827  //The script keyword $container.supplyresources now includes reserved wares.//
828 828  )))
829 -
830 -----
831 -
832 -=== 2.20 ===
833 -
834 -(% class="wrapped" %)
835 835  |(% colspan="4" %)(% colspan="3" %)
836 836  (((
837 837  == 2.20 ==
... ... @@ -867,12 +867,10 @@
867 867  (((
868 868  //The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.//
869 869  )))
870 -
871 -----
872 -
873 -=== 2.00 ===
874 -
875 -(% class="wrapped" %)
856 +|(% colspan="4" %)(% colspan="3" %)
857 +(((
858 +== 2.00 ==
859 +)))
876 876  |(% colspan="1" %)(% colspan="1" %)
877 877  (((
878 878  Scripts
... ... @@ -1019,12 +1019,10 @@
1019 1019  (((
1020 1020  //Changed return value type to const char* to better identify failure reasons in Lua script.//
1021 1021  )))
1022 -
1023 -----
1024 -
1025 -=== 1.50 ===
1026 -
1027 -(% class="wrapped" %)
1006 +|(% colspan="4" %)(% colspan="3" %)
1007 +(((
1008 +== 1.50 ==
1009 +)))
1028 1028  |(((
1029 1029  UI extensions
1030 1030  )))|(((
... ... @@ -1089,12 +1089,10 @@
1089 1089  (((
1090 1090  //CancelConstruction() now returns if the cancellation was successful. //
1091 1091  )))
1092 -
1093 -----
1094 -
1095 -=== 1.32 ===
1096 -
1097 -(% class="wrapped" %)
1074 +|(% colspan="4" %)(% colspan="3" %)
1075 +(((
1076 +== 1.32 ==
1077 +)))
1098 1098  |(((
1099 1099  UI extensions
1100 1100  )))|(((
... ... @@ -1106,12 +1106,10 @@
1106 1106  (((
1107 1107  //Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.//
1108 1108  )))
1109 -
1110 -----
1111 -
1112 -=== 1.20 ===
1113 -
1114 -(% class="wrapped" %)
1089 +|(% colspan="4" %)(% colspan="3" %)
1090 +(((
1091 +== 1.20 ==
1092 +)))
1115 1115  |(((
1116 1116  UI extensions
1117 1117  )))|(((
... ... @@ -1123,5 +1123,3 @@
1123 1123  (((
1124 1124  //The AA setting was changed to check the new setting with the user. In order to restore the old setting GetAAOption() gets the option to retrieve the config settings.//
1125 1125  )))
1126 -
1127 -