@quenty/datastore 13.38.0 → 13.39.1
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,14 @@
|
|
|
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
|
+
## [13.39.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@13.39.0...@quenty/datastore@13.39.1) (2026-05-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/datastore
|
|
9
|
+
|
|
10
|
+
# [13.39.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@13.38.0...@quenty/datastore@13.39.0) (2026-05-29)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @quenty/datastore
|
|
13
|
+
|
|
6
14
|
# [13.38.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@13.37.2...@quenty/datastore@13.38.0) (2026-05-18)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/datastore
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/datastore",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.39.1",
|
|
4
4
|
"description": "Quenty's Datastore implementation for Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -30,25 +30,25 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@quenty/baseobject": "10.13.0",
|
|
33
|
-
"@quenty/bindtocloseservice": "8.
|
|
33
|
+
"@quenty/bindtocloseservice": "8.32.1",
|
|
34
34
|
"@quenty/loader": "10.11.0",
|
|
35
35
|
"@quenty/maid": "3.9.0",
|
|
36
36
|
"@quenty/math": "2.7.5",
|
|
37
|
-
"@quenty/messagingserviceutils": "7.
|
|
37
|
+
"@quenty/messagingserviceutils": "7.22.1",
|
|
38
38
|
"@quenty/nevermore-test-runner": "1.4.0",
|
|
39
|
-
"@quenty/pagesutils": "5.19.
|
|
40
|
-
"@quenty/promise": "10.18.
|
|
41
|
-
"@quenty/promisemaid": "5.18.
|
|
42
|
-
"@quenty/rx": "13.28.
|
|
43
|
-
"@quenty/servicebag": "11.18.
|
|
44
|
-
"@quenty/signal": "7.13.
|
|
39
|
+
"@quenty/pagesutils": "5.19.1",
|
|
40
|
+
"@quenty/promise": "10.18.1",
|
|
41
|
+
"@quenty/promisemaid": "5.18.1",
|
|
42
|
+
"@quenty/rx": "13.28.3",
|
|
43
|
+
"@quenty/servicebag": "11.18.1",
|
|
44
|
+
"@quenty/signal": "7.13.1",
|
|
45
45
|
"@quenty/symbol": "3.5.2",
|
|
46
46
|
"@quenty/table": "3.9.2",
|
|
47
|
-
"@quenty/valueobject": "13.
|
|
47
|
+
"@quenty/valueobject": "13.31.1",
|
|
48
48
|
"@quentystudios/jest-lua": "3.10.0-quenty.2"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "598b2b62b36bdcbdbbd56f7db10c399831cc6eba"
|
|
54
54
|
}
|
package/src/Server/DataStore.lua
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* Automatic saving every 5 minutes
|
|
7
7
|
* Jitter (doesn't save all at the same time)
|
|
8
8
|
* De-duplication (only updates data it needs)
|
|
9
|
+
* Session locking (prevents concurrent access)
|
|
9
10
|
* Battle tested across multiple top games.
|
|
10
11
|
|
|
11
12
|
```lua
|
|
@@ -330,7 +331,7 @@ function DataStore.DidLoadFail(self: DataStore): boolean
|
|
|
330
331
|
end
|
|
331
332
|
|
|
332
333
|
--[=[
|
|
333
|
-
Returns whether the datastore has loaded successfully
|
|
334
|
+
Returns whether the datastore has loaded successfully.
|
|
334
335
|
|
|
335
336
|
@return Promise<boolean>
|
|
336
337
|
]=]
|
|
@@ -508,10 +508,10 @@ function DataStoreStage.MarkDataAsSaved(self: DataStoreStage, parentWriter: Data
|
|
|
508
508
|
end
|
|
509
509
|
|
|
510
510
|
--[=[
|
|
511
|
-
Helper method that
|
|
511
|
+
Helper method that promises the latest data view.
|
|
512
512
|
|
|
513
513
|
:::tip
|
|
514
|
-
This is a helper method. You probably want [
|
|
514
|
+
This is a helper method. You probably want [DataStoreStage.LoadAll] instead.
|
|
515
515
|
:::
|
|
516
516
|
|
|
517
517
|
@return Promise
|
|
@@ -528,7 +528,7 @@ function DataStoreStage.PromiseViewUpToDate(self: DataStoreStage): Promise.Promi
|
|
|
528
528
|
end
|
|
529
529
|
|
|
530
530
|
--[=[
|
|
531
|
-
|
|
531
|
+
Overwrites the full stage with the data specified.
|
|
532
532
|
|
|
533
533
|
:::tip
|
|
534
534
|
Use this method carefully as it can lead to data loss in ways that a specific :Store() call
|
|
@@ -638,7 +638,7 @@ function DataStoreStage.StoreOnValueChange(self: DataStoreStage, name: DataStore
|
|
|
638
638
|
end
|
|
639
639
|
|
|
640
640
|
--[=[
|
|
641
|
-
If
|
|
641
|
+
If there is data not yet written then this will return true
|
|
642
642
|
|
|
643
643
|
@return boolean
|
|
644
644
|
]=]
|