@quenty/adorneedata 2.0.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +60 -0
- package/package.json +7 -7
- package/src/Shared/AdorneeData.lua +16 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,66 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [4.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/adorneedata@3.0.0...@quenty/adorneedata@4.0.0) (2024-02-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* New loader (breaking changes), fixing loader issues ([#439](https://github.com/Quenty/NevermoreEngine/issues/439)) ([3534345](https://github.com/Quenty/NevermoreEngine/commit/353434522918812953bd9f13fece73e27a4d034d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* Standard loader
|
|
17
|
+
|
|
18
|
+
Adds new loader version which replicates full structure instead of some partial structure. This allows us to have hot-reloading (in the future), as well as generally do less computation, handle dependencies more carefully, and other changes.
|
|
19
|
+
|
|
20
|
+
This means you'll need to change you how require client-side modules, as we export a simple `loader` module instead of all modules available.
|
|
21
|
+
|
|
22
|
+
Signed-off-by: James Onnen <jonnen0@gmail.com>
|
|
23
|
+
|
|
24
|
+
* fix: Fix missing dependency in ResetService
|
|
25
|
+
|
|
26
|
+
* feat: Add RxPhysicsUtils.observePartMass
|
|
27
|
+
|
|
28
|
+
* fix: Fix package discovery for games
|
|
29
|
+
|
|
30
|
+
* feat: Add UIAlignmentUtils.verticalToHorizontalAlignment(verticalAlignment) and UIAlignmentUtils.horizontalToVerticalAlignment(horizontalAlignment)
|
|
31
|
+
|
|
32
|
+
* feat: AdorneeData:InitAttributes() does not require data as a secondparameter
|
|
33
|
+
|
|
34
|
+
* ci: Upgrade to new rojo 7.4.0
|
|
35
|
+
|
|
36
|
+
* fix: Update loader to handle hoarcekat properly
|
|
37
|
+
|
|
38
|
+
* docs: Fix spacing in Maid
|
|
39
|
+
|
|
40
|
+
* fix: Add new ragdoll constants
|
|
41
|
+
|
|
42
|
+
* fix: Compress influxDB sends
|
|
43
|
+
|
|
44
|
+
* style: Errors use string.format
|
|
45
|
+
|
|
46
|
+
* fix: Handle motor animations
|
|
47
|
+
|
|
48
|
+
* ci: Upgrade rojo version
|
|
49
|
+
|
|
50
|
+
* feat!: Maid no longer is includd in ValueObject.Changed event
|
|
51
|
+
|
|
52
|
+
* docs: Fix docs
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
# [3.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/adorneedata@2.0.0...@quenty/adorneedata@3.0.0) (2024-01-10)
|
|
59
|
+
|
|
60
|
+
**Note:** Version bump only for package @quenty/adorneedata
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
6
66
|
# [2.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/adorneedata@1.3.0...@quenty/adorneedata@2.0.0) (2024-01-08)
|
|
7
67
|
|
|
8
68
|
**Note:** Version bump only for package @quenty/adorneedata
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/adorneedata",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Bridges attributes and serialization",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/attributeutils": "^
|
|
28
|
+
"@quenty/attributeutils": "^11.0.0",
|
|
29
29
|
"@quenty/defaultvalueutils": "^1.1.0",
|
|
30
|
-
"@quenty/ducktype": "^
|
|
31
|
-
"@quenty/loader": "^
|
|
32
|
-
"@quenty/rx": "^
|
|
33
|
-
"@quenty/rxsignal": "^
|
|
30
|
+
"@quenty/ducktype": "^3.0.0",
|
|
31
|
+
"@quenty/loader": "^8.0.0",
|
|
32
|
+
"@quenty/rx": "^10.0.0",
|
|
33
|
+
"@quenty/rxsignal": "^4.0.0",
|
|
34
34
|
"@quenty/table": "^3.4.0",
|
|
35
35
|
"@quentystudios/t": "^3.0.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "5736b108e4d23cd4c9e761bbe4cc9fed6fb32dfa"
|
|
41
41
|
}
|
|
@@ -118,13 +118,14 @@ function AdorneeData:Observe(adornee)
|
|
|
118
118
|
return self:CreateAdorneeDataValue(adornee):Observe(adornee)
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
+
|
|
121
122
|
--[=[
|
|
122
123
|
Gets attribute table for the data
|
|
123
124
|
|
|
124
125
|
@param adornee Instance
|
|
125
126
|
@return AdorneeDataValue
|
|
126
127
|
]=]
|
|
127
|
-
function AdorneeData:
|
|
128
|
+
function AdorneeData:CreateValue(adornee)
|
|
128
129
|
assert(typeof(adornee) == "Instance", "Bad adornee")
|
|
129
130
|
|
|
130
131
|
local attributeTableValue = AdorneeDataValue.new(adornee, self._fullPrototype)
|
|
@@ -132,6 +133,18 @@ function AdorneeData:CreateAdorneeDataValue(adornee)
|
|
|
132
133
|
return attributeTableValue
|
|
133
134
|
end
|
|
134
135
|
|
|
136
|
+
--[=[
|
|
137
|
+
Gets attribute table for the data
|
|
138
|
+
|
|
139
|
+
@param adornee Instance
|
|
140
|
+
@return AdorneeDataValue
|
|
141
|
+
]=]
|
|
142
|
+
function AdorneeData:CreateAdorneeDataValue(adornee)
|
|
143
|
+
assert(typeof(adornee) == "Instance", "Bad adornee")
|
|
144
|
+
|
|
145
|
+
return self:CreateValue(adornee)
|
|
146
|
+
end
|
|
147
|
+
|
|
135
148
|
--[=[
|
|
136
149
|
Gets the attributes for the adornee
|
|
137
150
|
|
|
@@ -198,9 +211,10 @@ end
|
|
|
198
211
|
Initializes the attributes for the adornee
|
|
199
212
|
|
|
200
213
|
@param adornee Instance
|
|
201
|
-
@param data T
|
|
214
|
+
@param data T | nil
|
|
202
215
|
]=]
|
|
203
216
|
function AdorneeData:InitAttributes(adornee, data)
|
|
217
|
+
data = data or {}
|
|
204
218
|
assert(typeof(adornee) == "Instance", "Bad adornee")
|
|
205
219
|
assert(self:IsData(data))
|
|
206
220
|
|