2019-06-17 13:24:24 -04:00
|
|
|
# Revision history for small-bytearray-builder
|
|
|
|
|
2019-10-17 11:26:14 -04:00
|
|
|
## 0.3.1.0 -- 2019-??-??
|
|
|
|
|
|
|
|
* Add big-endian and little-endian parsers for `Word128`. This includes
|
|
|
|
both the single and multiple element variants.
|
2019-10-18 10:42:49 -04:00
|
|
|
* Export `reverseCommitsOntoChunks` from the `Unsafe` module.
|
2019-10-18 10:59:03 -04:00
|
|
|
* Add `Semigroup` and `Monoid` instances for `Chunks`.
|
2019-10-17 11:26:14 -04:00
|
|
|
|
2019-10-17 09:45:08 -04:00
|
|
|
## 0.3.0.0 -- 2019-10-17
|
2019-09-18 11:45:02 -04:00
|
|
|
|
2019-10-17 09:45:08 -04:00
|
|
|
* Breaking change: Change the internal implementation of `Builder`. This
|
|
|
|
now works a lot more like the builder from `bytestring`. It accumulates
|
|
|
|
chunks and can do a zero-copy appends when working with a sufficiently
|
|
|
|
large immutable chunk. This introduces a mild performance regression
|
|
|
|
(around 10%), but it makes the libary more generally useful.
|
|
|
|
* Introduce `consLengthBE32` and `consLength64BE` for efficient serialization
|
|
|
|
of wire protocols that require prefixing a payload with its length.
|
2019-10-10 10:28:01 -04:00
|
|
|
* Add `int{16,32,64}BE` and `int{16,32,64LE}` as conveniences.
|
2019-10-09 09:48:28 -04:00
|
|
|
* Add little-endian encoding functions for `Word16`, `Word32`, and `Word64`.
|
2019-10-10 09:40:39 -04:00
|
|
|
* Add big-endian and little-endian functions for copying a
|
2019-10-10 10:28:01 -04:00
|
|
|
`PrimArray` of numbers (both signed and unsigned) into a builder.
|
2019-10-10 09:10:44 -04:00
|
|
|
* Add `flush`, `copy`, and `insert` for better control when
|
|
|
|
converting byte sequences to builders.
|
2019-10-17 09:45:08 -04:00
|
|
|
* Add `shortByteString` to improve interoperability with the
|
|
|
|
`bytestring` library.
|
2019-09-18 11:45:02 -04:00
|
|
|
|
2019-09-05 09:25:26 -04:00
|
|
|
## 0.2.1.0 -- 2019-09-05
|
2019-09-05 09:18:14 -04:00
|
|
|
|
|
|
|
* Stop exporting data constructor in `Data.ByteArray.Builder`.
|
|
|
|
This is technically a breaking change, but it was only
|
|
|
|
exported by accident. So, with this release, we will technically
|
|
|
|
violate PVP, and the previous release will be deprecated on hackage.
|
|
|
|
* Add more functions for encoding unsigned words: `word16PaddedLowerHex`,
|
|
|
|
`word16LowerHex`, `word16UpperHex`, `word8LowerHex`.
|
|
|
|
* Unroll loop for `word8Dec`.
|
|
|
|
|
2019-09-04 11:15:18 -04:00
|
|
|
## 0.2.0.0 -- 2019-09-04
|
2019-08-02 16:28:25 -04:00
|
|
|
|
2019-09-04 11:15:18 -04:00
|
|
|
* Use `natural-arithmetic` to make manipulation of bounds possible.
|
|
|
|
* Add more functions for encoding numbers. This includes
|
|
|
|
`word8/16/32/64` and `int8/16/32/64`.
|
|
|
|
* Rename the modules.
|
2019-08-02 16:28:25 -04:00
|
|
|
* Correct a serious error in the implementation of `bytes`.
|
|
|
|
* Make `pasteGrowST` accept an initial offset.
|
|
|
|
* Add a `pasteGrowST` for length-indexed builders.
|
2019-08-05 12:07:02 -04:00
|
|
|
* Add function for rendering floating-point numbers in a slightly
|
|
|
|
inaccurate way.
|
2019-08-07 15:23:02 -04:00
|
|
|
* Add functions for encoding `ShortText` as UTF-8 and as a JSON string.
|
2019-08-02 16:28:25 -04:00
|
|
|
|
2019-07-30 08:43:09 -04:00
|
|
|
## 0.1.1.0 -- 2019-07-30
|
2019-06-17 13:24:24 -04:00
|
|
|
|
2019-07-30 08:43:09 -04:00
|
|
|
* Add several additional functions for encoding numbers.
|
|
|
|
|
|
|
|
## 0.1.0.0 -- 2019-06-25
|
|
|
|
|
|
|
|
* First version
|