alfred-margaret v1.1.2.0 Release Notes
Release Date: 2022-04-21 // almost 2 years ago-
โ Added UTF-8 implementations on a mock
Text
type (inData.Text.Utf8
).- โ Added
Data.Text.Utf8*
modules - ๐ Moved
CaseSensitivity
to its ownData.Text.CaseSensitivity
module. - โ Added the private module
Data.TypedByteArray
which contains thin wrappers overByteArray
andMutableByteArray
. - Replaced uses of
Data.Vector.Unboxed.Vector
byTypedByteArray
.
- โ Added
Previous changes from v1.1.0.0
-
๐ 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
intoData.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 bycontainsAny
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 viaaeson
cabal flag)
- Extracted the UTF-16 manipulation functions from