All Versions
9
Latest Version
Avg Release Cycle
46 days
Latest Release
626 days ago

Changelog History

  • v0.2.3.0 Changes

    April 30, 2020
    • ➕ Add fnv1a32 and fnv1a64, implementations of the 32-bit and 64-bit variants of the FNV-1a hash algorithm, to both Data.Bytes and Data.Bytes.Chunks.
    • ➕ Add Data.Bytes.Chunks.null.
    • ➕ Add readFile to both Data.Bytes and Data.Bytes.Chunks.
    • ➕ Add foldl' to Data.Bytes.Chunks.
    • ➕ Add split to Data.Bytes.Chunks.
    • ➕ Add splitStream for splitting as a good stream-fusion producer.
    • ➕ Add hPut and writeFile to Data.Bytes.Chunks.
    • ➕ Add fromCString#.
    • ➕ Add Bytes# newtype on GHC 8.10 and up.
  • v0.2.2.0 Changes

    February 27, 2020
    • ➕ Add split4.
    • ➕ Add equalsCString.
    • ➕ Add stripCStringPrefix.
    • ➕ Add equalsLatin8.
    • ➕ Add emptyPinned.
    • ➕ Add concatPinned to Data.Bytes.Chunks.
    • ➕ Add any and all.
  • v0.2.1.0 Changes

    January 22, 2020
    • ➕ Add longestCommonPrefix.
    • 🛠 Fix broken Ord instance of Bytes.
  • v0.2.0.0 Changes

    January 20, 2020
    • 🔄 Change behavior of split. This function previously had a special case for zero-length byte sequences to mirror the behavior bytestring's behavior. Now, split returns a singleton list with the empty byte sequence in this case.
    • ➕ Add splitNonEmpty so that users who need to take advantage of the non-null guarantee split provides can do so.
    • ➕ Add splitU and splitInitU for users who are going to split a byte sequence without and consume the results more than once.
    • 👉 Make the C code compile on platforms that do not have rawmemchr.
    • 📇 Rename splitOnce to split1.
    • ➕ Add split2 and split3.
    • ➕ Add equalsLatin{1,2,3,4,5,6,7}
    • ➕ Add ifoldl'.
    • ➕ Add hGet and hPut.
    • 🏗 Move Data.Bytes.Chunks from small-bytearray-builder to byteslice.
    • 📇 Rename Data.Bytes.Chunks.concat to concatU (the U means unsliced), and add a new concat that returns Bytes.
    • ➕ Add fromBytes, fromByteArray, and unsafeCopy to Data.Bytes.Chunks.
    • ➕ Add hGetContents to Data.Bytes.Chunks.
    • ➕ Add isBytePrefixOf and isByteSuffixOf.
    • ➕ Add replicate and replicateU.
    • ➕ Add Monoid instance for Bytes.
    • ➕ Add singleton, doubleton, tripleton, and their unsliced variants.
    • 📇 Rename copy to unsafeCopy.
    • ➕ Add fromLatinString.
    • 🔄 Change the behavior of fromAsciiString to replace out-of-bounds codepoints with NUL.
    • ➕ Add unsnoc and uncons.
  • v0.1.4.0 Changes

    November 12, 2019
    • ➕ Add toLatinString.
    • ➕ Add stripPrefix, stripSuffix, stripOptionalPrefix, and stripOptionalSuffix.
    • ➕ Add takeWhileEnd and dropWhileEnd.
    • ➕ Add count.
    • ➕ Add an optimized split function.
    • ➕ Add splitInit.
    • ➕ Add splitFirst.
    • ➕ Add copy.
    • ➕ Add pin.
    • ➕ Add touch.
    • ➕ Add elem.
    • ➕ Add unsafeIndex.
  • v0.1.3.0 Changes

    September 15, 2019
    • ➕ Add isPrefixOf and isSuffixOf.
    • ➕ Add foldl, foldr, foldl', and foldr'.
  • v0.1.2.0 Changes

    August 21, 2019
    • ➕ Add Data.Bytes.Mutable module.
    • ➕ Add Data.Bytes module.
  • v0.1.1.0 Changes

    July 03, 2019
    • ➕ Add record labels for Bytes and MutableBytes
    • ➕ Add UnmanagedBytes. This is just an Addr and a length.
  • v0.1.0.0 Changes

    April 30, 2019
    • First version.