@quenty/observablecollection 7.0.0 → 8.0.1-canary.444.4f02c27.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 CHANGED
@@ -3,6 +3,69 @@
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
+ ## [8.0.1-canary.444.4f02c27.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@8.0.0...@quenty/observablecollection@8.0.1-canary.444.4f02c27.0) (2024-02-13)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix bootstrap of test environments and loader samples ([441e4a9](https://github.com/Quenty/NevermoreEngine/commit/441e4a90d19fcc203da2fdedc08e532c20d52f99))
12
+
13
+
14
+
15
+
16
+
17
+ # [8.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@7.0.0...@quenty/observablecollection@8.0.0) (2024-02-13)
18
+
19
+
20
+ ### Features
21
+
22
+ * New loader (breaking changes), fixing loader issues ([#439](https://github.com/Quenty/NevermoreEngine/issues/439)) ([3534345](https://github.com/Quenty/NevermoreEngine/commit/353434522918812953bd9f13fece73e27a4d034d))
23
+
24
+
25
+ ### BREAKING CHANGES
26
+
27
+ * Standard loader
28
+
29
+ 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.
30
+
31
+ 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.
32
+
33
+ Signed-off-by: James Onnen <jonnen0@gmail.com>
34
+
35
+ * fix: Fix missing dependency in ResetService
36
+
37
+ * feat: Add RxPhysicsUtils.observePartMass
38
+
39
+ * fix: Fix package discovery for games
40
+
41
+ * feat: Add UIAlignmentUtils.verticalToHorizontalAlignment(verticalAlignment) and UIAlignmentUtils.horizontalToVerticalAlignment(horizontalAlignment)
42
+
43
+ * feat: AdorneeData:InitAttributes() does not require data as a secondparameter
44
+
45
+ * ci: Upgrade to new rojo 7.4.0
46
+
47
+ * fix: Update loader to handle hoarcekat properly
48
+
49
+ * docs: Fix spacing in Maid
50
+
51
+ * fix: Add new ragdoll constants
52
+
53
+ * fix: Compress influxDB sends
54
+
55
+ * style: Errors use string.format
56
+
57
+ * fix: Handle motor animations
58
+
59
+ * ci: Upgrade rojo version
60
+
61
+ * feat!: Maid no longer is includd in ValueObject.Changed event
62
+
63
+ * docs: Fix docs
64
+
65
+
66
+
67
+
68
+
6
69
  # [7.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@6.5.0...@quenty/observablecollection@7.0.0) (2024-01-10)
7
70
 
8
71
  **Note:** Version bump only for package @quenty/observablecollection
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-2023 James Onnen (Quenty)
3
+ Copyright (c) 2014-2024 James Onnen (Quenty)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/observablecollection",
3
- "version": "7.0.0",
3
+ "version": "8.0.1-canary.444.4f02c27.0",
4
4
  "description": "A set of observable collections, such as sets, maps, sorted lists, and more.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,22 +27,23 @@
27
27
  "Quenty"
28
28
  ],
29
29
  "dependencies": {
30
- "@quenty/baseobject": "^7.2.0",
31
- "@quenty/brio": "^10.0.0",
32
- "@quenty/loader": "^7.3.0",
33
- "@quenty/maid": "^2.6.0",
34
- "@quenty/promise": "^7.2.0",
35
- "@quenty/rx": "^9.0.0",
36
- "@quenty/signal": "^4.0.0",
37
- "@quenty/steputils": "^3.3.0",
38
- "@quenty/symbol": "^2.2.0",
39
- "@quenty/valueobject": "^9.0.0"
30
+ "@quenty/baseobject": "8.0.1-canary.444.4f02c27.0",
31
+ "@quenty/brio": "11.0.1-canary.444.4f02c27.0",
32
+ "@quenty/ducktype": "3.0.1-canary.444.4f02c27.0",
33
+ "@quenty/loader": "8.0.1-canary.444.4f02c27.0",
34
+ "@quenty/maid": "3.0.0",
35
+ "@quenty/promise": "8.0.1-canary.444.4f02c27.0",
36
+ "@quenty/rx": "10.0.1-canary.444.4f02c27.0",
37
+ "@quenty/signal": "5.0.1-canary.444.4f02c27.0",
38
+ "@quenty/steputils": "3.3.0",
39
+ "@quenty/symbol": "3.0.0",
40
+ "@quenty/valueobject": "10.0.1-canary.444.4f02c27.0"
40
41
  },
41
42
  "devDependencies": {
42
- "@quenty/blend": "^8.0.0"
43
+ "@quenty/blend": "9.0.1-canary.444.4f02c27.0"
43
44
  },
44
45
  "publishConfig": {
45
46
  "access": "public"
46
47
  },
47
- "gitHead": "bf8135721716c976201cb82133e0186ea606b166"
48
+ "gitHead": "4f02c27e96314724c58778e8c113c0d362e16ae4"
48
49
  }
@@ -10,6 +10,7 @@ local Observable = require("Observable")
10
10
  local Maid = require("Maid")
11
11
  local Brio = require("Brio")
12
12
  local ValueObject = require("ValueObject")
13
+ local DuckTypeUtils = require("DuckTypeUtils")
13
14
 
14
15
  local ObservableCountingMap = {}
15
16
  ObservableCountingMap.ClassName = "ObservableCountingMap"
@@ -67,7 +68,7 @@ end
67
68
  @return boolean
68
69
  ]=]
69
70
  function ObservableCountingMap.isObservableMap(value)
70
- return type(value) == "table" and getmetatable(value) == ObservableCountingMap
71
+ return DuckTypeUtils.isImplementation(ObservableCountingMap, value)
71
72
  end
72
73
 
73
74
  --[=[
@@ -14,6 +14,7 @@ local RxBrioUtils = require("RxBrioUtils")
14
14
  local Signal = require("Signal")
15
15
  local Symbol = require("Symbol")
16
16
  local ValueObject = require("ValueObject")
17
+ local DuckTypeUtils = require("DuckTypeUtils")
17
18
 
18
19
  local ObservableList = {}
19
20
  ObservableList.ClassName = "ObservableList"
@@ -68,7 +69,7 @@ end
68
69
  @return boolean
69
70
  ]=]
70
71
  function ObservableList.isObservableList(value)
71
- return type(value) == "table" and getmetatable(value) == ObservableList
72
+ return DuckTypeUtils.isImplementation(ObservableList, value)
72
73
  end
73
74
 
74
75
  --[=[
@@ -12,6 +12,7 @@ local ObservableSubscriptionTable = require("ObservableSubscriptionTable")
12
12
  local Signal = require("Signal")
13
13
  local ValueObject = require("ValueObject")
14
14
  local RxBrioUtils = require("RxBrioUtils")
15
+ local DuckTypeUtils = require("DuckTypeUtils")
15
16
 
16
17
  local ObservableMap = {}
17
18
  ObservableMap.ClassName = "ObservableMap"
@@ -70,7 +71,7 @@ end
70
71
  @return boolean
71
72
  ]=]
72
73
  function ObservableMap.isObservableMap(value)
73
- return type(value) == "table" and getmetatable(value) == ObservableMap
74
+ return DuckTypeUtils.isImplementation(ObservableMap, value)
74
75
  end
75
76
 
76
77
  --[=[
@@ -11,6 +11,7 @@ local Maid = require("Maid")
11
11
  local Brio = require("Brio")
12
12
  local ValueObject = require("ValueObject")
13
13
  local ObservableSubscriptionTable = require("ObservableSubscriptionTable")
14
+ local DuckTypeUtils = require("DuckTypeUtils")
14
15
 
15
16
  local ObservableSet = {}
16
17
  ObservableSet.ClassName = "ObservableSet"
@@ -61,7 +62,7 @@ end
61
62
  @return boolean
62
63
  ]=]
63
64
  function ObservableSet.isObservableSet(value)
64
- return type(value) == "table" and getmetatable(value) == ObservableSet
65
+ return DuckTypeUtils.isImplementation(ObservableSet, value)
65
66
  end
66
67
 
67
68
  --[=[
@@ -25,6 +25,7 @@ local Rx = require("Rx")
25
25
  local Signal = require("Signal")
26
26
  local Symbol = require("Symbol")
27
27
  local ValueObject = require("ValueObject")
28
+ local DuckTypeUtils = require("DuckTypeUtils")
28
29
 
29
30
  -- Higher numbers last
30
31
  local function defaultCompare(a, b)
@@ -133,7 +134,7 @@ end
133
134
  @return boolean
134
135
  ]=]
135
136
  function ObservableSortedList.isObservableSortedList(value)
136
- return type(value) == "table" and getmetatable(value) == ObservableSortedList
137
+ return DuckTypeUtils.isImplementation(ObservableSortedList, value)
137
138
  end
138
139
 
139
140
  --[=[
@@ -5,11 +5,11 @@ local ServerScriptService = game:GetService("ServerScriptService")
5
5
  local TweenService = game:GetService("TweenService")
6
6
 
7
7
  local loader = ServerScriptService:FindFirstChild("LoaderUtils", true).Parent
8
- local packages = require(loader).bootstrapGame(ServerScriptService.observablecollection)
8
+ local require = require(loader).bootstrapGame(ServerScriptService.observablecollection)
9
9
 
10
- local ObservableSortedList = require(packages.ObservableSortedList)
11
- local RxInstanceUtils = require(packages.RxInstanceUtils)
12
- local Rx = require(packages.Rx)
10
+ local ObservableSortedList = require("ObservableSortedList")
11
+ local RxInstanceUtils = require("RxInstanceUtils")
12
+ local Rx = require("Rx")
13
13
 
14
14
  local observableSortedList = ObservableSortedList.new()
15
15