Skip to content

Latest commit

 

History

History
701 lines (499 loc) · 36.9 KB

CHANGELOG.md

File metadata and controls

701 lines (499 loc) · 36.9 KB
title description position publish slug previous_url
iOS Runtime Changelog
NativeScript iOS Runtime Changelog
6
false
ios-changelog
/Changelogs/iOS Runtime

6.5.2 (2020-07-09)

Bug Fixes

  • runtime: invalid isa pointer access in ios 14 (#1275)

6.5.1 (2020-05-20)

Bug Fixes

  • runtime: Private root classes cause infinite loop (#1270)
  • metadata-generator: Static frameworks from .o (#1271)

6.5.0 (2020-03-18)

Bug Fixes

  • metadata-generator: Typings generation of global functions (#1250)
  • runtime: Icons from inner resource bundle named as its framework are missing (#1252, #1257)

6.4.2 (2020-02-17)

Bug Fixes

  • debugging: Do not close data socket prematurely (#1254)

6.4.1 (2020-02-14)

Bug Fixes

  • metadata-generator: Typings generation of global C functions (cbf89d0)
  • runtime: iOS runtime Marshalling returns NSObject - Objective-C iOS-onfido-sdk(#1251)

6.4.0 (2020-02-04)

Features

  • metadata-generator: Customize metadata generation to avoid adding unnecessary unused JS wrappers according to specified black/white lists (#1209)

Bug Fixes

  • project-template: Make the pbxproject fastlane compatible (#1240)
  • runtime: Correctly retrieve discarded exceptions flag (fdaffaf)
  • webkit: Safari Inspector shows error on startup (#1238)

6.3.0 (2019-12-11)

Features

Bug Fixes

  • debugger: Chrome DevTools console evaluation doesn't work with tns debug --start (#905)
  • inspector: Conditional breakpoints by Chrome DevTools frontend (#1215, fixes #1181)
  • project-template: Remove build scripts from target (#1224)
  • runtime: Crashes after destroying a worker runtime (#1213, fixes #1163 and #1139)
  • runtime: Do not hide property with more accessors (#1226, fixes #1223)
  • runtime: Don't crash app if discardUncaughtJsExceptions flag is present (#1230)
  • runtime: Lookup into native MD tables when searching by name (#1218, fixes #712 and #1223)
  • metadata-generator: Generating TSC declarations fails due to Metadata generator error w/specific imports (#1233)

6.2.0 (2019-10-30)

Bug Fixes

  • marshalling: Objective-C functions returning unsigned char * are not correctly interpreted in {N} (#1196)
  • runtime: Do not lose exception in TS extends (#1211)

6.1.1 (2019-09-18)

Features

Bug Fixes

  • Sporadically native exceptions cannot be caught in JS try/catch (#1207)

6.1.0 (2019-09-04)

Features

  • Error.prepareStackTrace method support and change the format of the stack trace to be the same as in Android (#1135)
  • Expose internal interfaces' members to JS (#1127)
  • Support app refresh through the notifications service (#1191)

Bug Fixes

  • debugging: Dispatch messages to global GCD queue (18a526e)
  • debugging: Improve user experience when app crashes in debugger (c09819f)
  • interop: Reset pointer after free (2ac4f84)
  • metadata-generator: Improve detection of static frameworks (#1177)
  • metadata-generator: Metadata generation failed with tns-ios@6.0.2 (#1197)
  • project-template: Add LDPLUSPLUS variable (#1203)
  • project-template: Correctly get architecture in nsld with Xcode 11 (#1179)
  • runtime: Change the format of the stack trace to be the same as in Android(#1180)
  • runtime: Improve error messages thrown by iOS runtime (#1193)
  • runtime: Improve error handling in overriding properties and methods (943948d)
  • runtime: Native properties provided by internal classes are not available (#1149)
  • runtime: null pointer dereference in signal and unhandled exception handlers (#1199)

6.0.2 (2019-08-07)

Bug Fixes

  • metadata-generator: Preserve headers' relative order when sorting (#1182)

6.0.1 (2019-07-17)

Features

  • Update WebKit to version 12.3 (#1147)
  • Support script hash parameter in debugger protocol (#1168)

Bug Fixes

  • project-template: Build fails after adding a watchOS target (#1171
  • project-template: Surround all paths in nsld.sh with quotes (177640c)
  • project-template: Metadata for Swift classes is missing on the first build with Xcode 10.2 (#1166)

5.4.2 (2019-06-13)

Bug Fixes

  • metadata-generator: Place Swift headers at the bottom of the umbrella header (#1153)
  • jsc: Incorrect sources shown in Chrome DevTools when attaching to application (#1158)

5.4.1 (2019-06-06)

Bug Fixes

  • bridge: Synchronize access to Strong handles in collection adapters (#1144)
  • workers: Memory leak when creating/wrapping native objects in worker.onmessage(#1137)
  • metadata-generator: Convert unsigned 64-bit enum values to signed (#1150)
  • jsc: Prevent 2nd destructor call from ThreadSafeRefCounted (60b589bc5547b)

Features

  • Dump Native and JS callstacks on signal (6ec5d5c)

Performance Improvements

  • Cache result in getSystemVersion() (f0e9253)

5.4.0 (2019-05-15)

What's new

Bug Fixes

  • project-template: Change angled bracketed includes to quoted (#1116)
  • metadata: Copy stderr log to yaml dir (#1119)
  • marshalling: return WrappedObject for classes with no meta (#1125)
  • runtime: Unicode properties (#1129)
  • runtime: added const to avoid using seen as global ()
  • metadata: Stop randomizing modules' order of serialization (#1141)

5.3.1 (2019-04-01)

Bug Fixes

  • livesync: __onLiveSync function must be called on the UI thread (#1108)

5.3.0 (2019-03-27)

Breaking changes

  • runtime: UIApplication's deprecated writable properties are now read-only (#1104)

What's new

  • metadata: Metadata generator upgraded to use LLVM 7.0.0 (#1082)

Performance Improvements

  • runtime: Lazy evaluation of properties (#1100)

Bug Fixes

  • build: Can't compile runtime with CMake 3.14 (#1097)
  • debugger: Unable to debug onNavigatingTo event (#1021)
  • debugger: Chrome DevTools: can set breakpoint in the middle of multiline log (#1036)
  • debugger: Catch and log inspector_modules.js loading errors (#1081)
  • debugger: VSCode debugger crashes on old simulators (#1084)
  • debugger: {N} app crashes when inspecting SearchBar with VSCode debugger (#1085)
  • debugger: Chrome DevTools: console.trace() doesn't log call stack in Chrome's Console (#1099)
  • debugger: Console evaluation doesn't work with tns debug ios --bundle (#1054)
  • debugger: Empty Elements tab in Chrome with tns debug ios --bundle (#1055)
  • debugger: Cannot add watch expressions with tns debug ios --bundle (#1056)
  • debugger: No requests are shown in Network tab with tns debug ios --bundle (#1057)
  • webkit: Make JSC log to system logs instead of only to stderr (#1093)

5.2.1 (2019-05-23)

Bug Fixes

  • bridge: Synchronize access to Strong handles in collection adapters (b1cfb82)

Features

  • Dump Native and JS callstacks on signal (11304ed)

5.2.0 (2019-02-12)

What's new

  • api: Add OnDiscardedError handler (#1051)
  • api: Provide API to release the native object wrapped by a JS one (#1062)
  • runtime: Add support for Objective-C methods with same JS name and different parameters (#1013)
  • runtime: Provide automatic garbage collection triggering (edbf653), closes #1035
  • runtime: Provide support for setting JSC options in {N} applications (#1004)

Bug Fixes

  • bridge: Don't read JS properties without obtaining a lock (8786f80)
  • bridge: Catch ObjC Exceptions and throw them to JS (#1043, #1029),
  • bridge: Don't read returned value of a function which threw an exception (bdfdd9c)
  • bridge: Marshal arguments of async calls in worker thread (30bcaca)
  • bridge: Remove ObjCWrapperObject from cache after dealloc (b3713cb)
  • interop: Interop.Pointer int64 creation from NativeScript side (#921)
  • interop: Add methods toHexString and toDecimalString to Pointer (8b4157f)
  • interop: Construct Pointer from a wrapped number (8d69895)
  • runtime: Keep JS instances in Strong references after creation (0e09ac9)
  • runtime: GVRKit plugin metadata generation issue (#877)
  • runtime: UncaughtExceptionHandler is called 2 times (#1049)

5.1.1 (2019-01-17)

Bug Fixes

  • debugging: Ensure a valid listenSource on each AttachRequest (#1058)
  • debugging: Logs are not shown in Chrome console tab (#1037)

5.1.0 (2018-12-11)

What's new

  • Generate .dSYM package for NativeScript.framework (#1016)
  • Update WebKit from iOS 12.0 tag (#1011)

Bug Fixes

  • marshalling: Memory leak in IsObjcObject (#1018)
  • template: Remove VALID_ARCHS from project.pbxproj (#1027 related to NativeScript/nativescript-cli#4197)
  • libffi: Cannot handle double3, double4, SCNVector3 function parameters(#979)
  • metadata-typings Accept Pointers and References for char* args (#1022)

5.0.0 (2018-10-31)

Breaking Changes

What's New

Bug Fixes

4.2.0 (2018-08-07)

What's New

Bug Fixes

4.1.1 (2018-06-19)

Bug Fixes

4.1.1 (2018-06-19)

What's New

Bug Fixes

4.0.1 (2018-04-10)

What's New

Bug Fixes

3.4.1 (2018-01-11)

Bug Fixes

3.4.0 (2017-12-20)

Bug Fixes

3.3.0 (2017-10-26)

What's New

3.2.0 (2017-09-07)

What's New

Bug Fixes

3.1.0 (2017-06-22)

What's New

3.0.1 (2017-05-17)

Bug Fixes

3.0.0 (2017-05-03)

What's New

Bug Fixes

2.5.1 (2017-05-17)

Bug Fixes

  • Fix the AppIcon setting - #743

2.5.0 (2017-02-01)

What's New

  • Support for Chrome DevTools remote debugging

2.4.0 (2016-11-16)

What's New

  • Update the JavaScriptCore Engine (100% ES6 support)
  • [Experimental] Multithreading support enabled with Web Workers API - #620

2.3.0 (2016-09-15)

What's New

  • Marshalling Objective-C class properties - #635

Bug Fixes

  • Fix debugging without rebuild on iOS device - #634

2.2.1 (2016-08-16)

Bug Fixes

  • Fixed struct marshalling on x86_64 architecture

2.2.0 (2016-08-10)

  • LiveSync improvements

2.1.1 (2016-07-06)

Bug Fixes

  • Add CFBundleVersion and CFBundleShortVersionString keys in the Info.plist of the NativeScript framework

2.1.0 (2016-06-30)

Bug Fixes

  • Various debugging and LiveSync improvements

Breaking Changes

  • Removed iOS 7 support

2.0.1 (2016-06-02)

Bug Fixes

2.0.0 (2016-04-27)

Bug Fixes

1.7.0 (2016-03-16)

What's New

Bug Fixes

1.6.0 (2016-02-17)

What's New

Bug Fixes

1.5.2 (2016-01-04)

Bug Fixes

1.5.1 (2015-12-16)

Bug Fixes

What's New

1.5.0 (2015-11-24)

Bug Fixes

What's New

Breaking Changes

1.4.1 (2015-10-23)

Bug Fixes

1.4.0 (2015-10-12)

What's New

Bug Fixes

1.3.0 (2015-09-16)

What's New

Bug Fixes

1.2.2 (2015-08-18)

Bug Fixes

1.2.1 (2015-08-11)

Bug Fixes

1.2.0 (2015-07-24)

What's New

Bug Fixes

1.1.0 (2015-06-10)

Milestone 1.1.0, Release v1.1.0.

What's New

  • NativeScript for iOS is now built using CMake
  • The runtime is now distributed as a static library and a Cocoa Framework
  • API metadata now includes information about Clang modules
  • NativeScript apps for iOS no longer ship with a WebSocket server for debugging, but rely on a plain TCP socket instead
  • Removed backwards compatibility for the pre-0.10 behavior when looking for tns_modules

Bug Fixes

  • The NativeScript CLI iOS template project now strips non-device architectures from embedded frameworks
  • You can now require paths with .js extension
  • Fixed issue where invoking an Objective-C class cluster as a JavaScript constructor with new would cause memory leaks
  • Fixed issue where an inspector frontend connecting to the same app multiple times in a single session would not display sources
  • Accessing JavaScript from multiple threads is properly synchronized
  • The tns-ios package is versioned

1.0.1 (2015-05-08)

  • Escape header and framework search paths in metadata generator

1.0.0 (2015-04-29)

Milestone 1.0.0, Release v1.0.0.

  • New metadata generator using Clang
  • Fix some threading issues
  • C enumeration syntax changed
  • Remove visibility warnings when linking

0.10.0 (2015, April 17)

Milestone 0.10.0, Release v0.10.0.

What's New

  • JavaScript Date is implicitly converted to NSDate and vice versa.
  • JSON object and JS Map, when passed to native, are wrapped in NSDictionary. NSDictionaries do not behave as JSON objects when returned from native.

Bug Fixes

  • We will try to freeze the application on crash if there is a debugger attached so the debugger can be used to examine the errors.
  • When Objective-C exception is thrown from code called from JavaScript, it will be wrapped in JavaScript error and reported to the debugger.
  • We have fixed the “tagged pointers” bug on iPhone 5s with iOS7.0.
  • We have dramatically reduced the “tns-ios” package size by stripping the debug symbols from the NativeScript.framework.
  • We have fixed the project template to properly support the app-id provided from the CLI.
  • We’ve cleaned the package.tgz from some xcodebuild logs and the Chrome version of the inspector.
  • Made submodules public, fixed builds.
  • tns_modules are now expected in the app folder. We are backward compatible but will remove the compatibility in the future.
  • We have updated the project template to use larger resolution.
  • Promise reactions have too low a priority on the runloop.