diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f27cdfc..d2aca5de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +**Version 1.7.2** + +- Fix: Textbox do not use stylemap for line wrapping [#3546](https://github.com/kangax/fabric.js/pull/3546) +- Fix: Fix for firing object:modfied in macOS sierra [#3539](https://github.com/kangax/fabric.js/pull/3539) +- Fix: Itext with object caching was not refreshing selection correctly. [#3538](https://github.com/kangax/fabric.js/pull/3538) +- Fix: stateful now works again with activeGroup and dinamyc swap between stateful false/true. [#3537](https://github.com/kangax/fabric.js/pull/3537) +- Fix: includeDefaultValues was not applied to child objects of groups and path-groups. [#3497](https://github.com/kangax/fabric.js/pull/3497) +- Fix: Itext style is cloned on paste action now, allow copie of styles to be independent. [#3502](https://github.com/kangax/fabric.js/pull/3502) +- Fix: Add subclasses properties to cacheProperties. [#3490](https://github.com/kangax/fabric.js/pull/3490) +- Add: Shift and Alt key used for transformations are now dinamic. [#3479](https://github.com/kangax/fabric.js/pull/3479) +- Fix: fix to polygon and cache. Added cacheProperties for all classes [#3490](https://github.com/kangax/fabric.js/pull/3490) + **Version 1.7.1** - Add: Gradients/Patterns support customAttributes in toObject method [#3477](https://github.com/kangax/fabric.js/pull/3477) diff --git a/HEADER.js b/HEADER.js index f826790e..1308130e 100644 --- a/HEADER.js +++ b/HEADER.js @@ -1,6 +1,6 @@ /*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */ -var fabric = fabric || { version: "1.7.1" }; +var fabric = fabric || { version: "1.7.2" }; if (typeof exports !== 'undefined') { exports.fabric = fabric; } diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index 3f0dd969..dc952c84 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -5,16 +5,17 @@ Have a usage question? ====================== The issue tracker is only for bugs (with reproducible minimal test case) and feature requests, so please do the following if you have a question: -- Read the tutorial: http://fabricjs.com/articles/ -- Read the docs: http://fabricjs.com/docs/ -- Explore demos: http://fabricjs.com/demos/ +- Read the tutorial: http://fabricjs.com/articles +- Read the object caching introduction: http://fabricjs.com/fabric-object-caching +- Read the docs: http://fabricjs.com/docs +- Explore demos: http://fabricjs.com/demos - Look for/ask questions on StackOverflow: http://stackoverflow.com/questions/tagged/fabricjs - Ask on Google Group: https://groups.google.com/forum/#!forum/fabricjs Think you found a bug? ====================== -The best bug report is a failing test in the repository as a pull request. Otherwise, please use the "BUG REPORT" template below. +The best bug report is a failing test in the repository as a pull request. Otherwise, please use the "BUG REPORT" template below. You NEED to create a fiddle with very simple test case that illustrate the problem. Otherwise the issue will be closed. Have a feature request? @@ -24,7 +25,7 @@ Remove the template from below and provide thoughtful commentary *and code sampl ## Version -1.7.0 +1.7.2 ## Test Case http://jsfiddle.net/fabricjs/Da7SP/ diff --git a/dist/fabric.js b/dist/fabric.js index f6506401..69a39fe9 100644 --- a/dist/fabric.js +++ b/dist/fabric.js @@ -1,7 +1,7 @@ /* build: `node build.js modules=ALL exclude=json,gestures minifier=uglifyjs` */ /*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */ -var fabric = fabric || { version: "1.7.1" }; +var fabric = fabric || { version: "1.7.2" }; if (typeof exports !== 'undefined') { exports.fabric = fabric; } @@ -15,7 +15,9 @@ if (typeof document !== 'undefined' && typeof window !== 'undefined') { else { // assume we're running under node.js when document/window are not present fabric.document = require("jsdom") - .jsdom("
"); + .jsdom( + decodeURIComponent("%3C!DOCTYPE%20html%3E%3Chtml%3E%3Chead%3E%3C%2Fhead%3E%3Cbody%3E%3C%2Fbody%3E%3C%2Fhtml%3E") + ); if (fabric.document.createWindow) { fabric.window = fabric.document.createWindow(); @@ -2594,6 +2596,57 @@ if (typeof console !== 'undefined') { })(); +(function() { + // Calculate an in-between color. Returns a "rgba()" string. + // Credit: Edwin Martin