v0.139.1ยค
Fixยค
- Fix compatibility of component caching with
{% extend %}block (#1135)
Refactorยค
-
Component ID is now prefixed with
c, e.g.c123456. -
When typing a Component, you can now specify as few or as many parameters as you want.
Component[Args] Component[Args, Kwargs] Component[Args, Kwargs, Slots] Component[Args, Kwargs, Slots, Data] Component[Args, Kwargs, Slots, Data, JsData] Component[Args, Kwargs, Slots, Data, JsData, CssData]All omitted parameters will default to
Any. -
Added
typing_extensionsto the project as a dependency -
Multiple extensions with the same name (case-insensitive) now raise an error
-
Extension names (case-insensitive) also MUST NOT conflict with existing Component class API.
So if you name an extension
render, it will conflict with therender()method of theComponentclass, and thus raise an error.