# \[ANN\] ppx\_deriving\_yaml 0.1.0

**URL:** <https://discuss.ocaml.org/t/ann-ppx-deriving-yaml-0-1-0/7007>\
**Category:** Community\
**Tags:** ppx, announce\
**Created:** [December 22, 2020, 9:08am UTC](https://discuss.ocaml.org/t/ann-ppx-deriving-yaml-0-1-0/7007 "2020-12-22T09:08:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![patricoferris](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/patricoferris/32/3621_2.png) [@patricoferris](https://discuss.ocaml.org/u/patricoferris)\
**Post date:** [October 14, 2022, 3:20pm UTC](https://discuss.ocaml.org/t/ann-ppx-deriving-yaml-0-1-0/7007/2 "2022-10-14T15:20:25Z")

</div>

A new `0.2.0` version has just been released. Thanks to all the contributors (including Outreachy applicants!), there’s a lot of nice additions including:

- `to_yaml` and `of_yaml` attributes allowing you to add custom encoders and decoders
- a `skip_unknown` flag for ignoring yaml keys so you can partially decode yaml values
- a `default` attribute
- `[@@deriving yaml]` is now an alias to `[@@deriving to_yaml]` and `[@@ deriving of_yaml]` so you can get decoders, encoders or both.

See the documentation in the README: [GitHub - patricoferris/ppx\_deriving\_yaml: OCaml types to Yaml types and back again](https://github.com/patricoferris/ppx_deriving_yaml)

---

_[View the full topic](https://discuss.ocaml.org/t/ann-ppx-deriving-yaml-0-1-0/7007)._
