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 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) 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