Skip to content

Releases: didi/mpx

v1.0.26

26 Jan 07:44
Compare
Choose a tag to compare

Feature

  • 优化渲染函数
  • 优化类和样式的绑定
  • 新的实例api:$set, $get, $remove

v1.0.25

21 Jan 09:42
Compare
Choose a tag to compare

Bugfix

  • 修复了iconPath需要通过在路径最后加'?fallback'避免转base64的问题

v1.0.24

17 Jan 10:11
Compare
Choose a tag to compare

Feature

  • 新增对.th扩展名的支持

v1.0.23

11 Jan 06:53
Compare
Choose a tag to compare

Bugfix

  • 处理v1.0.21版本中引入的对于非identifier事件名(如click-event)编译报错的问题,同时这类事件将无法使用内联参数传递及wx:model功能(原因在于微信小程序模板解析的缺陷,目前正在推动微信修复)

v1.0.21

09 Jan 05:48
Compare
Choose a tag to compare

Bugfix

  • core: 修复watch handler中的error不抛出的问题
  • webpack-plugin: transRpx设默认值,修复双向绑定中对其他事件处理函数的干扰

v1.0.20

04 Jan 05:59
Compare
Choose a tag to compare

Bugfix

  • 修复lang="wxml"时报consolidate不支持该模板的问题
  • 修复自定义组件里新增的lifetimes导致数据响应式不正常的问题

v1.0.19

03 Jan 07:15
Compare
Choose a tag to compare

Feature

  • 支持.mpx中使用wxs
  • 支持.mpx的template域中通过lang属性使用其他模板语法编写模板(如pug)

v1.0.18

02 Jan 05:29
Compare
Choose a tag to compare

Feature

  • 【webpack-plugin】mpxLoader配置更新,rpx相关的集中于transRpx内
  • 【webpack-plugin】transRpx提供include和exclude选项允许自定义rpx转换的作用规则
  • 【core】支持watch传3个参数,增加updated生命周期钩子

v1.0.16

02 Jan 04:14
Compare
Choose a tag to compare

Bugfix

  • 锁定loader-utils依赖的版本以避免新版本产生的一个bug

v1.0.14

02 Jan 04:13
Compare
Choose a tag to compare

Bugfix

  • 修复分包的问题

Feature

  • 支持TS,通过在script上写lang="ts"来编写ts代码

其他

  • 补全package.json里的相关信息