Releases: mourner/flatqueue
Releases · mourner/flatqueue
v2.0.3
Expose a UMD build for browser CDNs such as JSDelivr and Unpkg to keep backwards compatibility with tools like Observable.
v2.0.0
- ⚠️ Breaking: Drop the CommonJS entry point. FlatQueue is now ESM-only. fabb09b
- Add TypeScript types by @pschiffmann in #6
- Add proper API documentation by @pschiffmann in #5
- Add
shrink
method for manually freeing internal memory. #3
- Slightly improve
push
performance by removing redundant assignments by @yurivish in #11
v1.2.1
Fix an edge case where peek
and peekValue
didn't return undefined
for an empty queue.
v1.2.0
Do not shrink the underlying arrays on pop
and clear
, keeping their capacity for reuse. This improves performance of cases where FlatQueue
is extensively reused, like Flatbush.
v1.1.0
Add clear
method for resetting the queue.