johnwhitington / camlpdf

OCaml library for reading, writing and modifying PDF files
Other
200 stars 28 forks source link

Release for OCaml 5.0 support #49

Closed kit-ty-kate closed 1 year ago

kit-ty-kate commented 1 year ago

Hi,

I can see that master is compatible with OCaml 5.0 but the latest release is not. Would it be possible to get a new release? I can do the release on opam-repository if that can help but i need a tag to hold on to.

johnwhitington commented 1 year ago

Yes, but the tip of master is not suitable, because I've been making big changes recently. I'll find a suitable place in the history to put a tag this weekend, and update this bug when I've done so.

johnwhitington commented 1 year ago

Ok, you can use tag v2.5.3 which is in fact tip of master.

I have tested that the OPAM package graphicspdf still compiles. bytepdf, which is the only third-party package using camlpdf already has a version restraint on it.

There will be a new cpdf at some point, which will support OCaml 5, but I'm deep into rewriting cpdf's text and font support to support TrueType embedding, and it's not stable enough to release easily yet. If I can't release it easily by the time OCaml 5 is released, I'll provide a version which just has the OCaml 5 changes.

johnwhitington commented 1 year ago

v2.6 is on the way soonish, so I am closing this.