nirum v0.5.0 Release Notes

  • ๐Ÿš€ Released on August 24, 2018.

    Language

    • The uri type has completly gone; use url instead. [#126, #281 by Jonghun Park]
    • Added [@numeric-constraints](docs/annotation.md#numeric-constraints) annotation to constraint the range of unboxed types' values. [#206, #271 by Seunghun Lee]

    ๐Ÿ“„ Docs target

    • Docs target became to support manual pages besides reference docs extracted from Nirum source codes. It scans all CommonMark (i.e., *.md) files and transforms them to HTML pages.
    • CommonMark in docstrings became to support table syntax extension.
    • CommonMark in docstrings became to have a limited subset of special attributes extension. It's only allowed to heading elements and only anchor identifiers are supported (e.g., {#header-id}).
    • style, header, and footer options were added. These options purpose to customize the look and feel of the result pages.
    • Fixed an incorrect processing of CommonMark thight list items: it had crashed when a thight list item contains blocks other than paragraphs.
    • Package's version became shown on the generated docs. [#297, #304 by Jeong Ukjae]
    • Added opengraphs option for OpenGraph objects on docs. [#283, #305 by GyuYong Jung]
    • Added syntax highlighting including Nirum. [#310, #311, #313, #324 by MinJune Kim]
    • Added anchor links to types. [#225, #321 by Park Hyunwoo]

    Python target

    • Python 3.7 support. [#298, #300 by Alan D.J. Synn]
    • Fixed a bug that an uncaught NameError raises (instead of following the standardized way to handle validation errors through on_error) when a serialized value of a mapping lacks "key" or "value" field and a type/union tag/service named key-error is defined in the same module at the same time. [#318 by Dongwook Kim]
    • Fixed a bug that an uncaught NameError raises (instead of following the standardized way to handle validation errors through on_error) when a serialized value of a bigint is not an integral decimal string and a type/union tag/service named value-error is defined in the same module at the same time. [#318 by Dongwook Kim]

    Et cetera

    • Dropped 32-bit Windows support.