Skip to content

Releases: NativeScript/NativeScript

Jan 27th 2016

27 Jan 12:01
Compare
Choose a tag to compare

Fixed

  • (#1447) Application may fail on iOS with Segmentation Fault: 11 when using ScrollView.

Dec 16th 2015

16 Dec 13:15
Compare
Choose a tag to compare

Fixed

  • (#1235) ObservableArray does not raise its change event when its `length' property is set.
  • (#1228) url with % fixed
  • (#1213) Android build error when space exists in the folder
  • (#1186) Fix currentEntry to return NavigationEntry instead of BackstackEntry
  • (#1179) Listview doesn't seem to clear\reset
  • (#1168) alert with null value is not displayed
  • (#1160) iOS: The image supplied to Label.backgroundImage is rendered upside down.
  • (#1149) Correct TabView icon rendering mode
  • (#1142) ObservableArray does not provide removed items through EventData when an UPDATE action occurs
  • (#1139) Missing attributes in the NativeScript XSD schema
  • (#1018) BackgroundPosition & negative values
  • (#754) The backgroundColor of a Label is not animatable in iOS.

New

  • (#1171) Expose API to get the focus point of pinch gesture
  • (#1140) Expose API for setting origin (a.k.a. pivot or anchor) point for view transformations
  • (#1136) Add Template factory function and use it in the ui/builder, Repeater and ListView components
  • (#1109) min/max and intervals values on date / time pickers
  • (#691) Visibility attribute on ActionItem element
  • (#685) Support CSS text-transform
  • (#501) Better XML declaration error reporting for non-existing element

v1.5.0

24 Nov 12:36
Compare
Choose a tag to compare

Breaking changes

  • The XML namespace (xmlns) of the validator XSD schema changed from
    xmlns="http://www.nativescript.org/tns.xsd" to
    xmlns="http://schemas.nativescript.org/tns.xsd".
    For convenience, the file can now get downloaded via the same URL.

###Fixed

  • (#1089) http toString will raise error if response cannot be converted to string
  • (#1082) Null reference exception in view.android.setOnTouchListener method
  • (#1081) file-system writeTextSync will now unlock the file when it is done writing
  • (#1038) WebView with HTML string source does not render on old Android
  • (#1028) [iOS] SelectedIndex property of the TabView widget does not work
  • (#1021) page.loaded and page.navigatedTo events are fired twice on iOS
  • (#1019) search-bar color not applied correctly
  • (#1012) TextField/TextView CSS color not applied to cursor
  • (#1010) Slider CSS color/background-color support
  • (#1007) When application.start() is called twice on iOS, a meaningful error should be thrown
  • (#1004) ActivityIndicator CSS color support
  • (#1000) Border radius is not working on Android API 17
  • (#998) web-view images now will be loaded correctly with base url
  • (#993) CSS does not support new lowercase element names
  • (#990) Android 6 Webview onReceivedError
  • (#986) [iOS] The switch widget does not show up on the page
  • (#973) iOS owner pattern changed to use WeakRef in order to prevent memory leaks
  • (#966) Observable emits two propertyChange events when created with JSON
  • (#963) Always set base URL in WebView
  • (#955) Gestures event arguments for Android fixed
  • (#941) global.ios missing (consistency)
  • (#940) ListView: Inconsistency retrieving bindingContext in tap handler
  • (#936) Subsequent animation of transition and rotation or scale will appear jumpy in iOS
  • (#889) vertical-align css inconsistency
  • (#820) The x and y components of an Android translate or scale animation are not animated together when delay is specified
  • (#801) Chained animations lose state on iOS
  • (#789) Error in Page Navigating Events order
  • (#781) ios page.showModal platform inconsistancies & bugs
  • (#715) Frame crashes on app restore occasionally
  • (#642) Ability to style other native widgets

###New

  • (#1001) Embed utility fonts: Awesome, Icons, etc
  • (#1102) Ability to specify an animation easing, i.e. curve in a platform-independent manner
  • (#1086) This will now allow the dialog to call the resolve function when cancelled by clicking outside
  • (#1057) Expose scroll event on ScrollView
  • (#1048) Event for start/end of an event
  • (#1041) Support binding for class property of views
  • (#1034) Support CSS white-space: nowrap and normal
  • (#1020) DatePicker and TimePicker stylers added
  • (#1014) Button wrapText property
  • (#977) Smarter LiveSync
  • (#954) added simple showModal() overload
  • (#926) Context as to whether a navigation was back or not
  • (#922) Feature request: Add loading wheel to Dialogs module
  • (#875) CSS feature request: text-decoration
  • (#856) Android 6 support
  • (#849) Implement dismissSoftInput() for search-bar
  • (#841) Distribute TypeScript definitions
  • (#767) Change Android navigation and tabs title color
  • (#727) Provide a way to get a reference to the currently showing modal page instance
  • (#693) ListView - the position of the item after scroll down is not correct
  • (#597) Some Complex Properties are Inconsistent with rest of API - Discussion
  • (#551) Ship a verified image picker plugin
  • (#364) Ability to use built-in system icons on ActionBarItems

Version 1.4.0

12 Oct 10:46
Compare
Choose a tag to compare

Breaking changes

(#774) Animation class no longer has a finished property because an animation can be played multiple times. The play method now returns a new Promise each time it is invoked. Use this to listen for the animation finishing or being cancelled. When upgrading to version 1.4.0 or above simply remove .finished from your code.
Old Code (JavaScript):

animation1.play().finished.then(function () { console.log("Finished"); });
New Code (JavaScript):

animation1.play().then(function () { console.log("Finished"); });
Old Code (TypeScript):

animation1.play().finished.then(()=>console.log("Finished"));
New Code (JavaScript):

animation1.play().then(()=>console.log("Finished"));

Fixed

(#904) Navigate clearHistory sometimes crashes Android with a null pointer exception

(#901) TypeError: using example from docs

(#893) isLoaded is set before calling applyStyleFromScope

(#873) The Repeater is re-creating its children multiple times during initialization.

(#867) utils.ad.async method is not implemented

(#857) Android action dialog actions are not shown if message is provided

(#851) takePicture crashes iOS Simulator

(#848) web-view loads local data with UTF-8

(#843) [iOS] Page is layouted as there is no NavigationBar

(#839) Page background now spans under ActionBar

(#837) Blank Text attribute on SearchBar crashes app

(#835) iOS animations combining several affine transform properties set only the first property on our view after they finish.

(#832) Transformations such as scale, translate, rotate won't be incorrectly affected by the layout

(#819) WebView check for http/https should be case insensitive

(#817) timers.clearInterval doesn't work on Android

(#814) Ternary if and parenthesis makes UI not update

(#808) Segmentedbar selectedIndexChanged doesn't work

(#805) Missing console.dump on ios...

(#793) Label.backgroundColor cannot be animated in iOS.

(#790) Cannot use number values in EditableText's hint field

(#777) ios Border-radius on Label

(#774) If an Animation instance is played more than once, the same promise is resolved each time leading to unexpected results.

(#772) Placeholder with an id attribute doesn't call creatingView handler

(#763) 1.3 - Can not build new project due to missing App_Resources

(#759) Android animations that animate a property to its current value do not run.

(#756) Nordic characters: "æøå"

(#744) iOS 9 issues

(#732) Closing an alert on the iPad crashesh the whole app.

(#605) Guard for "undefined" in Observable's on and off

New

(#890) Implement Page background option to span under status bar (iOS only)

(#766) Rename cssClass property to just class

(#740) Modules does not support iOS9

(#713) ReturnKeyType Listener

(#283) Cross platform way to clear history

(#241) Set base URL in WebView to be able to load resources

v1.3.0

16 Sep 09:21
Compare
Choose a tag to compare

Breaking changes

  • (#473) The application.ios.removeNotificationObserver method now requires an observer instance to be supplied as the first argument. The observer instance is obtained from the application.ios.addNotificationObserver method:
var observer = application.ios.addNotificationObserver(UIDeviceBatteryLevelDidChangeNotification,
    function (notification) {
        console.log(notification);
    });
application.ios.removeNotificationObserver(observer, UIDeviceBatteryLevelDidChangeNotification);

Fixed

  • (#680) Fix dialogs module parameter positions and add title as optional parameter
  • (#667) Layout is not updated once Page is shown modally and layout is requested.
  • (#654) Multiple gestures not working for Android
  • (#651) http getJSON never completes when response is not JSON
  • (#623) CSS Inconsistency...
  • (#616) TitleView in ActionBar not taking full width in android 5.1
  • (#613) WebView - support for loading local files
  • (#590) CSS not working on Repeater when bindingContext set on 'navigatingTo'
  • (#587) Animation promise in iOS may never be resolved nor rejected.
  • (#581) HtmlView only for single line?
  • (#557) Handlebar syntax in view with comma breaks silently
  • (#540) border-radius CSS property not applying properly to image on Android
  • (#537) FileSystemAccess.prototype.readText has an async interface, but is synchronous
  • (#535) Random exception when using http.getJSON()
  • (#513) Android backgroundColor animation is not gradual.
  • (#508) iOS Page lack of a background screws the page transitions
  • (#411) Setting invalid value for css properties causes app to crash
  • (#408) ScrollView does not scroll
  • (#360) Changing wrap layout paddings and its view margins runtime causes a crash on iOS.

New

  • (#698) Implement events for the SegmentedBar similar to TabView
  • (#688) JSONP support for HTTP module
  • (#672) html-view doesn't open urls
  • (#670) Add a cross platform "openUrl"
  • (#634) Make SegmentedBarItem bindable.
  • (#619) View.style is not consistent with Declarative UI .style property.
  • (#615) View Component consistancy
  • (#612) CSS @import: Make url optional for local files
  • (#610) Hiding the action bar also hides the headers of a tab view
  • (#578) Add scrollToIndex method to ListView
  • (#558) Bind multiple events on one view
  • (#551) Implement an image picker
  • (#548) Expose public API controlling whether a Page should be added to the navigation backstack or not
  • (#541) Make TabViewItem properties data-bindable.
  • (#530) Ability to set text size of searchBar
  • (#481) Support padding on TextField and Button elements
  • (#473) Add support for Notification Observers (iOS) and Broadcast Receivers (Android)
  • (#451) Improve the Network Stack
  • (#432) Expose all of the iOS UIApplicationDelegate methods as events in the application module
  • (#409) Support for modules that depend on Android AppCompat libraries
  • (#309) Support lower-case-dashed component declaration in the XML
  • (#305) Improve android layout performance by reducing marshalling calls
  • (#255) Implement cross-platform animations support
  • (#169) Create a schema for the XML UI to enable Intellisense inside AppBuilder and other IDEs.
  • (#110) Add support for orientation changed event
  • (#69) Add rotate, translate & scale transforms properties on View
  • (#68) Create common UI module that includes most commonly used UI views

Release 1.2.1

18 Aug 13:38
Compare
Choose a tag to compare

1.2.1 (2015, August 18)

Fixed

  • (#575) Application crashes in Android when there is an ActionBar on the first page.
  • (#576) app.css now applied when there is page-specific css.

Release 1.2.0

27 Jul 07:54
Compare
Choose a tag to compare

Breaking changes

  • (#304) ActionBar/NavigationBar is now defined using the page.actionBar instead of page.optionsMenu. See an example...

New

  • (#393) Create application.android instance immediately and move all android-specific events to application.android.
  • (#391) Implement cancellable back button pressed for Android.
  • (#304) Expose additional properties of NavBar/ActionBar
  • (#294) Add an optional fullscreen parameter to Page.showModal method.
  • (#263) Provide per page option for manipulating NavigationBar
  • (#191) Extend the set of support CSS properties in {N}

Fixed

  • (#423) Showing a modal page from another modal page results in error on iOS.
  • (#422) Login dialog - iOS7: loginResult.userName returns password as a value instead of username
  • (#421) Page.showModal seems completely broken in IOS
  • (#406) Prompt dialog - iOS7: okButton returns result equal to false, cancelButton returns result equal to true
  • (#405) FPS module will now correctly count frames while scrolling in iOS
  • (#395) dialogs.action() causes app to crash on iPad
  • (#372) Simple location app doesn't perform until real gps apps are also running
  • (#368) [Screen Builder] Model is not updated when an observable object property is used in two text fields
  • (#343) Not returning a view on the view parameter of the creatingView event handler of the placeholder crash the application
  • (#322) Creating an Observable by passing a JSON object in the constructor does not define the respective properties on the Observable object instance.
  • (#285) visibility property inconsistent with CSS
  • (#270) BackgroundImage property does not respect the CornerRadius when set to Border.
  • (#261) WebView crash when navigating back

Known issues

  • tns debug ios command is not working. The workaround is to use tns debug ios --framework-path "__path to the iOS runtime__". A fix for this is coming in 1.2.1 which will be released in the week of July, 27th.

Release 1.1.0

11 Jun 13:07
Compare
Choose a tag to compare

Version 1.1.0

Breaking changes

  • (#242) View and GesturesObserver classes have some breaking changes related to gesture operations

Bug Fixes

  • (#267) SegmentedBar CSS color not applied correctly when items are bound
  • (#257) Fix some crashes for ListView's iOS UITableView
  • (#242) Cannot attach gesture observer for more than one gesture (Android).
  • (#234) DatePicker and TimePicker property bindings do not work in Android 5.x
  • (#228) ListPicker for Android shows text after bound to an empty array.
  • (#222) ListPicker showing number of items in list (Ticket938420)
  • (#196) Layout is incorrect after device rotation in iOS when there is navbar
  • (#193) Layout is broken when there is optionsMenu on the first page in iOS
  • (#189) Changing bindingContext affects UI elements that has a binding to bindingContext.
  • (#188) Remaining item when cleared page options menu in ios.
  • (#187) Custom source for UI element binding fails.
  • (#186) Using object get property syntax for binding expressions
  • (#175) Implement weak-event pattern on ListView (when bound to observable)

Features

  • (#280) Change NativeActivity base class in order to be compatible with Android runtime
  • (#244) Expose application level events as real events
  • (#233) Application module event handlers are lacking in parameters
  • (#221) view parent exposed in itemLoading event
  • (#214) Repeater component added
  • (#207) Optimizations
  • (#199) TabView.selectedIndexChanged event
  • (#184) Hint property for TextView
  • (#176) Implement navigatingTo, navigatedTo, navigatingFrom and navigatedFrom events on Page

v1.0.0

29 Apr 10:28
Compare
Choose a tag to compare
Version 1.0.0

v0.10.0

28 Apr 13:47
Compare
Choose a tag to compare
Version 0.10.0