Skip to content

Releases: ecomfe/zrender

3.7.3

13 Nov 14:46
Compare
Choose a tag to compare

v3.7.3

2017-11-13
  • [^] Fixed some CommonJS incorrect brought by injection.

3.7.2

10 Nov 05:45
Compare
Choose a tag to compare

v3.7.2

2017-11-10
  • [^] Fixed backward compatibility problems brounght by 3.8.0: In 3.8.0, the content in lib directory is the same as the content in src directory (both are ES Module), which may not compatible with the old verisons of node and webpack. So rollback to commonJS format in lib of 3.8.2.
  • [^] Fixed the problem that SVG renderer throws error when encounter null value.

3.7.0

08 Nov 07:37
Compare
Choose a tag to compare

v3.7.0

2017-11-08
  • [+] Source code of zrender has been switched to ES Module, which enabled tree shaking of bundle and reduced size.

  • [^] Fixed #281

  • [^] Merged #247 contributed by zachjs.

3.6.3

28 Sep 07:56
Compare
Choose a tag to compare

Rebuild because of the corrupt npm publish of 3.6.2.

3.6.2

27 Sep 07:59
Compare
Choose a tag to compare

v3.6.2

2017-09-27
  • [+] Supported event.which.
  • [+] Exported classes and methods on zrender instance.
  • [^] Used rollup to build.
  • [^] Renamed textLineWidth to textStrokeWidth.
  • [^] Renamed tool/color#mapToColor to lerp.
  • [^] Enhanced click move detection.

3.6.1

31 Aug 08:48
Compare
Choose a tag to compare

v3.6.1

2017-08-31
  • [+] Fixed textFill in VML.

  • [+] Fixed util map bug.

3.6.0

22 Aug 05:12
Compare
Choose a tag to compare

v3.6.0

2017-08-22

[+] Support rich text, including:

  • style.textFill
  • style.textStroke
  • style.textWidth
  • style.textHeight
  • style.textLineWidth
  • style.textLineHeight
  • style.textPosition
  • style.textPositionRect
  • style.textOffset
  • style.textAlign
  • style.textVerticalAlign
  • style.textDistance
  • style.textShadowColor
  • style.textShadowBlur
  • style.textShadowOffsetX
  • style.textShadowOffsetY
  • style.textBoxShadowColor
  • style.textBoxShadowBlur
  • style.textBoxShadowOffsetX
  • style.textBoxShadowOffsetY
  • style.transformText
  • style.textRotation
  • style.textOrigin
  • style.textBackgroundColor
  • style.textBorderColor
  • style.textBorderWidth
  • style.textBorderRadius
  • style.textPadding
  • style.rich

[Break change]:
The styles in Text element should use prefix "text".

var text = new Text({
    style: {
        textFill: 'red',
        textStroke: 'blue'
    }
})

The original "fill", "stroke" is not supported in Text element any more.

3.5.2

15 Jun 08:56
Compare
Choose a tag to compare

3.5.2

2017-06-15
  • [+] Support textPositionRect.

  • [^] Support rect in SVG Path.

3.5.1

26 May 23:57
Compare
Choose a tag to compare

v3.5.1

2017-05-26
  • [^] Fixed the problem on ie11 when compiled by webpack. See zrender/#189.

3.5.0

25 May 10:31
Compare
Choose a tag to compare

v3.5.0

2017-05-25
  • [+] Painter#getRenderedCanvas supports custom layer.
  • [^] Fix bug when animating to empty array.