Document toolboxDocument toolbox

3.5 Upgrade guide

Upgrade from 1.0.x to 1.1.x or 2.0.x to 2.1.x

We have reworked our sync mechanism to support fine-grained rollback support and improve the developer experience. If you are coming from a previous version of Gantt you will need to write the id of the newly created task, dependency or assignment on the respective CRUD object id when adding items to the server.

Sending server id’s back to the widget

image-20240207-153824.png
image-20240207-153845.png

When you’re dealing with a create CRUD action (or “added“) you will need to set the newly created id of the task, dependency or assignment on the CRUD object as illustrated above. This new server id will then automatically be send back in the response to the widget and be update there.

 

PhantomId on task has been removed

The PhantomId attribute on task has been removed from the widget and can be deleted in your project.