alfred-margaret v1.1.2.0 Release Notes

Release Date: 2022-04-21 // 8 months ago
  • โž• Added UTF-8 implementations on a mock Text type (in Data.Text.Utf8).

    • โž• Added Data.Text.Utf8* modules
    • ๐Ÿšš Moved CaseSensitivity to its own Data.Text.CaseSensitivity module.
    • โž• Added the private module Data.TypedByteArray which contains thin wrappers over ByteArray and MutableByteArray.
    • Replaced uses of Data.Vector.Unboxed.Vector by TypedByteArray.

Previous changes from v1.1.0.0

  • ๐Ÿš€ The most notable addition in this release is the implementation of the Boyer-Moore string search algorithm.


    • 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)