Skip to content

Releases: baidu/san-ssr

v5.3.1

09 May 06:55
Compare
Choose a tag to compare

5.3.1 (2022-05-09)

Bug Fixes

  • update deps @semantic-release/commit-analyzer and @semantic-release/npm (cf75d47)

v5.3.0

21 Apr 07:38
Compare
Choose a tag to compare

5.3.0 (2022-04-21)

Features

  • support custom output data (e3b8664)

v5.2.0

18 Apr 10:54
Compare
Choose a tag to compare

5.2.0 (2022-04-18)

Bug Fixes

  • revert "computed 应该在 inited 之前调用" #144 (2b80c02)
  • 根组件有 if 指令时,没有输出数据 #146 (30b7f1c)

Features

  • support [] while calling data methods (30fd0dd), closes #145

v5.1.0

02 Apr 03:08
Compare
Choose a tag to compare

5.1.0 (2022-04-02)

Bug Fixes

  • move define ComponentClass into if block (e7f1fd6)
  • 插值运算为 + 时,进行了局部转义,应为整体转义 (a6d4622)

Features

  • render 函数兼容多参数的情况 (ff24c26)
  • support auto require entry component (2ca6c32)

v4.9.2

18 Jan 13:11
Compare
Choose a tag to compare

4.9.2 (2022-01-18)

Bug Fixes

  • 插值运算为 + 时,进行了局部转义,应为整体转义。 (30bfd19)

v5.0.4

27 Dec 09:20
Compare
Choose a tag to compare

5.0.4 (2021-12-27)

Bug Fixes

  • emit comment 处理 interpExpr 的情况 (2644e55)

v5.0.3

27 Dec 08:49
Compare
Choose a tag to compare

5.0.3 (2021-12-27)

Bug Fixes

  • emit comment 处理 interpExpr 的情况 (2fda583)

v5.0.2

22 Dec 06:10
Compare
Choose a tag to compare

5.0.2 (2021-12-22)

Bug Fixes

  • dynamic component child with if (2dbc051)

v5.0.1

15 Dec 10:58
Compare
Choose a tag to compare

5.0.1 (2021-12-15)

Bug Fixes

  • error using useProvidedComponentClass with componentLoader (7705623)
  • error when using useProvidedComponentClass with s-is (f08b821)
  • useProvidedComponentClass 时,传入复杂类,会报错 (d66d8a9)

v5.0.0

06 Dec 06:07
Compare
Choose a tag to compare

5.0.0 (2021-12-06)

Bug Fixes

  • child components maybe undefined (3bdfec0)
  • ChildComponetClass 可能会重复 (d8e0fa0)
  • compile call expression twice got error (3404cd1)
  • compile call expression twice got error (0329a1d)
  • computed 应该在 inited 之前调用 (aa21455)
  • s-bind error if value is null or undefined #135 (e731d02)
  • toSource render params (631483e)
  • 使用字符串常量作为 COMPONENT_REFERENCE (3b48b37)
  • 修改 createInstanceFromClass,补全所有属性。 (d43b327)
  • 手动传入 class 时,使用 Object.create 创建 instance (2ad9def)

Features

  • customSSRFilePath 与 customComponentFilePath 参数中增加 tagName (158bdd3)
  • e2e 测试时,输出到每个case中output下的随机目录中 (4b7a5d9)
  • support dynamic tagName as normal html tags #134 (b3ac8a8)
  • 使用新版本的 san.d.ts (a9649f2)
  • 删除原始组件定义代码中无用的子组件定义 (1fc6d47)
  • 增加 lifeCycle 属性 (8d70ed6)
  • 支持渲染阶段使用手动传入的组件类 (1b66ed1)
  • 支持输入为 class 时,标记外部组件 (0537911)
  • 支持运行时改变子组件的路径 (aae9378)
  • 收敛 renderer 的参数 (c0e63f9)
  • 收敛 renderer 的参数 (47a0424)
  • 组件实例中增加 sourceSlots 属性。 (ae6c698)
  • 适配新版本的 san.d.ts (dcd29c2)

BREAKING CHANGES