mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e714f9f2a | |||
| 6815e4fceb | |||
| 655b495e8e | |||
| 92dbaf397b | |||
| f0c681a6de | |||
| 1b9b34ed46 | |||
| 3d2ee6c3fe | |||
| 1c2f3d47e9 | |||
| f692655ec5 | |||
| 3db84c8220 |
@@ -1,3 +1,25 @@
|
||||
<a name="4.3.6"></a>
|
||||
## [4.3.6](https://github.com/angular/angular/compare/4.3.5...4.3.6) (2017-08-23)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **animations:** ensure animations are disabled on the element containing the @.disabled flag ([#18714](https://github.com/angular/angular/issues/18714)) ([5d68c83](https://github.com/angular/angular/commit/5d68c83))
|
||||
* **animations:** make sure @.disabled respects disabled parent/sub animation sequences ([#18715](https://github.com/angular/angular/issues/18715)) ([c3dcbf9](https://github.com/angular/angular/commit/c3dcbf9))
|
||||
* **animations:** make sure animation cancellations respect AUTO style values ([#18787](https://github.com/angular/angular/issues/18787)) ([9a754f9](https://github.com/angular/angular/commit/9a754f9)), closes [#17450](https://github.com/angular/angular/issues/17450)
|
||||
* **animations:** resolve error when using AnimationBuilder with platform-server ([#18642](https://github.com/angular/angular/issues/18642)) ([f9b2905](https://github.com/angular/angular/commit/f9b2905)), closes [#18635](https://github.com/angular/angular/issues/18635)
|
||||
* **animations:** restore auto-style support for removed DOM nodes ([#18787](https://github.com/angular/angular/issues/18787)) ([e1f45a3](https://github.com/angular/angular/commit/e1f45a3))
|
||||
* **core:** correct order in ContentChildren query result ([#18326](https://github.com/angular/angular/issues/18326)) ([fec3b1a](https://github.com/angular/angular/commit/fec3b1a)), closes [#16568](https://github.com/angular/angular/issues/16568)
|
||||
* **core:** make sure onStable runs in the right zone ([#18706](https://github.com/angular/angular/issues/18706)) ([ee5591d](https://github.com/angular/angular/commit/ee5591d))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **animations:** allow @.disabled property to work without an expression ([#18713](https://github.com/angular/angular/issues/18713)) ([ac58914](https://github.com/angular/angular/commit/ac58914))
|
||||
* **common:** add an empty DeprecatedI18NPipesModule module ([793f31b](https://github.com/angular/angular/commit/793f31b))
|
||||
|
||||
|
||||
|
||||
<a name="5.0.0-beta.4"></a>
|
||||
# [5.0.0-beta.4](https://github.com/angular/angular/compare/5.0.0-beta.3...5.0.0-beta.4) (2017-08-16)
|
||||
|
||||
|
||||
+1
-1
@@ -177,7 +177,7 @@ First time, you need to create the github repositories:
|
||||
|
||||
``` shell
|
||||
$ export TOKEN=[get one from https://github.com/settings/tokens]
|
||||
$ CREATE_REPOS=1 ./scripts/publish/publish-build-artifacts.sh [github username]
|
||||
$ CREATE_REPOS=1 TRAVIS= ./scripts/ci/publish-build-artifacts.sh [github username]
|
||||
```
|
||||
|
||||
For subsequent snapshots, just run
|
||||
|
||||
@@ -9,11 +9,11 @@ payloadLimits["hello_world__closure", "gzip9", "bundle"]=35000
|
||||
|
||||
payloadLimits["cli-hello-world", "uncompressed", "inline"]=1500
|
||||
payloadLimits["cli-hello-world", "uncompressed", "main"]=183000
|
||||
payloadLimits["cli-hello-world", "uncompressed", "polyfills"]=63000
|
||||
payloadLimits["cli-hello-world", "uncompressed", "polyfills"]=64000
|
||||
payloadLimits["cli-hello-world", "gzip7", "inline"]=900
|
||||
payloadLimits["cli-hello-world", "gzip7", "main"]=48000
|
||||
payloadLimits["cli-hello-world", "gzip7", "polyfills"]=21000
|
||||
payloadLimits["cli-hello-world", "gzip7", "polyfills"]=22000
|
||||
payloadLimits["cli-hello-world", "gzip9", "inline"]=900
|
||||
payloadLimits["cli-hello-world", "gzip9", "main"]=48000
|
||||
payloadLimits["cli-hello-world", "gzip9", "polyfills"]=21000
|
||||
payloadLimits["cli-hello-world", "gzip9", "polyfills"]=22000
|
||||
|
||||
|
||||
@@ -18,13 +18,3 @@ local_repository(
|
||||
name = "angular",
|
||||
path = "node_modules/@angular/bazel",
|
||||
)
|
||||
|
||||
git_repository(
|
||||
name = "io_bazel_rules_sass",
|
||||
remote = "https://github.com/bazelbuild/rules_sass.git",
|
||||
tag = "0.0.2",
|
||||
)
|
||||
|
||||
load("@io_bazel_rules_sass//sass:sass.bzl", "sass_repositories")
|
||||
|
||||
sass_repositories()
|
||||
@@ -1,19 +1,10 @@
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
load("@angular//:index.bzl", "ng_module")
|
||||
load("@io_bazel_rules_sass//sass:sass.bzl", "sass_binary")
|
||||
|
||||
sass_binary(
|
||||
name = "styles",
|
||||
src = "hello-world.component.scss",
|
||||
deps = [
|
||||
"//src/shared:colors",
|
||||
"//src/shared:fonts",
|
||||
],
|
||||
)
|
||||
|
||||
ng_module(
|
||||
name = "hello-world",
|
||||
srcs = glob(["*.ts"]),
|
||||
tsconfig = "//src:tsconfig.json",
|
||||
assets = [":styles"],
|
||||
# TODO(alexeagle): re-enable
|
||||
# assets = [":styles"],
|
||||
)
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
@import "src/shared/fonts";
|
||||
@import "src/shared/colors";
|
||||
|
||||
html {
|
||||
body {
|
||||
font-family: $default-font-stack;
|
||||
h1 {
|
||||
font-family: $modern-font-stack;
|
||||
color: $example-red;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,8 @@ import {Component, NgModule} from '@angular/core';
|
||||
<input type="text" [value]="name" (input)="name = $event.target.value"/>
|
||||
`,
|
||||
// TODO: might be better to point to .scss so this looks valid at design-time
|
||||
styleUrls: ['./styles.css']
|
||||
// TODO(alexeagle): re-enable SASS
|
||||
// styleUrls: ['./styles.css']
|
||||
})
|
||||
export class HelloWorldComponent {
|
||||
name: string = 'world';
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
load("@io_bazel_rules_sass//sass:sass.bzl", "sass_library")
|
||||
|
||||
sass_library(
|
||||
name = "colors",
|
||||
srcs = ["_colors.scss"],
|
||||
)
|
||||
|
||||
sass_library(
|
||||
name = "fonts",
|
||||
srcs = ["_fonts.scss"],
|
||||
)
|
||||
@@ -1,2 +0,0 @@
|
||||
$example-blue: #0000ff;
|
||||
$example-red: #ff0000;
|
||||
@@ -1,2 +0,0 @@
|
||||
$default-font-stack: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
|
||||
$modern-font-stack: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
|
||||
@@ -21,7 +21,7 @@ else
|
||||
cd $INTEGRATION_DIR
|
||||
rm -rf $PROJECT
|
||||
$NG set --global packageManager=yarn
|
||||
$NG new $PROJECT --skip-install
|
||||
$NG new $PROJECT --skip-install --skip-git
|
||||
echo "==================="
|
||||
echo $PROJECT created
|
||||
echo "==================="
|
||||
|
||||
@@ -24,7 +24,7 @@ if [ ! -d ".ng-cli" ]; then
|
||||
(
|
||||
mkdir -p .ng-cli
|
||||
cd .ng-cli
|
||||
yarn add https://github.com/angular/cli-builds --cache-folder ../$cache
|
||||
yarn add @angular/cli@$ANGULAR_CLI_VERSION --cache-folder ../$cache
|
||||
)
|
||||
fi
|
||||
./ng-cli-create.sh cli-hello-world
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Generated
+4052
File diff suppressed because it is too large
Load Diff
+2
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "angular-srcs",
|
||||
"version": "5.0.0-beta.4",
|
||||
"version": "5.0.0-beta.5",
|
||||
"private": true,
|
||||
"branchPattern": "2.0.*",
|
||||
"description": "Angular - a web framework for modern web apps",
|
||||
@@ -57,6 +57,7 @@
|
||||
"dgeni": "^0.4.2",
|
||||
"dgeni-packages": "^0.16.5",
|
||||
"entities": "^1.1.1",
|
||||
"firebase-tools": "^3.9.2",
|
||||
"firefox-profile": "^0.3.4",
|
||||
"fs-extra": "^0.26.3",
|
||||
"glob": "^4.0.6",
|
||||
|
||||
@@ -6,10 +6,11 @@
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"@angular/compiler-cli": "0.0.0-PLACEHOLDER",
|
||||
"@bazel/typescript": "~0.0.7",
|
||||
"typescript": "~2.3"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/angular/angular.git"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,7 @@
|
||||
"ng-xi18n": "./src/extract_i18n.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/tsc-wrapped": "5.0.0-beta.4",
|
||||
"@angular/tsc-wrapped": "5.0.0-beta.5",
|
||||
"reflect-metadata": "^0.1.2",
|
||||
"minimist": "^1.2.0",
|
||||
"tsickle": "^0.23.4"
|
||||
|
||||
@@ -38,6 +38,7 @@ setEnvVar NODE_VERSION 6.9.5
|
||||
setEnvVar NPM_VERSION 3.10.7 # do not upgrade to >3.10.8 unless https://github.com/npm/npm/issues/14042 is resolved
|
||||
setEnvVar YARN_VERSION 0.24.6
|
||||
setEnvVar SAUCE_CONNECT_VERSION 4.3.11
|
||||
setEnvVar ANGULAR_CLI_VERSION 1.3.2
|
||||
setEnvVar PROJECT_ROOT $(cd ${thisDir}/../..; pwd)
|
||||
|
||||
if [[ ${TRAVIS:-} ]]; then
|
||||
|
||||
+20
-23
@@ -28,18 +28,28 @@ mkdir -p ${LOGS_DIR}
|
||||
# Install node
|
||||
#nvm install ${NODE_VERSION}
|
||||
|
||||
if [[ ${CI_MODE} != "aio" && ${CI_MODE} != 'docs_test' ]]; then
|
||||
# Install version of npm that we are locked against
|
||||
travisFoldStart "install-npm"
|
||||
npm install -g npm@${NPM_VERSION}
|
||||
travisFoldEnd "install-npm"
|
||||
# Install version of npm that we are locked against
|
||||
travisFoldStart "install-npm"
|
||||
npm install -g npm@${NPM_VERSION}
|
||||
travisFoldEnd "install-npm"
|
||||
|
||||
|
||||
# Install all npm dependencies according to shrinkwrap.json
|
||||
travisFoldStart "npm-install"
|
||||
node tools/npm/check-node-modules --purge || npm install
|
||||
travisFoldEnd "npm-install"
|
||||
fi
|
||||
# Install all npm dependencies according to shrinkwrap.json
|
||||
travisFoldStart "npm-install"
|
||||
node tools/npm/check-node-modules --purge || npm install
|
||||
travisFoldEnd "npm-install"
|
||||
|
||||
|
||||
# Install Selenium WebDriver
|
||||
travisFoldStart "webdriver-manager-update"
|
||||
$(npm bin)/webdriver-manager update
|
||||
travisFoldEnd "webdriver-manager-update"
|
||||
|
||||
|
||||
# Install bower packages
|
||||
travisFoldStart "bower-install"
|
||||
$(npm bin)/bower install
|
||||
travisFoldEnd "bower-install"
|
||||
|
||||
|
||||
if [[ ${TRAVIS} && (${CI_MODE} == "e2e" || ${CI_MODE} == "e2e_2" || ${CI_MODE} == "aio" || ${CI_MODE} == "aio_e2e" || ${CI_MODE} == "aio_tools_test") ]]; then
|
||||
@@ -102,18 +112,5 @@ if [[ ${TRAVIS} && (${CI_MODE} == "browserstack_required" || ${CI_MODE} == "brow
|
||||
travisFoldEnd "install-browserstack"
|
||||
fi
|
||||
|
||||
|
||||
# Install Selenium WebDriver
|
||||
travisFoldStart "webdriver-manager-update"
|
||||
$(npm bin)/webdriver-manager update
|
||||
travisFoldEnd "webdriver-manager-update"
|
||||
|
||||
|
||||
# Install bower packages
|
||||
travisFoldStart "bower-install"
|
||||
$(npm bin)/bower install
|
||||
travisFoldEnd "bower-install"
|
||||
|
||||
|
||||
# Print return arrows as a log separator
|
||||
travisFoldReturnArrows
|
||||
|
||||
@@ -39,7 +39,10 @@ addTimestamp() {
|
||||
|
||||
# Write travis commit message to global variable $payloadData
|
||||
addMessage() {
|
||||
message=$(git log --oneline $TRAVIS_COMMIT_RANGE)
|
||||
# Grab the set of SHAs for the message. This can fail when you force push or do initial build
|
||||
# because $TRAVIS_COMMIT_RANGE will contain the previous SHA which will not be in the
|
||||
# force push or commit, hence we default to last commit.
|
||||
message=$(git log --oneline $TRAVIS_COMMIT_RANGE -- || git log --oneline -n1)
|
||||
message=$(echo $message | sed 's/"/\\"/g' | sed 's/\\/\\\\/g')
|
||||
payloadData="$payloadData\"message\": \"$message\""
|
||||
}
|
||||
@@ -85,7 +88,7 @@ uploadData() {
|
||||
|
||||
# WARNING: FIREBASE_TOKEN should NOT be printed.
|
||||
set +x
|
||||
firebase database:update --data "$payloadData" --project $PROJECT_NAME --confirm --token "$ANGULAR_PAYLOAD_FIREBASE_TOKEN" $dbPath
|
||||
$PROJECT_ROOT/node_modules/.bin/firebase database:update --data "$payloadData" --project $PROJECT_NAME --confirm --token "$ANGULAR_PAYLOAD_FIREBASE_TOKEN" $dbPath
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ function publishRepo {
|
||||
git config user.name "${COMMITTER_USER_NAME}" && \
|
||||
git config user.email "${COMMITTER_USER_EMAIL}" && \
|
||||
git add --all && \
|
||||
git commit -m "${COMMIT_MSG}" && \
|
||||
git commit -m "${COMMIT_MSG}" --quiet && \
|
||||
git tag "${BUILD_VER}" && \
|
||||
git push origin "${BRANCH}" --tags --force
|
||||
)
|
||||
@@ -101,7 +101,7 @@ function publishPackages {
|
||||
PKGS_DIST=$2
|
||||
BRANCH=$3
|
||||
|
||||
for dir in $PKGS_DIST/*/
|
||||
for dir in $PKGS_DIST/*/
|
||||
do
|
||||
COMPONENT="$(basename ${dir})"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user