housekeeping
Neo.mjs v10.1.0 Release Notes
This release includes important fixes and minor improvements, primarily focusing on VDOM optimization, collection performance, and selection model improvements.
Key Updates:
-
VDOM Optimization &
neo-ignoreRefinement (Addresses #7114):
The internal handling of theneo-ignoreflag has been significantly improved. Previously,neo-ignorecould interfere with the VDOM's structural integrity, potentially leading to rendering anomalies, especially in complex layouts like grids, where elements might overlap. Now, a dedicatedneoIgnore: trueflag is added to VDOM nodes, preserving the originalcomponentIdandid. This ensures the VDOM engine can correctly identify and skip sub-trees during diffing, leading to more robust and efficient asymmetric VDOM updates and resolving visual rendering issues such as those observed in grid components. -
Collection Performance Enhancements (Addresses #7115):
Several methods withinsrc/collection/Base.mjs(e.g.,clear,findBy,pop,remove) have been optimized by replacingthis.getCount()method calls with direct access tothis.count. This change streamlines collection operations, leading to improved performance. -
Enhanced Selection Model (Addresses #7116):
Thesrc/selection/Model.mjshas been updated to provide more comprehensive data during selection changes. A newgetController()method has been added, and theselectionChangeevent now includes therecordsarray, offering richer context for selection handling and better integration with view controllers. -
Minor Fixes & Improvements (Addresses #7117):
This release also includes minor cleanups and documentation improvements, such as an updated JSDoc comment insrc/grid/Body.mjsand the removal of a debugconsole.logstatement insrc/main/DeltaUpdates.mjs.