Releases: mirage/ocaml-base64
Releases · mirage/ocaml-base64
3.5.1
v3.5.0
CHANGES:
- Fix support for
x-compilation
(@samoht, #44) - Update to
dune.2.0
and applyocamlformat
(@samoht, #45) - Select
unsafe.ml
only withdune
(@emillon, #46) - Remove indirect dependecy to
ocamlfind
(@kit-ty-kate, #49) - Hide internals of
base64
and return astring
as the alphabet (@reynir, #48)
breaking chnagesBase64.alphabet
is updated and return a simplestring
now
v3.4.0
v3.3.0
v3.2.0
CHANGES:
Base64_rfc2045.decode
can now progress on many input errors, allowing
clients to make forward progress by discarding a single character and
trying to continue. This allows, for example, newlines and other invalid
characters to be discarded. (#34 @tiash, review by @dinosaure @avsm)- Add more test cases for RFC2045 (#34 @dinosaure)
- Improve README toplevel output example (#28 @djs55)
v3.1.0
v3.0.0
CHANGES:
- Implemenation of Base64 according to RFC 2045 (available on base64.rfc2045)
- New implementation of Base64 according to RFC 4648 from nocrypto's implementation
- Fix bad access with
String.iter
on the old implementation of Base64 (@dinosaure, #23) - Check isomorphism between
encode
&decode
function (@hannesm, @dinosaure, #20) - Add tests from RFC 3548 and from PHP impl. (@hannesm, @dinosaure, #24)
- Add fuzzer on both implementations
- check isomorphism
- check bijection
- check if
decode
does not raise any exception
- break-api,
B64
was renamed toBase64
(@copy, @avsm, @dinosaure, #17) - break-api,
Base64.decode
andBase64.encode
returns a result type instead to raise an exception (@hannesm, @dinosaure, #21) - break-api, Add
sub
type to avoid allocation to the end-user (@avsm, @dinosaure, #24) - break-api, Add
pad
argument ondecode
function to check if input is well-padded or not (@hannesm, @dinosaure, #24) - break-api, Add
off
andlen
optional arguments onencode
&decode
functions to compute a part of input (@cfcs, @dinosaure, #24) - Better performance (see #24) (@dinosaure)
- Review of code by @cfcs (see #24)
v2.3.0
CHANGES:
- Add a
decode_opt
function that is a non-raising variant ofdecode
. - Reformat the code with ocamlformat (@dinosaure)
- Port build to dune from jbuilder (@dinosaure