All Versions
14
Latest Version
Avg Release Cycle
3 days
Latest Release
1421 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.4.2 Changes
June 04, 2020- โ Added support for
Data.ByteString.Short
,Data.ByteString.Lazy
,Data.Text.Short
, andData.Text.Lazy
. (#17) - โก๏ธ Optimize decode algorithm (now beats
base64-bytestring
in every category!) - (#13) - ๐ Use
decodeLatin1
when decoding to text, so that functions are total - (#13) - โ Added
decodeWith*
variants and aBase64Error
type to handle decoding errors when decoding base64 values - (#13) - ๐ Improved error reporting: all offsets are now precisely accurate. - (#13)
- โ
Validations added to head, rejecting invalid corner cases (such as bytestrings of length
l == 1 mod 4
, which are never correct) - (#16) - โ Added
decodeBase64Padded
for symmetry - (#13)
- โ Added support for
-
v0.4.2.3 Changes
- Tighter length calculations in unpadded base64url #35
-
v0.4.2.2 Changes
July 05, 2020- โ Add
NFData
,Exception
, andGeneric
instances forBase64Error
+@since
annotations for new instances. (#28) - Doc improvements and add
-XTrustworty
and-XSafe
annotations where needed. (#27) - ๐ Improve URL canonicity validation and correctness checking (now supports correct checking for unpadded Base64url) (#26)
- ๐ Fixed perf regressions in decode
- โ Test coverage is at 98%
- โ Add
-
v0.4.2.1 Changes
๐ Security fix: reject non-canonical base64 encoded values - (#25)
Perf improvements
-
v0.4.1 Changes
February 04, 2020- โก๏ธ Optimize loops for 32-bit and 64-bit architectures
- Restructure project to be more amenable to swapping head/tail/loops
- ๐ Fix module header alignment
-
v0.4.0 Changes
January 26, 2020๐ With this major version release, we remove the redundant
encodeBase64Unpadded
anddecodeBase64Unpadded
functions fromBase64.hs
. This is for two reasons:- There is no reason for them to exist, since all std base64 is expected to be padded (in contrast to base64url)
- it was literally redundant with
decodeBase64
.
๐ Use a specialized
Bool
type to give better visual cues regarding which functions add padding
-
v0.3.1 Changes
January 10, 2020๐ This release contains bugfixes for
isBase64
and adds two new validity checking functionsisValidBase64
(conformity to the shape of base64 as opposed to correctness).๐ Also, adds stack 8.2 support
-
v0.3.1.1 Changes
January 15, 2020- ๐ Make sure benchmark code builds
-
v0.3.1.0 Changes
January 08, 2020- ๐ Bug fix for
isBase64
andisBase64Url
- wrong alphabet was used - Added
isValidBase64
andisValidBase64Url
for alphabet conformity. TheisBase64*
functions now tell if it's correct base64 now in the sense that it's decodable and valid. - โฌ๏ธ Dropped Cabal version to 2.0 for backcompat with Stack
- ๐ Better documentation
- ๐ Bug fix for
-
v0.3 Changes
January 07, 2020After some great feedback from phadej and lexilambda, I'm settling on this being the API for Base64.