@testcomplete/lockmanager
Version:
A little library to handle lock file (check, set, release)
42 lines (24 loc) • 1.15 kB
Markdown
# LockManager Changelog
## Version 0.3.3 - 2022.06.13
* [FIXED] Fix an issue where text comparison from the lock file will not works
with numeric chars (strict test with `===`).
* [ADD] The development & user test TestComplete project is now available in
folder `./test`.
## Version 0.3.2 - 2022.05.17
* [UPDATE] Update ``package.json``
* [UPDATE] Update dependencies **requirements** to use ``@estcomplete`` scope
as expected.
## Version 0.3.1 - 2022.05.16
* [UPDATE] Update **README.md** :
- Add **compatibility** of the library
- Update **Summary** and it links.
## Version 0.3.0 - 2022.05.12
* [NEW] new function ``isLockExists()`` which check if the file exists and
optionally check if the content match (if specified).
* [CHANGED] Setting up a **timeout** of `0` will works as creates file if not exists,
so returning ``true`` or `false` (when file exists).
* [CHANGED] ``lock()`` method now returns `true` if the lock file exists and
it's content is equal to the content provided in the second arguments.
This behavior means the lock has been retrieved.
## Version 0.2.0 - 2022.05.11
* [NEW] Initial Version (published)