Cross Platform Modules Changelog ============================== ##2.4.3 (2016, December 15) - [(#3170)](https://github.com/NativeScript/NativeScript/pull/3170) Export set function for cssFile and resources ##2.4.2 (2016, December 7) - [(#3242)](https://github.com/NativeScript/NativeScript/issues/3242) Setting placeholder color on text field crashes is there is no hint ##2.4.1 (2016, December 2) - [(#3217)](https://github.com/NativeScript/NativeScript/pull/3217) Properly extend Error so message and stack appear in error activity ##2.4.0 (2016, November 16) ### Fixed - [(#2942)](https://github.com/NativeScript/NativeScript/issues/2942) ListView with TextField in the Item template not showing Keyboard on Portrait mode - [(#2911)](https://github.com/NativeScript/NativeScript/issues/2911) CSS scale breaks background properties on iOS - [(#2884)](https://github.com/NativeScript/NativeScript/issues/2884) Dialogs stop working in android after another activity is shown - [(#2879)](https://github.com/NativeScript/NativeScript/issues/2879) Function get allTouches() is not working on iOS 10 - [(#2873)](https://github.com/NativeScript/NativeScript/issues/2873) CSS padding requires background-color in latest tns-core-modules on Android - [(#2850)](https://github.com/NativeScript/NativeScript/issues/2850) [iOS only] Percentage margin of layouts not possible - [(#2834)](https://github.com/NativeScript/NativeScript/issues/2834) Animations: scale() syntax does not support only one argument - [(#2813)](https://github.com/NativeScript/NativeScript/issues/2813) The Camera module in Android doesn't handle pemissions for you - [(#2789)](https://github.com/NativeScript/NativeScript/issues/2789) CSS border-width causes text to overflow TextView - [(#2781)](https://github.com/NativeScript/NativeScript/issues/2781) CSS border-color does not recognize rgb and rgba values - [(#2751)](https://github.com/NativeScript/NativeScript/issues/2751) Camera module not working on IOS 10 (only in devices) / It hangs and exit the app - [(#2742)](https://github.com/NativeScript/NativeScript/issues/2742) A failure in the modules on debugging with NativeScript inspector - [(#2741)](https://github.com/NativeScript/NativeScript/issues/2741) Memory leak when using slide transition on Android (API Level 23) - [(#2735)](https://github.com/NativeScript/NativeScript/issues/2735) Navigation is slow on Android with tns-core-modules version 2.3.0 - [(#2733)](https://github.com/NativeScript/NativeScript/issues/2733) [2.3.0] Image gets covered with color of Page color property - [(#2714)](https://github.com/NativeScript/NativeScript/issues/2714) NativeScript IOS Apps Broadcast as iPad in UserAgent String EVEN on iPhone Using http.getJSON() - [(#2712)](https://github.com/NativeScript/NativeScript/issues/2712) Memory leak in GridLayout on Page Navigation - [(#2661)](https://github.com/NativeScript/NativeScript/issues/2661) Styling ActionBar in css file carries over to other view - [(#2596)](https://github.com/NativeScript/NativeScript/issues/2596) Cannot set View id to just a number - [(#2571)](https://github.com/NativeScript/NativeScript/issues/2571) [Android] memory leak for Images - [(#2460)](https://github.com/NativeScript/NativeScript/issues/2460) Taking several picture leads to OutOfMemory Exeption ### New - [(#3044)](https://github.com/NativeScript/NativeScript/issues/3044) FlexboxLayout CSS properties - [(#2986)](https://github.com/NativeScript/NativeScript/issues/2986) Enhancement: Page Imports - [(#2820)](https://github.com/NativeScript/NativeScript/issues/2820) ListView item template selector - [(#2796)](https://github.com/NativeScript/NativeScript/issues/2796) ActionItems lacks proper support for VoiceOver on iOS - [(#2739)](https://github.com/NativeScript/NativeScript/issues/2739) Feature Request: SegmentedBar CSS Support - [(#2738)](https://github.com/NativeScript/NativeScript/issues/2738) Feature Request: Improved TabView CSS Support - [(#2656)](https://github.com/NativeScript/NativeScript/issues/2656) TextField Line Color - [(#2621)](https://github.com/NativeScript/NativeScript/issues/2621) Feature request: Add accessibility labels to views. - [(#2608)](https://github.com/NativeScript/NativeScript/issues/2608) Move the camera module to a plugin - [(#1763)](https://github.com/NativeScript/NativeScript/issues/1763) Default design/theme for the cross-platform UI. A-la Bootstrap? - [(#1650)](https://github.com/NativeScript/NativeScript/issues/1650) Flexbox Layout support - [(#699)](https://github.com/NativeScript/NativeScript/issues/699) Suggestion : Add image rotate left/right - [(#50)](https://github.com/NativeScript/NativeScript/issues/50) Support for pseudo/state selectors in CSS ##2.3.0 (2016, September 16) ### Fixed - [(#2657)](https://github.com/NativeScript/NativeScript/pull/2657) Handle native instances with weak refs in transition closures - [(#2615)](https://github.com/NativeScript/NativeScript/issues/2615) Button with text-decoration cannot change its text - [(#2601)](https://github.com/NativeScript/NativeScript/issues/2601) Text color of the Button not applied, when `text-transform` has been set. - [(#2591)](https://github.com/NativeScript/NativeScript/pull/2591) Label zero height issue fixed. - [(#2586)](https://github.com/NativeScript/NativeScript/pull/2586) Fixed issue when bind to bindingContext and other property. ### New - [(#2649)](https://github.com/NativeScript/NativeScript/issues/2649) ImageView CSS color property support - [(#2593)](https://github.com/NativeScript/NativeScript/issues/2593) Content type with "+json" structured syntax suffix not parsed - [(#2356)](https://github.com/NativeScript/NativeScript/issues/2356) Integrate the iOS .d.ts generator - [(#712)](https://github.com/NativeScript/NativeScript/issues/712) Ability to style EditableTextBase's hint property ##2.2.0 (2016, August 10) ### Fixed - [(#2427)](https://github.com/NativeScript/NativeScript/pull/2427) Refactor application of text decoration, text transform, letter spacing and formatted text - [(#2414)](https://github.com/NativeScript/NativeScript/pull/2414) CSS background-image on Label not loading in iOS - [(#2413)](https://github.com/NativeScript/NativeScript/pull/2413) Multiple HTTP response headers not returned correctly on Android - [(#2391)](https://github.com/NativeScript/NativeScript/pull/2391) App crash when editing text and text-view is removed - [(#2362)](https://github.com/NativeScript/NativeScript/pull/2362) Multiple ScrollViews on one page fires scrollEvent simultaneously - [(#2173)](https://github.com/NativeScript/NativeScript/pull/2173) iOS onSuspend + showModal() returning "Error: This value is not a native object" - [(#2121)](https://github.com/NativeScript/NativeScript/pull/2121) The navigation bar duplicates when going to TabView's "More" tab ### New - [(#2528)](https://github.com/NativeScript/NativeScript/issues/2528) Letter spacing in EM units - [(#2457)](https://github.com/NativeScript/NativeScript/issues/2457) Feature Request - Nested Bindable Observables - [(#1278)](https://github.com/NativeScript/NativeScript/issues/1278) TabView button icons (iOS) - [(#734)](https://github.com/NativeScript/NativeScript/issues/734) Add API to retrieve the following standard user directories under iOS - [(#731)](https://github.com/NativeScript/NativeScript/issues/731) NavigationEntry.bindingContext property ##2.1.0 (2016, June 30) ### Fixed - [(#2383)](https://github.com/NativeScript/NativeScript/pull/2383) android LayoutParams are not overridden - [(#2372)](https://github.com/NativeScript/NativeScript/issues/2372) Custom title on Android fails with exception - [(#2367)](https://github.com/NativeScript/NativeScript/pull/2367) Android 6.0+ sets activity intent extras by default which breaks application resume - [(#2344)](https://github.com/NativeScript/NativeScript/pull/2344) Action bar doesn't handle events properly when a custom button - [(#1655)](https://github.com/nativescript/nativescript/issues/1655) Added CSS not cascadded after screen is built - [(#2310)](https://github.com/NativeScript/NativeScript/pull/2310) Sorting issue with Css Selectors with same specificity. - [(#2301)](https://github.com/NativeScript/NativeScript/pull/2301) Updated webinspector interfaces - [(#2299)](https://github.com/NativeScript/NativeScript/pull/2299) Binding converter calls. - [(#2286)](https://github.com/NativeScript/NativeScript/pull/2286) Visual glitch with manual iOS transitions - [(#2268)](https://github.com/NativeScript/NativeScript/pull/2268) Undefined can be set as localValue to dependency observable - [(#2266)](https://github.com/NativeScript/NativeScript/pull/2266) Animation value sync issues - [(#2263)](https://github.com/NativeScript/NativeScript/pull/2263) Crash when ListView is used in a modal dialog (Android). - [(#2262)](https://github.com/NativeScript/NativeScript/pull/2262) Crash in action bar on iOS 9.3 - [(#2256)](https://github.com/NativeScript/NativeScript/issues/2256) Custom ActionItem gets displaced in iOS - [(#2250)](https://github.com/NativeScript/NativeScript/pull/2250) Ignore the case when getting a response header - [(#2240)](https://github.com/NativeScript/NativeScript/issues/2240) Possible regex issue with CSS class names - [(#2225)](https://github.com/NativeScript/NativeScript/issues/2225) The exit transition of the current page is not played when navigating with clearHistory. - [(#2220)](https://github.com/NativeScript/NativeScript/pull/2220) Close current modal page on livesync - [(#2209)](https://github.com/NativeScript/NativeScript/issues/2209) CSS-Animation w/ iteration-count:infinite is never reset causing OutOfMemory error - [(#2191)](https://github.com/NativeScript/NativeScript/pull/2191) SegmentedBar unbound items not firing selectedIndex change events - [(#2177)](https://github.com/NativeScript/NativeScript/issues/2177) iOS CSS Animation rotate() do not reset the value after 360 degrees rotation - [(#2161)](https://github.com/NativeScript/NativeScript/issues/2161) TranslateX and Animate in iOS strange behaviour on 2.0 - [(#2151)](https://github.com/NativeScript/NativeScript/issues/2151) Add z-index to the public API - [(#2053)](https://github.com/NativeScript/NativeScript/issues/2053) WebView still visible in chrome://inspect after page is destroyed - [(#1948)](https://github.com/NativeScript/NativeScript/issues/1948) Navigation stops working after navigating with clearHistory and a transition - [(#1899)](https://github.com/NativeScript/NativeScript/issues/1899) Android layerType should not be changed if there is no need - [(#1807)](https://github.com/NativeScript/NativeScript/issues/1807) SearchBar.textFieldHintColor not respected on iOS - [(#1425)](https://github.com/NativeScript/NativeScript/issues/1425) Images have margin when added to Layout ### New - [(#1563)](https://github.com/NativeScript/NativeScript/issues/1563) Enable modules snapshot for Android - - [(#2339)](https://github.com/NativeScript/NativeScript/pull/2339) Implement the BorderDrawable class used in background.android.ts in Java - [(#2322)](https://github.com/NativeScript/NativeScript/pull/2322) Added support for debugging TypeScript in WebInspector - [(#2307)](https://github.com/NativeScript/NativeScript/pull/2307) Modules won't call android requestLayout anymore. Android will handle its layout when needed - [(#2304)](https://github.com/NativeScript/NativeScript/pull/2304) Rename com.tns.Async.xxx to org.nativescript.widgets.Async.xxx - [(#2298)](https://github.com/NativeScript/NativeScript/pull/2298) Move UILableImpl as TNSLabel in widgets. - [(#2288)](https://github.com/NativeScript/NativeScript/pull/2288) Decouple Fragment implementation logic from the Extend call. - [(#2271)](https://github.com/NativeScript/NativeScript/pull/2271) Extract the Activity implementation logic in a separate class. - [(#2270)](https://github.com/NativeScript/NativeScript/pull/2270) Avoid excessive requestLayout calls - [(#2269)](https://github.com/NativeScript/NativeScript/pull/2269) Label won't requestLayout when its text is changed if it has fixed size - [(#2260)](https://github.com/NativeScript/NativeScript/pull/2260) Optimized DependencyObject setValue performance - [(#2244)](https://github.com/NativeScript/NativeScript/pull/2244) Remove the android.app.Application extend from the core modules - [(#2217)](https://github.com/NativeScript/NativeScript/issues/2217) Enable hardware acceleration for views animations in Android. - [(#2198)](https://github.com/NativeScript/NativeScript/pull/2198) Image won't requestLayout when measured with 'exactly' spec - [(#2174)](https://github.com/NativeScript/NativeScript/pull/2174) ListView views will apply CSS once per view. - [(#2144)](https://github.com/NativeScript/NativeScript/issues/2144) Performance improvements ##2.0.1 (2016, May 18) ### Fixed - [(#2133)](https://github.com/NativeScript/NativeScript/pull/2133) Removed unnecessary view state creation. - [(#2126)](https://github.com/NativeScript/NativeScript/pull/2126) zIndex fixed for Android buttons - [(#2113)](https://github.com/NativeScript/NativeScript/issues/2113) Panning gesture in Android creates non-smooth delta coordinates. - [(#2100)](https://github.com/NativeScript/NativeScript/pull/2100) Fix navigatedFrom event raised when Activity is destroyed without act… - [(#2099)](https://github.com/NativeScript/NativeScript/pull/2099) Typo in Pointer.getY method for iOS - [(#2084)](https://github.com/NativeScript/NativeScript/issues/2084) App crashes when animating ActionBar - [(#2077)](https://github.com/NativeScript/NativeScript/issues/2077) Animations not working in 2.0.0 on android? - [(#2076)](https://github.com/NativeScript/NativeScript/issues/2076) 2.0 Corrupted navigation stack - [(#2062)](https://github.com/NativeScript/NativeScript/issues/2062) Cannot change the iOS status bar text color since 2.0 ### New - [(#2108)](https://github.com/NativeScript/NativeScript/pull/2108) Add Method to see if camera is available - [(#2102)](https://github.com/NativeScript/NativeScript/pull/2102) clip-path support added ##2.0.0 (2016, April 27) ### Fixed - [(#2018)](https://github.com/NativeScript/NativeScript/issues/2018) Bold and italic do not work on Android when no font family is specified - [(#1982)](https://github.com/NativeScript/NativeScript/issues/1982) UI not updated when propertyChange event of Observable is raised - [(#1963)](https://github.com/NativeScript/NativeScript/issues/1963) Default SegmentedBar items to textwrap false, expose option to configure - [(#1958)](https://github.com/NativeScript/NativeScript/issues/1958) Animate iterations property counts -1 on iOS when value is => 2 - [(#1916)](https://github.com/NativeScript/NativeScript/issues/1916) TimePicker minHour, maxHour are throwing exception when hour is out of their range - [(#1912)](https://github.com/NativeScript/NativeScript/issues/1912) Text-transform not applied on text property change (label, button, etc.) - [(#1905)](https://github.com/NativeScript/NativeScript/issues/1905) Visual states not working properly when the animation is canceled in Android - [(#1902)](https://github.com/NativeScript/NativeScript/issues/1902) CSS text properties not applying on button when no other text element is used in page - [(#1893)](https://github.com/NativeScript/NativeScript/issues/1893) CSS animations from the application-wide .css file do not aply - [(#1887)](https://github.com/NativeScript/NativeScript/issues/1887) Parent directory not created by file-system.File.fromPath() - [(#1878)](https://github.com/NativeScript/NativeScript/issues/1878) Multiple actionView items do not handle tap event correctly - [(#1864)](https://github.com/NativeScript/NativeScript/issues/1864) Generic font families should use system fonts on iOS - [(#1859)](https://github.com/NativeScript/NativeScript/issues/1859) CSS text-transform is not correctly applied in a virtualized ListView - [(#1822)](https://github.com/NativeScript/NativeScript/issues/1822) verticalAlignment "middle" and "center" crash the app on Android - [(#1820)](https://github.com/NativeScript/NativeScript/issues/1820) All topmost().navigate instances stop working after AdMob interstitial close - [(#1813)](https://github.com/NativeScript/NativeScript/issues/1813) Add ability to set attributed text on button - [(#1809)](https://github.com/NativeScript/NativeScript/issues/1809) Unable to show dialog from a modal page - [(#1794)](https://github.com/NativeScript/NativeScript/issues/1794) Update TextBase/Button `text` property when `formattedText` changes - [(#1792)](https://github.com/NativeScript/NativeScript/issues/1792) NSRangeException when typing in a TextField with formatted text - [(#1788)](https://github.com/NativeScript/NativeScript/issues/1788) Difference in jpg resource syntax on iOS/Android - [(#1787)](https://github.com/NativeScript/NativeScript/issues/1787) Going back with the stock "Back" button on iOS always animates the transition - [(#1776)](https://github.com/NativeScript/NativeScript/issues/1776) Swipe back not working since 1.6 - [(#1775)](https://github.com/NativeScript/NativeScript/issues/1775) Using RGBA in CSS - [(#1772)](https://github.com/NativeScript/NativeScript/issues/1772) Unable to open a page with FormattedText on iOS - [(#1770)](https://github.com/NativeScript/NativeScript/issues/1770) Color animations are broken on Android - [(#1570)](https://github.com/NativeScript/NativeScript/issues/1570) 1.6 navigation events firing out of order ### New - [(#1943)](https://github.com/NativeScript/NativeScript/issues/1943) Publish @next builds - [(#1862)](https://github.com/NativeScript/NativeScript/issues/1862) Support for all font-weight CSS values with the best mapping possible - [(#1760)](https://github.com/NativeScript/NativeScript/issues/1760) Add public instance methods to View class for getting locations and sizes - [(#1757)](https://github.com/NativeScript/NativeScript/issues/1757) Support letter-spacing property in CSS - [(#1686)](https://github.com/NativeScript/NativeScript/issues/1686) Allow updates to application CSS - [(#1660)](https://github.com/NativeScript/NativeScript/issues/1660) Feature request: Add CSS ability for other properties - [(#1608)](https://github.com/NativeScript/NativeScript/issues/1608) Add support for CSS 3 animations and transitions - [(#1451)](https://github.com/NativeScript/NativeScript/issues/1451) Enable Android 6 way for requesting permissions - [(#828)](https://github.com/NativeScript/NativeScript/issues/828) Create a 'source'-like property on the View class for debugging - [(#515)](https://github.com/NativeScript/NativeScript/issues/515) CSS style property "z-index" ##1.7.1 (2016, March 22) ### Fixed - [(#1614)](https://github.com/NativeScript/NativeScript/issues/1614) App crashes after a while leaving it open and re-selecting it on Android ##1.7.0 (2016, March 16) ### Fixed - [(#1737)](https://github.com/NativeScript/NativeScript/issues/1737) TypeError from fetch module due to no headers received - [(#1721)](https://github.com/NativeScript/NativeScript/issues/1721) TextField returnPress event not working on Android - [(#1695)](https://github.com/NativeScript/NativeScript/issues/1695) HTTP module does not support multiple headers with same name - [(#1693)](https://github.com/NativeScript/NativeScript/issues/1693) "ui/frame".NavigationEntry.transitionAndroid is not supported - [(#1692)](https://github.com/NativeScript/NativeScript/issues/1692) Apply visibility via binding fails [Android] - [(#1691)](https://github.com/NativeScript/NativeScript/issues/1691) App crash if ActionBar includes an 'id' tag [Android] - [(#1667)](https://github.com/NativeScript/NativeScript/issues/1667) Tap event does not fire when using codeFile in different directory - [(#1631)](https://github.com/NativeScript/NativeScript/issues/1631) The dialogs.confirm throws exception when writing Angular 2 + {N} app - [(#1624)](https://github.com/NativeScript/NativeScript/pull/1624) Fixed jumpy navigation between pages in iOS - [(#1583)](https://github.com/NativeScript/NativeScript/pull/1583) Remove message escaping - [(#1569)](https://github.com/NativeScript/NativeScript/issues/1569) Regression: back button breaks app on clearHistory: true (android) - [(#1559)](https://github.com/NativeScript/NativeScript/issues/1559) Image rotation from camera - [(#1543)](https://github.com/NativeScript/NativeScript/issues/1543) [Android] View._onDetached called twice when app is suspended - [(#1389)](https://github.com/NativeScript/NativeScript/issues/1389) Frame navigate, while Android activity is paused, crash - [(#1078)](https://github.com/NativeScript/NativeScript/issues/1078) FormattedText styling not working in iOS ### New - [(#1602)](https://github.com/NativeScript/NativeScript/issues/1602) Request: AppSettings - clearAll - [(#1488)](https://github.com/NativeScript/NativeScript/issues/1488) Ability to define a custom view in ActionItem - [(#1330)](https://github.com/NativeScript/NativeScript/issues/1330) Allow NativeScript application to define different base class for activity and application - [(#1267)](https://github.com/NativeScript/NativeScript/issues/1267) Implement icon font support for ActionBarItems - [(#1076)](https://github.com/NativeScript/NativeScript/issues/1076) Feature request: Physics - [(#704)](https://github.com/NativeScript/NativeScript/issues/704) Support of Px,rem ##1.6.0 (2016, February 17) ### Breaking changes - Up to v 1.6.0, the background drawable attribute of the buttons in Android was always replaced. To keep the consistency with the default platform-specific background, the attribute is not changed now and the button is only styled. ### Fixed - [(#1534)](https://github.com/NativeScript/NativeScript/issues/1534) FileSystemAccess.fileExists returns true for directory as well - [(#1524)](https://github.com/NativeScript/NativeScript/issues/1524) Label text="{{ anyField }}" should not print out "null" if the field is "null" - [(#1520)](https://github.com/NativeScript/NativeScript/issues/1520) When using remote background images, positioning CSS properties ignored - [(#1467)](https://github.com/NativeScript/NativeScript/pull/1467) Detect JSON response in XHR and auto-parse the response - [(#1463)](https://github.com/NativeScript/NativeScript/issues/1463) fetch/XMLHttpRequest re-URL-encodes first % character in query string - [(#1443)](https://github.com/NativeScript/NativeScript/issues/1443) Impossible to rotate 360 degrees on iOS - [(#1426)](https://github.com/NativeScript/NativeScript/issues/1426) App crash when TabView has more than 5 items and different font-style - [(#1415)](https://github.com/NativeScript/NativeScript/issues/1415) TabView crashes the app when "Don't keep activities" option is turned on - [(#1405)](https://github.com/NativeScript/NativeScript/issues/1405) Complete app crash when tapping around a Textfield at times - [(#1396)](https://github.com/NativeScript/NativeScript/pull/1396) Fixed bug in GridLayout - [(#1381)](https://github.com/NativeScript/NativeScript/pull/1381) Fix originX/Y not applied when set before layout in Android - [(#1371)](https://github.com/NativeScript/NativeScript/issues/1371) ListView Android bug and fix - [(#1359)](https://github.com/NativeScript/NativeScript/issues/1359) Getting error when restore/opening minimized app first time after installation - [(#1349)](https://github.com/NativeScript/NativeScript/issues/1349) FormattedText Span foregroundColor and backgroundColor cannot be set using known color - [(#1340)](https://github.com/NativeScript/NativeScript/issues/1340) Remove global dependency from fetch library - [(#1326)](https://github.com/NativeScript/NativeScript/pull/1326) Fix action-bar when app is put to background and restored (and Do not keep activities is TRUE) - [(#1296)](https://github.com/NativeScript/NativeScript/issues/1296) Change Android button background method - [(#1290)](https://github.com/NativeScript/NativeScript/issues/1290) ListView with rounded items cannot show the background of page - [(#1280)](https://github.com/NativeScript/NativeScript/issues/1280) text-transform breaks child colors - [(#1275)](https://github.com/NativeScript/NativeScript/issues/1275) ActionBar disappears when app closes with back button - [(#1240)](https://github.com/NativeScript/NativeScript/issues/1240) Android 5.x: setting View.opacity (setAlpha) removes its background - [(#1232)](https://github.com/NativeScript/NativeScript/issues/1232) WrapLayout crashes when itemWidth value is too high - [(#1223)](https://github.com/NativeScript/NativeScript/issues/1223) Android image that has a complex background (i.e., with rounded corners) cannot animate opacity correctly - [(#1218)](https://github.com/NativeScript/NativeScript/issues/1218) Setting and instantly animating a property fails for iOS - [(#1177)](https://github.com/NativeScript/NativeScript/issues/1177) Alert dialog in SegmentedBar selectedIndexChanged event blocks navigation - [(#1127)](https://github.com/NativeScript/NativeScript/issues/1127) Changing ActionBar title after page is loaded does not show the ActionBar - [(#1123)](https://github.com/NativeScript/NativeScript/issues/1123) iOS: ActionBar covers the page - [(#830)](https://github.com/NativeScript/NativeScript/issues/830) The border-radius on Android 4.4.4 (Samsung Tab) not applied to