Releases: NativeScript/NativeScript
Releases · NativeScript/NativeScript
@nativescript/core@8.4.4
@nativescript/core@8.4.3
Bug Fixes
- android: WebView url and event handling (#10147) (#10148) (8444087)
- ios: prevent layout in viewSafeAreaInsetsDidChange until first viewDidLayoutSubviews (#10151) (760bbd0)
- ios: prevent transitionCoordinator usage during modal presentation (#10153) (d138ac0)
- ios: TextField keyboard handling with emoji, autofill, and shortcuts (#10154) (00944bb)
@nativescript/core@8.4.2
Bug Fixes
- android: backwards compat Java cast Float to Long for ApplicationSettings.getNumber (#10140) (7c1590a)
- core: update metadata filtering for IOS 16 (#10133) (c461f1b)
- ios: box shadow border radius (#10142) (6948f7c)
- ios: navigatingTo event handling (#10120) (a4f28b8)
- ios: reset additional insets if they're zero (#10134) (8b7d5ab)
- listview: delegate handling removed from unloaded (#10138) (04c3d9a)
- utils: ios to filter out null values (#10117) (4723114)
@nativescript/core@8.4.1
@nativescript/core@8.4.0
Features
- android: support drawable in ImageSource (#10098) (75eefa6)
- android: use NestedScrollView for vertical ScrollView (#9199) (cfaa813)
- core: support css font-variation-settings (#9995) (a5e3e22)
- core: support for external XML UI compilers (#10008) (75503ef)
- HtmlView: selectable property (#10057) (ca9c092)
- types-android: API Level 33 (#10113) (c1187fe)
- types-ios: 16.1 (#10114) (da78e0b)
- utils: dismissKeyboard, copyToClipboard, setWindowBackgroundColor, getCurrentActivity and getResource (#10089) (2e1d2c1)
- webview: adds iosAllowInlineMediaPlayback property (#10014) (4a0e1c9)
- TypeScript 4.8+ support and NativeClass decorator improvements (#10081) (7f069a7)
Bug Fixes
- android: application fallback for
startActivity
(#10062) (f3a5c16) - android: file manipulation threw exception inside worker (#10076) (25c862e)
- android: file system normalizePath (#10077) (497a9db)
- android: modal status bar props applied to wrong window (#10049) (6934645)
- android: normalize for API >= 26 (#10083) (e687e9d)
- android: tappable spans aren't visible on single-line labels (#10055) (5765707)
- android: ApplicationSettings return precise stored numbers (#10094) (fd98690)
- android: memory leak with EditableTextBase (#10052) (501d310)
- android: prevent flashing activity on app start (#9190) (6a9484a)
- android: shared SDK_VERSION (#10090) (0226f47)
- core: ellipsis at the end for Labels with maxLines (#10005) (6c60eab)
- core: prevent a circular reference because of
SDK_VERSION
(#10097) (c957b48) - core: Color.isValid returned true for null/undefined (#10040) (9091e43)
- core: font-weight allow passing number (#10072) (5f3f1ac)
- core: windows build (#10056) (7860d51)
- color: floating point color values (66e8e39)
- core: deprecation notes for WeakRef clear and get (3019181)
- core: WeakRef deprecation notes (b83ed39)
- ios: animation layer resilience (#10060) (6cabcab)
- ios: Color.fromIosColor returns wrong value (#10059) (b7d340f)
- ios: ensure autocorrect not applied silently on IOS16 (#10032) (40b9e35)
- ios: frame navigatingTo event (#10096) (6148955)
- ios: stability around canceling an animation (b8d5372)
- webpack: prevent hmr from patching __onLiveSync multiple times (#10103) (42f5dc5)
- webpack: support angular 15.x (#10106) (f100109)
- webpack: close compiler after run (#10080) (59ca35b)
- webpack: make NativeClass transformer backwards compatible (59624a4)
Performance Improvements
Breaking Changes
utils/utils is just Utils
- BEFORE
import { layout } from '@nativescript/core/utils/utils'
- AFTER
import { Utils } from '@nativescript/core'
Utils.layout
This will affect some plugins. If you use a plugin that encounters this issue you can do the following:
- Add a quick webpack alias to mitigate for now:
webpack.chainWebpack(config => {
config.resolve.alias.set('@nativescript/core/utils/utils', '@nativescript/core/utils');
config.resolve.alias.set('tns-core-modules/utils/utils', '@nativescript/core/utils');
config.resolve.alias.set('tns-core-modules', '@nativescript/core');
- Contribute a pull request to the plugin author.
WeakRef type
Core uses the latest WeakRef types and you can update your tsconfig to latest targets.
- BEFORE
tsconfig.json
"compilerOptions": {
"target": "es2017",
...
"lib": ["es6", "dom"],
- AFTER
"compilerOptions": {
"target": "es2020",
...
"lib": ["esnext", "dom"],
@nativescript/core@8.3.6
Bug Fixes
- android: CSS style not working properly in modal pages (#10070) (95c3b30)
- android: WeakRef race condition on timers (#10066) (a65fc06)
- ios: ensure view layout when using large titles (#10044) (0552a3a)
- ios: page isRunningLayout (#10078) (6f1a5d1)
- ios: prevent creating
ActionBar
when not needed (#10017) (8094cf2) - ios: tab page navigation when showing dialog messages (#10075) (0337a33)
@nativescript/webpack@5.0.9
What's Changed
- chore(webpack): update webpack deps for react-nativescript by @shirakaba in #10045
- chore: webpack updates by @rigor789 in #10050