MIT licensed by Tom Sydney Kerckhove
Maintained by [email protected]
This version can be pinned in stack with:autodocodec-nix-0.1.1.0@sha256:b15ed8acf6a992fb075b1bbbca4b7e99b1b49e560d630d5abbe994c9ebcf76a8,1243

Module documentation for 0.1.1.0

Changes

Changelog

[0.1.1.0] - 2026-10-06

Changed

  • A comment on a field’s codec, from <?> or <??>, now ends up in the generated option’s description after the field’s own description. It used to be dropped, so documentation written on a shared type’s codec never reached the NixOS module generated from it. This includes a field built with optionalFieldOrNullWith, whose codec sits under the EitherCodec that maybeCodec is.

[0.1.0.2] - 2026-07-14

Changed

  • Lower bound on autodocodec >=0.6

[0.1.0.1] - 2026-04-25

Changed

  • Attribute keys that are not valid Nix identifiers are now quoted in rendered expressions.

[0.1.0.0] - 2025-02-13

Added

  • The Autodocodec.Nix.Render module for rendering values as Nix expressions.

Changed

  • Moved the options code into Autodocodec.Nix.Options.
  • Moved the expressions code into Autodocodec.Nix.Expression.

[0.0.1.5] - 2024-11-04

Changed

  • More accurate support for EitherCodec in ObjectCodecs. Options’ types in an object are now or-ed.

[0.0.1.4] - 2024-08-22

Changed

  • More accurate support for EitherCodec in ObjectCodecs.

[0.0.1.3] - 2024-08-22

Changed

  • Made required object codecs produce a required type.

[0.0.1.2] - 2024-08-21

Changed

  • Fixed the nix type that corresponds to null.
  • Fixed that some nix types were not being simplified enough.

[0.0.1.1] - 2024-08-20

Changed

  • Fixed the nix type that corresponds to Word.

[0.0.1.0] - 2024-07-31

Changed

  • More precise types for EqCodec codecs like enums.

[0.0.0.0] - 2024-07-19

Initial version