What's Changed
Feat
-
Citry now logs through the standard
loggingmodule, under the"citry"
logger, with aTRACElevel (5, belowDEBUG). 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">, butComponent.SlotsomitsX.A component without a
Slotsclass accepts any fills
and is unaffected.
Full Changelog: https://github.com/citry-dev/citry/compare/citry@0.1.0...citry@0.2.0