Konva v0.9.5 Release Notes

Release Date: 2015-05-28 // almost 9 years ago
  • ๐Ÿ›  Fixed

    • to will not throw error if no onFinish callback
    • ๐Ÿ‘ HDPI support for desktop
    • ๐Ÿ›  Fix bug when filters are not correct for HDPI
    • ๐Ÿ›  Fix bug when hit area is not correct for HDPI
    • ๐Ÿ›  Fix bug for incorrect getClientRect calculation
    • Repair fill gradient for text

    ๐Ÿ”„ Changed

    • context wrapper is more capable with native context. So you can use context.fillStyle property in your sceneFunc without accessing native context.
    • toDataURL now handles pixelRatio. you can pass config.pixelRatio argument
    • ๐Ÿ‘ฏ Correct clone() for custom nodes
    • FastLayer can now have transforms
    • ๐Ÿ”€ stage.toDataURL() method now works synchronously. So callback argument is not required.
    • ๐Ÿ‘€ container.find(selector) method now has a validation step. So if you forgot to add # or . you will see a warning message in the console.

    โž• Added

    • ๐Ÿ†• new Konva.Image.fromURL method

    ๐Ÿ—„ Deprecated

    • ๐Ÿ—„ fillRed, fillGreen, fillBlue, fillAlpha are deprecated. Use fill instead.
    • ๐Ÿ—„ strokeRed, strokeGreen, strokeBlue, strokeAlpha are deprecated. Use stroke instead.
    • ๐Ÿ—„ shadowRed, shadowGreen, shadowBlue, shadowAlpha are deprecated. Use shadow instead.
    • ๐Ÿ—„ dashArray is deprecated. Use dash instead.
    • ๐Ÿ—„ drawFunc is deprecated. Use sceneFunc instead.
    • ๐Ÿ—„ drawHitFunc is deprecated. Use hitFunc instead.
    • ๐Ÿ—„ rotateDeg is deprecated. Use rotate instead.