Skip to content

[new release] vif (2 packages) (0.0.1~beta2)#29458

Open
dinosaure wants to merge 2 commits intoocaml:masterfrom
dinosaure:release-vif-v0.0.1_beta2
Open

[new release] vif (2 packages) (0.0.1~beta2)#29458
dinosaure wants to merge 2 commits intoocaml:masterfrom
dinosaure:release-vif-v0.0.1_beta2

Conversation

@dinosaure
Copy link
Contributor

A simple web framework for OCaml 5

CHANGES:

CHANGES:

- Add `Vif.Queries.all` (@reynir, [robur-coop/vif#5][5])
- Improve examples and `README.md` (@dinosaure, @reynir, [robur-coop/vif#7][7], [robur-coop/vif#9][9])
- Rename `Vif.Uri.path` to `Vif.Uri.path` (@dinosaure, @reynir, [robur-coop/vif#8][8])
- Fix errors when we parse `multipart/form-data` (@dinosaure, spotted by @yomimono, [robur-coop/vif#14][14], [robur-coop/vif#22][22])
- Catch exceptions from URI converters (@reynir, @dinosaure, [robur-coop/vif#12][12])
- Add `?etag` argument for files (@reynir, [robur-coop/vif#16][16])
- Be able to have a regular expression per HTTP methods (@reynir, [robur-coop/vif#18][18])
- Add `Vif.Uri.execp` and `Vif.Uri.extract` (@reynir, [robur-coop/vif#20][20])
- Exclude `?` from ``Vif.Uri.string `Path`` (@reynir, [robur-coop/vif#23][23])
- Add `Vif.Response.with_text` (@dinosaure, [robur-coop/vif#24][24], [robur-coop/vif#37][37])
- Fix the support of MacOS (@vvvvv, @dinosaure, spotted by @voodoos, [robur-coop/vif#25][25])
- Introduce `vifu`, a unikernel compatible version of `vif` (@dinosaure, [robur-coop/vif#28][28])
- Fix `Vif.Response.with_file` (@dinosaure, [robur-coop/vif#29][29])
- Fix a double-close on `Vif.Response.with_json` and how the function is exposed (@dinosaure, [robur-coop/vif#30][30], [robur-coop/vif#37][37])
- Let the user to define a log reporter (@voodoos, @dinosaure, [robur-coop/vif#32][32])
- Fix the support of h2 protocol and which field we should generate (@dinosaure, [robur-coop/vif#33][33])
- Use [`flux`](https://github.com/robur-coop/flux) (@dinosaure, [robur-coop/vif#34][34])
- Fix memory leak with `logs` (@dinosaure, [robur-coop/vif#38][38], [robur-coop/vif#39][39])
- Update to `tyre.1.0.0` (@dinosaure, @EmileTrotignon, [robur-coop/vif#40][40])
- Remove the usage of ppx in our tests (@dinosaure, [robur-coop/vif#42][42])
- Verify the TLS configuration given (and its ALPN protocols) (@dinosaure, spotted by @voodoos, [robur-coop/vif#41][41])
- Provide `Vif.Response.with_stream` (@dinosaure, [robur-coop/vif#43][43])
- Remove deprecated `jsonm` dependency (@dinosaure, [robur-coop/vif#45][45])
- Give the possibility for the user to initialize RNG (@dinosaure, requested by @voodoos, [robur-coop/vif#46][46])
- Remove pin-depends (@hannesm, @dinosaure, [robur-coop/vif#48][48])

[5]: https://git.robur.coop/robur/vif/pulls/5
[7]: https://git.robur.coop/robur/vif/pulls/7
[9]: https://git.robur.coop/robur/vif/pulls/9
[8]: https://git.robur.coop/robur/vif/pulls/8
[14]: https://git.robur.coop/robur/vif/pulls/14
[22]: https://git.robur.coop/robur/vif/pulls/22
[12]: https://git.robur.coop/robur/vif/pulls/12
[16]: https://git.robur.coop/robur/vif/pulls/16
[18]: https://git.robur.coop/robur/vif/pulls/18
[20]: https://git.robur.coop/robur/vif/pulls/20
[23]: https://git.robur.coop/robur/vif/pulls/23
[24]: https://git.robur.coop/robur/vif/pulls/24
[37]: https://git.robur.coop/robur/vif/pulls/37
[25]: https://git.robur.coop/robur/vif/pulls/25
[28]: https://git.robur.coop/robur/vif/pulls/28
[29]: https://git.robur.coop/robur/vif/pulls/29
[30]: https://git.robur.coop/robur/vif/pulls/30
[37]: https://git.robur.coop/robur/vif/pulls/37
[32]: https://git.robur.coop/robur/vif/pulls/32
[33]: https://git.robur.coop/robur/vif/pulls/33
[34]: https://git.robur.coop/robur/vif/pulls/34
[38]: https://git.robur.coop/robur/vif/pulls/38
[39]: https://git.robur.coop/robur/vif/pulls/39
[40]: https://git.robur.coop/robur/vif/pulls/40
[42]: https://git.robur.coop/robur/vif/pulls/42
[41]: https://git.robur.coop/robur/vif/pulls/41
[43]: https://git.robur.coop/robur/vif/pulls/43
[45]: https://git.robur.coop/robur/vif/pulls/45
[46]: https://git.robur.coop/robur/vif/pulls/46
[48]: https://git.robur.coop/robur/vif/pulls/48
@hannesm
Copy link
Member

hannesm commented Feb 25, 2026

Looks fine to merge, though there's a test failure with no-flat-float-array (unclear why only there):

# diff --git a/_build/default/test/examples.t b/_build/default/test/examples.t.corrected
# index 734a7e7..6c3240d 100644
# --- a/_build/default/test/examples.t
# +++ b/_build/default/test/examples.t.corrected
# @@ -23,10 +23,9 @@
#    $ vif --pid-file vif.pid examples/07-deflate/main.ml -p $PORT &
#    $ ./waitfile.exe vif.pid
#    $ hurl http://localhost:$PORT/deflate Accept-Encoding:deflate -p=h
# -  transfer-encoding: chunked
# -  content-type: text/plain; charset=utf-8
# -  content-encoding: deflate
# -  connection: close
# +  [00][     ERROR][         application]: Got an error: Impossible to connect to localhost: timeout
# +  hurl: Impossible to connect to localhost: timeout
# +  [124]
#    $ hurl http://localhost:$PORT/gzip Accept-Encoding:gzip -p=h
#    transfer-encoding: chunked
#    content-type: text/plain; charset=utf-8
# @@ -36,7 +35,9 @@
#    $ vif --pid-file vif.pid examples/10-route/main.ml -p $PORT &
#    $ ./waitfile.exe vif.pid
#    $ hurl http://localhost:$PORT/echo/dinosaure -p=b
# -  Hello, "dinosaure"!
# +  [00][     ERROR][         application]: Got an error: Impossible to connect to localhost: timeout
# +  hurl: Impossible to connect to localhost: timeout
# +  [124]
#    $ hurl http://localhost:$PORT/echo/foo -p=b
#    Hello, "foo"!
#    $ hurl http://localhost:$PORT/query foo==42 bar==dinosaure -p=b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants