3.14.3 (2024-07-05)
3.14.2 (2024-06-24)
3.14.1 (2024-01-26)
3.14.0 (2024-01-23)
3.13.3 (2023-07-06)
3.13.2 (2023-06-04)
3.13.1 (2023-05-31)
3.13.0 (2023-04-18)
3.12.0 (2022-05-30)
- parse templateComponent (883cd24)
- replace instance creation with object literal in template component (7a59118)
- simplify the template component's rendering function (1955ddc)
- support defineTemplateComponent (15c17ec)
5.4.0 (2022-05-09)
- add cache to getRenderer and getChildComponentClass (bf091b4)
- remove map filter reduce foreach in runtime (a757013)
5.3.1 (2022-05-09)
- update deps @semantic-release/commit-analyzer and @semantic-release/npm (cf75d47)
5.3.0 (2022-04-21)
- support custom output data (e3b8664)
5.2.0 (2022-04-18)
5.1.0 (2022-04-02)
5.0.4 (2021-12-27)
- emit comment 处理 interpExpr 的情况 (2644e55)
5.0.3 (2021-12-27)
- emit comment 处理 interpExpr 的情况 (2fda583)
5.0.2 (2021-12-22)
- dynamic component child with if (2dbc051)
5.0.1 (2021-12-15)
- error using useProvidedComponentClass with componentLoader (7705623)
- error when using useProvidedComponentClass with s-is (f08b821)
- useProvidedComponentClass 时,传入复杂类,会报错 (d66d8a9)
5.0.0 (2021-12-06)
- 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)
- 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)
- a6deec81986575d687daab64e39e937fe69a24ae
5.0.0-beta.6 (2021-09-26)
5.0.0-beta.5 (2021-09-26)
5.0.0-beta.4 (2021-09-24)
5.0.0-beta.3 (2021-09-22)
- 使用字符串常量作为 COMPONENT_REFERENCE (7434587)
5.0.0-beta.2 (2021-09-14)
- 手动传入 class 时,使用 Object.create 创建 instance (dd37fe6)
5.0.0-beta.1 (2021-09-13)
- 收敛 renderer 的参数 (21b13a3)
- a6deec81986575d687daab64e39e937fe69a24ae
4.10.0-beta.1 (2021-09-13)
- child components maybe undefined (9bc2bdc)
- ChildComponetClass 可能会重复 (b6a04e5)
- toSource render params (bc2a6cd)
- customSSRFilePath 与 customComponentFilePath 参数中增加 tagName (c04734c)
- e2e 测试时,输出到每个case中output下的随机目录中 (66e1483)
- 删除原始组件定义代码中无用的子组件定义 (2bff855)
- 支持渲染阶段使用手动传入的组件类 (ac1d97e)
- 支持输入为 class 时,标记外部组件 (0fe957d)
- 支持运行时改变子组件的路径 (bf00b38)
- 收敛 renderer 的参数 (a6deec8)
4.9.1 (2021-09-13)
4.9.0 (2021-09-09)
- 支持使用名称不为 san 的包 (b8ba4c2)
4.8.0 (2021-08-16)
- render 函数使用未声明的变量 initData (ef4bb5e)
- add error hook (54fb958)
- add unit test for error hook (34cec13)
- move handleError to underscore (e936157)
- support esbuild (008b403)
4.7.1 (2021-08-09)
4.7.0 (2021-06-21)
4.6.4 (2021-05-21)
- template 表达式中不支持 % 运算符 (21d414f)
4.6.3 (2021-04-14)
4.6.2 (2021-04-06)
- 修复 class 属性为 falsy 时直接取了默认值的问题 (609401f)
4.6.1 (2021-03-30)
4.6.0 (2021-03-22)
- 支持对象字面量形式的子组件 (dbcce56)
4.5.0 (2021-02-18)
- 支持 components 属性通过 self 调用自身组件 (41dda59)
4.4.2 (2021-02-05)
- 修复 initData 初始值为 falsy 时会赋值成默认值的问题 (922e718)
4.4.1 (2021-01-27)
- 修复属性值不支持 raw 的问题 (4874a94)
4.4.0 (2021-01-27)
- renderer AST 提供 SlotRenderCall 结构 (8ce69d1)
4.3.0 (2021-01-21)
- 支持配置正则移除模块引用 (b443052)
4.2.0 (2021-01-07)
- renderer AST 提供 GetRootCtxCall, ComponentReferenceLiteral, SlotRendererDefinition 结构 (3a26e0a)
4.1.1 (2020-12-18)
4.1.0 (2020-12-07)
4.0.3 (2020-11-20)
4.0.2 (2020-11-11)
- 添加 estree type (被 san-ssr export 了) 作为依赖 (e8d0f90)
4.0.1 (2020-11-09)
- 所有 render 函数都统一通过 exports.sanSSRRenders 暴露出来 (74536c9)
4.0.0 (2020-11-05)
- demo/ 下添加更多用例 (17e19d2)
- 支持 s-is 指令,见 baidu/san#533 (f8c2b81)
- 提供 JSSanSourceFile 抽象 (549531e)
- 提供 SanFileParser 工具 (50c7387)
- San 组件中,不再支持定义 getComponentType 方法
- SanSourceFile ComponentInfo 类型有变化
3.0.1 (2020-08-27)
- undefined/null 值应该输出为 "" (37e91b2)
3.0.0 (2020-08-04)
- 升级所有依赖,包括 ts-morph 版本(它也用于 ts2php)
2.2.4 (2020-07-31)
- 修复输入为 TypeScript 时不调用构造函数的问题 (40bf654)
2.2.3 (2020-07-27)
2.2.2 (2020-07-16)
- 支持了 trimWhitespace 和 delimiters,见 https://baidu.github.io/san/doc/api/#trimWhitespace (ca9be69)
2.2.1 (2020-07-10)
- 只在合并数据时属性名转 camelCase (af4893f)
2.2.0 (2020-07-06)
- 支持 [email protected] (5de18cc)
2.1.0 (2020-07-03)
- SanProject#compile({filePath, fileContent}) (4ed9cf1)
2.0.1 (2020-07-02)
- more accurate type for parseSanSourceFile() (4078ad7)
2.0.0 (2020-07-02)
- TypeScript 输入静态分析;以 SourceFile 为粒度编译 (1000a05)
-
- ComponentTree 对象不再可用,只给出当前 SourceFile 的 Component 列表(平铺)
- dependency resolver API 不再可用,比如 .getRuntimeDependencyDeclarations() 已经被移除
1.13.1 (2020-06-12)
- types for Component (9007876)
1.13.0 (2020-06-02)
1.12.0 (2020-05-29)
1.11.2 (2020-05-18)
1.11.1 (2020-05-14)
1.11.0 (2020-05-14)
1.10.2 (2020-03-27)
- reutilization of RendererCompiler (8269ae1)
1.10.1 (2020-03-19)
- Component#getComponentType() not working (440e48f)
- JSEmitter not flushing when fullText() called (d79fe95)
- fix dot notation in dataAccess and callExpr (c708bcd)
1.10.0 (2020-03-04)
- data.removeAt() during SSR (30c929e)
1.9.7 (2020-03-02)
- SanData#get() return undefined when not found (a54918f)
1.9.6 (2020-02-20)
- fixed ts-morph version (bcbc3e3)
1.9.5 (2020-02-20)
- remove dependency
ts2php
(f930199)
1.9.4 (2020-02-19)
- add /types in package.json#files (59d2c4f)
1.9.3 (2020-02-18)
1.9.2 (2020-01-14)
- url in package.json (bd4ef00)
1.9.1 (2020-01-10)
- ensure data access with valid identifier (8284ddb)
1.9.0 (2020-01-08)
- filters#this point to component instance (034c295)
1.8.1 (2020-01-06)
1.8.0 (2020-01-05)
- compile to renderer (a2383a1)
1.7.1 (2020-01-02)
- type for initData() (92c99a4)
1.7.0 (2020-01-02)
1.6.0 (2020-01-02)
1.5.3 (2019-12-26)
- remove requiring test case impl on start (930c323)
1.5.2 (2019-12-26)
- don't throw when tsconfig not specified (08aaa10)
1.5.1 (2019-12-26)
- Renderer signature (1e0ce6e)
1.5.0 (2019-12-25)
1.4.0 (2019-12-25)
1.3.11 (2019-12-23)
- common-js not caching the actual file path (aee90ea)
1.3.10 (2019-11-26)
- add sourcefile before parseSanApp() (4ad19ed)
1.3.9 (2019-11-21)
- remove console.log (6488873)
1.3.8 (2019-11-21)
- multiple parses for the same project (60424d1)
1.3.7 (2019-11-19)
- not throw when tsconfig not defined (9ec8a18)
1.3.6 (2019-11-19)
- dependencies (b8f7828)
1.3.5 (2019-11-15)
$
in php string (fd252f4)
1.3.4 (2019-11-14)
- format compilerOptions for ts2php, fixes #19 (cb2329d)
- remove when noDataOutput is true, fixes #21 (c05ef7d)
1.3.3 (2019-11-13)
1.3.2 (2019-11-09)
1.3.1 (2019-11-08)
- temp fix for data.set call in method (e60a0ad)