Release Notes

0.7.3

18 May 2021
  • fixed

    documentationAdded requirements file to docs folder.

0.7.2

13 February 2020
  • changed

    dependenciesUpdate uuid dependency to version 3.4.0.

0.7.1

12 June 2019
  • changed

    SessionSession.createComponent tries to normalize unicode file names using the NFC form to avoid using e.g. combining diaeresis in component names.

0.7.0

8 February 2019
  • changed

    SessionUpdate Session.createComponent with optional parameters, onProgress, xhr and onAbort.

0.6.0

29 November 2018
  • changed

    SessionAdded support for overriding the API endpoint.

  • fixed

    SessionThe methods getComponentUrl and thumbnailUrl return an invalid URL when the API user contains characters that need to be encoded in URIs.

  • fixed

    Event hubThe event hub is not able to connect when the API user contains characters that need to be encoded in URIs.

0.5.0

23 July 2018
  • new

    SessionSession now supports an ensure method that will if necessary update or create an entity with the given data.

    See also

    Function: ensure

  • fixed

    Event HubNot able to connect to event hub when using the API in a web page hosted on a different port than the ftrack server, unless server URL is specified with a port.

0.4.5

22 November 2017
  • fixed

    Project SchemaprojectSchema.getStatuses() may take a very long time to load for complex project schemas.

0.4.4

17 October 2017
  • fixed

    Event HubUnable to publish events after event hub socket has been disconnected and not automatically reconnected.

0.4.3

29 March 2017
  • changed

    EncodingSessionMultiple occurrences of an entity within the same payload are now merged for all operation types and batched query operations.

0.4.2

27 March 2017
  • changed

    ErrorThe CustomError class now handles server error codes.

  • fixed

    Event HubFlash plug-in notification appears when loading the API in Google Chrome.

0.4.1

14 February 2017
  • fixed

    SessionSession incorrectly raises ServerError instead of more specific ServerPermissionError

0.4.0

9 February 2017
  • new

    EncodingSessionmomentjs dates are now automatically encoded and converted to the server timezone in all outgoing server operations.

  • changed

    Sessionmomentjs dates are no longer automatically cast converted to the local timezone but remains in the timezone of the ftrack server instance.

    See also

    Migrate to 0.4.0

0.3.0

30 January 2017
  • new

    Event hubAdded the possibility to subscribe to events.

    See also

    Handling events

  • changed

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

  • changed

    Eventbackwards-incompatibleftrack._Event and ftrack._EventHub now exposed without underscore prefix.

0.2.0

18 November 2016
  • new

    NodeWebpackInclude a compiled lib folder, so that the package can be imported in a webpack or node project.

    See also

    Installing

  • new

    Added helper method on session for creating and uploading a component from a file.

    See also

    Uploading files

0.1.0

13 June 2016
  • new

    Initial release with support for query, create, update and delete operations.