Skip to content

Latest commit

 

History

History
112 lines (59 loc) · 2.4 KB

CHANGELOG.md

File metadata and controls

112 lines (59 loc) · 2.4 KB

v1.3.0 (2023-10-24)

Feat

  • linked: add linked queue implementation with tests

Fix

  • linked: make linked queue implementation thread-safe

v1.2.1 (2023-05-08)

Fix

  • fix a bug caused by not calling the (*sync.Cond).Wait() method in a loop

v1.2.0 (2023-04-14)

Feat

  • implement Circular Queue and add tests

v1.1.0 (2023-03-23)

Feat

  • change the queue type parameter from any to comparable
  • add Contains, Peek, Size, IsEmpty, Iterator and Clear methods to the Queue interface and implementations. In order to implement the Contains method the type parameter used by the queues was changed to comparable from any

v0.9.0 (2023-02-03)

Feat

  • priority: removed lesser interface. added fuzz and benchmarks
  • priority: remove lesser interface and use a less func

v0.8.0 (2023-01-25)

Feat

  • Implement reset for all queue. Add missing source code from previous commit. Update readme
  • add missing source code. update readme
  • improve the Queue interface, implement Priority queue, fix Blocking tests, provide example tests

v0.7.0 (2023-01-13)

Feat

  • blocking: implement the Offer method which returns an error in case the queue is full

v0.6.0 (2023-01-12)

Feat

  • options: added capacity option
  • blocking: implement Get method, it returns an error if there are no available elements in the queue

v0.5.0 (2023-01-08)

Feat

  • blocking: remove internal channel and implement peek

v0.4.1 (2022-09-12)

Refactor

  • blocking: remove unnecessary ctx.Done case from Blocking.Refill()

v0.4.0 (2022-09-11)

Feat

  • blocking: use buffered channel as the queue storage, as u/Cidan suggested

v0.3.1 (2022-09-03)

Refactor

  • blocking: change the index type from atomic.Uint32 to atomic.Uintptr

v0.3.0 (2022-09-02)

Feat

  • blocking: add Peek method, which returns but does not remove an element

Refactor

  • blocking: store index and sync as values instead of pointers

v0.2.0 (2022-09-01)

Feat

  • blocking: as per u/skeeto comment, remove the useless error returns

Fix

  • deadlock: fix the deadlock caused by unsynchronized index and broadcast channel

v0.1.1 (2022-09-01)

Refactor

  • blocking_queue: rename Get into Take

v0.1.0 (2022-09-01)

Feat

  • blocking_queue: add first blocking queue implementation