Skip to content

citry@0.2.0

Latest

Choose a tag to compare

@JuroOravec JuroOravec released this 02 Jul 09:38
4e64cf2

What's Changed

Feat

  • Citry now logs through the standard logging module, under the "citry"
    logger, with a TRACE level (5, below DEBUG). The logger traces each component,
    slot, and node as it renders. Turn it on to debug a render:

    import logging
    logging.getLogger("citry").setLevel(5)

Fix

  • A default value for a slot set at Component.Slot.<attr> is now correctly used.

Refactor

  • Citry now raises error when template contains <c-slot name="X">, but Component.Slots omits X.

    A component without a Slots class accepts any fills
    and is unaffected.

Full Changelog: https://github.com/citry-dev/citry/compare/citry@0.1.0...citry@0.2.0