Skip to content

Commit 44db886

Browse files
authored
chore: bump to 7.0.3 w/ changelog (#13999)
Also adds browserstack ci changes that didn't get cherrypicked for some reason
1 parent 3da858d commit 44db886

File tree

5 files changed

+82
-10
lines changed

5 files changed

+82
-10
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
<a name="7.0.3"></a>
2+
## 7.0.3 "lyrium-longboard" (2018-11-06)
3+
4+
5+
### Bug Fixes
6+
7+
* **breakpoints:** set max-widths for breakpoints to non-integers to handle subpixel queries ([#13828](https://github.com/angular/material2/issues/13828)) ([b88b79d](https://github.com/angular/material2/commit/b88b79d))
8+
* **button:** stroked button crops applied badges ([#13912](https://github.com/angular/material2/issues/13912)) ([835dc9e](https://github.com/angular/material2/commit/835dc9e)), closes [#13909](https://github.com/angular/material2/issues/13909)
9+
* **button-toggle:** remove hover state on touch devices ([#13724](https://github.com/angular/material2/issues/13724)) ([f9d5fb4](https://github.com/angular/material2/commit/f9d5fb4))
10+
* **chips:** remove circular dependency between chip-list and chip-input ([#13994](https://github.com/angular/material2/issues/13994)) ([3da858d](https://github.com/angular/material2/commit/3da858d))
11+
* **dialog,bottom-sheet:** enter animation blocking child animations ([#13888](https://github.com/angular/material2/issues/13888)) ([e5afa48](https://github.com/angular/material2/commit/e5afa48)), closes [#13870](https://github.com/angular/material2/issues/13870)
12+
* **drag-drop:** drop list not toggling dragging class inside component with OnPush change detection ([#13703](https://github.com/angular/material2/issues/13703)) ([4e50d4a](https://github.com/angular/material2/commit/4e50d4a)), closes [#13680](https://github.com/angular/material2/issues/13680)
13+
* **drag-drop:** incorrectly laying out items with different height or margins ([#13849](https://github.com/angular/material2/issues/13849)) ([c509591](https://github.com/angular/material2/commit/c509591)), closes [#13483](https://github.com/angular/material2/issues/13483)
14+
* **drag-drop:** multiple parallel drag sequences when dragging nested drag items ([#13820](https://github.com/angular/material2/issues/13820)) ([cdc0c8b](https://github.com/angular/material2/commit/cdc0c8b))
15+
* **list:** add ripples to action list items ([#13799](https://github.com/angular/material2/issues/13799)) ([b293655](https://github.com/angular/material2/commit/b293655)), closes [#13795](https://github.com/angular/material2/issues/13795)
16+
* **list:** remove disabled selection list hover feedback on mobile ([#13850](https://github.com/angular/material2/issues/13850)) ([e975223](https://github.com/angular/material2/commit/e975223))
17+
* **menu:** unable to swap menu panel after first open ([#13819](https://github.com/angular/material2/issues/13819)) ([cbb76ec](https://github.com/angular/material2/commit/cbb76ec)), closes [#13812](https://github.com/angular/material2/issues/13812)
18+
* **ng-update:** do not fail if [@schematics](https://github.com/schematics)/angular version is outdated ([#13929](https://github.com/angular/material2/issues/13929)) ([f10f8b9](https://github.com/angular/material2/commit/f10f8b9))
19+
* **ng-update:** do not throw if typescript version is outdated ([#13927](https://github.com/angular/material2/issues/13927)) ([d44fcf8](https://github.com/angular/material2/commit/d44fcf8))
20+
* **portal:** use portal's ComponentFactoryResolver in portal outlet directive ([#13886](https://github.com/angular/material2/issues/13886)) ([d2af80b](https://github.com/angular/material2/commit/d2af80b)), closes [#12677](https://github.com/angular/material2/issues/12677) [#9712](https://github.com/angular/material2/issues/9712)
21+
* **snack-bar:** set appropriate role based on passed in politeness ([#13864](https://github.com/angular/material2/issues/13864)) ([33d3cb3](https://github.com/angular/material2/commit/33d3cb3)), closes [#13493](https://github.com/angular/material2/issues/13493)
22+
* **snackbar:** override min-width of snackbar on mobile ([#13880](https://github.com/angular/material2/issues/13880)) ([41cb8aa](https://github.com/angular/material2/commit/41cb8aa))
23+
* **stepper:** don't handle enter/space when modifier key is pressed ([#13827](https://github.com/angular/material2/issues/13827)) ([0bd3890](https://github.com/angular/material2/commit/0bd3890)), closes [#13790](https://github.com/angular/material2/issues/13790)
24+
* **tabs:** duplicate animation events on some browsers ([#13674](https://github.com/angular/material2/issues/13674)) ([7106681](https://github.com/angular/material2/commit/7106681))
25+
* **tabs:** mat-align-tabs not working on mat-tab-nav-bar ([#13818](https://github.com/angular/material2/issues/13818)) ([2289e43](https://github.com/angular/material2/commit/2289e43)), closes [#13798](https://github.com/angular/material2/issues/13798)
26+
* **virtual-scroll:** not removing view from container if it's outside the template cache ([#13916](https://github.com/angular/material2/issues/13916)) ([7c202ec](https://github.com/angular/material2/commit/7c202ec)), closes [#13901](https://github.com/angular/material2/issues/13901)
27+
* bazel support for downstream apps ([#13836](https://github.com/angular/material2/issues/13836)) ([61dbd26](https://github.com/angular/material2/commit/61dbd26))
28+
29+
30+
131
<a name="7.0.2"></a>
232
## 7.0.2 limestone-linguine (2018-10-26)
333

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"gulp": "gulp",
2727
"stage-release": "bash ./tools/release/stage-release-bin.sh"
2828
},
29-
"version": "7.0.2",
29+
"version": "7.0.3",
3030
"requiredAngularVersion": ">=7.0.0",
3131
"dependencies": {
3232
"@angular/animations": "^7.0.2",

scripts/browserstack/stop-tunnel.sh

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,27 @@
22

33
set -e -o pipefail
44

5+
tunnelTmpDir="/tmp/material-browserstack"
6+
tunnelReadyFile="${tunnelTmpDir}/readyfile"
57

6-
echo "Shutting down Browserstack tunnel"
8+
if [[ ! -f ${tunnelReadyFile} ]]; then
9+
echo "BrowserStack tunnel has not been started. Cannot stop tunnel.."
10+
exit 1
11+
fi
712

8-
killall BrowserStackLocal
13+
echo "Shutting down Browserstack tunnel.."
914

10-
while [[ -n `ps -ef | grep "BrowserStackLocal" | grep -v "grep"` ]]; do
15+
# The process id for the BrowserStack local instance is stored inside of the readyfile.
16+
tunnelProcessId=$(cat ${tunnelReadyFile})
17+
18+
# Kill the process by using the PID that has been read from the readyfile. Note that
19+
# we cannot use killall because CircleCI base container images don't have it installed.
20+
kill ${tunnelProcessId}
21+
22+
while (ps -p ${tunnelProcessId} &> /dev/null); do
1123
printf "."
1224
sleep .5
1325
done
1426

1527
echo ""
16-
echo "Browserstack tunnel has been shut down"
28+
echo "Browserstack tunnel has been shut down"

scripts/browserstack/wait-tunnel.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
11
#!/bin/bash
22

3-
TUNNEL_LOG="$LOGS_DIR/browserstack-tunnel.log"
3+
tunnelTmpDir="/tmp/material-browserstack"
4+
tunnelLogFile="${tunnelTmpDir}/browserstack-local.log"
5+
tunnelReadyFile="${tunnelTmpDir}/readyfile"
6+
tunnelErrorFile="${tunnelTmpDir}/errorfile"
7+
48
WAIT_DELAY=30
59

610
# Method that prints the logfile output of the browserstack tunnel.
711
printLog() {
8-
echo "Logfile output of Browserstack tunnel (${TUNNEL_LOG}):"
12+
echo "Logfile output of Browserstack tunnel (${tunnelLogFile}):"
913
echo ""
10-
cat ${TUNNEL_LOG}
14+
cat ${tunnelLogFile}
1115
}
1216

1317
# Wait for Connect to be ready before exiting
1418
# Time out if we wait for more than 2 minutes, so the process won't run forever.
1519
let "counter=0"
1620

1721
# Exit the process if there are errors reported. Print the tunnel log to the console.
18-
if [ -f $BROWSER_PROVIDER_ERROR_FILE ]; then
22+
if [ -f ${tunnelErrorFile} ]; then
1923
echo
2024
echo "An error occurred while starting the tunnel. See error:"
2125
printLog
2226
exit 5
2327
fi
2428

25-
while [ ! -f $BROWSER_PROVIDER_READY_FILE ]; do
29+
while [ ! -f ${tunnelReadyFile} ]; do
2630
let "counter++"
2731

2832
# Counter needs to be multiplied by two because the while loop only sleeps a half second.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/bash
2+
3+
# In case any command failed, we want to immediately exit the script with the
4+
# proper exit code.
5+
set -e
6+
7+
# Go to project directory.
8+
cd $(dirname ${0})/../..
9+
10+
# Decode access token and make it accessible for child processes.
11+
export BROWSER_STACK_ACCESS_KEY=`echo ${BROWSER_STACK_ACCESS_KEY} | rev`
12+
13+
# Start tunnel and wait for it being ready.
14+
./scripts/browserstack/start-tunnel.sh
15+
./scripts/browserstack/wait-tunnel.sh
16+
17+
# Setup the test platform environment variable that will be read
18+
# by the Karma configuration script.
19+
export TEST_PLATFORM="browserstack"
20+
21+
# Run the unit tests on Browserstack with Karma.
22+
yarn gulp ci:test
23+
24+
# Kill the Browserstack tunnel. This is necessary in order to avoid rate-limit
25+
# errors that cause the unit tests to be flaky.
26+
./scripts/browserstack/stop-tunnel.sh

0 commit comments

Comments
 (0)