fabric.js/CHANGELOG.md

69 lines
3.5 KiB
Markdown
Raw Normal View History

2013-11-27 23:28:05 +00:00
**Edge**
2013-12-10 06:25:02 +00:00
- [BACK_INCOMPAT] `fabric.Collection#remove` doesn't return removed object -> returns `this` (chainable)
- Add "mouse:over" and "mouse:out" canvas events (and corresponding "mouseover", "mouseout" object events)
2014-01-14 17:59:52 +00:00
- Add support for passing options to `fabric.createCanvasForNode`
2014-01-14 17:59:52 +00:00
- Various iText fixes and performance improvements
- Fix `overlayImage` / `overlayColor` during selection mode
- Fix double callback in loadFromJSON when there's no objects
2013-12-18 10:30:22 +00:00
- Fix paths parsing when number has negative exponent
- Fix background offset in iText
- Fix style object deletion in iText
- Fix typo in `_initCanvasHandlers`
- Fix `transformMatrix` not affecting fabric.Text
2014-05-13 12:48:48 +00:00
- Fix `setAngle` for different originX/originY (!= 'center')
2014-05-13 12:49:14 +00:00
- Change default/init noise/brightness value for `fabric.Image.filters.Noise` and `fabric.Image.filters.Brightness` from 100 to 0
2014-05-15 14:28:21 +00:00
- Add `fabric.Canvas#imageSmoothingEnabled`
2014-06-04 23:00:27 +00:00
- Add `copy/paste` support for iText (uses clipboardData)
2013-11-27 23:28:05 +00:00
**Version 1.4.0**
2013-11-27 22:00:36 +00:00
- [BACK_INCOMPAT] JSON and Cufon are no longer included in default build
2013-09-26 16:55:12 +00:00
- [BACK_INCOMPAT] Change default objects' originX/originY to left/top
- [BACK_INCOMPAT] `fabric.StaticCanvas#backgroundImage` and `fabric.StaticCanvas#overlayImage` are `fabric.Image` instances. `fabric.StaticCanvas#backgroundImageOpacity`, `fabric.StaticCanvas#backgroundImageStretch`, `fabric.StaticCanvas#overlayImageLeft` and `fabric.StaticCanvas#overlayImageTop` were removed.
- [BACK_INCOMPAT] `fabric.Text#backgroundColor` is now `fabric.Object#backgroundColor`
- [BACK_INCOMPAT] Remove `fabric.Object#toGrayscale` and `fabric.Object#overlayFill` since they're too specific
- [BACK_INCOMPAT] Remove `fabric.StaticCanvas.toGrayscale` since we already have that logic in `fabric.Image.filters.Grayscale`.
- [BACK_INCOMPAT] Split `centerTransform` into the properties `centeredScaling` and `centeredRotation`. Object rotation now happens around originX/originY point UNLESS `centeredRotation=true`. Object scaling now happens non-centered UNLESS `centeredScaling=true`.
2013-09-26 16:55:12 +00:00
2013-09-19 20:58:29 +00:00
**Version 1.3.0**
2013-09-03 19:28:05 +00:00
2013-09-11 11:00:07 +00:00
- [BACK_INCOMPAT] Remove selectable, hasControls, hasBorders, hasRotatingPoint, transparentCorners, perPixelTargetFind from default object/json representation of objects.
2013-09-03 19:28:05 +00:00
2013-09-11 11:00:07 +00:00
- [BACK_INCOMPAT] Object rotation now happens around originX/originY point UNLESS `centerTransform=true`.
- [BACK_INCOMPAT] fabric.Text#textShadow has been removed - new fabric.Text.shadow property (type of fabric.Shadow).
- [BACK_INCOMPAT] fabric.BaseBrush shadow properties are combined into one property => fabric.BaseBrush.shadow (shadowColor, shadowBlur, shadowOffsetX, shadowOffsetY no longer exist).
2013-09-03 19:28:05 +00:00
2013-09-03 19:30:08 +00:00
- [BACK_INCOMPAT] `fabric.Path.fromObject` is now async. `fabric.Canvas#loadFromDatalessJSON` is deprecated.
**Version 1.2.0**
- [BACK_INCOMPAT] Make `fabric.Object#toDataURL` synchronous.
2013-06-14 09:49:50 +00:00
- [BACK_INCOMPAT] `fabric.Text#strokeStyle` -> `fabric.Text#stroke`, for consistency with other objects.
2013-06-14 09:49:50 +00:00
- [BACK_INCOMPAT] `fabric.Object.setActive(…)` -> `fabric.Object.set('active', …)`.
`fabric.Object.isActive` is gone (use `fabric.Object.active` instead)
2013-06-14 09:49:50 +00:00
- [BACK_INCOMPAT] `fabric.Group#objects` -> `fabric.Group._objects`.
**Version 1.1.0**
2013-06-14 09:49:50 +00:00
- [BACK_INCOMPAT] `fabric.Text#setFontsize` becomes `fabric.Object#setFontSize`.
- [BACK_INCOMPAT] `fabric.Canvas.toDataURL` now accepts options object instead linear arguments.
`fabric.Canvas.toDataURLWithMultiplier` is deprecated;
2013-06-14 09:49:50 +00:00
use `fabric.Canvas.toDataURL({ multiplier: … })` instead
**Version 1.0.0**