Skip to content

0.8.0

Compare
Choose a tag to compare
@tmattio tmattio released this 04 Jun 11:45
· 10 commits to main since this release
5aad207

CHANGES:

Added

  • Added an hello command to generate a tutorial project
  • Added a parse_binaries stanza that can be true to force Spin to parse binary files
  • Added a raw_files stanza that takes a list of file or glob expressions to instruct Spin to copy files instead of parsing them
  • Added a new c-bindings template for C bindings using ctypes
  • Added a new js template for javascript applications with js_of_ocaml

Changed

  • Removed the gen subcommand. The generators will come back with a much better workflow
  • Dropped support for Esy and Reason. The templates are now using the recommended OCaml setup only. The previous templates are hosted at https://github.com/ocaml-templates/
  • Changed the templates to use the ISC license
  • Increase version of ocamlformat to 0.18.0 in templates
  • Do not install merlin when installing dev dependencies in templates
  • Drop support for BuckleScript in PPX
  • Drop support for publishing on NPM for CLI and PPX templates
  • Update CI scripts to ocaml/setup-ocaml@v2
  • Remove python dependency to serve documentation in Makefile
  • Inline release script in Makefile
  • Remove global -open StdLabels in templates
  • The spa template has been removed from the official templates and now lives at https://github.com/ocaml-templates/spin-incr-dom
  • Spin does not parse binary files by default anymore, they are simply copied to the destination folder
  • Use test stanza for unit tests now that Alcotest prints colors by default
  • Remove unused flags defined in the root's dune file

Fixes

  • The project generation will now fail before the configurations prompt if the output directory is not empty
  • By default, Spin now creates a local switch for the generated projects. This can be changed with spin config, or by setting the env variable SPIN_CREATE_SWITCH=false
  • Fix an CLI incompatibility between opam.2.0.X and opam.2.1.X that made Spin unusable with the former.