All notable changes to this project will be documented in this file.
type<T>()Casting Helper: Added the runtime helper and export oftype(value)in core and typings to support explicit type casting for custom element properties.useObjectStateHook: IntroduceduseObjectStateto manage grouped local states with partial updates and shallow property comparisons, reducing rendering overhead.SYMBOL_EVENTBranding: Added internalSYMBOL_EVENTmarker to the dispatchers created byevent().
- Compiler Compatibility (TypeScript 7.0/6.0): Migrated
types/tsconfig.jsoncompiler options to targetNodeNextmodule resolution and added"ignoreDeprecations": "6.0". Removed deprecated"baseUrl": "./". useEventBrand Verification: UpdateduseEventto verify if a property/method on the custom element is an actual event dispatcher created byevent()via theSYMBOL_EVENTbrand check before calling it, preventing runtime crashes.usePromiseDefault Behavior: Configured theautorunoption to default totruewhen options are supplied as an object.useListenerType Signature: Changed the event listener argument type from(event: unknown) => anyto(event: any) => anyto restore ergonomics for specific handler types (likeMouseEvent) under strict compiler checks.
- TS Server Performance & Memory Usage: Replaced the expensive global constructor resolution mapping over
globalThiswith abstract new type constructor constraints (Types = Type<abstract new (...args: any[]) => any>), eliminating infinite loops and hangs in the IDE. - JSX Tag Performance (
DOMCleanKeys): Substituted dynamic template literal patterns inDOMCleanKeyswith a flatExcludestatement over native DOM prototypes, preventing costly string wildcards for 150+ HTML/SVG elements. - Default Config Fallbacks: Removed default type parameter constraints on component initialization in
types/component.d.tsto ensure components without configurations default strictly toSchemaComponentGenericConfig(with empty props{}) rather than widePropTypes, resolving type degradation oncurrentTarget.
In this release, we consolidated the workspace instruction set under .agents/skills/ by replacing 14 separate, fragmented sub-skills with a single unified, structured atomico skill directory.
This restructuring offers major advantages for agentic coding and developer guidance:
- Drastically Reduced Context Overhead: Instead of loading multiple redundant agent skill definitions (which polluted the context window and consumed large token budgets), a single router skill manages all references.
- Modular Directory Structure:
Reference guides and coding standards are organized into clean subdirectories (
/rulesand/examples). The agent only indexes what is necessary when it needs it, keeping prompt sizes minimal and reasoning speed fast. - Unified Validation Pipeline: The validation checks and testing scripts (Phase 1 Semantic Lints and Phase 2 Compiler Verification) are centralized in one document, enforcing a strict contract for all code generation.
- Improved Maintenance and Discoverability: Developers can easily update and discover workspace guidelines in one central folder rather than maintaining fragmented skill packages.