@iebh/tera-fy 2.0.0 → 2.0.2
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 +45 -0
- package/api.md +519 -526
- package/dist/plugin.vue2.es2019.js +20 -20
- package/dist/terafy.es2019.js +1 -1
- package/dist/terafy.js +1 -1
- package/documentation.yml +9 -1
- package/lib/syncro.js +274 -27
- package/lib/terafy.client.js +3 -2
- package/package.json +4 -3
- package/plugins/vue2.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.2](https://github.com/IEBH/TERA-fy/compare/v2.0.1...v2.0.2) (2025-02-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### feat
|
|
7
|
+
|
|
8
|
+
* Added .flush() support ([142ba48](https://github.com/IEBH/TERA-fy/commit/142ba48b3e7d21e9032fc08f0c7bda99bc5244a4))
|
|
9
|
+
* Moved TERA buildRandomBranch -> randomBranch() as an export ([beb1a17](https://github.com/IEBH/TERA-fy/commit/beb1a17088143e6841d19c2d54ce30b94727fd87))
|
|
10
|
+
|
|
11
|
+
### fix
|
|
12
|
+
|
|
13
|
+
* Disabled circular reference checking when serializing content for Firebase - often screws up and just adds overhead ([9a4a417](https://github.com/IEBH/TERA-fy/commit/9a4a417264658620219b2fcb90e434193291de7e))
|
|
14
|
+
* project_namespaces not using correct UPDATE SQL syntax ([79c5c78](https://github.com/IEBH/TERA-fy/commit/79c5c78d993cd638fe69d8b56e5f03fb0e78ec3d))
|
|
15
|
+
* Wrong session stamp when registering presence ([0b69159](https://github.com/IEBH/TERA-fy/commit/0b69159878d3e22f1b698647d9f892db813e6c3d))
|
|
16
|
+
|
|
17
|
+
### refactor
|
|
18
|
+
|
|
19
|
+
* Split setHeartbeat() -> setHearbeat(options) + heartbeat() ([a92b0d7](https://github.com/IEBH/TERA-fy/commit/a92b0d7fcfd2789efa0d5156fa34551efd035ff5))
|
|
20
|
+
* SyncEntities{}.initState() now has same parameters as ..flushState() ([33d56b5](https://github.com/IEBH/TERA-fy/commit/33d56b59ac2af2c5b8e7a9c8b746c76d21efc390))
|
|
21
|
+
* Use nanoid() for session fingerprinting instead of stupidly long UUIDs ([c84fbfb](https://github.com/IEBH/TERA-fy/commit/c84fbfb681b9296ab3bf3b01373cbe2a3b2267b3))
|
|
22
|
+
|
|
23
|
+
## [2.0.1](https://github.com/IEBH/TERA-fy/compare/v2.0.0...v2.0.1) (2025-02-17)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### devops
|
|
27
|
+
|
|
28
|
+
* Added flushState() handlers to all entities ([a6717a8](https://github.com/IEBH/TERA-fy/commit/a6717a892738b816ebcf3dc9b29367a6e5eec73d))
|
|
29
|
+
|
|
30
|
+
### feat
|
|
31
|
+
|
|
32
|
+
* Can now export the Syncro library directly ([d7de07b](https://github.com/IEBH/TERA-fy/commit/d7de07b8c8dc4661e4d22aa29dd68a4e6e5a00c4))
|
|
33
|
+
* fromFirestoreFields() utility function ([ac5fd38](https://github.com/IEBH/TERA-fy/commit/ac5fd381486b68cd8e43b6fb6ea2ad553a0deaac))
|
|
34
|
+
* Presence / Heartbeat functionality ([d5812fd](https://github.com/IEBH/TERA-fy/commit/d5812fdbb8ccd295a048dcef5f1a21e5f8e8dc9d))
|
|
35
|
+
* Syncro.destroy() ([66f7d30](https://github.com/IEBH/TERA-fy/commit/66f7d30700b10618d778104452009381c7934bae))
|
|
36
|
+
|
|
37
|
+
### fix
|
|
38
|
+
|
|
39
|
+
* Bump NPM:@mfdc/marshal to fix downstream problem with non-string seralized data ([47eb955](https://github.com/IEBH/TERA-fy/commit/47eb9555587716039b60fc57b17a7df861a3aafa))
|
|
40
|
+
* Various documentation tidyups ([9e81dc4](https://github.com/IEBH/TERA-fy/commit/9e81dc4a53a0b4e81056c61b1be61e9c13e515b0))
|
|
41
|
+
|
|
42
|
+
### refactor
|
|
43
|
+
|
|
44
|
+
* Moved session initalizer from classdef into constructor - Cloudflare gets upset when trying to use Crypto outside of a function ([4473db4](https://github.com/IEBH/TERA-fy/commit/4473db4a7b99090bf34262dc536dcde71cad7cc4))
|
|
45
|
+
* Remove unnecessary cleaning function when using {from,to}Firestore() ([b81396d](https://github.com/IEBH/TERA-fy/commit/b81396d3a6d206b95eca58e4168a0f94f78932db))
|
|
46
|
+
* Removed useless presence syncro entity as its just as likely to cause issues in the future anyway ([761c373](https://github.com/IEBH/TERA-fy/commit/761c37322402d850bbeb0a534029250b11572ceb))
|
|
47
|
+
|
|
3
48
|
# [2.0.0](https://github.com/IEBH/TERA-fy/compare/v1.15.9...v2.0.0) (2025-02-16)
|
|
4
49
|
|
|
5
50
|
|