From d83b362c9f3d6e0886c0642e49e35cc4a807adfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Wed, 26 Jan 2022 12:30:29 +0100 Subject: [PATCH 1/6] :bug: Fix "move to" menu when duplicated team or project names --- CHANGES.md | 1 + frontend/src/app/main/ui/components/context_menu.cljs | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c4f49b33e6..60f4562672 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -75,6 +75,7 @@ - Fix zoom in/out after fit or fill [Taiga #2630](https://tree.taiga.io/project/penpot/issue/2630) - Normalize zoom levels in workspace and viewer [Taiga #2631](https://tree.taiga.io/project/penpot/issue/2631) - Avoid empty names in projects, files and pages [Taiga #2594](https://tree.taiga.io/project/penpot/issue/2594) +- Fix "move to" menu when duplicated team or project names [Taiga #2655](https://tree.taiga.io/project/penpot/issue/2655) ### :arrow_up: Deps updates diff --git a/frontend/src/app/main/ui/components/context_menu.cljs b/frontend/src/app/main/ui/components/context_menu.cljs index 617436a4a4..b83efcc14a 100644 --- a/frontend/src/app/main/ui/components/context_menu.cljs +++ b/frontend/src/app/main/ui/components/context_menu.cljs @@ -6,6 +6,7 @@ (ns app.main.ui.components.context-menu (:require + [app.common.data :as d] [app.main.refs :as refs] [app.main.ui.components.dropdown :refer [dropdown']] [app.main.ui.icons :as i] @@ -100,13 +101,13 @@ [:span i/arrow-slide] parent-option]] [:li.separator]]) - (for [[option-name option-handler sub-options] (:options level)] + (for [[index [option-name option-handler sub-options]] (d/enumerate (:options level))] (when option-name (if (= option-name :separator) [:li.separator] [:li.context-menu-item {:class (dom/classnames :is-selected (and selected (= option-name selected))) - :key option-name} + :key index} (if-not sub-options [:a.context-menu-action {:on-click #(do (dom/stop-propagation %) (on-close) From 1b76ed97e17ea8271670e8cdf958b9133ddeac9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Thu, 27 Jan 2022 14:39:33 +0100 Subject: [PATCH 2/6] :bug: Fix rotation when set to 0 again --- common/src/app/common/geom/shapes/transforms.cljc | 2 ++ frontend/src/app/main/ui/components/numeric_input.cljs | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/app/common/geom/shapes/transforms.cljc b/common/src/app/common/geom/shapes/transforms.cljc index bfacc72984..01de122190 100644 --- a/common/src/app/common/geom/shapes/transforms.cljc +++ b/common/src/app/common/geom/shapes/transforms.cljc @@ -285,6 +285,8 @@ (cond-> transform (-> (assoc :transform transform) (assoc :transform-inverse transform-inverse))) + (cond-> (not transform) + (dissoc :transform :transform-inverse)) (assoc :selrect selrect) (assoc :points points) (assoc :rotation rotation)))) diff --git a/frontend/src/app/main/ui/components/numeric_input.cljs b/frontend/src/app/main/ui/components/numeric_input.cljs index 291b0db129..c2e81f8371 100644 --- a/frontend/src/app/main/ui/components/numeric_input.cljs +++ b/frontend/src/app/main/ui/components/numeric_input.cljs @@ -159,9 +159,7 @@ (when (or up? down?) (set-delta event up? down?)) (when enter? - (let [new-value (parse-value)] - (apply-value new-value) - (dom/blur! input-node))) + (dom/blur! input-node)) (when esc? (update-input value-str))))) From a8a6882708089f27e8b6199a1aae77de40eca864 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 27 Jan 2022 15:00:42 +0100 Subject: [PATCH 3/6] :lipstick: Minor changes on repl script. --- backend/scripts/repl | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/backend/scripts/repl b/backend/scripts/repl index 71fb65071a..22bebe8c73 100755 --- a/backend/scripts/repl +++ b/backend/scripts/repl @@ -1,9 +1,17 @@ #!/usr/bin/env bash -export PENPOT_FLAGS="enable-asserts enable-audit-log $PENPOT_FLAGS" +# export PENPOT_DATABASE_URI="postgresql://172.17.0.1:5432/penpot" +# export PENPOT_DATABASE_USERNAME="penpot" +# export PENPOT_DATABASE_PASSWORD="penpot" +# export PENPOT_DATABASE_READONLY=true + +# export PENPOT_DATABASE_URI="postgresql://172.17.0.1:5432/penpot_pre" +# export PENPOT_DATABASE_USERNAME="penpot_pre" +# export PENPOT_DATABASE_PASSWORD="penpot_pre" +# export PENPOT_FLAGS="enable-asserts enable-audit-log $PENPOT_FLAGS" export OPTIONS=" - -A:jmx-remote:dev \ + -A:dev \ -J-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager \ -J-Dlog4j2.configurationFile=log4j2-devenv.xml \ -J-XX:+UseZGC \ @@ -13,10 +21,6 @@ export OPTIONS=" -J-XX:+UnlockDiagnosticVMOptions \ -J-XX:+DebugNonSafepoints"; - -# export OPTIONS="$OPTIONS -J-XX:+UnlockDiagnosticVMOptions"; -# export OPTIONS="$OPTIONS -J-XX:-TieredCompilation -J-XX:CompileThreshold=10000"; - export OPTIONS_EVAL="nil" # export OPTIONS_EVAL="(set! *warn-on-reflection* true)" From a633ed3c9a2eeb0fca9b9309137143a2579e18ef Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 27 Jan 2022 15:17:44 +0100 Subject: [PATCH 4/6] :sparkles: More tweaks on the error reporter. --- backend/src/app/http/errors.clj | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/backend/src/app/http/errors.clj b/backend/src/app/http/errors.clj index 6efd0e7966..803c72beef 100644 --- a/backend/src/app/http/errors.clj +++ b/backend/src/app/http/errors.clj @@ -33,16 +33,17 @@ :spec-problems (some->> data ::s/problems (take 10) seq vec) :spec-value (some->> data ::s/value) - :spec-explain (binding [s/*explain-out* expound/printer] - (with-out-str - (s/explain-out (update data ::s/problems #(take 10 %))))) - - :data (some-> data (dissoc ::s/problems ::s/value :hint)) + :data (some-> data (dissoc ::s/problems ::s/value ::s/spec)) :ip-addr (parse-client-ip request) :profile-id (:profile-id request)} (let [headers (:headers request)] {:user-agent (get headers "user-agent") - :frontend-version (get headers "x-frontend-version" "unknown")})))) + :frontend-version (get headers "x-frontend-version" "unknown")}) + + (when (and data (::s/problems data)) + {:spec-explain (binding [s/*explain-out* expound/printer] + (with-out-str + (s/explain-out (update data ::s/problems #(take 10 %)))))})))) (defmulti handle-exception (fn [err & _rest] @@ -71,7 +72,7 @@ {:status 500 :body {:type :server-error :code :assertion - :data (dissoc edata ::s/problems ::s/value)}})) + :data (dissoc edata ::s/problems ::s/value ::s/spec)}})) (defmethod handle-exception :not-found [err _] From 4c851856ff965b318c29e653dcd5793d3c3ce50b Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 27 Jan 2022 15:18:12 +0100 Subject: [PATCH 5/6] :sparkles: Emit warning when an error is raised on formating body. --- backend/src/app/http/middleware.clj | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/backend/src/app/http/middleware.clj b/backend/src/app/http/middleware.clj index 1aa4b27663..3845fe8398 100644 --- a/backend/src/app/http/middleware.clj +++ b/backend/src/app/http/middleware.clj @@ -86,9 +86,13 @@ (reify rp/StreamableResponseBody (write-body-to-stream [_ _ output-stream] ;; Use the same buffer as jetty output buffer size - (with-open [bos (buffered-output-stream output-stream buffer-size)] - (let [tw (t/writer bos opts)] - (t/write! tw data)))))) + (try + (with-open [bos (buffered-output-stream output-stream buffer-size)] + (let [tw (t/writer bos opts)] + (t/write! tw data))) + (catch Throwable cause + (l/warn :hint "unexpected error on encoding response" + :cause cause)))))) (defn- impl-format-response-body [response {:keys [query-params] :as request}] From 0fbcec667c558b9e60503fda90f0db5d33108513 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 28 Jan 2022 13:54:29 +0100 Subject: [PATCH 6/6] :paperclip: Minor format change on changelog file. --- CHANGES.md | 244 ++++++++++++++++++++++++++--------------------------- 1 file changed, 122 insertions(+), 122 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 60f4562672..5542df703a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,35 +6,35 @@ ### :sparkles: New features -- Add an option to hide artboards names on the viewport [Taiga #2034](https://tree.taiga.io/project/penpot/issue/2034). -- Limit pasted object position to container boundaries [Taiga #2449](https://tree.taiga.io/project/penpot/us/2449). -- Add new options for zoom widget in workspace and viewer mode [Taiga #896](https://tree.taiga.io/project/penpot/us/896). -- Allow decimals on stroke width and positions [Taiga #2035](https://tree.taiga.io/project/penpot/issue/2035). -- Ability to ignore background when exporting an artboard [Taiga #1395](https://tree.taiga.io/project/penpot/us/1395). -- Show color hex or name on hover [Taiga #2413](https://tree.taiga.io/project/penpot/us/2413). -- Add shortcut to create artboard from selected objects [Taiga #2412](https://tree.taiga.io/project/penpot/us/2412). -- Add shortcut for opacity [Taiga #2442](https://tree.taiga.io/project/penpot/us/2442). -- Setting fill automatically for new texts [Taiga #2441](https://tree.taiga.io/project/penpot/us/2441). -- Add shortcut to move action [Github #1213](https://github.com/penpot/penpot/issues/1213). -- Add alt as mod key to add stroke color from library menu [Taiga #2207](https://tree.taiga.io/project/penpot/us/2207). -- Add detach in bulk option to context menu [Taiga #2210](https://tree.taiga.io/project/penpot/us/2210). -- Add penpot look and feel to multiuser cursors [Taiga #1387](https://tree.taiga.io/project/penpot/us/1387). -- Add actions to go to main component context menu option [Taiga #2053](https://tree.taiga.io/project/penpot/us/2053). -- Add contrast between component select color and shape select color [Taiga #2121](https://tree.taiga.io/project/penpot/issue/2121). -- Add animations in interactions [Taiga #2244](https://tree.taiga.io/project/penpot/us/2244). -- Add performance improvements on .penpot file import process [Taiga 2497](https://tree.taiga.io/project/penpot/us/2497). +- Add an option to hide artboards names on the viewport [Taiga #2034](https://tree.taiga.io/project/penpot/issue/2034) +- Limit pasted object position to container boundaries [Taiga #2449](https://tree.taiga.io/project/penpot/us/2449) +- Add new options for zoom widget in workspace and viewer mode [Taiga #896](https://tree.taiga.io/project/penpot/us/896) +- Allow decimals on stroke width and positions [Taiga #2035](https://tree.taiga.io/project/penpot/issue/2035) +- Ability to ignore background when exporting an artboard [Taiga #1395](https://tree.taiga.io/project/penpot/us/1395) +- Show color hex or name on hover [Taiga #2413](https://tree.taiga.io/project/penpot/us/2413) +- Add shortcut to create artboard from selected objects [Taiga #2412](https://tree.taiga.io/project/penpot/us/2412) +- Add shortcut for opacity [Taiga #2442](https://tree.taiga.io/project/penpot/us/2442) +- Setting fill automatically for new texts [Taiga #2441](https://tree.taiga.io/project/penpot/us/2441) +- Add shortcut to move action [Github #1213](https://github.com/penpot/penpot/issues/1213) +- Add alt as mod key to add stroke color from library menu [Taiga #2207](https://tree.taiga.io/project/penpot/us/2207) +- Add detach in bulk option to context menu [Taiga #2210](https://tree.taiga.io/project/penpot/us/2210) +- Add penpot look and feel to multiuser cursors [Taiga #1387](https://tree.taiga.io/project/penpot/us/1387) +- Add actions to go to main component context menu option [Taiga #2053](https://tree.taiga.io/project/penpot/us/2053) +- Add contrast between component select color and shape select color [Taiga #2121](https://tree.taiga.io/project/penpot/issue/2121) +- Add animations in interactions [Taiga #2244](https://tree.taiga.io/project/penpot/us/2244) +- Add performance improvements on .penpot file import process [Taiga 2497](https://tree.taiga.io/project/penpot/us/2497) ### :bug: Bugs fixed -- Fix remove gradient if any when applying color from library [Taiga #2299](https://tree.taiga.io/project/penpot/issue/2299). -- Fix Enter as key action to exit edit path [Taiga #2444](https://tree.taiga.io/project/penpot/issue/2444). -- Fix add fill color from palette to groups and components [Taiga #2313](https://tree.taiga.io/project/penpot/issue/2313). -- Fix default project name in all languages [Taiga #2280](https://tree.taiga.io/project/penpot/issue/2280). -- Fix line-height and letter-spacing inputs to allow negative values [Taiga #2381](https://tree.taiga.io/project/penpot/issue/2381). -- Fix typo in Handoff tooltip [Taiga #2428](https://tree.taiga.io/project/penpot/issue/2428). -- Fix crash when pressing Shift+1 on empty file [#1435](https://github.com/penpot/penpot/issues/1435). -- Fix masked group resize strange behavior [Taiga #2317](https://tree.taiga.io/project/penpot/issue/2317). -- Fix problems when exporting all artboards [Taiga #2234](https://tree.taiga.io/project/penpot/issue/2234). +- Fix remove gradient if any when applying color from library [Taiga #2299](https://tree.taiga.io/project/penpot/issue/2299) +- Fix Enter as key action to exit edit path [Taiga #2444](https://tree.taiga.io/project/penpot/issue/2444) +- Fix add fill color from palette to groups and components [Taiga #2313](https://tree.taiga.io/project/penpot/issue/2313) +- Fix default project name in all languages [Taiga #2280](https://tree.taiga.io/project/penpot/issue/2280) +- Fix line-height and letter-spacing inputs to allow negative values [Taiga #2381](https://tree.taiga.io/project/penpot/issue/2381) +- Fix typo in Handoff tooltip [Taiga #2428](https://tree.taiga.io/project/penpot/issue/2428) +- Fix crash when pressing Shift+1 on empty file [#1435](https://github.com/penpot/penpot/issues/1435) +- Fix masked group resize strange behavior [Taiga #2317](https://tree.taiga.io/project/penpot/issue/2317) +- Fix problems when exporting all artboards [Taiga #2234](https://tree.taiga.io/project/penpot/issue/2234) - Fix problems with team management [#1353](https://github.com/penpot/penpot/issues/1353) - Fix problem when importing in shared libraries [#1362](https://github.com/penpot/penpot/issues/1362) - Fix problem with join nodes [#1422](https://github.com/penpot/penpot/issues/1422) @@ -50,7 +50,7 @@ - Improved behaviour on text options when not text is selected [Taiga #2390](https://tree.taiga.io/project/penpot/issue/2390) - Fix decimal numbers in export viewbox [Taiga #2290](https://tree.taiga.io/project/penpot/issue/2290) - Right click over artboard name to open its menu [Taiga #1679](https://tree.taiga.io/project/penpot/issue/1679) -- Make the default session cookue use SameSite=Lax instead of Strict (causes some issues in latest versions of Chrome). +- Make the default session cookue use SameSite=Lax instead of Strict (causes some issues in latest versions of Chrome) - Fix "open in new tab" on dashboard [Taiga #2235](https://tree.taiga.io/project/penpot/issue/2355) - Changing pages while comments activated will not close the panel [#1350](https://github.com/penpot/penpot/issues/1350) - Fix navigate comments in right sidebar [Taiga #2163](https://tree.taiga.io/project/penpot/issue/2163) @@ -83,11 +83,11 @@ ### :heart: Community contributions by (Thank you!) -- Spelling fixes (by @jsoref) [#1340](https://github.com/penpot/penpot/pull/1340). -- Explain folders in components (by @candideu) [Penpot-docs #42](https://github.com/penpot/penpot-docs/pull/42). -- Readability improvements of user guide (by @PaulSchulz) [Penpot-docs #50](https://github.com/penpot/penpot-docs/pull/50). +- Spelling fixes (by @jsoref) [#1340](https://github.com/penpot/penpot/pull/1340) +- Explain folders in components (by @candideu) [Penpot-docs #42](https://github.com/penpot/penpot-docs/pull/42) +- Readability improvements of user guide (by @PaulSchulz) [Penpot-docs #50](https://github.com/penpot/penpot-docs/pull/50) -# 1.10.4-beta +## 1.10.4-beta ### :sparkles: Enhacements @@ -99,7 +99,7 @@ - Minor fix on how file changes log is persisted. - Fix many issues on error reporting. -# 1.10.3-beta +## 1.10.3-beta ### :sparkles: Enhacements @@ -110,7 +110,7 @@ - Fix unexpected exception on saving pages with default grids [#2409](https://tree.taiga.io/project/penpot/issue/2409) - Fix react warnings on setting size 1 on row and column grids. -- Fix minor issues on ZMQ logging listener (used in error reporting service). +- Fix minor issues on ZMQ logging listener (used in error reporting service) - Remove "ALPHA" from the code. - Fix value and nil handling on numeric-input component. This fixes many issues related to typography, components, etc. renaming. - Fix NPE on email complains processing. @@ -121,7 +121,7 @@ - Update log4j2 dependency. -# 1.10.2-beta +## 1.10.2-beta ### :bug: Bugs fixed @@ -133,7 +133,7 @@ - Update log4j2 dependency. -# 1.10.1-beta +## 1.10.1-beta ### :bug: Bugs fixed @@ -150,19 +150,19 @@ ### :sparkles: New features -- Allow ungroup groups in bulk [Taiga #2211](https://tree.taiga.io/project/penpot/us/2211). -- Enhance corner radius behavior [Taiga #2190](https://tree.taiga.io/project/penpot/issue/2190). -- Allow preserve scroll position in interactions [Taiga #2250](https://tree.taiga.io/project/penpot/us/2250). +- Allow ungroup groups in bulk [Taiga #2211](https://tree.taiga.io/project/penpot/us/2211) +- Enhance corner radius behavior [Taiga #2190](https://tree.taiga.io/project/penpot/issue/2190) +- Allow preserve scroll position in interactions [Taiga #2250](https://tree.taiga.io/project/penpot/us/2250) - Add new onboarding modals. ### :bug: Bugs fixed -- Fix problem with exporting before the document is saved [Taiga #2189](https://tree.taiga.io/project/penpot/issue/2189). -- Fix undo stacking when changing color from color-picker [Taiga #2191](https://tree.taiga.io/project/penpot/issue/2191). -- Fix pages dropdown in viewer [Taiga #2087](https://tree.taiga.io/project/penpot/issue/2087). -- Fix problem when exporting texts with gradients or opacity [Taiga #2200](https://tree.taiga.io/project/penpot/issue/2200). -- Fix problem with view mode comments [Taiga #2226](https://tree.taiga.io/project/penpot/issue/2226). -- Disallow to create a component when already has one [Taiga #2237](https://tree.taiga.io/project/penpot/issue/2237). +- Fix problem with exporting before the document is saved [Taiga #2189](https://tree.taiga.io/project/penpot/issue/2189) +- Fix undo stacking when changing color from color-picker [Taiga #2191](https://tree.taiga.io/project/penpot/issue/2191) +- Fix pages dropdown in viewer [Taiga #2087](https://tree.taiga.io/project/penpot/issue/2087) +- Fix problem when exporting texts with gradients or opacity [Taiga #2200](https://tree.taiga.io/project/penpot/issue/2200) +- Fix problem with view mode comments [Taiga #2226](https://tree.taiga.io/project/penpot/issue/2226) +- Disallow to create a component when already has one [Taiga #2237](https://tree.taiga.io/project/penpot/issue/2237) - Add ellipsis in long labels for input fields [Taiga #2224](https://tree.taiga.io/project/penpot/issue/2224) - Fix problem with text rendering on export [Taiga #2223](https://tree.taiga.io/project/penpot/issue/2223) - Fix problem when flattening booleans losing styles [Taiga #2217](https://tree.taiga.io/project/penpot/issue/2217) @@ -183,8 +183,8 @@ - To the translation community for the hard work on making penpot available on so many languages. -- Guide to integrate with Azure Directory (by @skrzyneckik) [Penpot-docs #33](https://github.com/penpot/penpot-docs/pull/33). -- Improve libraries section readability (by @PaulSchulz) [Penpot-docs #39](https://github.com/penpot/penpot-docs/pull/39). +- Guide to integrate with Azure Directory (by @skrzyneckik) [Penpot-docs #33](https://github.com/penpot/penpot-docs/pull/33) +- Improve libraries section readability (by @PaulSchulz) [Penpot-docs #39](https://github.com/penpot/penpot-docs/pull/39) ## 1.9.0-alpha @@ -195,46 +195,46 @@ ### :sparkles: New features -- Add boolean shapes: intersections, unions, difference and exclusions[Taiga #748](https://tree.taiga.io/project/penpot/us/748). -- Add advanced prototyping [Taiga #244](https://tree.taiga.io/project/penpot/us/244). -- Add multiple flows [Taiga #2091](https://tree.taiga.io/project/penpot/us/2091). +- Add boolean shapes: intersections, unions, difference and exclusions[Taiga #748](https://tree.taiga.io/project/penpot/us/748) +- Add advanced prototyping [Taiga #244](https://tree.taiga.io/project/penpot/us/244) +- Add multiple flows [Taiga #2091](https://tree.taiga.io/project/penpot/us/2091) - Change order of the teams menu so it's in the joined time order. ### :bug: Bugs fixed -- Enhance duplicating prototype connections behaviour [Taiga #2093](https://tree.taiga.io/project/penpot/us/2093). -- Ignore constraints in horizontal or vertical flip [Taiga #2038](https://tree.taiga.io/project/penpot/issue/2038). -- Fix color and typographies refs lost when duplicated file [Taiga #2165](https://tree.taiga.io/project/penpot/issue/2165). -- Fix problem with overflow dropdown on stroke-cap [#1216](https://github.com/penpot/penpot/issues/1216). -- Fix menu context for single element nested in components [#1186](https://github.com/penpot/penpot/issues/1186). -- Fix error screen when operations over comments fail [#1219](https://github.com/penpot/penpot/issues/1219). -- Fix undo problem when changing typography/color from library [#1230](https://github.com/penpot/penpot/issues/1230). -- Fix problem with text margin while rendering [#1231](https://github.com/penpot/penpot/issues/1231). -- Fix problem with masked texts on exporting [Taiga #2116](https://tree.taiga.io/project/penpot/issue/2116). -- Fix text editor enter behaviour with centered texts [Taiga #2126](https://tree.taiga.io/project/penpot/issue/2126). -- Fix residual stroke on imported svg [Taiga #2125](https://tree.taiga.io/project/penpot/issue/2125). -- Add links for terms of service and privacy policy in register checkbox [Taiga #2020](https://tree.taiga.io/project/penpot/issue/2020). -- Allow three character hex and web colors in color picker hex input [#1184](https://github.com/penpot/penpot/issues/1184). -- Allow lowercase search for fonts [#1180](https://github.com/penpot/penpot/issues/1180). -- Fix group renaming problem [Taiga #1969](https://tree.taiga.io/project/penpot/issue/1969). -- Fix export group with shadows on children [Taiga #2036](https://tree.taiga.io/project/penpot/issue/2036). -- Fix zoom context menu in viewer [Taiga #2041](https://tree.taiga.io/project/penpot/issue/2041). -- Fix stroke caps adjustments in relation with stroke size [Taiga #2123](https://tree.taiga.io/project/penpot/issue/2123). -- Fix problem duplicating paths [Taiga #2147](https://tree.taiga.io/project/penpot/issue/2147). -- Fix problem inheriting attributes from SVG root when importing [Taiga #2124](https://tree.taiga.io/project/penpot/issue/2124). -- Fix problem with lines and inside/outside stroke [Taiga #2146](https://tree.taiga.io/project/penpot/issue/2146). -- Add stroke width in selection calculation [Taiga #2146](https://tree.taiga.io/project/penpot/issue/2146). -- Fix shift+wheel to horizontal scrolling in MacOS [#1217](https://github.com/penpot/penpot/issues/1217). -- Fix path stroke is not working properly with high thickness [Taiga #2154](https://tree.taiga.io/project/penpot/issue/2154). -- Fix bug with transformation operations [Taiga #2155](https://tree.taiga.io/project/penpot/issue/2155). -- Fix bug in firefox when a text box is inside a mask [Taiga #2152](https://tree.taiga.io/project/penpot/issue/2152). +- Enhance duplicating prototype connections behaviour [Taiga #2093](https://tree.taiga.io/project/penpot/us/2093) +- Ignore constraints in horizontal or vertical flip [Taiga #2038](https://tree.taiga.io/project/penpot/issue/2038) +- Fix color and typographies refs lost when duplicated file [Taiga #2165](https://tree.taiga.io/project/penpot/issue/2165) +- Fix problem with overflow dropdown on stroke-cap [#1216](https://github.com/penpot/penpot/issues/1216) +- Fix menu context for single element nested in components [#1186](https://github.com/penpot/penpot/issues/1186) +- Fix error screen when operations over comments fail [#1219](https://github.com/penpot/penpot/issues/1219) +- Fix undo problem when changing typography/color from library [#1230](https://github.com/penpot/penpot/issues/1230) +- Fix problem with text margin while rendering [#1231](https://github.com/penpot/penpot/issues/1231) +- Fix problem with masked texts on exporting [Taiga #2116](https://tree.taiga.io/project/penpot/issue/2116) +- Fix text editor enter behaviour with centered texts [Taiga #2126](https://tree.taiga.io/project/penpot/issue/2126) +- Fix residual stroke on imported svg [Taiga #2125](https://tree.taiga.io/project/penpot/issue/2125) +- Add links for terms of service and privacy policy in register checkbox [Taiga #2020](https://tree.taiga.io/project/penpot/issue/2020) +- Allow three character hex and web colors in color picker hex input [#1184](https://github.com/penpot/penpot/issues/1184) +- Allow lowercase search for fonts [#1180](https://github.com/penpot/penpot/issues/1180) +- Fix group renaming problem [Taiga #1969](https://tree.taiga.io/project/penpot/issue/1969) +- Fix export group with shadows on children [Taiga #2036](https://tree.taiga.io/project/penpot/issue/2036) +- Fix zoom context menu in viewer [Taiga #2041](https://tree.taiga.io/project/penpot/issue/2041) +- Fix stroke caps adjustments in relation with stroke size [Taiga #2123](https://tree.taiga.io/project/penpot/issue/2123) +- Fix problem duplicating paths [Taiga #2147](https://tree.taiga.io/project/penpot/issue/2147) +- Fix problem inheriting attributes from SVG root when importing [Taiga #2124](https://tree.taiga.io/project/penpot/issue/2124) +- Fix problem with lines and inside/outside stroke [Taiga #2146](https://tree.taiga.io/project/penpot/issue/2146) +- Add stroke width in selection calculation [Taiga #2146](https://tree.taiga.io/project/penpot/issue/2146) +- Fix shift+wheel to horizontal scrolling in MacOS [#1217](https://github.com/penpot/penpot/issues/1217) +- Fix path stroke is not working properly with high thickness [Taiga #2154](https://tree.taiga.io/project/penpot/issue/2154) +- Fix bug with transformation operations [Taiga #2155](https://tree.taiga.io/project/penpot/issue/2155) +- Fix bug in firefox when a text box is inside a mask [Taiga #2152](https://tree.taiga.io/project/penpot/issue/2152) - Fix problem with stroke inside/outside [Taiga #2186](https://tree.taiga.io/project/penpot/issue/2186) - Fix masks export area [Taiga #2189](https://tree.taiga.io/project/penpot/issue/2189) - Fix paste in place in artboards [Taiga #2188](https://tree.taiga.io/project/penpot/issue/2188) - Fix font size input stuck on selection change [Taiga #2184](https://tree.taiga.io/project/penpot/issue/2184) - Fix stroke cut on shapes export [Taiga #2171](https://tree.taiga.io/project/penpot/issue/2171) - Fix no color when boolean with an SVG [Taiga #2193](https://tree.taiga.io/project/penpot/issue/2193) -- Fix unlink color styles at strokes [Taiga #2206](https://tree.taiga.io/project/penpot/issue/2206). +- Fix unlink color styles at strokes [Taiga #2206](https://tree.taiga.io/project/penpot/issue/2206) ### :arrow_up: Deps updates @@ -247,7 +247,7 @@ ### :bug: Bugs fixed -- Fix problem importing components [Taiga #2151](https://tree.taiga.io/project/penpot/issue/2151). +- Fix problem importing components [Taiga #2151](https://tree.taiga.io/project/penpot/issue/2151) ## 1.8.3-alpha @@ -259,13 +259,13 @@ ### :bug: Bugs fixed -- Fix problem with masking images in viewer [#1238](https://github.com/penpot/penpot/issues/1238). +- Fix problem with masking images in viewer [#1238](https://github.com/penpot/penpot/issues/1238) ## 1.8.1-alpha ### :bug: Bugs fixed -- Fix project renaming issue (and some other related to the same underlying bug). +- Fix project renaming issue (and some other related to the same underlying bug) - Fix internal exception on audit log persistence layer. - Set proper environment variable on docker images for chrome executable. - Fix internal metrics on websocket connections. @@ -280,25 +280,25 @@ ### :sparkles: New features -- Add tooltips to color picker tabs [Taiga #1814](https://tree.taiga.io/project/penpot/us/1814). -- Add styling to the end point of any open paths [Taiga #1107](https://tree.taiga.io/project/penpot/us/1107). -- Allow to zoom with ctrl + middle button [Taiga #1428](https://tree.taiga.io/project/penpot/us/1428). -- Auto placement of duplicated objects [Taiga #1386](https://tree.taiga.io/project/penpot/us/1386). -- Enable penpot SVG metadata only when exporting complete files [Taiga #1914](https://tree.taiga.io/project/penpot/us/1914?milestone=295883). -- Export to PDF all artboards of one page [Taiga #1895](https://tree.taiga.io/project/penpot/us/1895). -- Go to a undo step clicking on a history element of the list [Taiga #1374](https://tree.taiga.io/project/penpot/us/1374). -- Increment font size by 10 with shift+arrows [1047](https://github.com/penpot/penpot/issues/1047). -- New shortcut to detach components Ctrl+Shift+K [Taiga #1799](https://tree.taiga.io/project/penpot/us/1799). -- Set email inputs to type "email", to aid keyboard entry [Taiga #1921](https://tree.taiga.io/project/penpot/issue/1921). -- Use shift+move to move element orthogonally [#823](https://github.com/penpot/penpot/issues/823). -- Use space + mouse drag to pan, instead of only space [Taiga #1800](https://tree.taiga.io/project/penpot/us/1800). -- Allow navigate through pages on the viewer [Taiga #1550](https://tree.taiga.io/project/penpot/us/1550). -- Allow create share links with specific pages [Taiga #1844](https://tree.taiga.io/project/penpot/us/1844). +- Add tooltips to color picker tabs [Taiga #1814](https://tree.taiga.io/project/penpot/us/1814) +- Add styling to the end point of any open paths [Taiga #1107](https://tree.taiga.io/project/penpot/us/1107) +- Allow to zoom with ctrl + middle button [Taiga #1428](https://tree.taiga.io/project/penpot/us/1428) +- Auto placement of duplicated objects [Taiga #1386](https://tree.taiga.io/project/penpot/us/1386) +- Enable penpot SVG metadata only when exporting complete files [Taiga #1914](https://tree.taiga.io/project/penpot/us/1914?milestone=295883) +- Export to PDF all artboards of one page [Taiga #1895](https://tree.taiga.io/project/penpot/us/1895) +- Go to a undo step clicking on a history element of the list [Taiga #1374](https://tree.taiga.io/project/penpot/us/1374) +- Increment font size by 10 with shift+arrows [1047](https://github.com/penpot/penpot/issues/1047) +- New shortcut to detach components Ctrl+Shift+K [Taiga #1799](https://tree.taiga.io/project/penpot/us/1799) +- Set email inputs to type "email", to aid keyboard entry [Taiga #1921](https://tree.taiga.io/project/penpot/issue/1921) +- Use shift+move to move element orthogonally [#823](https://github.com/penpot/penpot/issues/823) +- Use space + mouse drag to pan, instead of only space [Taiga #1800](https://tree.taiga.io/project/penpot/us/1800) +- Allow navigate through pages on the viewer [Taiga #1550](https://tree.taiga.io/project/penpot/us/1550) +- Allow create share links with specific pages [Taiga #1844](https://tree.taiga.io/project/penpot/us/1844) ### :bug: Bugs fixed -- Prevent adding numeric suffix to layer names when not needed [Taiga #1929](https://tree.taiga.io/project/penpot/us/1929). -- Prevent deleting or moving the drafts project [Taiga #1935](https://tree.taiga.io/project/penpot/issue/1935). +- Prevent adding numeric suffix to layer names when not needed [Taiga #1929](https://tree.taiga.io/project/penpot/us/1929) +- Prevent deleting or moving the drafts project [Taiga #1935](https://tree.taiga.io/project/penpot/issue/1935) - Fix problem with zoom and selection [Taiga #1919](https://tree.taiga.io/project/penpot/issue/1919) - Fix problem with borders on shape export [#1092](https://github.com/penpot/penpot/issues/1092) - Fix thumbnail cropping issue [Taiga #1964](https://tree.taiga.io/project/penpot/issue/1964) @@ -316,7 +316,7 @@ ### :heart: Community contributions by (Thank you!) -- eduayme [#1129](https://github.com/penpot/penpot/pull/1129). +- eduayme [#1129](https://github.com/penpot/penpot/pull/1129) ## 1.7.4-alpha @@ -339,8 +339,8 @@ ### :bug: Bugs fixed -- Add scroll bar to Teams menu [Taiga #1894](https://tree.taiga.io/project/penpot/issue/1894). -- Fix repeated names when duplicating artboards or groups [Taiga #1892](https://tree.taiga.io/project/penpot/issue/1892). +- Add scroll bar to Teams menu [Taiga #1894](https://tree.taiga.io/project/penpot/issue/1894) +- Fix repeated names when duplicating artboards or groups [Taiga #1892](https://tree.taiga.io/project/penpot/issue/1892) - Fix properly messages lifecycle on navigate. - Fix handling repeated names on duplicate object trees. - Fix group naming on group creation. @@ -367,14 +367,14 @@ ### :sparkles: New features -- Allow nested asset groups [Taiga #1716](https://tree.taiga.io/project/penpot/us/1716). -- Allow to ungroup assets [Taiga #1719](https://tree.taiga.io/project/penpot/us/1719). -- Allow to rename assets groups [Taiga #1721](https://tree.taiga.io/project/penpot/us/1721). -- Component constraints (left, right, left and right, center, scale...) [Taiga #1125](https://tree.taiga.io/project/penpot/us/1125). -- Export elements to PDF [Taiga #519](https://tree.taiga.io/project/penpot/us/519). -- Memorize collapse state of assets in panel [Taiga #1718](https://tree.taiga.io/project/penpot/us/1718). -- Headers button sets and menus review [Taiga #1663](https://tree.taiga.io/project/penpot/us/1663). -- Preserve components if possible, when pasted into a different file [Taiga #1063](https://tree.taiga.io/project/penpot/issue/1063). +- Allow nested asset groups [Taiga #1716](https://tree.taiga.io/project/penpot/us/1716) +- Allow to ungroup assets [Taiga #1719](https://tree.taiga.io/project/penpot/us/1719) +- Allow to rename assets groups [Taiga #1721](https://tree.taiga.io/project/penpot/us/1721) +- Component constraints (left, right, left and right, center, scale...) [Taiga #1125](https://tree.taiga.io/project/penpot/us/1125) +- Export elements to PDF [Taiga #519](https://tree.taiga.io/project/penpot/us/519) +- Memorize collapse state of assets in panel [Taiga #1718](https://tree.taiga.io/project/penpot/us/1718) +- Headers button sets and menus review [Taiga #1663](https://tree.taiga.io/project/penpot/us/1663) +- Preserve components if possible, when pasted into a different file [Taiga #1063](https://tree.taiga.io/project/penpot/issue/1063) - Add the ability to offload file data to a cheaper storage when file becomes inactive. - Import/Export Penpot files from dashboard. - Double click won't make a shape a path until you change a node [Taiga #1796](https://tree.taiga.io/project/penpot/us/1796) @@ -383,13 +383,13 @@ ### :bug: Bugs fixed - Process numeric input changes only if the value actually changed. -- Remove unnecessary redirect from history when user goes to workspace from dashboard [Taiga #1820](https://tree.taiga.io/project/penpot/issue/1820). -- Detach shapes from deleted assets [Taiga #1850](https://tree.taiga.io/project/penpot/issue/1850). -- Fix tooltip position on view application [Taiga #1819](https://tree.taiga.io/project/penpot/issue/1819). -- Fix dashboard navigation on moving file to other team [Taiga #1817](https://tree.taiga.io/project/penpot/issue/1817). -- Fix workspace header presence styles and invalid link [Taiga #1813](https://tree.taiga.io/project/penpot/issue/1813). -- Fix color-input wrong behavior (on workspace page color) [Taiga #1795](https://tree.taiga.io/project/penpot/issue/1795). -- Fix file contextual menu in shared libraries at dashboard [Taiga #1865](https://tree.taiga.io/project/penpot/issue/1865). +- Remove unnecessary redirect from history when user goes to workspace from dashboard [Taiga #1820](https://tree.taiga.io/project/penpot/issue/1820) +- Detach shapes from deleted assets [Taiga #1850](https://tree.taiga.io/project/penpot/issue/1850) +- Fix tooltip position on view application [Taiga #1819](https://tree.taiga.io/project/penpot/issue/1819) +- Fix dashboard navigation on moving file to other team [Taiga #1817](https://tree.taiga.io/project/penpot/issue/1817) +- Fix workspace header presence styles and invalid link [Taiga #1813](https://tree.taiga.io/project/penpot/issue/1813) +- Fix color-input wrong behavior (on workspace page color) [Taiga #1795](https://tree.taiga.io/project/penpot/issue/1795) +- Fix file contextual menu in shared libraries at dashboard [Taiga #1865](https://tree.taiga.io/project/penpot/issue/1865) - Fix problem with color picker and fonts [#1049](https://github.com/penpot/penpot/issues/1049) - Fix negative values in blur [Taiga #1815](https://tree.taiga.io/project/penpot/issue/1815) - Fix problem when editing color in group [Taiga #1816](https://tree.taiga.io/project/penpot/issue/1816) @@ -466,20 +466,20 @@ ### :sparkles: New features -- Add improved workspace font selector [Taiga US #292](https://tree.taiga.io/project/penpot/us/292). +- Add improved workspace font selector [Taiga US #292](https://tree.taiga.io/project/penpot/us/292) - Add option to interactively scale text [Taiga #1527](https://tree.taiga.io/project/penpot/us/1527) - Add performance improvements on dashboard data loading. - Add performance improvements to indexes handling on workspace. -- Add the ability to upload/use custom fonts (and automatically generate all needed webfonts) [Taiga US #292](https://tree.taiga.io/project/penpot/us/292). +- Add the ability to upload/use custom fonts (and automatically generate all needed webfonts) [Taiga US #292](https://tree.taiga.io/project/penpot/us/292) - Transform shapes to path on double click - Translate automatic names of new files and projects. -- Use shift instead of ctrl/cmd to keep aspect ratio [Taiga 1697](https://tree.taiga.io/project/penpot/issue/1697). +- Use shift instead of ctrl/cmd to keep aspect ratio [Taiga 1697](https://tree.taiga.io/project/penpot/issue/1697) - New translations: Portuguese (Brazil) and Romanias. ### :bug: Bugs fixed -- Remove interactions when the destination artboard is deleted [Taiga #1656](https://tree.taiga.io/project/penpot/issue/1656). -- Fix problem with fonts that ends with numbers [#940](https://github.com/penpot/penpot/issues/940). +- Remove interactions when the destination artboard is deleted [Taiga #1656](https://tree.taiga.io/project/penpot/issue/1656) +- Fix problem with fonts that ends with numbers [#940](https://github.com/penpot/penpot/issues/940) - Fix problem with imported SVG on editing paths [#971](https://github.com/penpot/penpot/issues/971) - Fix problem with color picker positioning - Fix order on color palette [#961](https://github.com/penpot/penpot/issues/961) @@ -597,7 +597,7 @@ - Add http caching layer on top of Query RPC. - Add layer opacity and blend mode to shapes [Taiga #937](https://tree.taiga.io/project/penpot/us/937) - Add more chinese translations [#726](https://github.com/penpot/penpot/pull/726) -- Add native support for text-direction (RTL, LTR & auto). +- Add native support for text-direction (RTL, LTR & auto) - Add several enhancements in shape selection [Taiga #1195](https://tree.taiga.io/project/penpot/us/1195) - Add thumbnail in memory caching mechanism. - Add turkish translation strings [#759](https://github.com/penpot/penpot/pull/759), [#794](https://github.com/penpot/penpot/pull/794) @@ -605,7 +605,7 @@ - Hide viewer navbar on fullscreen [Taiga 1375](https://tree.taiga.io/project/penpot/us/1375) - Import SVG will create Penpot's shapes [Taiga #1006](https://tree.taiga.io/project/penpot/us/1066) - Improve french translations [#731](https://github.com/penpot/penpot/pull/731) -- Reimplement workspace presence (remove database state). +- Reimplement workspace presence (remove database state) - Remember last visited team when you re-enter the application [Taiga #1376](https://tree.taiga.io/project/penpot/us/1376) - Rename artboard with double click on the title [Taiga #1392](https://tree.taiga.io/project/penpot/us/1392) - Replace Slate-Editor with DraftJS [Taiga #1346](https://tree.taiga.io/project/penpot/us/1346) @@ -683,7 +683,7 @@ ### :bug: Bugs fixed - Add more improvements to french translation strings [#591](https://github.com/penpot/penpot/pull/591) -- Add some missing database indexes (mainly improves performance on large databases on file-update rpc method, and some background tasks). +- Add some missing database indexes (mainly improves performance on large databases on file-update rpc method, and some background tasks) - Disables filters in masking elements (issue with Firefox rendering) - Drawing tool will have priority over resize/rotate handlers [Taiga #1225](https://tree.taiga.io/project/penpot/issue/1225) - Fix broken bounding box on editing paths [Taiga #1254](https://tree.taiga.io/project/penpot/issue/1254) @@ -697,7 +697,7 @@ - Have language change notification written in the new language [Taiga #1205](https://tree.taiga.io/project/penpot/issue/1205) - Hide register screen when registration is disabled [#598](https://github.com/penpot/penpot/issues/598) - Properly handle errors on github, gitlab and ldap auth backends. -- Properly mark profile auth backend (on first register/ auth with 3rd party auth provider). +- Properly mark profile auth backend (on first register/ auth with 3rd party auth provider) - Refactor LDAP auth backend. ### :heart: Community contributions by (Thank you!)