Repository navigation
v.2.1.3
Classy v2.1.3
A documentation-focused release. There are no functional or API changes, so upgrading from 2.1.x is safe and requires no code changes.
Note
The major changes (the internal architecture overhaul, context and metadata support, and the new module layout) landed in v2.1.1. If you're coming from an older version, start there.
Documentation Updates
The README has been rewritten and expanded:
- Complete API reference, covering:
- Constructors:
Classy.newandClassy.newClass. - Component helpers:
getComponent,getComponents,callOnAllComponents,applyComponents, andemit. - The global registry:
registerGlobalandgetGloballyRegistered. - Classy and Applied object members, signals, and exported types.
- Constructors:
- Full settings reference. Every
ClassyConfigoption is now documented with its type and default:ClassNames,Ancestors,Predicate,Logging,RemoveTagOnCleanup,Nuke,NamingConvention,WaitForMetadata, andContext. - Triggers and metadata guides, explaining how
Triggersmap to methods throughClassy.emitand how metadata is stored on instances. - Lifecycle notes, covering automatic
InitandDestroycalls,NamingConvention, and how instances are revoked when they stop passing the config checks. - Refreshed examples, using
ObserveAppliedin place of the rawInstanceAddedsignal. It also covers instances that were already applied. - New layout, with a centered header, badges, a navigation bar, a feature overview, installation and dependency tables, collapsible sections, and a contributing guide.
Installation
[dependencies]
Classy = "jaeymo/classy@2.1.3"Full Changelog: v2.1.1...v2.1.3