All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
1.0.0 - 2019-03-11
- Concurrency safety when sorting the tree.
- Support for configuring the tree via bitwise flags.
- Option to use a binary PATRICIA tree support via
Tbinary
flag. - Binary tree string representation.
- Change ANSI escape coloring dependency.
- Enhance the tree's performance by using a
strings.Builder
for printing. - Swap
Len
andSize
methods' names, asSize
is closer to meaning "byte size" andLen
is closer to meaning "node count".
0.4.5 - 2018-03-02
- Recursively locking for reading in the same goroutine when calling
(*Tree).String
.
0.4.4 - 2018-03-01
TestRace
now waits all goroutines to finish.
0.4.3 - 2018-03-01
- Bounds out of range error when trying to get a node with placeholder.
- Fix concurrency inconsistencies.
0.4.2 - 2018-01-24
- Race condition tests for all operations.
- Race condition when retrieving a node.
0.4.1 - 2017-12-17
- Adding an empty string does not enters an infinite loop anymore.
- Getting a node when the tree is empty no longer returns the root.
0.4.0 - 2017-12-11
- Makefile.
- Thread safety (if enabled).
- Thread safety test and example.
- Travis CI config script.
- Travis CI script for running goimports.
0.3.1 - 2017-12-10
- List of package features in README file.
- Package name from
patricia
toradix
.
0.3.0 - 2017-12-04
- Alphabetical sorting.
- Sorting is not made automatically anymore.
- Characters in the printed tree.
- README file.
- CHANGELOG code citations are shown as code instead of ordinary text.
- README typo.
- Tests are now run in the correct order.
(*Tree).Add
now correctly adds a node as a prefix.
(*Tree).WithNode
and(*Tree).WithoutNode
.
0.2.1 - 2017-11-11
- Benchmark flag.
goimports
installation missing.
0.2.0 - 2017-11-08
- Specific methods for inserting and deleting a node and also return the tree.
- Enhance basic operations' algorithms.
- Remove basic operations' return value.
0.1.3 - 2017-11-01
- Some use cases to the tests table.
- Variable name
Node.Val
toNode.Value
.
- GetByRune method returning a non-nil map even when not matching the string.
0.1.2 - 2017-11-01
- Update this file to use "changelog" in lieu of "change log".
- Out of range bug when dynamically looking up a string.
0.1.1 - 2017-10-31
- README file.
- Output examples.
- This changelog file.
- README file.
- MIT License.
- Travis CI configuration file and scripts.
- Git ignore file.
- Editorconfig file.
- This package's source code, including examples and tests.
- Go dep files.