Repository navigation
2.8.0
What's Changed
- New
COTTON_ISOLATE_BY_DEFAULTsetting (defaultFalse). Opt in to have every component rendered with smart isolation: parent template variables are blocked, context processor output is kept,onlystill gives total isolation. Replaces the experimentalCOTTON_ENABLE_CONTEXT_ISOLATION, which still works with a deprecation warning. By @wrabit in #364 - Groundwork for the isolation setting (#327) by @alkapandey1031986-arch in #345
- Cache settings reads and index.html path resolution across component renders by @PhilippTh in #370
- Components not found at the configured path now fall back to the default
cotton/directory and snake_case filename, so they resolve with a customCOTTON_DIRorCOTTON_SNAKE_CASED_NAMES = False. By @wrabit in #372
Docs
- UI docs polish for 0.1.0 by @wrabit in #365
- Fix docs UI kit wiring by @wrabit in #366
- mobile improvements by @wrabit in #367
- Fix docs deploy: pin Railpack python to 3.13.13 by @wrabit in #368
- docs: expand Django Cotton (VS Code) ecosystem entry with current features by @twentyforty in #369
New Contributors
- @alkapandey1031986-arch made their first contribution in #345
- @PhilippTh made their first contribution in #370
Full Changelog: 2.7.2...2.8.0