Skip to content

Releases

0.4.1

Choose a tag to compare

@qarmin qarmin released this 22 May 11:30

Version 0.4.1 - 13.04.2026

  • Errors for UnknownMemberAccess and MemberAssignmentTypeMismatch now point to the exact assignment line instead of the function header
  • Improved parser: multi-line expressions (open parentheses spanning multiple lines) now correctly collect used_names, declared_locals, and member_assignments from every continuation line
  • RHS names in member assignments (e.g. obj.x = bad + 1) are now checked for undefined identifiers
  • Arrow-function parameters support destructuring: ({prop}), ([a, b]) patterns are correctly extracted as local bindings
  • for-loop object-destructuring (for (const {key: alias} of ...)) is now supported
  • try_parse_member_assignment correctly marks multi-token RHS as TooComplex instead of misclassifying them
  • MemberAssignment stores the source line number for accurate error reporting; PartialEq intentionally ignores it so snapshots remain stable

0.4.0

Choose a tag to compare

@qarmin qarmin released this 10 Apr 09:30

Version 0.4.0 - 10.04.2026

  • Added UnknownQmlMember error: member access on known QML child ids (e.g. childId.nonExistentProp) is now validated in function bodies, property declarations, and inline assignments
  • Added UnknownConnectionsTarget error: Connections { target: unknownThing } is now caught when the target is not in scope
  • Improved Connections validation: signal handler names are checked against the actual target's signals/properties; opaque or unresolved targets allow all declared handlers
  • Added cross-file id member access validation via parent_id_types: element ids declared in parent files are now visible for member-access checks in child files
  • Auto-generated <prop>Changed signals are now recognised as valid identifiers in all contexts
  • parent now resolves to the actual parent element type for direct children, enabling parent.xxx validation without false positives
  • JS-block property value bodies (text: { if (foo) … }) are now checked for undefined names
  • Qt type methods and signals are added to file scope, preventing false UndefinedName errors for callable Qt members
  • file_members now includes function names from QML files, improving cross-file scope resolution
  • Refactored source: checker.rs split into checker/mod.rs, checker/errors.rs, checker/helpers.rs; check subcommand moved to cmd_check.rs
  • CLI: added --version / -V and --help / -h flags; version printed on every check run
  • Release profile hardened: lto = "fat", codegen-units = 1, overflow-checks = true

0.3.0

Choose a tag to compare

@qarmin qarmin released this 07 Apr 08:23
  • Added support for aliased module imports (e.g. import QtQuick.Controls as QQC2) — aliased types are now resolved correctly without false UnknownType errors
  • Improved parser: handles async function, dotted property assignments (icon.source), multi-line signal handlers, and },/}; as valid block closers
  • Extended C++ member validation to cover property declaration expressions, not only function bodies

0.2.0

Choose a tag to compare

@qarmin qarmin released this 01 Apr 10:50
  • Fixed false positives: QML ids are now resolved file-wide, Qt namespace qualifiers (e.g. ListView.Contain) and inline type instantiations (e.g. Rotation { … }) are no longer flagged as undefined
  • Improved error locations: errors inside function bodies now point to the exact line instead of the function header
  • Extended type-mismatch detection and Q_PROPERTY MEMBER backing fields are now recognized in C++ headers
  • Added Qt 6.11.0 support for built-in type generation; check validates --path/--config before running
  • Added test project, entirelly managed by AI

0.1.0

Choose a tag to compare

@qarmin qarmin released this 12 Mar 21:42

Initial release