typed-factorio 1.0.0-RC → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/Changelog.md +13 -8
- package/package.json +1 -1
package/Changelog.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# v1.0.0
|
2
|
+
|
3
|
+
- This project now has all the features that was originally planned, and can now guarantee reasonable backwards compatibility for future releases. As such, it now deserves the v1.0.0. Goodbye to [Zer0Ver](http://0ver.org)!
|
4
|
+
- Updated to factorio version 1.1.57
|
5
|
+
|
1
6
|
# v0.20.0
|
2
7
|
|
3
8
|
- Updated to factorio version 1.1.56
|
@@ -39,8 +44,8 @@
|
|
39
44
|
# v0.15.0
|
40
45
|
|
41
46
|
- Table or array concepts are now declared in table form wherever it is an "read" position.
|
42
|
-
|
43
|
-
|
47
|
+
- This works with setter overloading for applicable properties: `player.color.x; player.color = [1, 1, 1]` is now valid!
|
48
|
+
- This also applies to concepts/complex types which contain table_or_array properties.
|
44
49
|
- Some concepts now also have a special form where it is known to be in a "read" position, where all table_or_array concepts are declared in table form. These concepts are suffixed with "Read", e.g. `ScriptAreaRead`.
|
45
50
|
- Arrays which are known to be in a "write" only form (e.g. method parameters) now are marked readonly. This means you can now pass readonly arrays to these methods.
|
46
51
|
- `MapPosition` is now a table or array concept.
|
@@ -56,17 +61,17 @@
|
|
56
61
|
- LuaStyle size, margin/padding setters now have more specific array types. These array types are `SizeArray` and `StyleValuesArray` for size and margin/padding, respectively.
|
57
62
|
- `@noSelf` annotation is now only present when necessary.
|
58
63
|
- For classes with subclasses:
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
64
|
+
- The original class name (e.g. `LuaItemStack`) still contains attributes of all subclasses (same as before).
|
65
|
+
- There is now a `Base` type (e.g. `BaseItemStack`) which only includes attributes common to all subclasses.
|
66
|
+
- There is a separate type definition for each subclass, e.g. `BlueprintItem`. Note that one instance may still belong to multiple subclasses (the subclasses are not mutually exclusive).
|
67
|
+
- The above two can be optionally used for stricter types.
|
63
68
|
|
64
69
|
# v0.13.2
|
65
70
|
|
66
71
|
- Fix: resize_to_sprite property should not be on subclass sprite-button
|
67
72
|
- Fix: ChooseElemButtonSpec filters should be named elem_filters
|
68
73
|
- Switch back to `/latest` api docs link
|
69
|
-
|
74
|
+
- New version of web api docs is now active
|
70
75
|
|
71
76
|
# v0.13.0
|
72
77
|
|
@@ -102,7 +107,7 @@
|
|
102
107
|
# v0.7.3
|
103
108
|
|
104
109
|
- Update to factorio version 1.1.42
|
105
|
-
|
110
|
+
- No api changes, but improvements to descriptions
|
106
111
|
|
107
112
|
# v0.7.2
|
108
113
|
|