Releases: ide/await-lock
Releases · ide/await-lock
v2.2.2
v2.2.1
v2.2.0
v2.1.0
v2.0.1
v2.0.0
This is not a significant upgrade over v1.2.1 but there is a small breaking change. Namely, CommonJS's require('await-lock')
has been dropped in favor of standard JS's import 'await-lock'
. You can still use require()
but need to explicitly access the default export.
v1.2.0
v1.2.1
- Added back support for
require('await-lock')
, which will go away in 2.0.0.
v1.2.0
- Migrated from Flow to TypeScript
- Removed Flow types. This is technically a breaking change, but I decided that it didn't warrant a new major version. Use
~1.1.3
if you want to use the last version with Flow. - Added
tryAcquire
, a method to try to acquire the lock immediately without waiting. This method returnstrue
if the lock was acquired andfalse
otherwise. - Migrated from Babel 6 to 7 (used for testing)
- Switched to GitHub Actions for testing
- Added code-coverage tracking with Codecov