v0.2.0
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.Include JS runtime script when a Component has any JS/CSS scripts
Refactor
- Citry now raises error when template contains
<c-slot name="X">, butComponent.SlotsomitsX.
A component without a Slots class accepts any fills and is unaffected.