v0.19.0
DataStructures v0.19.0
(breaking)
Added
- New
QueueandStackas separate types with enhanced documentation - Add
empty!method for heaps (#932) - Support for recursive
DefaultDictcreation - Add
find_prefixesmethod toTriefor finding all keys that are prefixes of a given string (#933) - Improved constructors for
CircularBufferallowing initialization with an iterable and capacity - Add
resize!method forCircularBuffer - Enhanced documentation with doctests and improved examples throughout (#931)
Changed
- Minimum Julia version requirement raised to 1.6 (#874)
DisjointSetsrenamed toDisjointSet(singular form) (#700)IntDisjointSetsrenamed toIntDisjointSet(singular form) (#700)- PriorityQueue API updated to use standard Julia interfaces:
enqueue!→push!dequeue!→popfirst!dequeue_pair!→popfirst!peek→first
- Renamed methods in sorted containers:
startof→firstindexendof→lastindexinsert!→push_return_semitoken!
Accumulatorconstructor behavior changed to properly accumulate values when initialized with pairs- Documentation significantly expanded and reorganized
- Performance improvements in heaps and various other data structures (#907)
Deprecated
enqueue!anddequeue!methods (usepush!andpopfirst!instead)peekfor PriorityQueue (usefirstinstead)DisjointSets(useDisjointSetinstead) (#700)IntDisjointSets(useIntDisjointSetinstead) (#700)startofandendof(usefirstindexandlastindexinstead)
Fixed
- Memory management improvements using
Base._unsetindex!in several data structures (#884) - Fixed
append!behavior inMutableLinkedListto properly handle multiple arguments - Various bug fixes and correctness improvements
Removed
- Dependency on Compat.jl
- Dependency on InteractiveUtils.jl
- Support for Julia versions < 1.6 (#874)
Merged pull requests:
- Define
empty!forBinaryHeapandMutableBinaryHeap(#932) (@devmotion) - Avoid unnecessary hash lookups in trie.jl (#933) (@AzamatB)
- Refactor
not_iterator_of_pairsto stop usingInteractiveUtils(#936) (@asinghvi17) - Remove outdated Iterators.reverse definition (#939) (@asinghvi17)
- release v0.19 (#943) (@aviatesk)
Closed issues: