Already have an account? Log in
Released one year ago
Please remember to
after upgrading Fuse.
Daemon handshake failed: Request failed: (6) - Daemon key was not righthas been fixed.
ColumnLayoutnow handles Max/Min layout constraints correctly. If you notice a change in your layout look to the
MaxWidth/Heightproperty to verify that if it is what you want.
Changenow supports units (%, pt, px). If no unit is provided, it is assumed to be the same unit as the target value (backwards compatible).
thisis now the implicit name of the current
ux:InnerClassroot node, so you don't have to explicity name the node to work with its contents.
LocalBoundsAndChildrenby default so that items without a background can be swiped. If there is some reason you don't want this just override
HitTestMode="LocalVisualAndChildren"on the Pagecontrol to get the previous behaviour.
ZOffsetproperty has been introduced to control z-ordering of nodes
RangeAdapterthat allows finer control over playback of parts of animations
TextInputHint.Numberhas been renamed to the more accurate
Numberis still available as a deprecated alias during the transitional period to be removed in a future release.
TextInputHint.Decimalhas been introduced to allow decimal point value input.
Observable.toArraymethod that returns a copy of the values array
FuseJS/FetchJSON. Use plain
require() can now require script files directly from the bundle, without declaring them as
ux:Global. (If you want all .js files in the project folder to be bundled then simply add
"*.js:Bundle" to the
Includes in your .unoproj. And keep in mind that all changes to the .unoproj itself requires a recompile.)
You can now require files relative to the current script, or relative to the project root like this:
var foo = require("./foo"); // relative to this file var bar = require("/bar.js"); // relative to project root (.js is optional) var bar = require("bar"); // relative to project root, or global module
The bundle is also properly simulated in
fuse preview, so adding new script files can be done on the fly. Oh, and it now also deals with circular dependencies gracefully.
refparameters in foreign Objective-C functions.
ForeignIncludeattribute which can be used to add
imports in Foreign Java and to add headers in Objective-C.
See the handbook for more information about these features.
Fuse.Scripting.Marshalis available to convert from JS types for Uno callbacks
Removed StylePropertyWithUnit, instead introduced
Size2 in the
All properties that support units (such as
Anchor) are now of type
Size2, and can be set in Uno code like this:
elm.Height = 100; // defaults to points, implicit cast from float and int to Size elm.Height = Size.Points(100); // does the same as the line above elm.Width = Size.Percent(30); elm.Anchor = Size2.Percent(50, 50); // sets Anchor="50%,50%" elm.Offset = new Size2(Size.Points(100), Size.Pixels(30)) // sets Offset="100,30px"