modelx v0.16.0 (19 June 2021)#

This release introduces the following enhancement and changes.

Enhancements#

Introduction of clear methods

The following three methods are introduced.

Model.clear_all deletes all the ItemSpaces and clears all the Cells in the Model. To be consistent with Model.clear_all, The behaviour of Space.clear_all has changed. To inherit the previous behaviour of Space.clear_all Space.clear_items has been introduced.

Introduction of rename methods

The following three methods are introduced.

Backward Incompatible Changes#

Change in Space.clear_all

The behaviour of Space.clear_all has changed. It now clears Cells, in addition to deleting ItemSpaces. Further more, ItemSpaces in recursive child Spaces are also deleted. The previous behavior of Space.clear_all is inherited by Space.clear_items.

Bug Fixes#

  • Creating a child Cells in a UserSpace by the UserSpace.new_cells method now deletes ItemSpaces whose base space or any of its child space has the UserSpace as its base space.

  • Setting the formula of a UserSpace now deletes ItemSpaces whose base space or any of its child space has the UserSpace as its base space.

  • Raise error when trying to set DynamicCells formulas