Migration notes

Migrate to 0.4.0

Changes to session encoding

Previously all server dates were decoded and converted to the local momentjs objects in the local timezone. Now momentjs objects are in local timezone or UTC depending on the time zone setting on the ftrack server.

To garantuee that a momentjs objects are in your local timezone when displaying or operating on them you can call local:

myDate.local()

Migrate to 0.3.0

Changes to event hub

EventHub.publish has changed to support multiple replies. See EventHub.publishAndWaitForReply for previous logic when reply=true.

ftrack._Event and ftrack._EventHub now exposed without underscore prefix.