Releases: mirage/ocaml-uri
4.4.0
CHANGES:
-
breaking change Fix parsing & printing of IPv6 addresses in the host part of an uri
If we follow the RFC3986 correctly, IPv6 must be surrounded by '[' and ']'. Old versions
ofocaml-uri
escaped these characters. The new version interprets these characters to
recognize an IPv6 address.Users should take note of this change in behaviour, which fixes a number of bugs in HTTP
requests. (@anmonteiro, review by several maintainers, #169) -
Upgrade tests to
ounit2
(@Alessandro-Barbieri, #161)
4.3.0
v4.2.0
v4.1.0
CHANGES:
uri-re
is deprecated, it is a legacy implementation that is now outdated.
uri
should be used instead (@dinosaure, #152).- Fix build system for cross-compilation (@TheLortex, #151).
v4.0.0
CHANGES:
- sexp: use the sexplib v0.13 ppx directives (@avsm, #143).
- rework the URI parser with
angstrom
(@anmonteiro, review @avsm & @dinosaure, #142). - add simple fuzzer tests between
angstrom
parser and legacy parser (withre.posix
, #142) - add support of modifying pct encoding (with a custom one) (@orbitz, review @anmonteiro, @tmcgilchrist, @avsm & @dinosaure, #147)
- allow the selection of generic set of safe characters (with
Generic
) (@madroach, review @dinosaure, #141)
v3.1.0
v3.0.0
CHANGES:
-
Complete the migration of making sexp an optional dependency that was
started in 2.0.0. We now remove theuri.sexp
ocamlfind package and
haveuri
anduri-sexp
for both the ocamlfind and opam packages.
Code that was formerly usinguri.sexp
in its build will now need to
move touri-sexp
instead (#134 @Julow @dinosaure). -
Remove the deprecated
Uri_re
module. All code should be using the
Uri.Re
module instead (@avsm @Julow). -
Remove the
uri.top
library, since we install the toplevel printer
automatically since 2.2.0 via an attribute.
v2.2.1
v2.2.0
CHANGES:
- Add
Uri.pp
as an alias toUri.pp_hum
, as thepp
form
is more commonly used. (#133 @avsm) - Add an
[@@ocaml.toplevel_printer]
attribute to Uri.pp
so that it will be automatically loaded on modern Utop versions. (#133 @avsm) - Upgrade last remaining
jbuild
file todune
(#133 @avsm) - OCamldoc improvements in section headers (@avsm)