0.8.0
CHANGES:
Added
- Added an
hello
command to generate a tutorial project - Added a
parse_binaries
stanza that can betrue
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 usingctypes
- Added a new
js
template for javascript applications withjs_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
to0.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 variableSPIN_CREATE_SWITCH=false
- Fix an CLI incompatibility between
opam.2.0.X
andopam.2.1.X
that made Spin unusable with the former.