feature
Android/iOS
TemplateList support lifecycle and statefull component #1019 #1023feature
Android
Support real time format to input component, support disable copy paste to input component #1013feature
Android
Support use base64 to import fontface #1006feature
Android
High performance binary Wson supported #974feature
Android
New touch dispatch mechanism and bubble sync method call for android touch event #961feature
Android
Support set global font to text component #952feature
Android
List component supported show scrollbar options #951feature
Android
box-shadow support multi shadows declaration #915feature
Android
Support role
property to accessibility #911bugfix
Android
Fix network operation on main thread by WebSocket #1015bugfix
Android
Fix font not rendered right when font is first downloaded #972bugfix
Android
Fix the background-color
can not be set to transparent
#959bugfix
Android
Improve JSService usage, support mutil type params #941bugfix
Android
Fix fix security weaknesses on libweex*.so #934bugfix
Android
Fix long-running operation on WXThread.scure() #919bugfix
Android
Fix status of pseudo class can not restore after touch #907bugfix
Android
Fix parallax component not reseted to right position when scrollToElement with animated:false option #906feature
weex-js-framework
Upgrade weex-vue-framework to v2.5.13, which implemented the <recycle-list>
.feature
weex-js-framework
Support append as tree on root element (#954)improvement
weex-js-framework
Enhance the multi-instance isolation (sandbox) (#960)improvement
weex-js-framework
Refactor the file structure and build scripts of js framework (#964 | #1010)improvement
weex-js-framework
Stop using ES6 Proxy to require a module (#1017)bugfix
iOS
bugfix about longpress and pangesture innner waterfall component invalid#1007improvemnet
iOS
improve for threadSafe dictionary 1005feature
iOS
deprecate WXCallback and WXModuleCallback, use WXKeepAliveCallback and WXModuleKeepAliveCallback 1000bugfix
iOS
bugfix about iconfont draw failed on occasion #997improvement
iOS
remove redundant implementation of sliderfeature
iOS
support css value for safe-area-inset-left, safe-area-inset-right, safe-area-inset-top, and safe-area-inset-bottom like iPhone X design#916feature
iOS
support word-wrap on iOS when drawing text #887improvement
web
refactor appear watcher, image lazyloading, components implementation, some APIs, and the event triggering and handling system.improvement
web
significantly improved runtime performance.bugfix
web
fix event binding.bugfix
web
fix indicator item styles.bugfix
web
fix slider's overflow style.feature
web
support create weex components through render function.feature
web
support binding native events for custom components with .native modifier.feature
web
all weex native events should be dispatched through dom elements.improvement
web
refactor test procedure flow and increase test cases' total number to 96.bugfix
web
fix two way binding for <input>
component.bugfix
web
fix return event for <input>
component.bugfix
web
fix errors relative to createEventMap.feature
web
now you can use ‘wx’ unit.improvement
web
remove weex.createEventMap method.bugfix
web
fix component's styles.bugfix
web
fix test cases for <switch>
and <input>
.bugfix
web
webview.reload for <web>
component always throws a error.bugfix
web
should trigger error event when a cross origin issue arises.bugfix
web
always trigger a error event when loaded a cross origin page.bugfix
web
trigger duplicated appear/disappear events when there're more than one list.feature
Android/iOS
Support writing direction style:direction=rtl
(#782#886)feature
Android/iOS
Support scroll start and scroll end event on scroller and list (#858856)feature
iOS
support text max-width (#834)feature
Android
CSS Transiton Animation Supported component (#851)feature
Android
New local
module (#781)feature
Android
Support ripple background on Android 5.0 and higher (#792)feature
Android
Support multi language on dialog (#831)feature
H5
Support lazyload and appear watcher when body height set to 100% (#827).feature
H5
Add try catch for storage accessing incase user disabled the related function in a browser (#827).feature
H5
image support css sprite (sprite-src, sprite-position, sprite-width) (#827).feature
JSFM
Support batch update styles and attributes in Vue.js (#819 #7046)feature
JSFM
Stop trimming CSS units in richtext component. (#6927)feature
JSFM
Stop rethrow the captured error on Weex platform. (#7024)feature
JSFM
Upgrade weex-vue-framework to 2.5.3 (release nodes)feature
JSFM
Adjust the behavior of nextTick
to improve compatibility.bugfix
iOS
bugfix boxshadow render abnormal (#791)bugfix
iOS
bugfix timer exposed on JSContxt (#839)bugfix
iOS
fix iOS8 scrollview’s assign delegate crash (#838)bugfix
iOS
fix setViewport:sometimes doesn’t work(#843)bugfix
iOS
fix addEvent lead to generate a new view while it as been recycled (#837)bugfix
iOS
fix about setting nan frame crash (#853)bugfix
iOS
disable tableview estimation row or section height which make list component behavior abnormal (#867)bugfix
Android
Fix that moveElement doesn’t work when parent is not a list (#805)bugfix
Android
Fix flicker caused by coexistence of box-shadow and border-radius (#780)bugfix
Android
Fix android new Date() cannot get accuracy time (#753)bugfix
H5
Fix scroll event listenning and scrollToElement on chrome for the latest version (#827).image.save
(#575).ArrayBuffer
between js and native.<recycle-list>
, both in Vue and Rax DSL.image
#547cell
#643box-shadow
style for Android 4.3 and higher #685recycle-list
compoent with hight performance and low memory cost #726list
in viewpager #601weex.supports
api for feature detections. #6053WXImageQuality.AUTO
#478scroll
event on horizontal scroller#494text
cannot be reset #493slider
#510list
#512waterfall
component (#438).list
#416waterfall
#424clearTimeout
and clearInterval
doesn't work when funId is greater than 127 #439scroller
now has pagingEnabled
attribute, which can enable paging
feature in native Pull Request#393line-height
feature in iOS. Pull Request#377 Pull Request#305needLayout
option in animation module operation after animation finished Pull Request#337 Pull Request#336list
component has new type of event for sticky
feature Pull Request#332aria-label
& role
support [apache/incubator-weex/pull/149|https://github.com/apache/incubator-weex/pull/149]number
data type; support soft keyboard event.we
), which is inspired by Vue 1.0, is deprecated. Although it still works well in this release, we suggest to migrate it to Vue 2.0.New CSS support
text font-weight
font-weight
can set to [normal
|bold
] or 100-900.
gradient like CSS3, now you can use gradient in Weex. For example:
background-image: linear-gradient(to right, blue, white);
Pseudo class Currently, Weex supports 4 pseudo classes:active
, focus
, disabled
, enabled
.
New BroadcastChannel API Developers can use BroadcastChannel
API to implement inter-instance communication.
const Stack = new BroadcastChannel('Avengers') Stack.onmessage = function (event) { console.log(event.data) // in this case, it's "Hulk Smash !!!" } // in another instance const Hulk = new BroadcastChannel('Avengers') Hulk.postMessage("Hulk Smash !!!")
Image's onload
event add naturalHeight
and naturalWidthimage
to get the original size of image file.
Websocket Support WebSockets is an advanced technology that makes it possible to open an interactive communication session between the user's h5/iOS/android and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply. Read more about Weex's websocket.
Support synchronous method call Both module and component method can defined synchronous method exposed to JS runtime now. Means native will invoke these method in JS thread directly.
Support viewport
configuration Similar to W3C specification, Weex support set define viewport
in script tag:
<script type="config"> { "viewport": { "width": "device-width" } } </script>
getComponentRect
:var dom = require('@weex-module/dom'); dom.getComponentRect(this.$el('comp_id'), function(data){ if(data.result) console.log(data); });The
data
callback parameter contains a result
to tell if operation is success. And size
tell you the true data(bottom
/top
/left
/right
/width
/height
) of component.picker
module. We have ‘single-picker’,‘date-picker’ and ‘time-picker’ currently, and more common pickers are on the way. There are two ways to use picker
picker
module directly:var picker = require('@weex-module/picker'); var self = this; picker.pickDate({ 'value':'2016-11-28', 'max':'2029-11-28', 'min':'2015-11-28' },function (ret) { var result = ret.result; if(result == 'success') { self.value = ret.data; } });
input
component also add ‘date’ and 'timetype to work with
picker` module internally:<input type="date" placeholder="select date" class="input" autofocus="false" value="" onchange="onchange" max = "2029-11-28" min = "2015-11-28" ></input>
width
and height
property.blur
and focus
method to manually control input
component to lose or get focus.width/height
animation in transitioncallAddElement
low-level API to make rendering fasterSet
polyfill to fix iOS7 memory leaksetProperty
replace reflection for better performancestatic
directive in default js framework to avoid unnecessary data-binding and take down the memory useimage
component's error page when src is invalidborder
,padding
,background-color
stylescrollto
apiposition:fixed
style can not be closedobject
paramssetIndex
apicallNative
signal to stop JSFM render after instance been destroyedweex-toolkit supports require and generator
Playground supports runtime performance viewer
Text
supports style text-overflow.Image
supports attribute resize.List
supports events appear
, disappear
, loadmore
and refresh.require('@weex-module/moduleName')
.