0.9.0
This is a major update to the Tangram Android SDK and the Tangram iOS SDK. There are breaking changes to both SDK interfaces in this release.
Features
- Textures can now be assigned to individual draw rules, not just styles (#1665).
- URLs throughout the library interfaces and in scene files are handled more consistently and in compliance with relevant IETF standards (#1659).
- Draw rules using the point style without a texture can now specify an outline (#1702).
Fixes
- Unit tests can now be run on macOS (#1686).
- Colors returned from JS functions as arrays now put the array values into the correct color channels (#1689).
- Fixed a potential access of uninitialized memory in the
Map
implementation (#1710, thanks @cleeus!). - Calls to synchronous scene loading methods now block until any unfinished asynchronous scene loads complete, preventing unexpected loading behavior in some situations (#1722).
- On Linux and Raspberry Pi, HTTP network requests now follow up to 20 redirects (36e7633 and 7865a3a).
- Fixed a potential crash when performing an asynchronous scene update while an asynchronous scene load is in progress (#1705).
- Fixed an issue where data sources could fail to refresh after a call to
requestRender()
(#1738). - Fixed some robustness issues reported by a static code analyzer (#1737).
Android
- Published Android AARs no longer include binaries for
armeabi
architecture.armeabi-v7a
,arm64-v8a
, andx86
architectures are still included (#1664, #1739). - Android demo application no longer requires an API Key to compile (#1687).
- Breaking change: Methods for starting and cancelling URL requests now return and accept a handle that uniquely identifies the request.
iOS
- Published iOS frameworks no longer include binaries for
armv7s
ori386
architectures.armv7
,arm64
andx86_64
architectures are still included (#1675). - Building the iOS framework from source now requires Xcode 9 (#1676).
loadSceneFromYaml
inTGMapViewController
no longer starts an asynchronous task (#1700).- Added support for a new Urdu font added in iOS 11 (#1685).
- Fixed memory leaks in
TGMapViewController
(#1701). TGMapViewController
now supports applications operating in background mode (#1716).- The iOS framework now has 100% documentation coverage (#1726).
- Breaking change: Methods for starting and cancelling URL requests now return and accept a handle that uniquely identifies the request.
- Making any scene load call on
TGMapViewController
beforeviewDidLoad
will now result in an error (#1741).