@whotracksme/reporting 7.11.3 β 7.11.4
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 +12 -0
- package/package.json +1 -1
- package/reporting/src/job-scheduler.js +12 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v7.11.4 (Fri Feb 27 2026)
|
|
2
|
+
|
|
3
|
+
#### π Bug Fix
|
|
4
|
+
|
|
5
|
+
- Experiment: sequentialize writes to work around a Safari bug [#187](https://github.com/whotracksme/webextension-packages/pull/187) ([@philipp-classen](https://github.com/philipp-classen))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Philipp ClaΓen ([@philipp-classen](https://github.com/philipp-classen))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v7.11.3 (Thu Feb 19 2026)
|
|
2
14
|
|
|
3
15
|
#### π Bug Fix
|
package/package.json
CHANGED
|
@@ -847,10 +847,18 @@ export default class JobScheduler {
|
|
|
847
847
|
|
|
848
848
|
async _writeJobsToDisk() {
|
|
849
849
|
this._clearAutoFlushTimer();
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
850
|
+
|
|
851
|
+
// [Experiment] Potential workaround for a Safari bug:
|
|
852
|
+
// * we see indicators that Safari corrupts the data when there
|
|
853
|
+
// are concurrent write operation to chrome.storage.local
|
|
854
|
+
// * as a mitigation, serialize the writes now
|
|
855
|
+
this._writeToDiskExecutor ||= new SeqExecutor();
|
|
856
|
+
return this._writeToDiskExecutor.run(async () =>
|
|
857
|
+
this.storage.set(this.storageKey, {
|
|
858
|
+
dbVersion: DB_VERSION,
|
|
859
|
+
jobQueues: this.jobQueues,
|
|
860
|
+
}),
|
|
861
|
+
);
|
|
854
862
|
}
|
|
855
863
|
|
|
856
864
|
/**
|