farfromrefug
released this
14 Oct 14:49
·
36 commits
to main
since this release
8.8.6 (2024-10-14)
Bug Fixes
- android:
path.join
now supports SAF paths (to be tested among more paths) (8d9a7ae)
8.8.5-core (2024-10-10)
Features
Bug Fixes
- android:
onConfigurationChanged
now calls what needed only when needed (633e9d6) - android: custom animation
android.style
forshowModal
(aa15af8) - android: layout change listeners are ignored when using addEventListener (#10597) (89fa6ec)
- android: multiple fixes for handling content:// operations in file-system (b3f06a5)
- android: new
configurationChange
and refactored types (3c8d22d) - android: new
dialogOnCreateView
event onApplication.android
(a1b9923) - android: prevent error while using SAF paths (15a566d)
- android: regression after merge (0a44ce9)
- android: RootLayout shade cover null color handling (#10599) (f7b9d06)
- android: targetSdk 34 registerBroadcastReceiver (#10585) (4c70596)
- color: four-digit hex color parse failure (#10593) (8877bec)
- core: android fix if folder content cant be acquired (7e2fba8)
- core: include everything but core.aar in android platforms (#10592) (423a2d2)
- core: iOS fix for showModal just after another modal still dismissing (dce30ab)
- fix for GridLayout and external UI frameworks which could not compare colums/rows to existing property (a05201f)
- Folder and File now have a
isFolder
property (a91cd15) - import fixes (feb958e)
- ios: ApplicationSettings.getAllJSON now uses native method (4cd08ed)
- ios: correct error on
ImageSource.saveToFileAsync
when no native image is passed (4ecf43e) - ios: popover delegate should ignore non-native views (#10609) (ba3316e)
- ios: proper cleanup of reused listview cell content (#10603) (dca7718)
- ios: proper drawing bounds for colored borders (#10600) (75c8e94)
- layout: prevent negative width/height values (#10616) (0506012)
- new
sharedElementFrom
andsharedElementTo
events to handle custom sharedElements. The events has aviews
array that you can fill (ad0a35a)
Reverts
- Revert "chore: trick to get Typings to work correctly. Application event object was using
ApplicationCommon | Observable
which is not compatible withObservable
. RenderingObservable
optional withOptionalAll
did the trick" (92e9d4d)
8.8.0-core (2024-07-11)
Features
__ONLY_ALLOW_ROOT_VARIABLES__
to makegetCssVariables
10x faster (ccb1b08)defaultVisualState
to override 'normal' default visualState (for example to fake disabled state while allowing touch) (a3fefbd)getAllJSON
andgetNative
forApplicationSettings
(0b4f9f7)initRootView
event. (009592a)- allow native string (NSAttributedString / Spannable) to be set as text property for text base components (699b420)
- android: allow shared element transitions to work with ListView/CollectionView/Pager (#10411) (e8c093d)
- android: allow to set
SET_THEME_ON_LAUNCH
in app settings to override app theme (8a6b9d4) - android: background color/image handling improvements (#10451) (4abcb21)
- android: basic
sharedTransitionTags
forSharedTransition
(6780d8d) - android: devtools for elements & network requests (#10506) (5324e50)
- android: new
activityCreate
andfragmentCreate
events (33a1eb8) - config: embed options for existing platform host projects (#10568) (c736f72)
- core: ability to embed into platform host projects (#10465) (779d792)
- core: add
sys://
support for SF Symbol usage on images with effects (#10555) (d678915) - core: css media query support (#10530) (9fd361c)
- core: css-what parser for CSS selectors + support for :not(), :is(), and :where() Level 4 and ~ (#10514) (2fb4f23)
- core: ignoreRegexp argument for
ApplicationSettings.getAllJSON
(475239a) - core: initRootView event (#10442) (82e9c67)
- core: new
defaultVisualState
property option to override 'normal' default visualState (#10440) (31ed40c) - css: support for text-overflow (#10369) (8d25d25)
- css: text-stroke support (#10399) (d647823)
- ios: addDelegateHandler to add App Delegate handlers (#10371) (a959a79)
- ios: allow custom navigationBar and toolbar on frame (#10495) (d67d297)
- ios: allow disabling text animations (#10505) (9ca4902)
- ios: improved shadow handling with background UI rework (#10374) (39eed52)
- ios: SF Symbol scale support via iosSymbolScale (#10569) (80f3ff2)
- leading support for debounce (#10388) (b6a5250)
- SegmentedBar: selectedTextColor added and selectedBackgroundColor improvements (#10474) (3a0afdb)
- selectable property for editable text base. This allow NOT editable textview to still be selectable (e701af4)
- shared-transition: pageOut option for more dynamic page animations (#10350) (9f715c0)
- visionos: ui-mobile-base supporting xros plus improvements to window handling (#10478) (01d537b)
- visionos: Vision Pro support (#10392) (bbede5d)
- webpack: allow custom 'projectName' on Xcode project name from config (#10550) (b8fff38)
- winter-cg: crypto, atob, btoa (#10577) (f7679d7)
Bug Fixes
- always set the parent (f7fe7e2)
getAllJSON
now correctly returns number (though a bit too slow to my taste) (9269988)getRequestedImageSize
fix (58c8568)setAlpha
and otherColor
method were returing aBaseColor
instead of aColor
(9816db1)- accessibilityEnabled fix for for many views/plugins (ae80498)
- action-bar: provide correct page during navigation when title change occurs (#10563) (12dd329)
- allow
openUrl
to throw error (9f44099) - allow
openUrl
to throw error (c1e7988) - allow to cancel
systemAppearanceChanged
event. This can be usefull to override auto theme css update (like for true black mode) (95b01ab) - android:
clipToBounds
was not working (aa8ea81) - android:
openFile
correctly working withcontent://
URLs (625bbdf) - android:
Utils.dismissKeyboard()
not working with modal (#10375) (6d44c2d) - android: added construtor parameter to
PageTransition
to allow changing the timeout use on page load to trigger transition. This can allow some components to be fully loaded and be able to querysharedTransitionTag
(b8f064e) - android: allow custom transition on
goBack
(e89d5cf) - android: allow to hide keyboard from a textfield which was part of a
PopupWindow
. (825863b) - android: background/foreground events fix (06f30b9)
- android: borderRadius / outlineProvider fix for borderRadius is changed back to 0 (8e9dc44)
- android: boxShadow vs clipToOutline fix (2a059ca)
- android: catch and throw errors in ApplicationSettings (06f29e1)
- android: complete native error wrapping for fileSystem (cb192d3)
- android: default clipping is true (5bd5a68)
- android: dont add to parent from
_setupAsRootView
(#10554) (88a0472) - android: dont resize image in ImageAsset loading (7753966)
- android: dont set fontInternal after fontSize for text-base. Useless (ab6f4f6)
- android: faster visibility property (ff39c63)
- android: file-system now support content:// all the way (c32c556)
- android: goBack fix after activity recreated (3d446ea)
- android: image tintColor setter (#10516) (7e1cb19)
- android: ListView tap handling after setting children as focusable (#10522) (03268cc)
- android: more transition fixes (781a718)
- android: native api usage fix for shared element transitions (74478e1)
- android: prevent error if rootView not mounted (though not sure how it could be happening) (acc0b20)
- android: prevent error on navigation back after using page transition (#10439) (7036f12)
- android: prevent error while navigation back after using page transition (a6c6fce)
- android: prevent error while opening modal from background (#10570) (7e9be32)
- android: prevent error while opening modal from background. Also added
android.showImmediatelyFromBackground
to force commit from background (though it does not seem to have a UX difference) (a15edd7) - android: prevent infinite loops text-base change event (42ee720)
- android: prevent rehydration on destroyed dialogs (#10414) (7563549)
- android: proper change of input interaction mode programmatically (#10434) (07d2129)
- android: regression after refactoring of Font (64bb23d)
- android: regression where editing textfield would move the cursor to the end on every change (61a724e)
- android: return native error or we loose stack (f28141d)
- android: rewrite the GridLayout to make as less JNI calls as possible (06df4fa)
- android: shared element transition not working (2a3fd1d)
- android: sustain native error stack (#10467) (b226066)
- android: transition state handling (#10528) (632a348)
- android: trick to get a stack on native exceptions (9aa5e76)
- android: unload/load pages while navigating forward then back (879dd2a)
- android: use nativeTextViewProtected in TextField (#10450) (c5561d6)
- android: wrapNativeException fix for string errors (4229f46)
- android: wrong parameters to force hiding keyboard (9329ac1)
- Application
once
method fix (was not removed after first event) (1c3b5c8) - better handle KeyFrameAnimation errors (da206a1)
- better typings for
getEntities
method in filesystem (5e2d909) - bring back global event listeners (used for sentry) (08f4896)
- class name typo (#10364) (f5f4666)
- cleanup the modal parent once closed. (82d473c)
- color: setAlpha and other methods return proper Color class (#10441) (4f12fee)
- core: android support SAF from android 21 (b3439c7)
- core: box-shadow 'none' handling (#10405) (c23695c)
- core: clean up event handling in Observable (#10531) (53e958e)
- core: clean up event handling in ViewCommon (#10534) (4a7e40d)
- core: drop support for plural event/gesture names (#10539) (9be392f)
- core: font variation settings parser invalid axis (#10427) (0847855)
- core: handle GestureObservers same as event listeners (#10538) (d323672)
- core: inheritable property changes backstack propagation (#10438) (48b1856)
- core: ios ensure animation finish is always called (0084c70)
- core: ios fix for
File.fromPath
with a path starting withfile://
(2b35967) - core: ios fix for animating boxShadow (cdee533)
- core: ios fix for fontScale not applied (1d955f9)
- core: iOS prevent _addViewToNativeVisualTree from _setupAsRootView (21f1a0f)
- core: page frame reference not unset on native view disposal (#10417) (22c21b7)
- core: profile decorator (#10476) (135d37b)
- core: safe important check (#10455) (172d346)
- core: Scroll listener register failure after unregister (#10368) (e4fe276)
- core: stop accepting GestureTypes enum as an eventName (#10537) (3b77fff)
- crypto: error expectation (2bfe8b3)
- css: box-shadow none handling (#10445) (6744009)
- css: prevent duplicate system classes (#10355) (74e6814)
- css: prevent shorthand parse error on 'unset' and 'inset' (#10424) (d70b48b)
- defer
_onCssStateChange
for unloaded views. It will be called once the view is loaded again (c278eed) - disable accessibilty for layout views. Seems unecessary and can be enabled on a per view basis (deed2ef)
- embed: use factory only when it's available (#10579) (9541b1b)
- ensure _resolvedPage is always correct. Would make eachChild not work after navigation (84308eb)
- ensure parent is a frame (it might not be) (b1df9af)
- ensure subRootView dont have a parent (459ee4f)
- fix for classes handling fontSize without setting fontInternal (faster) (e42c32e)
- for now fix
requestAnimationFrame
to work with svelte (bd75a56) - gestures: lowercase gesture handling and add deprecation notice when using non-string events (#10581) (6041b2d)
- handle navigation error to not break future navigation calls (dceea2e)
- improved
wrapNativeException
method (70a7052) - inspector_modules (ae62725)
- ios:
ImageAsset
getImageAsync
fix to return correct image size (3ddbf66) - ios: add/remove shadow for reusable views (#10409) (ee87b52)
- ios: big animations fix (961d355)
- ios: broken transform if set before any layout (de39741)
- ios: can now show modal on top of each other (32f7dce)
- ios: clipToBounds default fix (17757a0)
- ios: correctly load Frame in modal (4207b03)
- ios: dialogs allow to show over already presented controllers. (9236f06)
- ios: ensure children can request layout after suspension ended in
onLoaded
(3e1350d) - ios: fixed opacity not animating anymore (27207e7)
- ios: font variation settings not applied to labels (#10429) (2cf166d)
- ios: live-sync handling for plain js/ts apps (#10500) (7370912)
- ios: non-uniform border angle (#10437) (aba3093)
- ios: now view animation are stacked into one animate block when possible (a065bfe)
- ios: openFile working when called from a modal (848a8b9)
- ios: persist animation after it ends (afec0d7)
- ios: prevent animation while changing background effects (43a32d4)
- ios: prevent not wanted changes to be animated (c57548c)
- ios: property mask on 'undefined' during view disposal (#10404) (212d086)
- ios: px properties parsing fix (c8174a7)
- ios: regression from 8.7.0 (9f7d741)
- ios: report error in animate if view is not init (5053704)
- ios: ScrollView with listeners removed scroll delegate (#10432) (9fae9c4)
- ios: shadow does not consider z-index (#10433) (5a4bb7c)
- ios: Shadow layer origin point update (#10376) (f54ebbb)
- ios: shadow position after translate transform (#10413) (c78ea79)
- ios: unset cached frame before updating origin point (#10499) (3a486e5)
- ios: use
requestlayoutIfNeeded
(7630be5) - ios: view not performing layout in some cases (1ab2d99)
- ios: working
ApplicationSettings. getAllJSON
(9779af4) - isLoaded default to false and not undefined (4339484)
- leading support for debounce (fac52be)
- maxWidth/maxHeight support for ImageAsset (1582b05)
- modal dialog root view now has the
rootView
as parent to be able to access thens-root
class which comply with css specs (for example to read root css variables) (4730904) - more debounce options (12d2cd8)
- Observable only support one event name now (b9d5ba1)
- prevent breaking modal stack (f90b043)
- prevent crash if style property is malformed (9140382)
- prevent error with unneeded
_resumeNativeUpdates
. It can happens if a view is created while in batchUpdate (9140b17) - prevent property change event while batch update or onLoaded (05ac9ea)
- print error stack when possible (5d87404)
- profile decorator fix (e8a9a5b)
- regression fix for #10482 (#10518) (92b2ff8)
- regression fix on
PercentLength.toDevicePixels
(f619c54) - remove maxSize thing from
ImageAsset.getImageAsync
as it is useless and impossible to "disable" (8f809be) - rollback on some requestLayout optimisations (d5aa194)
- rootView is now a GridLayout and "user" rootView is added to it. That way when the "user" rootView is initiated it already has access to
.ns-root
and its variables (5161bb3) - rotate key frame animation fix (f11ef85)
- shared element transition now working with ListView/CollectionView/Pager (a49e0db)
- testing: e2e flag no longer needed, testID is now applicable in dev or prod builds (#10396) (0a2b220)
- time-picker: properly handle 0 on hour and minutes with valueChanged (#10460) (4762699)
- verticalAligment prop validated using its own type (1cb6375)
- view: modal stack tracking (#10557) (84e1a67)
- winter-cg: crypto (#10580) (41f938c)
- working if FormData is not defined (69084cb)
- wrong import fixes (a287c95)
Performance Improvements
- android: batch setupAccessibleView calls to improve TTI (#10391) (a4bfbda)
- android: gridlayout with less JNI calls (#10402) (6dd441d)
- core: cache default view paddings on android (#10390) (6f599fe)
- disable accessibility for layout views (#10482) (3bd6d9b)
- improve attribute selectors by adding single listeners (#10384) (bb83add)
Reverts
- Revert "Auxiliary commit to revert individual files from a961a1c" (5f511e4)
- "fix(android): proper change of input interaction mode programmatically (#10434) (#10512) (873f711)
- "perf: improve attribute selectors by adding single listeners (#10384)" (7f2d51e)
8.5.9-core (2023-07-24)
Features
Bug Fixes
- android: improve content uri handling (#10316) (77f252e)
- android: native api usage fix after last changes (5267a1f)
- animation: avoid uncaught reject on cancel (#10309) (622f365)
- animation: css keyframes (685d61c)
- application: explicitly pass rootView to initRootView (#10345) (bd8e1b8)
- Application: getNativeApplication wrong ActivityThread (#10326) (029ed4f), closes #10325
- Application: inBackground handling & missing
once
(#10307) (e430555) - Application: orientation & systemAppearance root classes (7f09b92)
- application: restore AndroidApplication.on etc. (#10336) (0804934)
- application: wrap native classes in initialisers (#10335) (5359153), closes #10334
- Connectivity: androidApp is not defined on SDK <28 (#10324) (fce2e88), closes #10323
- core: android fix for EditableText cursor being placed correcly after text change (525e65e)
- core: fix Page event overload resolution (#10347) (2e732ae)
- core: unhandled error typings (#10320) (c278430)
- datepicker: max, min and date value binding handling (#10343) (6effd55)
- early access to context and packageName (#10321) (0873894)
- ensure Application instance initialized early (#10315) (0401b09)
- ios: prevent usage of viewControllers that are being dismissed (#10291) (963d024)
- root-layout: check type for translate and scale values (#10288) (874f6b6)
- shared-transition: race condition with interactive updates (#10312) (25cc49d)
- shared-transitions: layer opacity set back to original on next tick (#10310) (0956cb0)
- trigger css update when setting root classes (#10328) (0903719)
8.5.3-core (2023-05-04)
Bug Fixes
- ios: FormattedString and Span a11y font scale (#10281) (a14becd)
- shared-transition: iOS snapshot opacity (#10278) (b8a548f)
Performance Improvements
8.5.2-core (2023-04-25)
Features
- file-system: allow copy when opening a File (#10274) (18bba2b)
- file: copy sync and async support (#10273) (c63a50a)
Bug Fixes
- ios animation fix for completion block being called too soon (7faa62e)
- ios: resilience to nativeView access under edge cases (#10276) (4551da0)
8.5.1-core (2023-04-17)
Features
- ios: new a11y properties for managing font scale (#10260) (7aaa1d8)
- text: valueFormatter for easy and flexible input auto-formatting (#10264) (b3abc5f)
- transitions: support zIndex on ios shared elements + support page props on android (#10261) (f4b2722)
Bug Fixes
- core: improve strong type src of Image (#10265) (f549667)
- core: RootLayout view and shade cover should animate in parallel (#10256) (2b64e17)
- core: sdkVersion and osVersion type adjustments (#10269) (f8edee4)
- core: unhandled error typings (#10268) (0a2f002)
Reverts
8.5.0-core (2023-03-28)
Features
- core: export foregroundEvent and backgroundEvent (#10226) (6fd6943)
- core: Shared Element Transitions (#10022) (59369fb)
- files: read & write using js buffers (#10093) (0173769)
- ios: Swift Package Manager support in config (#10252) (09832ad)
Bug Fixes
- android: box shadow and border radius white border resolution (#10125) (ea45758)
- android: dialogs activity usage (#10246) (7edd21a)
- android: improved native-api-usage after removing *. (7fa6c9b)
- android: knownFolders.externalDocuments improvement (#10186) (a7f1305)
- android: Label now defaults to vertical-align middle (#10233) (a23c8bd)
- android: missing native-api-usage (7aa89fa)
- android: native-api-usage fix after last changes (3713da0)
- android: native-helper utils types are now correct (#10231) (6779cdc)
- android: path must be convex (#10238) (89fc249), closes #10235
- android: ScrollView BadParcelableException (#10213) (a26a03e)
- core: add equalityComparer to border-radius properties (#10185) (571d515)
- core: added item template handling for external renderers (#10196) (b993a83)
- core: allow CoreTypes declarations to be auto generated (#10183) (9f76fea)
- core: android native-api-usage fix (0b0cbe3)
- core: android native-api-usage fix (db6dce1)
- core: android removed native TextTransform as it seems to be unused (f3229e4)
- core: android wrap init in trycatch to get possible error (d863d61)
- core: autofillTypes correction (#10210) (fd35d6c)
- core: classes .ns-light and .ns-dark apply to dialogs (#10201) (48ef249)
- core: CSS animation parsing (#10245) (ab436db)
- core: Frame to Page property propagation (#10225) (4e62b00)
- core: improved handling for unsupported '!important' css rule (#10243) (e560cb1)
- core: improved native-api-usage (25febb8)
- core: native-api-usage fixes (0007cc2)
- core: Observable event types consistency (#10181) (485fb61)
- core: remove unnecessary set of native text value change for formattedText (5179f13)
- core: RootLayout shade cover asynchronous execution (#10228) (a19568c)
- core: unset css values of type Property (#10199) (dcf6a36)
- ensure debugger code is removed in production (9b82614)
- global declarations fix (0859ce4)
- global declarations fix (#10247) (2f4c318)
- ios: embed systemAppearance handling (#10219) (ee92512)
- ios: embedding sdk (#10211) (9179ff8)
- ios: guard against no nativeView in createBackgroundUIColor (#10229) (9ed3c9b)
- ios: race condition when setting preferredContentSize on view controller (#10179) (ed14e24)
- ios: race conditions with nativeView (#10182) (c42c3c5)
- ios: sdk embedding (#10216) (0183f7e)
- ios: support for a11y font scale (#10207) (95f3772)
- make span set text faster (f90df18)
- remove hacks from NativeScript#10164 and NativeScript#10044 (c50b4df)
- store old inlineStyle to allow reset of value if inlineStyle changes (b76b08f)
Performance Improvements
Reverts
8.4.6-core (2023-01-19)
Bug Fixes
- core: improve loaded/unloaded handling (18b911e)
- core: improve loaded/unloaded handling to be stable and consistent (#10170) (c9e29aa)
- core: ScrollView event wiring sequencing improvement (#10178) (75821ea)
- ios: embedder usage of window (#10167) (a69a9d6)
- missing typings for intellisense (fca4455)
8.4.4-core (2023-01-09)
Features
- core: new autoFillTypes (33bae2f)
- core: new autoFillTypes for newUsername, newPassword and oneTimeCode (#10159) (bff35e5)
Bug Fixes
- android: backwards compat Java cast Float to Long for ApplicationSettings.getNumber (#10140) (7c1590a)
- android: openUrl (#10161) (451c3cf)
- android: WebView url and event handling (#10147) (#10148) (8444087)
- core: update metadata filtering for IOS 16 (#10133) (c461f1b)
- ios: box shadow border radius (#10142) (6948f7c)
- ios: navigatingTo event handling (#10120) (a4f28b8)
- ios: prevent layout in viewSafeAreaInsetsDidChange until first viewDidLayoutSubviews (#10151) (760bbd0)
- ios: prevent transitionCoordinator usage during modal presentation (#10153) (d138ac0)
- ios: reset additional insets if they're zero (#10134) (8b7d5ab)
- ios: TextField keyboard handling with emoji, autofill, and shortcuts (#10154) (00944bb)
- listview: delegate handling removed from unloaded (#10138) (04c3d9a)
- mac: utils for mac catalyst (#10157) (5b6e4d6)
- utils: ios to filter out null values (#10117) (4723114)
8.4.1-core (2022-11-30)
⚠ BREAKING CHANGES
- core: Method push will now handle arguments just like Array.prototype.push.
Certain existing methods will now return ObservableArray instance instead.
Callback arguments that contained an array argument themselves will now contain an ObservableArray argument. - android: Exposes language and region values from android system configuration. If you were working around locale handling because this wasn't originally the case you can likely remove extra conditions as this should reflect more accurately now.
- ios: tapData.getX() and tapData.getY() will now return correctly in DIP, so any extra conversions (like calling toDevicePixels) twice must be changed.
- core: When using
navigatingToEvent
event.entry, thebackstackEntry
object is now returned which has anentry
property on it if you still need it.
Features
- android: runOnMain, postFrameCallback & removeFrameCallback (#9943) (49343cb)
- android: support drawable in ImageSource (#10098) (75eefa6)
- android: use NestedScrollView for vertical ScrollView (#9199) (cfaa813)
- application: expose
inBackground
andsuspended
(#9897) (8987bab) - core:
knownFolders.externalDocuments()
(1a019e1) - core: iterable ObservableArray (#9824) (df74a8b)
- core: make font style, weight, scale params optional (#9993) (4b0c812)
- core: maxLines support for all text components (#9884) (7ff7233)
- core: support css font-variation-settings (#9995) (a5e3e22)
- core: support for external XML UI compilers (#10008) (75503ef)
- files: knownFolders.externalDocuments for android ease of use (#9966) (e51e945)
- HtmlView: selectable property (#10057) (ca9c092)
- ios: Utils.getRootViewController (29004d9)
- mac: support for Mac Catalyst with ui-mobile-base (fc77c92)
- mac: support for Mac Catalyst with ui-mobile-base (cd69379)
- RootLayout: add opened and closed events (#9893) (7b11b6a)
- TypeScript 4.8+ support and NativeClass decorator improvements (#10081) (7f069a7)
- Utils: add dataSerialize and dataDeserialize for iOS (2250c7f)
- Utils: dataSerialize, dataDeserialize, numberHasDecimals, numberIs64Bit (cab5947)
- utils: dismissKeyboard, copyToClipboard, setWindowBackgroundColor, getCurrentActivity and getResource (#10089) (2e1d2c1)
- webview: adds iosAllowInlineMediaPlayback property (#10014) (4a0e1c9)
Bug Fixes
externalDocuments
fix (40ed258)- allow animation of any prop (1f6d428)
- android: application fallback for
startActivity
(#10062) (f3a5c16) - android: ApplicationSettings return precise stored numbers (#10094) (fd98690)
- android: connectivity reporting none on resume (#9915) (413fa2e)
- android: content uri handling improvements (#9936) (9fcd440)
- android: content uri handling improvements (#9936) (99480c0)
- android: content uri handling improvements (#9936) (7bbb77a)
- android: CSS style not working properly in modal pages (#10070) (608d3b9)
- android: device language and region from system configuration. (#9868) (ad01e6b)
- android: file manipulation threw exception inside worker (#10076) (25c862e)
- android: file system normalizePath (#10077) (497a9db)
- android: font icons had incorrect fallback size (#9914) (e8bed44)
- android: FragmentCallbacksImplementation memory leak (#9977) (286d36b)
- android: FragmentClass memory leak (#9973) (59f9235)
- android: FragmentClass memory leak (#9983) (0548aaf)
- android: memory leak with EditableTextBase (#10052) (501d310)
- android: modal status bar props applied to wrong window (#10049) (6934645)
- android: normalize for API >= 26 (#10083) (e687e9d)
- android: potential navigation crash (#9996) (ca3d9bd)
- android: prevent flashing activity on app start (#9190) (6a9484a)
- android: race condition on offBackgroundColor view change detection (#9922) (464ea18)
- android: shared SDK_VERSION (#10090) (0226f47)
- android: tappable spans aren't visible on single-line labels (#10055) (5765707)
- android: text transform capitalize is capitalizing after apostrophe (#10029) (e3255c0)
- android: Textfield focus fix (#9885) (fbd1e23)
- android: WeakRef race condition on timers (#10066) (1a5faec)
- android: webview href schemes threw 'net::ERR_UNKNOWN_URL_SCHEME' (#10048) (655f3a4)
- animations: error handling (36ad24c)
- builder: property parentsMatch is invalid or does not exist (#10020) (405904c)
- color: floating point color values (66e8e39)
- core: (TESTING) ensure getRootView always return the correct view (2d5848e)
- core:
systemAppearance
fix for when called early (e245f81) - core: Added ObservableArray constructor declarations to allow setting multiple arguments (#9980) (d82f3d9)
- core: allow passing fontWeight as a number (c8e3e54)
- core: allow View subclass to force onLayoutChangeListener (#9886) (6ccf5a2)
- core: android fix for
knownFolders.externalDocuments()
in some cases (emulator) (b872b8a) - core: android fix for
path.normalize
(835857c) - core: android native-api-usage (e11be2e)
- core: android native-api-usage add missing for ImageSource (6465aac)
- core: android native-api-usage fix after merge (42be033)
- core: android refactor EditableTextBase to allow sub classes to change/augment (e306cbb)
- core: android wrong background state + current value accessors (#9883) (58a7206)
- core: circular imports of SDK_VERSION (82d60ae)
- core: Color.isValid returned true for null/undefined (#10040) (9091e43)
- core: correct typings in ObservableArray (#9961) (01643f5)
- core: correctly normalize path on all android versions (e4f8ce0)
- core: correctly polyfill tslib (#9894) (20efd36)
- core: deprecation notes for WeakRef clear and get (3019181)
- core: ellipsis at the end for Labels with maxLines (#10005) (6c60eab)
- core: ensure platforms/android/core.aar is not included in pack (a1dff9a)
- core: ensure we clear the webview client on android (dad92a4)
- core: errors get swallowed if thrown inside async event functions (#10030) (bdade0f)
- core: font-weight allow passing number (#10072) (5f3f1ac)
- core: FormattedString.spans is now restored (#9960) (0477044)
- core: Frame
navigatingToEvent
event fix (265a575) - core: import fix (45dcada)
- core: ios fix tap gesture not working (0024bb7)
- core: iOS Frame
navigatingTo
event not fired (8c54a8b) - core: metadata filtering (#9946) (4a5e2e2)
- core: missing export for
maxLinesProperty
(#9965) (c8bff74) - core: missing export for maxLinesProperty (e7091c4)
- core: modal css apply fix (90ba69b)
- core: navigatingToEvent allows access to resolvedPage now (#9954) (38142a6)
- core: prevent a circular reference because of `SDK_VERSION (318bc1a)
- core: prevent a circular reference because of
SDK_VERSION
(#10097) (c957b48) - core: prevent actionBar being created if not used (c634b3c)
- core: prevent actionBar being created if not used (0f897d4)
- core: trace log using a wrong parameter (#9951) (cd5d2c2)
- core: try to prevent unwanted requestLayout on views creations (1f1987f)
- core: WeakRef deprecation notes (b83ed39)
- core: WeakRef typings to include deref (#10006) (3bf1640)
- core: windows build (#10056) (7860d51)
- dont apply system classes in
className
. It will be handled through css scopes (908ef16) - ensure reusable ProxyViewContainer re-adds native children (#9882) (0a082b3)
- ensure we still remove views from native tree if they dont have an N parent (2c8f6ad)
- export 'dataSerialize' from utils (#9909) (a85a72d)
- fix back accessibility while only activating it when necessary (ff5c53b)
- incorrect font icon size conversion to device pixels. (#9910) (d3718e5)
- ios: additional safe area insets were miscalculated if already set (#9991) (be6efc3)
- ios: animation layer resilience (#10060) (6cabcab)
- ios: apply proper border radius to box shadow and view sublayers (#9881) (b7e6128)
- ios: Color.fromIosColor returns wrong value (#10059) (b7d340f)
- ios: do not convert tap event data to device pixels twice (#9935) (3681fd4)
- ios: ensure
PFLAG_FORCE_LAYOUT
beforeperformLayout
(#10011) (e7e3bd2) - ios: ensure autocorrect not applied silently on IOS16 (#10032) (40b9e35)
- ios: ensure view layout when using large titles (#10044) (d625141)
- ios: frame navigatingTo event (#10096) (6148955)
- ios: guard accessing actionbar (#10033) (1c82d19)
- ios: handle tap and longpress gesture conflict (#10004) (64755cb)
- ios: label measure correct height when using custom numberOfLines (#9945) (2ff0891)
- ios: label measure correct height when using custom numberOfLines (#9945) (441d1b4)
- ios: ListView _prepareCell null safety (#10001) (56f861d)
- ios: memory leak after using 'showModal' passing any Page as parameter (#9939) (4db4e4a)
- ios: memory leak after using 'showModal' passing any Page as parameter (#9939) (0631f49)
- ios: memory leak after using the 'presentViewControllerNavigation' (#9934) (957af32)
- ios: memory leak after using the 'presentViewControllerNavigation' (#9934) (edc2e6a)
- ios: page isRunningLayout (#10078) (614dafb)
- ios: prevent creating
ActionBar
when not needed (#10017) (fc6f843) - ios: proper disposal and recreation of iOS native views (#9879) (f548fdc)
- ios: properties lineHeight and letterSpacing did not apply to spans (#10025) (e4b5cdf)
- ios: segmented bar nativeView check (#10023) (1ad8099)
- ios: stability around canceling an animation (b8d5372)
- ios: tab page navigation when showing dialog messages (#10075) (0f7e4ed)
- ios: tapping on span does not emit linkTap event (#10028) (ab3416d)
- live-sync: navigation history is now maintained (#9889) (665009b)
- revert "fix(ios): not responding after rotation (#9931)" (#9984) (54d3006)
- RootLayout: resilience around shadeCover options (e5fffa1)
- RootLayout: resilience around shadeCover options (91df89e)
- TabView: item styling improvements for iOS 15+ (#9888) (7ccc949)
- wrong prop (0b29254)
Performance Improvements
- cache UIFont construction based on FontDescriptor (#9948) (8756df3)
- cache UIFont construction based on FontDescriptor (#9948) (c2cbfa5)
- core: android sdk check (#10084) (abd722c)
- faster style-scope setPropertyValues (#9083) (9ccc54b)
Reverts
- revert "fix(core): handle tap and longpress gesture conflict on iOS" (NativeScript#10021) (9972946), closes #10021 #10004
- "fix(ios): apply proper border radius to box shadow and view sublayers (#9881)" (#9917) (50fd3c0)
8.2.5-core (2022-06-15)
Features
Bug Fixes
- color: output from rgbToHsv and rgbToHsl is now correct (#9933) (ef70956)
- ios: not responding after rotation (#9931) (aee1d05)
8.2.4-core (2022-06-04)
Features
- application: expose
inBackground
andsuspended
(#9897) (f509b3f) - core:
maxLines
support for all text components (2a4d2fa) - core:
maxLines
support for all text components (89a0b86) - core: maxLines support for all text components (#9884) (df10ceb)
- ios: Utils.getRootViewController (600cb08)
- RootLayout: add opened and closed events (#9893) (8aee22b)
- Utils: add dataSerialize and dataDeserialize for iOS (d2b366d)
- Utils: dataSerialize, dataDeserialize, numberHasDecimals, numberIs64Bit (0cdc1bf)
Bug Fixes
- android: connectivity reporting none on resume (#9915) (8dad6ed)
- android: font icons had incorrect fallback size (#9914) (4f312a3)
- android: race condition on offBackgroundColor view change detection (#9922) (24c319e)
- android: Textfield focus fix (#9885) (17a87a4)
- core: allow View subclass to force onLayoutChangeListener (#9886) (6f68b2f)
- core: android fix by hidding current fragment on nav and show on back (fe8ac02)
- core: android fix for recreated activity not creating fragments (84fdbfc)
- core: android fix for webview not loading local content (945d752)
- core: android wrong background state + current value accessors (3e320ca)
- core: android wrong background state + current value accessors (#9883) (36e821a)
- core: animation discover css properties (2cd8898)
- core: import fix (04d5f07)
- core: ios fix where originX and originY would break layout (ac7470c)
- core: ios release the potential
viewController
(ca496a5) - ensure reusable ProxyViewContainer re-adds native children (#9882) (6e3dd4d)
- export 'dataSerialize' from utils (#9909) (710ddae)
- expose
inBackground
andsuspended in
Application` (13b703a) - expose
inBackground
andsuspended in
Application` (90a0846) - incorrect font icon size conversion to device pixels. (#9910) (df639ed)
- ios: apply proper border radius to box shadow and view sublayers (#9881) (3d882b0)
- ios: proper disposal and recreation of iOS native views (#9879) (96a575d)
- live-sync: navigation history is now maintained (#9889) (ae46753)
- TabView: item styling improvements for iOS 15+ (#9888) (b3c5b33)
- ui-mobile-base: Android http request body was not sent if method was DELETE (#9887) (647ed5c)
- Utils: dispatchToUIThread (9089b2c)
- Utils: dispatchToUIThread (4577410)
- webview: android not loading local content (#9923) (834b4bf)
Reverts
8.2.3-core (2022-04-25)
Features
- added Utils.executeOnUIThread (36a55da)
Bug Fixes
- android: ensure android application is created before setting listeners (#9876) (54f454f)
- android: improve content uri handling (#9874) (a272296), closes #9871
- core: allow View subclass to force onLayoutChangeListener (8bc9f54)
- file access cross platform stub (338ae56)
- removed unecessary
console.log
(#9877) (74e42fc)
8.2.2-core (2022-04-07)
Features
- RootLayout: added topmost method to retrieve view at top (#9826) (3bb8fc2)
- TouchManager: touchDelay property for nested tap control (c05145b)
Bug Fixes
- ActionItem: rendering threw errors if it had a nested child. (#9821) (efa80c7)
- android: gesture events fix (#9842) (2664783)
- core: ios revert broken
lineHeight
(fd0d6ee) - core: refactore to prevent Mem Leak (c7a7139)
- core: textfield getting focused again on focus clear (c2496fd)
- css: borderColor parse handling for hsl(a) color values (#9857) (da3bd2c)
- ios: navigation button now allows using custom icon (#9835) (f88c158)
- revert breaking change from #9761 (e3284a4)
- RootLayout: close popup views on live-sync (#9834) (6941466)
- Utils.queueGC debounce and throttle with reuse of different settings (#9852) (9ce7455)
Performance Improvements
8.2.1-core (2022-03-09)
Bug Fixes
8.2.0-core (2022-03-08)
⚠ BREAKING CHANGES
- android: AndroidFragmentCallbacks now requires onResume as well
Migration steps:
specify onResume on custom fragment implementations
Features
- allow better tree shaking (#9798) (d3674de)
- android: content uri support for File (#9807) (c68d002)
- android: tab view icon rendering mode (#9605) (66d8aff)
- background/foreground events (#9763) (b553a90)
- bindable: allow "global" context for expressions inside bindings (#9734) (2cbb135)
- binding expression parser additions and improvements (#9791) (716b831)
- config: add new option for pathsToClean (08d5656)
- config: cli.additionalPathsToClean to clean other paths with 'ns clean' (#9808) (3ec8c42)
- core: add event when disposeNativeView is called (f038e6b)
- core: support RGB alpha notation (#9699) (388d7ea)
- datepicker: ability to show time via showTime property (#9570) (ab4e47a)
- gestures: GestureEvents.gestureAttached added to modify native recognizers when needed (168a169)
- improved background handling (#9615) (dde9e02)
- improved converter and function call parsing mechanism for XML expressions (#9805) (c5856c6)
- ios: allow dynamic ProMotion frame refresh rate changes (#9775) (b292495)
- new expression parser for xml bindings (#9729) (90ceed1)
- proper handling for bindings with converters that were undefined (#9813) (a1772c0)
- root-layout: support gradient colors on shade cover (#9626) (d756eb5)
- switch: :checked pseudo and color fixes (#9790) (6437352)
- testID property for use with e2e testing without interfering with a11y (#9793) (8be543b), closes #9748
- touch animations demo in toolbox (d7916d7)
- types-ios: reduced ios types to common types for optimized ts resolution (#9809) (6cd8b8e)
- ui: TouchManager for ease in adding interactivity (26953ec)
- Utils for queueGC, debounce and throttle (40c5984)
- webpack: read nativescript.config.ts main if set before fallback to package.json (#9769) (61ff7e4), closes #9658
Bug Fixes
- android: a11y - do not provide content description for TextView elements (#9673) (dbaf203), closes #9588
- android: api17 crash on a11y service (#9792) (2efcdf5)
- android: boolean keyboardType should not set inputType (#9795) (9e6371f)
- android: edge cases and compatibility with fragments 1.2.x (#9782) (6b41268)
- android: fragment creation loaded/unloaded protection (ac2e944)
- android: nested frames were sometimes not recreated (#9725) (902a4c6)
- android: NullPointerException on navigation (#9669) (9b5d125), closes #8441
- android: prevent error when detaching from unloaded ScrollView (#9666) (e59f3ff)
- android: text-transform: capitalize behavior (#9598) (aa1c631), closes #7059
- android: when hiding the keyboard make view lose focus to match ios behavior (#9786) (b78996a)
- application instance creation occurs only within Application.run (a518249)
- core: animation iteration correct for android css animations and iOS rotation (#9628) (608bb1e), closes #7712
- core: Application handling of nativeApp instance (6c06c77)
- core: parse template literal syntax with nested identifiers as expression. (#9744) (57cc4ed)
- ensure android can access native app instance before bootstrap (f10cffc)
- fs: wrong common paths (51b92f3)
- ios: do not redraw if background image is 'none' (#9800) (402a7bb)
- ios: force layout of view when changing the safe area insets (#9773) (a1ba1f6)
- ios: proper UITabBarAppearance handling (6c71ce2)
- ios: tabview background color with appearance api in iOS 15+ (#9617) (2749221)
- ios: UIImage memory leaking after Image is disposed (#9777) (19d8869)
- memory leaks around image picking/saving to device (7dcfecf)
- qualifier matcher did not support multiple qualifiers for a single file. (#9720) (3d03f8f)
- tear down views after a modal is closed (#9801) (b38337e)
- time-picker: correction for super.disposeNativeView (c41e702)
Performance Improvements
- ios: autoreleasepool for image extensions (fbefea4)
- ios: prevent crash with image release (1fb687d)
- ios: uifont and formatted string optimizations plus uiimage scaling (#9761) (9d3977e)
- ios: UIImage memory leaks (#9783) (988f372)
8.1.12 (2022-02-10)
Bug Fixes
- android: if a page transition is cancelled , the end event wont be called. We need to handle it and call
transitionOrAnimationCompleted
(aef6338) - core: add an fix for cancelled transitions stuck in a in-between state (037bc61)
- rollback on last fix (b592e66)
8.1.10 (2022-02-10)
Bug Fixes
- disable animations for all in between fragments during a transition (80fe183)
- use hide to prevent black with OpenGL during a transition (7933842)
8.1.9 (2022-02-01)
Bug Fixes
- android: suspend fix (e067111)
8.1.8 (2022-02-01)
Features
- new 'background/foreground` events for app (16d4338)
Bug Fixes
- core: android fix for entry cleared too late (663ab77)
- core: android fix for tabview error on unload (eca1a21)
8.1.7 (2022-01-29)
Bug Fixes
- accessibility import fix (7351200)
- core: android fix for
foregroundActivity
not set on firstonNavigatingTo
(9adb411) - core: android fix for transitions not starting (7e5314e)
8.1.5 (2022-01-14)
Bug Fixes
- android: version Android text-align justify (3c049db)
- ios: box-shadow and border-radius (#9612) (4832179)
- uglify fix (05393d3)
8.1.5-core (2021-10-28)
Bug Fixes
- android: autofillType on apiLevel < 26 (b945d5a)
- android: autofillType on apiLevel < 26 (#9610) (8878c3b)
- android: version Android text-align justify (#9620) (2ad280d)