diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..060fcb0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,27 @@ +# Changelog + +## v1.1.0.0 - "Moore Features" (2020-10-13) + +The most notable addition in this release is the implementation of the Boyer-Moore string search algorithm. + +**Compatibility:** + +- Extracted the UTF-16 manipulation functions from `Data.Text.AhoCorasick.Automaton` into `Data.Text.Utf16` +- Changed `Data.Text.AhoCorasick.Searcher.Searcher` to remember the case sensitivity used for constructing the searcher +- Removed `Data.Text.AhoCorasick.Searcher.containsAnyIgnoreCase`, the correct implementation is now chosen by `containsAny` based on the case sensitivity of the searcher + +Other changes: + +- Added `Data.Text.AhoCorasick.Splitter` for splitting a lot of text using the same needle +- Added `Data.Text.BoyerMoore.Automaton`, a UTF-16 implementation of Boyer-Moore +- Added `Data.Text.BoyerMoore.Searcher` for searching for multiple needles at once using Boyer-Moore +- Added `Data.Text.BoyerMoore.Replacer` for replacing text based on the Boyer-Moore search +- Added optional `FromJSON`/`ToJSON` instances for most types (can be toggled via `aeson` cabal flag) + +## v1.0.0.0 - "Initial Release" (2019-03-19) + +This is the initial open-source release. + +- Added `Data.Text.AhoCorasick.Automaton`, a UTF-16 implementation of the Aho-Corasick search algorithm +- Added `Data.Text.AhoCorasick.Searcher`, a bulk search abstraction based on Aho-Corasick +- Added `Data.Text.AhoCorasick.Replacer`, a bulk replace abstraction based on Aho-Corasick diff --git a/alfred-margaret.cabal b/alfred-margaret.cabal index c2588bf..4abac65 100644 --- a/alfred-margaret.cabal +++ b/alfred-margaret.cabal @@ -1,5 +1,5 @@ name: alfred-margaret -version: 1.0.0.0 +version: 1.1.0.0 synopsis: Fast Aho-Corasick string searching description: An efficient implementation of the Aho-Corasick string searching algorithm. @@ -14,14 +14,10 @@ build-type: Simple extra-source-files: README.md cabal-version: >=1.10 tested-with: - -- Stackage LTS 11.22. - GHC == 8.2.2 - -- Stackage LTS 12.14. - , GHC == 8.4.3 - -- Stackage LTS 12.26. - , GHC == 8.4.4 -- Stackage LTS 13.10. - , GHC == 8.6.3 + GHC == 8.6.3 + -- Stackage LTS 16.18. + , GHC == 8.8.4 source-repository head type: git @@ -43,7 +39,6 @@ library , Data.Text.BoyerMoore.Searcher , Data.Text.Utf16 build-depends: base >= 4.7 && < 5 - , aeson , containers , deepseq , hashable diff --git a/stack.yaml b/stack.yaml index aa90a48..f308e6c 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,3 +1,3 @@ -resolver: lts-13.10 +resolver: lts-16.18 packages: - . diff --git a/stack.yaml.lock b/stack.yaml.lock index 8302c6e..d2125bf 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -6,7 +6,7 @@ packages: [] snapshots: - completed: - size: 496698 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/13/10.yaml - sha256: cccd8a6de18d13cd00f751b25684b3ca1e548648ea41874de78904fec1b9cb36 - original: lts-13.10 + size: 532172 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/18.yaml + sha256: 4f2a092c6f4869854e8d7435ab98ce5157c641022c3cbfc4c4614ff3db752e62 + original: lts-16.18