# \[ANN\] DkML Install API 0.4.0

**URL:** <https://discuss.ocaml.org/t/ann-dkml-install-api-0-4-0/12665>\
**Category:** Community\
**Tags:** dkml, announce\
**Created:** [July 22, 2023, 5:50am UTC](https://discuss.ocaml.org/t/ann-dkml-install-api-0-4-0/12665 "2023-07-22T05:50:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jbeckford](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/jbeckford/32/3027_2.png) [@jbeckford](https://discuss.ocaml.org/u/jbeckford)\
**Post date:** [September 16, 2023, 1:35pm UTC](https://discuss.ocaml.org/t/ann-dkml-install-api-0-4-0/12665/2 "2023-09-16T13:35:08Z")

</div>

### DkML Install API 0.5.1

This was newly released today. It has some backwards-incompatible changes which necessitated bumping to 0.5.x:

- Only register desired components. Previously all the components in the `ocamlfind` universe (ex. opam switch) were registered. Now only chosen components and their dependencies are registered.
- Add install/uninstall dependencies to META of each component opam package. For now this is duplicative with Component Registry, but gives access component graph purely with `ocamlfind` so can be used at code generation time.

And there is one bugfix:

- Print both error message and backtrace, not just backtrace.

DkML Install API 0.5.1 was the version used to create the [DkML 2.0.3 Windows installer](https://gitlab.com/dkml/distributions/dkml/-/releases/2.0.3) thanks to the financial support of the [OCaml Software Foundation](https://ocaml-sf.org/).

---

_[View the full topic](https://discuss.ocaml.org/t/ann-dkml-install-api-0-4-0/12665)._
