Releases: fuse-open/fuselibs
Releases · fuse-open/fuselibs
Fuselibs 2.4.0
Install
npm install @fuse-open/[email protected]
Changes since v2.3.0
Fuse.Controls.WebView
- Improvements for wrapping web apps (#1450)
- iOS: Enabling edge swipe for history back
- iOS: Disable preview a page on long pressing a link
- Android: Hide zoom button controls
Fuselibs 2.3.0
Install
npm install @fuse-open/[email protected]
Changes since v2.2.1
Fuse.Controls.Panels
- Introduce new type of Panel: CollectionPanel (#1446)
Fuse.Controls.WebView
- WebView (Android): Image picker dialog (#1448)
Fuselibs 2.2.0
Install
npm install @fuse-open/[email protected]
Changes since v2.1.1
Fuse.Shortcut
- New library for home screen shortcuts (#1440)
Fuse.Controls.Primitives
- Fix memory leak in Glass effect (#1441)
Fuse.Drawing
- Experimental support for dashed strokes (#1442)
Fuse.iOS
- Update device orientation implementation (#1443)
Fuse.Text
- Silences warnings when building on Mac with Xcode 13 (#1444)
Fuselibs 2.1.0
Install
npm install @fuse-open/[email protected]
Changes since v2.0.1
Fuse.ImageTools
- Transparency support for images from base64 (#1434)
Fuse.Launcher
- InAppBrowser launcher (#1412)
Fuse.Controls.WebView
Fuselibs 2.0.0
Install
npm install @fuse-open/[email protected]
Changes since v1.14.0
Breaking changes
- TextControl accessibility: Introduce MinFontScale and MaxFontScale Property (#1362)
- Single finger PanGesture (#1428)
Fuse.Physics
- Draggable enhancements (#1373)
- Refactor
Draggable
using IGesture System - Introduce
Translation
property toDraggable
to track translation position when user drag a visual withDragabble
behavior attached - Introduce two new Triggers:
DragStarted
Pulse when dragging activity has been startedDragEnded
Pulse when dragging activity has been ended
- Drag and Drop API. Experimental support for drag and drop between visual element. Introduce sets of Triggers:
WhileDraggingOver
Activated when Visual that containDraggable
behavior andWhileDraggingOver
trigger is overlaped / intersected with theTarget
Visual property that is defined inWhileDraggingOver
WhileDroppingBy
Activated when Visual that containWhileDroppingBy
trigger being overlaped / intersected bySource
Draggable VisualDropped
Pulse when Draggable Visual is being dropped to the target visual and vice versa
- Refactor
Fuse.Elements
- Lazy load feature on
ImageFill
brush. IntroduceAutoLoad
bool property to control when we fetch the image data. The default value istrue
which means it automatically load the image data and display it whenever it rooted. Set it to false to make it lazy load and using the newLoadImage
trigger action to actually load the image (#1401) - Added
TargetSize
property onHttpImageSource
andFileImageSource
to resize the image before displaying. Only works on iOS and Android (#1401)
Fuse.Controls.DatePicker
Fuse.Controls.Primitives
TextControl
accessibility feature. IntroduceMinFontScale
andMaxFontScale
Property to control the minimum or maximum text scaling behavior when the text/font size configuration setting on the phone has changed. Now default Fuse will honor the phone's text/font size configuration setting and will change all of the texts or labels in the Fuse App to match the setting. If you don't want the behavior you can pass a compiler flag:IGNORE_FONT_SCALING
when building the app i.e:uno build ios -DIGNORE_FONT_SCALING
(#1362)- Added
MaxLines
property to theText
component to limit the number of lines whenTextWrapping
property is set toWrap
(#1385) - Added support for
Shadow
Behavior inNativeViewHost
(#1380) - Added support for rendering backdrop filter of glass effect using the new
Glass
behavior (#1381, #1426) - Lazy load feature on
Image
component. IntroduceAutoLoad
bool property to control when we fetch the image data. The default value istrue
which means it automatically load the image data and display it whenever it rooted. Set it to false to make it lazy load and using the newLoadImage
trigger action to actually load the image. (#1401) - Added
LoadImage
trigger action to load image data forImage
orImageFill
(#1401)
Fuse.Auth
- Introducing Fuse.Auth, the easiest way to perform user authentication using biometric sensor that reside on the device such as fingerprint or FaceID (#1351)
- Introducing Platform SignIn. a Sign In mechanism that use
Sign In With Apple
on iOS andGoogle SignIn
on Android. There is two API added,PlatformSignIn
as trigger action andFuseJS/Auth
as javascript module (#1366)
MapView
- Adds a map overlay to a MapView using
MapOverlay
Node. There are 3 types of overlay that are supported : Polyline, Polygon and Circle (#1352) - Added two scriptclass function,
snapshot
for taking an image of the current MapView display andshowAllMarkers
to zoom MapView to the particular position where all of the markers is visible on the MapView (#1395) - Implement click event on MapOverlay (#1396)
Fuse.Triggers
- Added trigger action
SetWindowOrientation
for setting device orientation (#1354) - Added trigger action
SetStatusBarUI
for setting look and feel of statusbar (#1355)
iOS enhancements
- Fix Image bounds in NativeViewHost (#1341)
- ImageLoader run on background thread (#1342)
- Fix memory leak on get image orientation (#1371)
- Compatibility with latest Xcode and iOS13.4 later (#1377)
- Fix device orientation setup, honor the project settings (#1375)
- Fuse.Text: Upgrade ICU to v68.2 (#1403)
Android enhancements
Android.StatusBarConfig
Added property to change status bar style: Dark or Light. (#1355)- Push Notifications - JSON Payload Upgrade (#1346)
- Implement feedback vibration (#1359)
- Fix text rendering (#1405)
- Don't add BACKGROUND_LOCATION to manifest (#1411)
- TextEditRenderer: Enable horizontal scrolling only on lower versions (#1414)
- GeoLocation Upgrade (#1344, #1345)
New features
Other enhancements
- Introduce DiskCachePolicy in HttpImageSource (#1356)
- ImageSource and ImageFill Enhancement (#1360)
- Implement TextTruncation on NativeViewHost (#1364)
- Fix Visual Scroll Position of an element when MinScroll is Negative (#1368)
- Experimental support for mouse wheel scroll (#1372)
- Fix text-wrapping in NativeViewHost (#1378)
- Update ModuleInstance.uno (#1404)
- Tweak swipe edge navigation (#1421)
- Fix path 's' command use relative bezier curve (#1422)
FuseJS
- FuseJS/Environment
- Add properties to retrieve general information that reside in the .unoproj file (#1383)
- Biometric Module (#1379)
UX expressions
- Add
hsvColor()
function (#1423) - Enable cast from
string
tofloat4
(#1424) - Add
hexColor()
andrgba()
functions (#1425) - Add
length()
function (#1382)
Code structure
- Make static selectors internal (#1369)
- Rename Java packages (#1370)
- Import Fuse.Android.Permissions from Uno.Permissions (#1387)
- Trim trailing whitespace (#1361, #1388)
- Include markdown docs in package (#1386)
Legacy
- Fuse.Charting: Fix deprecation warnings in test (#1390)
- Drop obsolete legacy code (#1389)
- AppVeyor: Drop legacy mesa-download (#1391)
- Replace usage of obsolete APIs (#1348)
- Drop obsolete text file (#1350)
- Update TypeScript definitions (#1357)
Docs and testing
Fuselibs 1.14.0
Changes since v1.13
Experimental.TextureLoader
- Marked all members as obsolete. Please use
TextureLoader
inUno.Graphics.Utils
instead (#1327).
Fuse.Android
- Switched to AndroidX libraries (#1323).
Fuse.iOS
Fuse.Charting
- Fix crash caused by accessing disposed object (#1322).
- Added the following properties (#1317).
PlotPoint.RadialOffset
PlotPoint.RadialScale
PlotWedge.RadialOffset
PlotWedge.RadialScale
FuseJS/GeoLocation
- Added
authorizationStatus
(#1319).
Fuse.Gestures
- Added
HoldPress
trigger (#1320).
FuseJS/InterApp
Fuse.PushNotifications
- Updated
IsRegistered
and updated dependencies (#1318).
Fuse.Triggers
- Print run-time warning instead of throwing exception (#1321).
Fuse.Vibration
- On iOS you can do feedback vibration by leveraging Taptic Engine (#1338). There are 9 types of vibration:
- Soft
- Rigid
- Light
- Medium
- Heavy
- Success
- Warning
- Error
- Selection
Expressions
- Added more string functions (#1337):
trim
functionindexOf
functionsubstring
functionreplace
functioninsert
functionsplit
functionstartsWith
functionendsWith
function
Fuselibs 1.13.0
Changes since v1.12
FuseJS
- FuseJS/Environment: add property to retrieve current device locale using BCP47 format (#1313).
Fuse.Alerts
- Fixed threading issue on iOS 13 (#1299).
Fuse.Camera
- Fixed threading issue on iOS 13 (#1294).
Fuse.CameraRoll
- Fixed threading issue on iOS 13 (#1293).
Fuse.Common
- Fixed system fonts on iOS 13 (#1291).
- Added the following methods to public API (#1310).
Fuse.Json.Parse(string)
Fuse.Json.Parse(string[])
Fuse.Controls.Native
- Added support for Dark Mode on Android (#1290).
- Added support for Dark Mode on iOS (#1309).
- Added new scriptmodule
FuseJS/DarkMode
(#1290).
Fuse.Controls.Navigation
- Added Page Navigation swipe from edges (#1279).
Fuse.Drawing.Surface
- Fixed SVGPathParser to better parse minimized svg data (#1302).
Fuse.GeoLocation
- Fixed dependencies/permissions on Android (#1245).
- Added new scriptmethod
isLocationEnabled
(#1245).
Fuse.ImageTools
- Fixed crop function not using height parameter (#1300).
Fuse.Launcher.InterApp
- Added docs for Universal and App Links support (#1282).
Fuse.Maps
- Updated dependencies on Android (#1284).
Fuse.Models
Fuse.PushNotifications
- Fixes and updates for Android and iOS (#1220, #1314).
- Added scriptmethod
isRegisteredForRemoteNotifications
(#1220). - Fixed threading issue on iOS 13 (#1292).
Fuse.Reactive.Expressions
- Fixed run-time warnings (#1312).
Fuse.Scripting.JavaScript
- Upgraded V8 to v7.6.303.30 on Android (#1297).
Fuse.Storage
- Add
UserSettings
module. This module provides key-value pairs mechanism to store and retrieve primitive data types (string, number, boolean) as well as an array and a JSON object (#1310).
Fuse.Triggers
- Added
Value
property onTransitionState
(#1286).
Fuse.iOS
- Fixes threading issue on iOS 13 (#1308).
Fuselibs 1.12.0
Changes since v1.11
Fuse.Controls.Native
- Fixed readonly
TextInput
.
Fuse.Elements
- Added
DiskCache
property onHttpImageSource
.
Fuse.Scripting.JavaScript
- Fixed building with
-DUSE_JAVASCRIPTCORE
on Android.
Fuse.Sensor
- Added a new script module - FuseJS/Sensor.
Fuse.Share
- Updated to new android file permission requirements when sharing.
FuseJS
- Added definitions file for TypeScript.
- Renamed the following methods (for TypeScript compatibility):
- FuseJS/FileSystem:
delete
->remove
- FuseJS/FileSystem:
deleteSync
->removeSync
- FuseJS/Timer:
delete
->destroy
- FuseJS/Storage:
deleteSync
->removeSync
- FuseJS/FileSystem:
See also v1.11.3...v1.12.0.
Fuselibs 1.11.3
Changes since v1.11.2
- Fixed regression when building for Windows/native.
Fuselibs 1.11.2
Changes since v1.11.1
- Fixed regression due to a missing file entry in a project file.