Newest Version is V0.4.3

About Version number

Version number is formated as x.y.x, it's defined by Semantic Versioning 2.0.0:


v0.4.3 - 2016-03-28

  • Fix bug: city picker bug with inital value.
  • There can be more than one city picker and datetime in the same page.
  • The router will ignore links with href="javascript:;"
  • Swiper update to V3.3.1
  • Fix toast position
  • Fix bug: the keyboard will open when open calendar on some android device.
  • Fix bug: zoom gesture bug in photo browser
  • Add new demo: pull to refresh and infinite scroll in tabs
  • Add Version Number in JS file

v0.4.2 - 2016-03-14

This version focus on bug fix.

  • Fix bug: the entire page will scroll when touchmove on picker.
  • Fix bug: the toast is not in the center of page.
  • Modal and Actionsheet can be closed by click overlay.
  • Fix bug of Router: .back link with no href attr will redirect to a undefined link when there is no history in router.
  • Fix bug of Router: $.router.reloadPage() will cause error of history.

v0.4.1 - 2016-01-28

  • Fix router bug: JS error when use inline page.

v0.4.0 - 2016-01-25

  • Update the doc.
  • Publish light7 on npm.
  • Remove unused file.

v0.3.1 - 2016-01-18

v0.3.0 - 2016-01-15

  • New Notification.
  • Fix bug in router: router will remove extras related it when remove ajax page, such as popup and panels.
  • Fix bug in fastclick: The error handle of label click may cause stack overflow bug.
  • The name of index list method changed to $.fn.indexList, because the jQuery already has a method named index. see in Contacts List.
  • Remove hairline, use border instead. Because hairline not works well on android device, especially when scroll page.

v0.2.1 - 2015-12-28

  • Add a iOS-like index list in Contacts List
  • Fix a bug: Forgot to change file name light7-extend.js to light7-swiper.min.js

v0.2.0 - 2015-12-24 - Merry Christmas!

  • Fix a bug: cssmin will merge some css properties when it compress the css file.This will cause some bug on android devices because it remove some important css properties.
  • New component - Swipeout.
  • i18n support - I18N.
  • fix bug in Side Panel: Panel can not be open by slide when navigate to another page. Because the panel animates the initial page instead of current page.
  • Note! light7-extend.js has been renamed to light7-swiper.js, and light7-extend.css has been renamed to light7-swiper.css.
  • New param in Modal: closePrevious to close all previous when open new dialog.
  • New color and background class in Text and Action Sheet.

v0.1.0 - 2015-12-20

  • The main repo Light7 has been translated to English. And there is a chinese repo - Light-CN too.
  • Light7 can work with both jQuery and Zepto now! choose the one you like.
  • Add new Component: Popover.
  • Fix a bug: when include JS file in header, Fastclick and modal will get an empty document.body
  • Add a replace config in router, so you can load a new page to replace current page in history but not push to history. And also a new reloadPage method to reload current page.
  • router will remove old page with same id when load new page.
  • Fix fastclick bug: It do nothing when click element is wrapped by an label, because of a error fix.

V0.0.5 - 2015-11-30

  • 修复了 路由 在safari中的bug,会导致safari在页面加载完成之后直接后退一次。
  • 修复了 日期时间选择器 没有格式化"小时"的问题:现在小时也会被格式化成两位数。
  • 修复了 侧栏 弹出后在safari中会导致页面横向滚动的问题。
  • 更新 picker,现在会自动读取 input 的值作为默认值。


  • 修复了 幻灯片 中的一处代码错误,会导致幻灯片无法自动初始化。
  • 更新了 popup 文档中代码的错误: 如果想自动打开 popup,需要加上 open-popup 类才可以。
  • 更新了 路由 : 现在你可以使用路由进行工具栏切换了。修复了 pageReinit 的bug。 修复了当新页面只有一个 .page 容器时的错误。
  • 现在你可以显示和隐藏工具栏了。
  • 增加了一个新的 案例 页面。

V0.0.3 - 2015-11-03

  • 修复了使用 路由器时,如果刷新了页面,回退按钮需要点击两次才生效的bug
  • 修复了 图片浏览器文档demo中的错误
  • 更新了 幻灯片 的文档

V0.0.2 - 2015-10-29

  • 路由器 增加了一个 $.config.router 配置。现在你可以全局关闭路由器了。
  • 修复了一些文档中的错误。