Skip to content

Latest commit

 

History

History
1008 lines (428 loc) · 26.2 KB

File metadata and controls

1008 lines (428 loc) · 26.2 KB

2.11.0 (2026-01-19)

Bug Fixes

Features

2.10.0 (2025-12-04)

Features

  • 修改ts类型 (aa491c3)
  • 增加获取研发模式样式api (7e23688)

2.9.1-beta.5 (2025-11-06)

2.9.1-beta.1 (2025-11-06)

Bug Fixes

  • 组件实例添加别名字段以及插槽信息 (07c32f5)

2.9.1-beta.0 (2025-08-27)

Features

2.9.0 (2025-08-26)

Features

2.8.5-beta.0 (2025-08-04)

Bug Fixes

2.8.4-beta.0 (2025-07-24)

Features

  • 新增 ComponentSetUkey (ecfbc37)

2.8.3-beta.0 (2025-06-05)

Features

  • getnodebyid 增加泛型: 增加泛型,提高ts代码体验 (899c65e)
  • support snipptegen plugin (0b557c3)

2.8.2 (2025-05-26)

Features

  • support mode: 新增 mode 字段用于判断插件当前运行的模式 (#95) (036b22a)

2.8.2-beta.0 (2025-03-14)

Bug Fixes

  • radius 相关接口类型声明不全面 (#94) (a25cd97)

2.8.1-beta.0 (2025-03-04)

Features

  • dsl 支持获取 font shorthand property,支持获取 effect 相关属性 (#93) (ebc0c80)

2.8.0 (2025-02-25)

2.8.0-beta.4 (2025-02-18)

Features

  • disabled createStyleRef and support edit component prop alias (#92) (851a886)

2.8.0-beta.3 (2025-01-21)

Bug Fixes

2.8.0-beta.2 (2025-01-17)

2.8.0-beta.1 (2025-01-17)

2.8.0-beta.0 (2025-01-02)

Features

  • support DSM/ReadyForDev/Confirm/Prompt API (#89) (62dd2bf)

2.7.0 (2024-12-18)

Features

2.5.0 (2024-07-08)

Features

2.4.0 (2024-04-25)

Features

  • 自动布局补充字段 (495e3a8)

2.3.0 (2024-01-31)

Features

  • 团队库增加组件的cover和宽高 (1eb2855)
  • 增加等比缩放系数 (5afbaf4)

2.2.0 (2023-11-22)

Features

  • 文字分段样式增加fillStyleId (f508d08)

2.1.0 (2023-10-12)

Features

  • 更新pkg (f708fc7)
  • saveVersionHistoryAsync增加标题参数 (1fef69d)

2.0.0 (2023-09-25)

Bug Fixes

Features

  • 插件API支持SECTION类型 (ae02af9)
  • 全局增加createSection的接口 (da713b1)
  • 新增组件集属性别名相关方法/画布在整个窗口中的位置 (5b212c9)

1.21.0 (2023-07-06)

Bug Fixes

  • 补充paint的name字段 (217c68e)
  • opaque图层禁止修改相对矩阵 (fb634b1)

Features

  • 添加轮廓蒙层和是否可视属性,文本支持省略 (89414ad)
  • 增加pluginId (321db49)
  • document增加id (d2bfdff)

1.20.0 (2023-04-27)

Bug Fixes

  • 补充paint的name字段 (217c68e)
  • opaque图层禁止修改相对矩阵 (fb634b1)

Features

  • 添加轮廓蒙层和是否可视属性,文本支持省略 (89414ad)
  • 增加pluginId (321db49)
  • document增加id (d2bfdff)

1.19.0 (2023-04-11)

Features

  • 添加currentUser接口 (ebc74c3)

1.18.0 (2023-04-06)

Features

  • 容器图层增加expanded属性, 实例增加resetoverrides方法 (a2d1bad)

1.17.1 (2023-03-30)

Bug Fixes

  • getSharedPluginDataKeys返回错误 (cb9c3cd)

1.17.0 (2023-03-30)

Bug Fixes

  • 完善flatten返回值类型 (687ff5d)
  • 修复布尔组的childrenMixin的错误 (25c6588)
  • 修复instance的swapComponent和detachInstance类型错误 (c8aa208)
  • userenderBounds注释错误 (caae3fb)

Features

  • 实例切换首选项和公开嵌套实例 (a821c55)
  • 移除group和布尔组的约束属性 (a636dd4)

1.16.2 (2023-03-23)

Bug Fixes

  • 修复instance的swapComponent和detachInstance类型错误 (c8aa208)

1.16.1 (2023-03-22)

Bug Fixes

  • groupNode和booleanOperation移除frameContainerMixin (de52f6c)

1.16.0 (2023-03-21)

Features

  • 修改combineAsVariants类型 (16c2cd0)
  • 修改combineAsVariantstype (bd59082)
  • combineAsVariants (f683658)

1.15.1 (2023-03-16)

Bug Fixes

  • 修复penNetwork错误类型 (ea28765)

1.15.0 (2023-03-15)

Features

  • 添加notify方法参数, 以及关闭方法 (ae12bba)
  • SceneNodeMixin增加attachedConnectors (62af223)

1.14.0 (2023-02-07)

Features

  • 增加异步导出接口exportAsync (5327398)

1.13.0 (2023-01-12)

Bug Fixes

  • 修复组件图层clone方法返回值类型错误问题 (3558202)
  • 修改错误componentPropertyReferences类型 (dcdb0b8)

Features

  • 补充组件属性类型 (a58b2da)
  • 导出设置增加useRenderBounds, 增加不同类型区分导出数据 (852044d)
  • 更改componentPropertyReferences类型 (3e67ca1)
  • 更换子组件props命名 (76a1b75)
  • 合并webp为image (e4d1c13)
  • 合并webp为image (627bfa0)
  • 添加absoluteRenderBounds和absoluteBoundingBox接口 (924b83a)
  • 文字样式增加fontName (8d72a18)
  • 新增组件属性相关types (a7f4e67)
  • 修改absoluteRenderBounds和absoluteBoundingBox返回类型 (b90dd96)
  • absoluteBoundingBox去除null返回值 (7e903ef)

1.12.0 (2022-12-20)

Features

  • 类型优化,添加ui.viewport和ui.moveTo (8fc66ea)
  • 修改ui可视属性字段名 (6cd233d)

1.11.0 (2022-12-15)

Bug Fixes

  • 修复错误的parent类型 (b92257d)

Features

  • 添加getNodeByPosition接口 (9cda766)
  • 文字分段样式增加lineHeightByPx描述实际px行高字段 (0cd8111)
  • 修改返回值类型 (eb71a36)

1.10.2 (2022-12-13)

Features

  • 添加mg.mixed (8196894)
  • 废弃teamLibrary, 换成getTeamLibraryAsync(ffecaa)

1.10.0 (2022-12-01)

Features

  • 文字分段样式增加fontWeight字重字段 (3619b51)
  • 文字新增百分比行高 (a560491)

1.9.0 (2022-11-24)

Bug Fixes

  • 修复ComponentPropertyDefinitions类型不清晰的问题 (dd8ad00)
  • 修复variantProperties类型不清晰问题 (1da5b1d)
  • 移除BooleanOperationNode, ComponentSetNode, InstanceNode无效的appendChild, insertChild方法 (c3da0cd)

Features

  • 添加flatten和rescale接口 (dc87721)
  • 图层新增翻转接口/新增findAllWithCriteria接口/全局创建组件和创建容器方法新增可选参数 (a318458)
  • 新增setRangeTextStyleId设置分段文字样式 (7cd5e9c)
  • 与group等接口统一类型 (4107784)
  • textNode增加setRangeFillStyleId (f03314b)

1.8.0 (2022-11-18)

Features

  • 添加clientStorage的deleteAsync和keysAsync方法 (481d020)

1.7.1 (2022-11-16)

1.7.0 (2022-11-11)

Bug Fixes

  • 删除PageNode不存在的pluginData相关接口 (6bf26d0)
  • 修复Document findAll和findOne入参出参类型错误问题 (4576d99)
  • 修复DocumentNode类型错误问题 (b34511e)
  • 修复export接口返回类型错误问题 (8760817)

Features

  • 添加ShowUIOptions.x, ShowUIOption.y (298e252)
  • 新增teamLibrary, importComponentByKeyAsync, importComponentSetByKeyAsync, importStyleByKeyAsync等团队库接口 (8a59a5c)

1.6.1 (2022-11-09)

Features

  • viewport增加rulerVisible控制标识显示和layoutGridVisible控制布局网格展示 增加resizeToFit()让容器图层缩放到和内容尺寸一致 增加文字列表样式listStyle (2d22357)

[1.5.0] (2022-10-18)

Features

  • 添加command、run

[1.4.0] (2022-10-13)

Features

  • 调整changelog
  • 连接线增加bound
  • 限定master
  • 修复loadFontAsync的返回类型错误问题
  • 移除test
  • 增加锁定比例字段
  • 增加自动布局相关定义
  • 增加ignore

[1.3.0] (2022-09-30)

Features

  • 连接线增加bound
  • 修复loadFontAsync的返回类型错误问题
  • 增加锁定比例字段
  • 增加自动布局相关定义

[1.1.0] (2022-09-16)

Bug Fixes

  • 限制连接线的strokeAlign为center
  • 修复connector的strokeAlign可写的bug

Features

  • 添加textcase类型
  • 完善连接点类型
  • 移除超链接,等待接入新版
  • 移除createText参数
  • 增加connector类型typings

[1.0.0] (2022-09-02)

Bug Fixes

  • 修复strokeStyle type错误问题

Features

  • 补充lineNode strokeCap
  • 补充scaleMode
  • 更新package设置及readme
  • 整理npm包,移除工具函数

[1.0.0] (2022-09-02)

Bug Fixes

  • 修复strokeStyle type错误问题

Features

  • 补充lineNode strokeCap
  • 补充scaleMode
  • 更新package设置及readme
  • 整理npm包,移除工具函数

[1.0.0] (2022-09-02)

Bug Fixes

  • 修复strokeStyle type错误问题

Features

  • 补充lineNode strokeCap
  • 补充scaleMode
  • 更新package设置及readme
  • 整理npm包,移除工具函数

[1.1.0] (2022-09-02)

Bug Fixes

  • 修复strokeStyle type错误问题

Features

  • 补充lineNode strokeCap
  • 补充scaleMode
  • 更新package设置及readme
  • 整理npm包,移除工具函数

[0.4.0] (2022-07-22)

Bug Fixes

  • 修复booleanoperation的type错误

Features

  • 添加单边描边类型
  • 增加获取自定义样式列表接口
  • 增加document name 属性

[0.3.1] (2022-07-08)

[0.3.0] (2022-07-08)

[0.3.0] (2022-07-08)

[0.2.0] (2022-07-01)

[0.27.0] (2022-01-25)

Features

  • new mg api

[0.26.1] (2021-12-23)

[0.26.0] (2021-12-23)

Features

  • 添加颜色转换函数

[0.25.1] (2021-12-23)

[0.25.0] (2021-12-22)

Features

  • 添加 paint 工具函数

[0.24.0] (2021-12-21)

Features

  • add useAbsoluteBounds for ExportSettings

[0.23.1] (2021-12-21)

Features

  • add visible option for ShowUIOptions
  • update

[0.23.0] (2021-12-21)

Features

  • add relativeTransform

[0.22.1] (2021-12-20)

[0.22.0] (2021-11-30)

Bug Fixes

  • change showUI interface

[0.21.0] (2021-11-17)

Features

  • add text superlink interfacee

[0.20.0] (2021-11-17)

Bug Fixes

  • fix notify

[0.19.0] (2021-11-17)

Bug Fixes

  • fix notify interface

[0.18.0] (2021-11-17)

Bug Fixes

  • remove useless imagePaint properties

[0.17.0] (2021-11-17)

Features

  • add image interface and createImage

[0.16.0] (2021-11-09)

Bug Fixes

  • setRangeTextDecoration

[0.15.0] (2021-11-09)

Bug Fixes

  • setRangeLineHeight

[0.14.0] (2021-11-09)

Bug Fixes

  • lineheight

[0.13.0] (2021-11-09)

Bug Fixes

  • range letterspacing

[0.12.0] (2021-11-09)

Bug Fixes

  • text setRangeFont

Features

  • add removed

[0.22.0] (2021-11-30)

Bug Fixes

  • change showUI interface

[0.21.0] (2021-11-17)

Features

  • add text superlink interfacee

[0.20.0] (2021-11-17)

Bug Fixes

  • fix notify

[0.19.0] (2021-11-17)

Bug Fixes

  • fix notify interface

[0.18.0] (2021-11-17)

Bug Fixes

  • remove useless imagePaint properties

[0.17.0] (2021-11-17)

Features

  • add image interface and createImage

[0.16.0] (2021-11-09)

Bug Fixes

  • setRangeTextDecoration

[0.15.0] (2021-11-09)

Bug Fixes

  • setRangeLineHeight

[0.14.0] (2021-11-09)

Bug Fixes

  • lineheight

[0.13.0] (2021-11-09)

Bug Fixes

  • range letterspacing

[0.12.0] (2021-11-09)

Bug Fixes

  • text setRangeFont

[0.11.0] (2021-11-04)

Features

  • add removed

[0.10.0] (2021-11-02)

[0.9.1] (2021-10-28)

Features

  • 补充组件与实例相关接口

[0.9.0] (2021-10-28)

Features

  • 文本节点相关接口类型

[0.8.1] (2021-10-27)

Features

  • 字体加载 api

[0.8.0] (2021-10-27)

Features

  • 添加 clone() 类型

[0.7.1] (2021-10-26)

Bug Fixes

  • BlurEffect 增加 blendMode

[0.7.0] (2021-10-26)

Features

  • 补充样式相关的 api

[0.6.1] (2021-10-18)

Features

  • 支持 flexGrow 和 alignSelf

[0.6.0] (2021-10-11)

Features

  • support ui.notify() & mastergo.saveVersionHistoryAsync

[0.5.0] (2021-10-09)

Features

  • auto layout

[0.4.9] (2021-09-28)

Bug Fixes

  • some tweak

[0.4.8] (2021-09-26)

Bug Fixes

  • export typings

[0.4.7] (2021-09-24)

Bug Fixes

  • rename bound to bounds

[0.4.6] (2021-09-24)

Bug Fixes

  • the type of ui.onmessage

[0.4.5] (2021-09-24)

Bug Fixes

  • tweak the type of ui.postMessage

[0.4.4] (2021-09-23)

Bug Fixes

  • the off type
  • types

[0.4.3] (2021-09-23)

Bug Fixes

  • PageNode's children should be SceneNode

[0.4.2] (2021-09-23)

Bug Fixes

  • tweak typings

[0.4.1] (2021-09-22)

Bug Fixes

  • upgrade layout mixin

[0.4.0] (2021-09-22)

Features

  • support children methods

[0.3.0] (2021-09-17)

Features

  • support some methods

[0.2.0] (2021-09-17)

Bug Fixes

  • concat dts

0.1.0 (2021-09-17)