@quenty/observablecollection 12.3.0 → 12.4.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,25 @@
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
+ # [12.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@12.3.1...@quenty/observablecollection@12.4.0) (2024-08-09)
7
+
8
+ **Note:** Version bump only for package @quenty/observablecollection
9
+
10
+
11
+
12
+
13
+
14
+ ## [12.3.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@12.3.0...@quenty/observablecollection@12.3.1) (2024-07-16)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * Using integer keys in w/ Observe methods in ObservableMap ([#470](https://github.com/Quenty/NevermoreEngine/issues/470)) ([59cf850](https://github.com/Quenty/NevermoreEngine/commit/59cf8508f4afe060bea7b07d70cb9e312dffe996))
20
+
21
+
22
+
23
+
24
+
6
25
  # [12.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@12.2.0...@quenty/observablecollection@12.3.0) (2024-05-09)
7
26
 
8
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/observablecollection",
3
- "version": "12.3.0",
3
+ "version": "12.4.0",
4
4
  "description": "A set of observable collections, such as sets, maps, sorted lists, and more.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -28,22 +28,22 @@
28
28
  ],
29
29
  "dependencies": {
30
30
  "@quenty/baseobject": "^10.3.0",
31
- "@quenty/brio": "^14.3.0",
31
+ "@quenty/brio": "^14.4.0",
32
32
  "@quenty/ducktype": "^5.3.0",
33
33
  "@quenty/loader": "^10.3.0",
34
34
  "@quenty/maid": "^3.2.0",
35
35
  "@quenty/promise": "^10.3.0",
36
- "@quenty/rx": "^13.3.0",
36
+ "@quenty/rx": "^13.4.0",
37
37
  "@quenty/signal": "^7.3.0",
38
38
  "@quenty/steputils": "^3.4.0",
39
39
  "@quenty/symbol": "^3.1.0",
40
- "@quenty/valueobject": "^13.3.0"
40
+ "@quenty/valueobject": "^13.4.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@quenty/blend": "^12.3.0"
43
+ "@quenty/blend": "^12.4.0"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "3fd5cdca3128bf34c8d9dfae1e92d62533b6e6f5"
48
+ "gitHead": "ba466bdbc05c42fb607cf5e228c16339201d21d7"
49
49
  }
@@ -122,15 +122,16 @@ function ObservableMap:_observeKeyValueChanged(packValue)
122
122
  handleValue(key, value)
123
123
  end
124
124
 
125
- maid:GiveTask(self.KeyValueChanged:Connect(handleValue))
125
+ local conn = self.KeyValueChanged:Connect(handleValue)
126
126
 
127
- self._maid[sub] = maid
128
- maid:GiveTask(function()
127
+ local function cleanup()
129
128
  self._maid[sub] = nil
129
+ conn:Disconnect()
130
130
  sub:Complete()
131
- end)
132
-
133
- return maid
131
+ maid:Destroy()
132
+ end
133
+ self._maid[sub] = cleanup
134
+ return cleanup
134
135
  end)
135
136
  end
136
137