Skip to content

Releases: mourner/flatqueue

v2.0.3

29 Mar 15:14
Compare
Choose a tag to compare

Expose a UMD build for browser CDNs such as JSDelivr and Unpkg to keep backwards compatibility with tools like Observable.

v2.0.0

28 Mar 14:03
Compare
Choose a tag to compare
  • ⚠️ 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

27 Apr 18:41
Compare
Choose a tag to compare

Fix an edge case where peek and peekValue didn't return undefined for an empty queue.

v1.2.0

18 Mar 16:31
Compare
Choose a tag to compare

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

10 Oct 07:29
Compare
Choose a tag to compare

Add clear method for resetting the queue.