Support

Support

  • Olympe Website

Olympe Code 7.5.0

Release 7.5.0

Olympe Code 7.5.0, released in June 2020.

Requirements

  • requires Orchestrator version 4.12.0 or higher.

Breaking Changes

OF-1268:

  1. olympe.utils.UrlParts was refactored to follow RFC 3986. This implies that :
    • Property protocol was renamed scheme.
    • Property anchor was renamed fragment.
    • Trailing ? was removed from property query of olympe.utils.UrlParts.
  2. olympe.utils.parseUrl now formally returns a olympe.utils.UrlParts typedef.

OF-1260:

  • FileUpload :
    • Remove setReadAsText()
    • Always read as ArrayBuffer (use BinaryConverter.binaryToString() to get back text content)
    • FileUploadItem => Content is an ArrayBuffer
  • olympe.utils.Base64Converter replaced by olympe.utils.BinaryConverter
  • olympe.utils.Base64Converter.Encoding removed
  • olympe.utils.Svc.BASE64 depracted, replaced by olympe.utils.Svc.BINARY_CONVERTER
  • dataUrlToBlob and blobToDataUrl removed from Base64Converter
  • Check the new olympe.utils.BinaryConverter class to see methods that replace those on Base64Converter.
  • singleton getter : olympe.utils.getBinaryConverter() (if really required)
  • helper olympe.utils.stringToBlob removed
  • HTTPRequests have a new response type : ArrayBuffer => Makes possible to create typed blobs
  • Already deprecated olympe.net.HttpRequest.ResponseType removed (use olympe.net.Http.ResponseType instead)
  • Helpers to create files :
    • createFile takes the binary content
    • createFileFromURL take the url (object or external) => should be essentially used for files that refer to an external url.
  • --> DC Files should no longer be created from a data: URL! You have first to convert it to binary if necessary !!
    
  • DC Files :
    • New files always encoded as binary content.
    • getContentAsBinary to get the content as ArrayBuffer
    • getContentAsString to get text file content => decoded as UTF8 from ArrayBuffer so should be used ONLY for text files (json, js, etc).
    • getContentUrl to get the content as a DataURL: the encoding must be provided. It returns an external (e.g. http://olympe.io/) URL when the file is not managed by Olympe.
    • saveAs(name) to save the current file to the disk
  • SC.ImageFile :
    • getContentUrlFlow to get a dataflow of the dataurl of this image content (used for UI components)

OF-1253:

  • HistoryState has become a plain class (formerly a typedef). To instantiate a HistoryState object, one must now invoke the constructor or the provided static method. To access the properties of HistoryState instance, one must now use the dedicated methods.

OF-1231:

  • Must use orchestrator 4.12.0 minimum version.

Bug fixes & Minor improvements

  • OF-1214: Replace all usages of "entry.getTag()" and add the replacement to the good practices of CODE.
  • OF-1225: Synchronise offline files when re-connecting
  • OF-1245: Setting the same complex prop twice deletes it.
  • OF-1254: Valuedef with default value
  • OF-1268: Basic authentication doesn't work with HTTP bricks
  • OF-1282: Implement a binary file converter app to complement the 1.6.0 --> 1.7.0 migration
  • OF-1260: File API improvements
  • OF-1253: Add a method to replace the current state in history manager
  • OF-1246: Cannot register multiple graphDef callbacks
  • OF-1231: Remove ACKs for burst transaction
  • Requirements
  • Breaking Changes
  • Bug fixes & Minor improvements
Olympe Website
Copyright © 2021 Olympe