0.1.0

Breaking changes

Added

Fixed

Changed

Migration from 0.0.x

Replace the old import and module prefix:

(* 0.0.x *)
open Pgn_logic

let diagrams = Pgn2tex.parse_diagrams_json json
let tex = Pgn2tex.to_tex pgn ~diagram_data:diagrams ~clock:false

(* 0.1.0 *)
let diagrams = Pgn_to_tex.parse_diagrams_json json
let tex = Pgn_to_tex.to_tex ~diagram_data:diagrams ~clock:false pgn

Use Pgn_to_tex.empty_diagrams when a game has no diagrams. Diagram data is now abstract, so replace any hand-built MoveMap.t with Pgn_to_tex.parse_diagrams_json. The JavaScript to_tex function keeps the same three arguments; only the artifact name changed.

0.0.2

v0.0.1

v0.0.1-rc.2

v0.0.1-rc.1

v0.0.1-alpha.2

v0.0.1-alpha.1