cocoaui icon indicating copy to clipboard operation
cocoaui copied to clipboard

[announce] CocoaUI 1.2.4, a big step forward!

Open ideawu opened this issue 10 years ago • 2 comments
trafficstars

新特性:

  • 更加符合 CSS 规范(2015-11-13)
    • 因此, 它有可能和老版本的布局有一些差异, 千万要充分测试你的老代码!
  • 支持格式不合法的 HTML(2015-11-13)
    • 老版本无法识别格式不合法的 HTML, 例如有标签不正确闭合. 现在, 使用 libxml2, CocoaUI 可以像浏览器一样, 兼容格式不合法的 HTML 了!

Bug 修复:

  • 修复 ITable 上调用 beginRefresh() 不起作用的 bug, iOS 9.0(2015-11-12)
    • 在 iOS 9.0+, 当你第一次在代码中调用 beginRefresh() 时(页面渲染后不要做任何 UI 交互操作), 并没有显示下拉刷新的转圈图标. 现在已经修复了这个问题.
  • 修复 "background: url(a.png)" 不显示图片的 bug, iOS 7.0.3(2015-11-11)
  • 修复 addClass/removeClass 没有正确工作的 bug(2015-11-10)
    • 因为 1.2.4 更加符合 CSS 规范了.

不兼容的改动:

  • 删除了 IStyleUtil(2015-11-14)
  • 更加符合 CSS 规范(2015-11-13)
    • 特性, 所以有可能不是 100% 兼容老版本.
  • 对不支持的标签更友好(2015-11-13)
    • 对于 CocoaUI 不支持的标签, 统一当作文本类标签来处理.

New features:

  • More compatible with CSS specification(2015-11-13)
    • So, UI layout may act a bit different to older versions, TEST 1.2.4 with your existent codes very carefully!
  • Support malformed HTML(2015-11-13)
    • Yes, older versions of CocoaUI will not work with malformed HTML, now with libxml2, it works!

Bug fixes:

  • Fix ITable first call of beginRefresh() UI not working on iOS 9.0(2015-11-12)
    • On iOS 9.0+, if you call beginRefresh() programatically just after the UI is rendered(do not od any UI interaction), the UI stands still, but not showing a loading indicator as expected. Now it is fixed.
  • Fix "background: url(a.png)" image not showing on iOS 7.0.3(2015-11-11)
  • Fix addClass() bug, now addClass/removeClass work in the right way(2015-11-10)

Thanks to more compatible with CSS specification

Incompatible changes:

  • Remove IStyleUtil(2015-11-14)
  • More compatible with CSS specification(2015-11-13)
    • NEW feature, so it may not be 100% compatible with older versions.
  • Treats unknown tags more friendly(2015-11-13)
    • All unkown tags are treated as plain text tag

ideawu avatar Nov 14 '15 07:11 ideawu

新版本目前在 dev 分支上, 很快就会合并到 master.

ideawu avatar Nov 14 '15 07:11 ideawu

新版本已经合并到 master 了!

ideawu avatar Nov 16 '15 08:11 ideawu