Releases: MafiaHub/Framework
Releases · MafiaHub/Framework
v6.0.0
v5.2.1
CI: Re-enable automated style checks on push and PR Uncomment push/pull_request triggers for the style check workflow and bump actions/checkout from v2 to v4.
v5.2.0
Scripting: Derive event handler resource from function origin (#186) Events.on/once/onLocal/off previously determined "which resource is calling" by reading a mutable global variable (_currentResourceContext) set only during synchronous script loading. Any async boundary (setTimeout, promises, I/O) ran after it was cleared, causing "must be called from within a resource" errors. Fix: use v8::Function::GetScriptOrigin() to derive resource identity from the handler function's definition location. A handler defined in resources/myResource/main.js always carries that file path regardless of when or from what async context Events.on() is called. Three-tier resolution in GetResourceContextWithFallback: 1. Handler function's script origin (async-safe) 2. Explicit _currentResourceContext (synchronous loading) 3. V8 call stack file paths (existing fallback) Refactored GetResourceContextFromStack into reusable GetResourceNameFromScriptPath + GetResourceNameFromFunction methods. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
v5.1.0
Added environment builtin
v5.0.0
Final keyword enforced on final leafs of inheritance chain
v4.4.3
Merge branch 'develop' of github.com:MafiaHub/Framework into develop
v4.4.2
Fix ambiguous call to overloaded function (#184)
v4.4.1
Merge branch 'develop' of github.com:MafiaHub/Framework into develop
v4.4.0
Update CMakeLists.txt
v4.3.5
Proper exception catching