Skip to content

@ifc-lite/mutations@1.15.5

Choose a tag to compare

@louistrue louistrue released this 17 Jun 14:14
· 68 commits to main since this release
730490b

Patch Changes

  • #1149 61bad47 Thanks @louistrue! - Treat a null/unset property value as present, not absent. A property may legitimately exist with no value (e.g. an IFC boolean added from bSDD, which now starts unset rather than defaulting to false), so MutablePropertyView no longer reads value === null as "property does not exist":

    • deleteProperty keys absence off existence (in-session pset membership), so an unset property is still deletable instead of the trash button being a silent no-op.
    • setProperty classifies a write as UPDATE_PROPERTY vs CREATE_PROPERTY by whether the property already existed (not by null value), so undoing an edit to an unset property restores its prior unset state instead of deleting the whole property.
  • Updated dependencies [bfd9004, 248f2c0, ddae2b0]:

    • @ifc-lite/data@2.1.0