@quenty/binder 14.5.0 → 14.6.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,18 @@
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
+ # [14.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@14.5.0...@quenty/binder@14.6.0) (2024-09-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Binder can clean up properly without erroring everything else ([23fe067](https://github.com/Quenty/NevermoreEngine/commit/23fe0676bc9800d659be547ebd4eea612b29806c))
12
+ * Fix indexing error on cleanup of BinderGroupProvider ([083cbce](https://github.com/Quenty/NevermoreEngine/commit/083cbce0ee476c2809bd68bfd481e217bfecd110))
13
+
14
+
15
+
16
+
17
+
6
18
  # [14.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@14.4.0...@quenty/binder@14.5.0) (2024-08-09)
7
19
 
8
20
  **Note:** Version bump only for package @quenty/binder
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/binder",
3
- "version": "14.5.0",
3
+ "version": "14.6.0",
4
4
  "description": "Utility object to Bind a class to Roblox object, and associated helper methods",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,19 +25,19 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/baseobject": "^10.3.0",
29
- "@quenty/brio": "^14.4.0",
30
- "@quenty/instanceutils": "^13.4.0",
31
- "@quenty/linkutils": "^13.4.0",
32
- "@quenty/loader": "^10.3.0",
33
- "@quenty/maid": "^3.2.0",
34
- "@quenty/promise": "^10.3.0",
35
- "@quenty/rx": "^13.4.0",
36
- "@quenty/signal": "^7.3.0",
37
- "@quenty/valueobject": "^13.4.0"
28
+ "@quenty/baseobject": "^10.4.0",
29
+ "@quenty/brio": "^14.5.0",
30
+ "@quenty/instanceutils": "^13.5.0",
31
+ "@quenty/linkutils": "^13.5.0",
32
+ "@quenty/loader": "^10.4.0",
33
+ "@quenty/maid": "^3.3.0",
34
+ "@quenty/promise": "^10.4.0",
35
+ "@quenty/rx": "^13.5.0",
36
+ "@quenty/signal": "^7.4.0",
37
+ "@quenty/valueobject": "^13.5.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "ba466bdbc05c42fb607cf5e228c16339201d21d7"
42
+ "gitHead": "fb172906f3ee725269ec1e5f4daf9dca227e729d"
43
43
  }
@@ -677,9 +677,7 @@ end
677
677
  function Binder:Destroy()
678
678
  local inst, class = next(self._instToClass)
679
679
  while class ~= nil do
680
- self:_remove(inst)
681
- assert(self._instToClass[inst] == nil, "Failed to remove")
682
-
680
+ task.spawn(self._remove, self, inst)
683
681
  inst, class = next(self._instToClass)
684
682
  end
685
683
 
@@ -92,4 +92,8 @@ function BinderGroupProvider:Add(groupName, binderGroup)
92
92
  self[groupName] = binderGroup
93
93
  end
94
94
 
95
+ function BinderGroupProvider:Destroy()
96
+ -- Do nothing
97
+ end
98
+
95
99
  return BinderGroupProvider