- add execution timeout (thank you @mottymilshtein)
- Handle errors from user-supplied callback better (Thank you @simeonborko)
- Ensure the array parameter does not get mutated for batch acquire (Thank you @taschmidt)
- Show queue name in errors (thank you @luke-stead-sonocent)
- Add maxOccupationTime option (Thank you @abozaralizadeh and @ThePiz)
- Fix #37 process not set when acquiring lock (Thank you @Philipp91)
DO NOT USE, erroneous publish
- Fix
maxPending = Infinity
no longer allowed (thank you @coderaiser)
- Allow
maxPending = 0
(thank you @bmrpatel) - Upgrade dependencies
- Be robust to lock names that are also Object keys - simpler solution, extra tests.
- Be robust to lock names that are also Object keys.
- Upgrade dependencies
- Fix grunt-env accidentally having become a dependency (#25)
- Remove empty postinstall script (#24)
- Fixed some vulnerable dev dependencies
- ES5 compatibility (#21)
- Fix for #17, update dependencies
- Fix for #14
- Fix result Promise not resolving when locking empty key array
- Add option to add waiters to the front of the queue
- Add option to add waiters to the front of the queue
- Remove dependency on Q by using the global Promise variable by default. Thank you @erikvold (https://github.com/erikvold) for the PR
- Remove dependencies on Q-specific nodify(), try(), and defer() methods so that you can inject e.g. standard ES6 promises using
new AsyncLock({ Promise: Promise })
- Referred to MIT license in package.json
- Update NPM module dependencies, remove no-longer-maintained blanket code coverage
- Change author to rogierschouten
- Fix invalid JSDoc comments (thanks @JonathanPicques)
- Bugfix: TypeError when locking multiple keys at once
Unknown, previous author did not commit this to Github.
- Performance improvement
- Performance improvement
- Bug fix
- Bug fix
- Set default timeout to never
- Use your own promise
- Domain reentrant
- Support promise mode
- Pending task limit
- Initial version