From 5e4a706638216bf30cd8d1db07c8602079af445b Mon Sep 17 00:00:00 2001 From: Victor Nakoryakov Date: Wed, 9 Aug 2017 12:54:14 +0300 Subject: [PATCH 1/3] doc(changelog): update for upcoming v0.12.1 --- CHANGELOG.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16e2ee19d..d2f62c492 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,14 @@ for commit guidelines. ### Bug fixes -* Fix upload failure if a `xod/common-hardware/text-lcd-16x2` or `xod/common-hardware/servo` - node is used. XOD IDE now carries vital Arduino libraries in the distro. +* Fix upload failure if a `xod/common-hardware/text-lcd-16x2` or + `xod/common-hardware/servo` node is used. XOD IDE now carries vital Arduino + libraries in the distro. +* Improve UI responsiveness, fix IDE performance degradation over time. The + problem was in a developer/debugging tool integrated to XOD IDE which is not + very interesting for end-users. The tool is no longer enabled in public + releases. +* Fix bound values propagation in complex scenarios with deeply nested patches. ## 0.12.0 (2017-08-07) From 5d36a4c64ae3af73b131983c91407421c7879711 Mon Sep 17 00:00:00 2001 From: Victor Nakoryakov Date: Wed, 9 Aug 2017 15:07:29 +0300 Subject: [PATCH 2/3] chore(travis): raise distro build time limit Since macOS build takes longer time --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f5bf112dc..488d9e7e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,4 +49,4 @@ before_script: | script: - yarn verify -- travis_wait 30 ./tools/travis.sh +- travis_wait 50 ./tools/travis.sh From a3b8d8d3a77f1a4c02c51c815548f4516a74bfd4 Mon Sep 17 00:00:00 2001 From: Victor Nakoryakov Date: Wed, 9 Aug 2017 16:31:52 +0300 Subject: [PATCH 3/3] chore(ci): rebuild with NODE_ENV=production before making distros --- tools/appveyor.ps1 | 13 ++++++++++--- tools/travis.sh | 11 +++++++++-- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/tools/appveyor.ps1 b/tools/appveyor.ps1 index daad3463e..d7d066c2f 100644 --- a/tools/appveyor.ps1 +++ b/tools/appveyor.ps1 @@ -8,20 +8,27 @@ function Upload-Dist-To-GCS($tag) { } } +function Build-Dist() { + # Build again with production settings for the UI part of the IDE + $env:NODE_ENV="production" + yarn run build + yarn run electron-dist +} + $tags=(git tag --points-at $env:APPVEYOR_REPO_COMMIT) if ($tags) { - yarn run electron-dist + Build-Dist foreach ($tag in $tags) { Upload-Dist-To-GCS $tag } } -if ($env:APPVEYOR_REPO_BRANCH.StartsWith("prerelease")) { +if ($env:APPVEYOR_REPO_BRANCH.StartsWith("prerelease-")) { Write-Host 'Building prerelease distributive...' -ForegroundColor Yellow yarn lerna -- publish --skip-git --skip-npm --cd-version=minor --yes yarn lerna -- publish --skip-git --skip-npm --canary --yes $tag=(node -e "console.log('v' + require('./packages/xod-client-electron/package.json').version)") - yarn run electron-dist + Build-Dist Upload-Dist-To-GCS $tag } diff --git a/tools/travis.sh b/tools/travis.sh index 225b2ce99..4a6fe915f 100755 --- a/tools/travis.sh +++ b/tools/travis.sh @@ -11,9 +11,16 @@ upload_dist_to_gcs() { --config="$config" --file={} --tag="$tag" \; } +build_dist() { + # Build again with production settings for the UI part of the IDE + export NODE_ENV=production + yarn run build + yarn run electron-dist +} + tags=$(git tag --points-at "$TRAVIS_COMMIT") if [ -n "$tags" ]; then - yarn run electron-dist + build_dist while read -r tag; do node tools/extract-release-notes.js "${tag#v}" \ packages/xod-client-electron/dist/RELEASE_NOTES.md @@ -29,6 +36,6 @@ if [[ $TRAVIS_BRANCH == prerelease-* ]]; then lerna publish --skip-git --skip-npm --cd-version=minor --yes lerna publish --skip-git --skip-npm --canary --yes tag=$(node -e "console.log('v' + require('./packages/xod-client-electron/package.json').version)") - yarn run electron-dist + build_dist upload_dist_to_gcs $tag fi