Releases: Psiphon-Inc/psicash-lib-core
Releases · Psiphon-Inc/psicash-lib-core
v2.4.0
v2.3.1
v2.3.0
v2.2.1
v2.2.0
v2.1.2
What's Changed
- Add test for fix for Psiphon-Inc/psiphon-issues#789 by @adam-p in #14
- check the failbit after closing the datastore file by @adam-p in #15
Full Changelog: v2.1.1...v2.1.2
v2.1.1
v2.1.0
Convert the datastore write "pauser" to be a "transaction"
This is to mitigate the possibilty of race conditions when writing multiple values and trying to read one of them. For example:
thread 1: begin transaction
thread 1: write is_account=true
thread 2: read is_account and account_username; get true and ""
thread 1: write account_username="blah"
thread 1: commit (or roll back)
The new implementation will require thread 2 to wait until thread 1 has finished its transaction.