Skip to content

Commit

Permalink
Merge pull request #173 from mirage/prepare-v4.4.0
Browse files Browse the repository at this point in the history
Prepare v4.4.0
  • Loading branch information
dinosaure committed Sep 28, 2023
2 parents 82e906b + 2dfed18 commit 24261ec
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 11 deletions.
13 changes: 13 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
v4.4.0 2023-09-25
-----------------

* **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
of `ocaml-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)

v4.3.0 2023-04-19
-----------------

Expand Down
8 changes: 4 additions & 4 deletions uri-bench.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ description: """
This is a benchmarking package for the OCaml implementation of the [RFC3986](http://tools.ietf.org/html/rfc3986) specification for parsing URI or URLs.
"""
depends: [
"ocaml" {>= "4.04.0"}
"ocaml" {>= "4.08.0"}
"dune" {>= "1.2.0"}
"uri" {= version}
"core_bench" {with-test & >= "v0.14.0"}
"core_unix" {with-test & >= "v0.14.0"}
"core_bench" {>= "v0.14.0"}
"core_unix" {>= "v0.14.0"}
]
build: [
["dune" "subst"] {pinned}
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
8 changes: 5 additions & 3 deletions uri-re.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ This is an OCaml implementation of the [RFC3986](http://tools.ietf.org/html/rfc3
for parsing URI or URLs.
"""
depends: [
"ocaml" {>= "4.04.0"}
"ocaml" {>= "4.08.0"}
"dune" {>= "1.2.0"}
"ounit2" {with-test & >= "1.0.2"}
"ppx_sexp_conv" {with-test & >= "v0.9.0"}
"re" {>= "1.9.0"}
"uri" {= version}
"stringext" {>= "1.4.0"}
"crowbar" {with-test}
]
build: [
["dune" "subst"] {pinned}
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["dune" "runtest" "-p" name "-j" jobs] {with-test & os != "macos"}
]
messages: [ "Deprecated. This package is outdated, you should consider using uri instead" ]
2 changes: 1 addition & 1 deletion uri-sexp.opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ depends: [
"ounit2" {with-test}
]
build: [
["dune" "subst"] {pinned}
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
6 changes: 3 additions & 3 deletions uri.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This is an OCaml implementation of the [RFC3986](http://tools.ietf.org/html/rfc3
for parsing URI or URLs.
"""
depends: [
"ocaml" {>= "4.04.0"}
"ocaml" {>= "4.08.0"}
"dune" {>= "1.2.0"}
"ounit2" {with-test & >= "1.0.2"}
"ppx_sexp_conv" {with-test & >= "v0.9.0"}
Expand All @@ -22,7 +22,7 @@ depends: [
"angstrom" {>= "0.14.0"}
]
build: [
["dune" "subst"] {pinned}
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["dune" "runtest" "-p" name "-j" jobs] {with-test & os != "macos"}
]

0 comments on commit 24261ec

Please sign in to comment.