Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
9100 commits
Select commit Hold shift + click to select a range
139f5b3
fix(ivy): references track the identifier they were discovered under …
alxhub Jul 12, 2018
b7bbc82
fix(ivy): wrap non-statement assignment expressions in parentheses (#…
alxhub Jul 12, 2018
9fd70c9
refactor(ivy): run the compiler compliance tests against ngtsc (#24862)
alxhub Jul 12, 2018
d3594fc
fix(ivy): correctly export all *Def symbols as private (#24862)
alxhub Jul 13, 2018
ed1db40
fix(ivy): use 'typeof' and 'never' for type metadata (#24862)
alxhub Jul 17, 2018
2b8b647
fix(ivy): export injectElementRef (#24862)
alxhub Jul 13, 2018
41ef758
fix(ivy): types in .d.ts files should account for generics (#24862)
alxhub Jul 13, 2018
8620373
fix(service-worker): don't include sourceMappingURL in ngsw-worker (#…
alexeagle Jul 13, 2018
f1ab394
docs: add api doc to commonly queried elements
jbogarthyde Jul 2, 2018
7960d18
docs: technical review incorporated (#24744)
jbogarthyde Jul 18, 2018
6b859da
fix(core): stop reusing provider definitions across NgModuleRef insta…
vikerman Jul 22, 2018
4d6f467
docs: refactor style guide example 01-01 (#22738)
danielsogl Jul 11, 2018
4263245
docs: update rxjs link to version 6 (#24269)
EbonyAdder Jun 2, 2018
7729bb2
docs: fix instructions for switching directories (#24439)
Jul 5, 2018
168c2a6
docs: add Truly-UI to resources (#24615)
abalad Jun 21, 2018
bd576bb
docs: fix multicasting example in observable guide (#24911)
Karql Jul 16, 2018
7c89af3
docs: square odds example in rxjs guide (#24947)
palerdot Jul 18, 2018
edef58f
build(docs-infra): ensure all API headings are sentence cased (#24949)
petebacondarwin Jul 18, 2018
13f3157
fix(ivy): update content query compilation to latest runtime (#24957)
pkozlowski-opensource Jul 18, 2018
169e9dd
feat(ivy): bridge compile instructions to include sanitization helper…
matsko Jul 11, 2018
be3cca4
docs: tests for number/percent/currency pipe (#25028)
cexbrayat Jun 25, 2018
d6016f1
build: update to newer circleCI bazel remote cache proxy (#25054)
alexeagle Jul 24, 2018
d523630
docs(aio): cleanup aalert, callout, subsection use and author style (…
sjtrimble Jul 19, 2018
445b9a5
feat(ivy): support ViewContainerRef.createComponent() (#24997)
marclaval Jul 20, 2018
e38b2b5
build(bazel): //modules/benchmarks/src/largetable/render3:perf bazel …
gregmagolan Jul 6, 2018
8450e0a
build(bazel): fix broken travis CI (#24788)
gregmagolan Jul 13, 2018
2cb0f68
test(bazel): allow no sandbox for protractor tests (#24906)
huangw5 Jul 16, 2018
c0e3852
Revert "build: update to newer circleCI bazel remote cache proxy (#25…
vicb Jul 24, 2018
72dd10f
refactor(ivy): cleanup runtime i18n code (#24805)
ocombe Jul 9, 2018
22731a7
refactor(ivy): split i18nInterpolation into 8 functions (#24805)
ocombe Jul 19, 2018
1ceddb6
fix(ivy): support re-order embedded templates (#24805)
ocombe Jul 20, 2018
65e18dc
docs: refactor style guide example 03-06 (#24996)
danielsogl Jul 20, 2018
d0c066a
docs: replaced old angular/http example (#25065)
danielsogl Jul 24, 2018
1e79014
docs: replace angular/http with HttpClient (#25066)
danielsogl Jul 24, 2018
777bd41
docs: replace angular/http with HttpClient (#25068)
danielsogl Jul 24, 2018
c205516
docs: refactor ngmodules example (#25072)
danielsogl Jul 24, 2018
d4ac969
Revert "docs: refactor style guide example 03-06 (#24996)"
vicb Jul 25, 2018
cf81823
docs: refactor style guide example 03-06 (#24996)
danielsogl Jul 25, 2018
0bcf20c
docs(animations): typo fix in the comments (#22652)
johanchouquet Mar 8, 2018
1e28495
fix(ivy): update compiler with latest runtime for view queries (#25061)
pkozlowski-opensource Jul 24, 2018
968f153
fix(router): Fix _lastPathIndex in deeply nested empty paths (#22394)
adriensamson Feb 23, 2018
e1c6fd5
Revert "feat(core): add support for using async/await with Jasmine" (…
mhevery Jul 25, 2018
48d7205
release: cut the v6.1.0 release
vicb Jul 25, 2018
f902b5e
feat(ivy): resolve forwardRef() for queries (#25080)
alxhub Jul 24, 2018
ed7aa1c
fix(ivy): force new imports for .d.ts files (#25080)
alxhub Jul 24, 2018
13a0d52
fix(ivy): correctly write cross-file references (#25080)
alxhub Jul 25, 2018
e0c0c44
fix(ivy): allow relative imports of .d.ts files (#25080)
alxhub Jul 26, 2018
6fe865b
fix(ivy): don't use a custom ts.CompilerHost for ngtsc (#25080)
alxhub Jul 26, 2018
0d1d589
fix(bazel): allow compile_strategy to be (privately) imported (#25080)
alxhub Jul 26, 2018
8de304c
fix(ivy): wait for preanalyze promises in loadNgStructureAsync() (#25…
alxhub Jul 26, 2018
3169edd
fix(ivy): don't crash in listLazyRoutes() (#25080)
alxhub Jul 26, 2018
323faf9
docs(router): Removed unneeded trailing text. (#24894)
georgewilde Jul 16, 2018
1d051c5
build(bazel): use bazel managed node_modules for downstream angular f…
gregmagolan Jun 25, 2018
dd44f63
build(bazel): show bazel progress in CircleCI to prevent 10m timeout …
gregmagolan Jul 14, 2018
e265ccd
build(bazel): add comment for patch-types work-around (#24663)
gregmagolan Jul 23, 2018
601064e
build(bazel): add comment about angular bazel rules API re-export fro…
gregmagolan Jul 23, 2018
a1b185b
docs: Change unnecessary step in ToH-Tutorial (#25059)
FrederikSchlemmer Jul 26, 2018
a3cf61b
docs: refactor feature modules example (#25069)
danielsogl Jul 24, 2018
6a4d66d
style(docs-infra): remove unnecessary call to console.log() (#25020)
petebacondarwin Jul 22, 2018
e8d4211
feat(docs-infra): allow notification bar to show arbitrary content (#…
petebacondarwin Jul 22, 2018
3426784
test: fix typings for `DoneFn` (#25163)
gkalpak Jul 27, 2018
ce98634
build(compiler-cli): update tsickle dependency to support TypeScript …
sarunint Jul 26, 2018
d3c0915
docs(ivy): clarify injector API docs (#25166)
vicb Jul 27, 2018
15df853
fix(ivy): walk the node injector tree and then the module injector tr…
vicb Jul 27, 2018
16f0ac3
refactor(ivy): simplify node injector imports (#25166)
vicb Jul 27, 2018
9ea1124
refactor(ivy): use bit operations in node injector (#25166)
vicb Jul 27, 2018
7f59170
refactor(ivy): use `element()` where applicable in di_spec (#25166)
vicb Jul 27, 2018
8e65891
build(ivy): fix ci failures (#25166)
vicb Jul 27, 2018
5e98421
style(ivy): remove underscore from TypeScriptReflectionHost._getDecla…
petebacondarwin Jul 16, 2018
185b932
refactor(ivy): `TypeScriptReflectionHost.isClass` cannot be a type di…
petebacondarwin Jul 16, 2018
ee2c050
fix(ivy): make ngtsc `ClassMember` `node` and `declaration` optional …
petebacondarwin Jul 16, 2018
67588ec
refactor(ivy): allow `ImportManager` to have configurable prefix (#24…
petebacondarwin Jul 16, 2018
6f1685a
fix(ivy): allow `FunctionExpression` to indicate a method declaration…
petebacondarwin Jul 16, 2018
07e6de5
test(ivy): allow `makeProgram` to be more configurable (#24897)
petebacondarwin Jul 16, 2018
a673494
build: add dependencies to be used by ngcc (#24897)
petebacondarwin Jul 16, 2018
d7aa20d
feat(ivy): ngcc project skeleton (#24897)
petebacondarwin Jul 16, 2018
4ad2f11
test(ivy): implement ngcc specific version of `makeProgram` (#24897)
petebacondarwin Jul 16, 2018
45cf5b5
feat(ivy): implement esm2015 and esm5 reflection hosts (#24897)
petebacondarwin Jul 16, 2018
2f70e90
feat(ivy): implement esm2015 and esm5 file parsers (#24897)
petebacondarwin Jul 16, 2018
844d510
feat(ivy): implement ngcc `Analyzer` (#24897)
petebacondarwin Jul 16, 2018
5b32aa4
feat(ivy): implement esm2015 and esm5 ngcc file renderers (#24897)
petebacondarwin Jul 16, 2018
43d0e3d
feat(ivy): implement initial ngcc package transformer (#24897)
petebacondarwin Jul 16, 2018
a87d44c
refactor(ivy): do not deep import from ngtsc into ngcc (#24897)
petebacondarwin Jul 25, 2018
f82b6b2
build(bazel): fix typos in comments (#25172)
gregmagolan Jul 27, 2018
89e8b6f
refactor(ivy): update specs to make use of the `element()` instructio…
vicb Jul 27, 2018
6a797d5
refactor(ivy): `element` and `ElementStart` retuns `void` (#25173)
vicb Jul 27, 2018
9a6d26e
docs: refactor pipe example to use the HttpClient (#22741)
danielsogl Jul 25, 2018
8741909
fix(ivy): flatten template fns for nested views (#24943)
kara Jul 17, 2018
fe14f18
fix(compiler): update compiler to flatten nested template fns (#24943)
kara Jul 18, 2018
2ef777b
fix(ivy): convert context code into a tree-shakable instruction (#24943)
kara Jul 26, 2018
efc6684
docs: fix typo in dependency injection guide (#24972)
blackwright Jul 18, 2018
4d5167e
docs: update bootstrapping and entry component guide to use httpclien…
danielsogl Jul 28, 2018
f94f964
ci: correctly encode quoted params passed as params to curl
IgorMinar Jul 30, 2018
24789e9
docs(aio): add StrongBrew to the trainer list (#24891)
KwintenP Jul 15, 2018
e99d860
feat(compiler): add "original" placeholder value on extracted XMB (#2…
Goodwine Jul 24, 2018
cd89eb8
feat(ivy): implement the getters of ViewContainerRef (#25174)
marclaval Jul 25, 2018
3664829
refactor(ivy): misc (#25174)
vicb Jul 29, 2018
e3834b7
feat(ivy): support change detection on the root view (#25085)
marclaval Jul 25, 2018
3f20a2f
docs: fix link to "Override component providers" (#24967)
rajeshduggal Jul 18, 2018
4ee9db9
docs(docs-infra): fix topnav layout for smaller screens (#25181)
sjtrimble Jul 28, 2018
5254d34
build(bazel): update to rules_nodejs 0.11.2 and latest rules_typescri…
gregmagolan Jul 27, 2018
3f6fc00
docs(forms): fix incorrect variables naming in the comments (#25150)
denjamal Jul 26, 2018
76d8eb0
build: make `postinstall` script compatible with Windows (#25232)
gkalpak Jul 31, 2018
4cb1074
docs(aio): add short description for entryComponents (#21360)
VadimDez Jan 6, 2018
aafd502
fix(ivy): default to `ngDevMode = true` (#25208)
mhevery Jul 31, 2018
6e2a187
refactor(core): remove withBody from public testing API (#25171)
mhevery Jul 27, 2018
64516da
feat(ivy): support inheriting input/output from bare base class (#25094)
benlesh Jul 24, 2018
c8a4fb1
fix(ivy): walk declaration views in listener (#25228)
kara Jul 31, 2018
bafe1a0
build(bazel): fix typo in protractor test target definition (#25235)
gregmagolan Jul 31, 2018
4976a58
docs: update to account for CLI changes (#25223)
firrae Aug 1, 2018
466e026
docs(changelog): remove duplicate entries (#25206)
cerkiner Jul 31, 2018
7075c41
docs(changelog): remove reverted feature entry (#25206)
cerkiner Jul 31, 2018
d5b7383
refactor(animations): do not use short parameter names (#25198)
petebacondarwin Jul 30, 2018
367841d
docs: replace ReflectiveInjector samples with Injector samples (#25162)
brandonroberts Jul 27, 2018
1e53278
docs(core): replace ReflectiveInjector example with Static Injector e…
brandonroberts Jul 27, 2018
166ddaa
docs(router): clarify scroll position wording (#25077)
StephenFluin Jul 24, 2018
a9ecf4b
docs: refactor lazy loading modules example (#25071)
danielsogl Jul 24, 2018
01e6dab
fix(compiler-cli): correct realPath to realpath. (#25023)
mprobst Jul 22, 2018
88da8f3
docs: refactor http module import for style guide app.module (#25001)
danielsogl Jul 20, 2018
7a4fb44
docs(aio): add Kevin Yang to GDE resources (#24791)
chgc Jul 7, 2018
2b6e1f0
docs(core): remove experimental tag (#24032)
mhartington May 21, 2018
af07ffc
docs(core): remove experimental tag (#24032)
mhartington Jul 25, 2018
1dd2eaa
docs: fix typos and missing word in tutorial (#20764)
stepharr Dec 3, 2017
5342aea
docs(aio): update Kendo UI description in resource.json (#24845)
alyssamichelle Jul 2, 2018
7d6b258
build: revert yarn.lock rxjs version to 6.0.0 (#25236)
gregmagolan Aug 1, 2018
bde4402
build: update hello_world__closure to google-closure-compiler 2018071…
gregmagolan Aug 1, 2018
fa70a2a
build(bazel): entry point file couldn't be resolved [ts-api-guardian]…
devversion Jul 23, 2018
06af794
test(upgrade): run tests against AngularJS v1.7.x as well (#25231)
gkalpak Jul 31, 2018
3d7f555
ci: update pullapprove groups and add docs (#25257)
IgorMinar Aug 1, 2018
06a1974
docs: Update the link to the Jasmine docs (#25175)
samal-rasmussen Jul 28, 2018
20b4530
docs: update reactiveconf 2018 in events (#24739)
kristinavavrova Jul 3, 2018
d46a961
docs(ivy): API doc tweaks (#25258)
vicb Aug 1, 2018
a224df4
feat(docs-infra): support sending Google Analytics events (#25042)
petebacondarwin Jul 23, 2018
1b4269a
docs(elements): remove unnecessary whitespace in `elements` guide (#2…
gkalpak Jul 31, 2018
f122362
docs(elements): add link to full example in `elements` guide (#25219)
gkalpak Jul 31, 2018
7b89711
docs(elements): add section about custom element typings in `elements…
gkalpak Jul 31, 2018
e60737f
docs(docs-infra): adds note according to Symlink problem (#24714)
FrederikSchlemmer Jul 5, 2018
140248a
test(common): remove unused import in xsrf spec (#24649)
drumonii Jun 25, 2018
5982425
test(common): TokenExtractor should extend HttpXsrfTokenExtractor in …
drumonii Jun 25, 2018
3ba5220
refactor(forms): `ngForm` element selector has been deprecated in fav…
alan-agius4 Aug 1, 2018
74bce18
Revert "docs: refactor http module import for style guide app.module …
brandonroberts Aug 2, 2018
adf510f
fix(core): throw error message when @Output not initialized (#19116)
Sep 8, 2017
183757d
fix(core): fix tests for uninitialized @Output error (#19116)
aldo-roman Jan 16, 2018
6bacd32
release: cut the v7.0.0-beta.0 release
IgorMinar Aug 2, 2018
4f741e7
docs: release notes for the v6.1.1 release
IgorMinar Aug 2, 2018
28c7a4e
feat(ivy): add basic support for ng-container (#25227)
pkozlowski-opensource Jul 26, 2018
c2c12e5
feat(ivy): support ng-container as a child of an already inserted vie…
pkozlowski-opensource Aug 1, 2018
1fb7111
fix(ivy): content query results should be available in content hooks …
kara Aug 2, 2018
b38931b
fix(ivy): use devModeEqual in no change mode (#25252)
vicb Aug 1, 2018
1000fb8
test(ivy): add tests for attributes and bound attributes to the tpl t…
vicb Aug 2, 2018
2f4abbf
fix(ivy): fix inline template bindings parsing (#25272)
vicb Aug 2, 2018
728d98d
fix(ivy): add bound proerties name to template (#25272)
vicb Aug 2, 2018
0822dc7
feat(ivy): generate .ngfactory stubs if requested (#25176)
alxhub Jul 28, 2018
afa6b9e
fix(ivy): execute the optional begin and end methods of the rendererF…
vicb Aug 2, 2018
eb99930
test(ivy): run compiler compliance tests without rebuilding core,comm…
alxhub Aug 1, 2018
725bae1
docs(common): fix content errors (#23667)
petebacondarwin May 3, 2018
15cc85c
style(common): fix short param names (#23667)
petebacondarwin May 3, 2018
79a9c71
test(ivy): remove unnecessary common import (#25297)
kara Aug 3, 2018
4e26478
refactor(ivy): do not mention LViewData in public documentation (#25292)
JoostK Aug 3, 2018
dc07151
test(docs-infra): log docs examples e2e spec paths to aid debugging (…
gkalpak Aug 3, 2018
b0d86c1
refactor(bazel): dont rely on language target to downlevel for loop (…
Jun 15, 2018
26a15cc
build: skip ivy builds when not publishing (#25299)
alexeagle Aug 4, 2018
1e7ca22
refactor(ivy): make all directives public by default (#25291)
vicb Aug 3, 2018
aea8832
refactor(ivy): misc cleanup (#25291)
vicb Aug 3, 2018
795e1e8
test(ivy): improve error message for the compiler compliance test (#2…
vicb Aug 3, 2018
97b5cb2
docs(aio): add Made with Angular (#21297)
lalithpolepeddi Jan 3, 2018
ba1e25f
fix(router): take base uri into account in `setUpLocationSync()` (#20…
observstream Nov 7, 2017
4eb8ac6
build: update Bazel to 0.16 (#25316)
alexeagle Aug 6, 2018
637ae13
docs(http): fixed example unit test for error catching (#25306)
Bartosz-D3V Aug 4, 2018
c67f1bb
docs: several fixes for NPM package guide (#20186)
trotyl Aug 3, 2018
2b906f6
docs: fix typo (#25331)
lukasmatta Aug 6, 2018
c158702
docs: add missing word in outputs description. (#25330)
jessycormier Aug 4, 2018
a9881bb
docs: replace npm with yarn in lockfile readme (#25309)
DanielRuf Aug 5, 2018
397530a
docs: remove code in universal hero detail component (#25215)
Jul 31, 2018
67ad59c
docs: standardize spelling of tree-shakable (#24057)
sreevani-ship-it May 22, 2018
7d006c5
docs(core): fix tree-shakable spelling (#24057)
sreevani-ship-it Aug 6, 2018
4933e10
docs(core): clarify supported ViewChild selectors (#22784)
vincecampanale Mar 15, 2018
b8887dd
docs: fix table in comparing observables guide (#22485)
ro-savage Feb 28, 2018
6861bc5
docs: clarify heroes example (#21216)
reneras Dec 29, 2017
02c15a2
docs: update to 2nd edition of Learning Angular (#20934)
softchris Dec 11, 2017
3355502
fix(ivy): support ng-container at the root of a view with delayed ins…
pkozlowski-opensource Aug 6, 2018
16c03c0
fix(core): In Testability.whenStable update callback, pass more compl…
heathkit Jul 20, 2018
07ab98b
build(upgrade): use correct sources in `BUILD.bazel` (#24937)
gkalpak Jul 18, 2018
066fc6a
refactor(upgrade): improve internal AngularJS typings (#24937)
gkalpak Jul 22, 2018
2505c07
test(upgrade): reduce flaky-ness by increasing timeout (#24937)
gkalpak Jul 31, 2018
2fe05ab
docs: update resources to include UI-jar (#21200)
nording Dec 28, 2017
7bf5a43
docs: refining code of tutorial 7 routing (#22151)
thewillyhuman Feb 10, 2018
02e201a
fix: add mappings for ngfactory & ngsummary files to their module nam…
gregmagolan Aug 6, 2018
fefc860
fix(ivy): fix bug with banana-in-a-box expressions in nested template…
alxhub Aug 6, 2018
dbdbbdb
fix(ivy): support ng-container inside another ng-container (#25346)
pkozlowski-opensource Aug 6, 2018
c6e5b97
fix(compiler-cli): use the oldProgram option in watch mode (#21364)
alippai Jan 7, 2018
af9ced9
fix(ivy): project ng-container nodes (#25354)
pkozlowski-opensource Aug 7, 2018
ec6d617
docs(aio): Angular course in Portuguese #21836
loiane Feb 14, 2018
732026c
feat(core): add DoBootstrap interface. (#24558)
RoopeHakulinen Jun 18, 2018
8434794
Revert "build: update Bazel to 0.16 (#25316)" (#25391)
kara Aug 8, 2018
70a3deb
docs: release notes for the v6.1.2 release
kara Aug 8, 2018
a2593cb
release: cut the v7.0.0-beta.1 release
kara Aug 8, 2018
1039bea
docs: Clarify breaking change in minor release (#25393)
manughub Aug 8, 2018
ebf508f
docs: add docs for fakeAsync test with custom macroTask in aio (#21669)
JiaLiPassion Jan 19, 2018
74518c4
style: fix whitespace and indentation in the testing guide (#21669)
IgorMinar Aug 7, 2018
638ff76
docs: add ngrx book to the docs (#23389)
softchris Apr 15, 2018
bfdbdc2
docs(bazel): add skydoc generation (#23544)
alexeagle Apr 25, 2018
0908245
ci: enforce formatting of .bzl files (#23544)
alexeagle Aug 7, 2018
a3f1e2c
style: format .bzl files with buildifier (#23544)
alexeagle Aug 7, 2018
6c359af
docs: make css multiline in styleguide for consistency (#25300)
Aug 4, 2018
8bbce3f
docs: copy edit architecture guide (#25328)
jbogarthyde Jul 31, 2018
b64fed1
fix(ivy): prevent ngDevMode from getting removed too early (#25371)
mhevery Aug 8, 2018
6c4da9d
build: stop printing source-map-support warning (#25339)
alexeagle Aug 6, 2018
9c92a6f
test(ivy): add test for <ng-container> and shallow queries (#25379)
pkozlowski-opensource Aug 8, 2018
fba276d
fix(ivy): use a single constant pool per source file (#25392)
alxhub Jun 27, 2018
5be1860
feat(ivy): enable inheritance of factory functions in definitions (#2…
alxhub Jul 16, 2018
6f085f8
fix(ivy): add missing exportAs field to ngDirectiveDef (#25392)
alxhub Aug 6, 2018
2befc65
fix(ivy): ngtsc should pay attention to declaration order (#25392)
alxhub Aug 6, 2018
33fd7e0
fix(ivy): export NgModuleFactory via r3_symbols for core factories (#…
alxhub Aug 6, 2018
7058072
feat(ivy): enable .ngfactory.js generation in g3 only (#25392)
alxhub Aug 8, 2018
2d75992
feat(ivy): add support for ng-container in the compiler (#25383)
pkozlowski-opensource Aug 8, 2018
209cc7e
docs: fix typo in testing guide (closes #25400) (#25418)
textbook Aug 9, 2018
2b128a4
refactor(ivy): queries should not rely on LNode (#25415)
kara Aug 9, 2018
409860a
fix(ivy): queries should be restored when view changes (#25415)
kara Aug 9, 2018
c8c1aa7
docs(aio): add async validation chapter (#25189)
realtomaszkula Jul 29, 2018
2016afd
fix(ivy): remove ivy dependency on ViewEngine's resolveRendererType2 …
mhevery Aug 8, 2018
4a4d6fb
test(ivy): compiler compliance tests should support ? (#25435)
kara Aug 10, 2018
97d8b5e
fix(ivy): reordering how root is acquired (#25470)
benlesh Aug 14, 2018
fb2c524
fix(bazel): correct type concatenated to devmode_js (#25467)
benlesh Aug 13, 2018
1bb3014
fix(ivy): add typeof guard around ngDevMode for instances where we ca…
benlesh Aug 14, 2018
e0314b5
docs: add link to Yarn in README (#24856)
Ana06 Jul 12, 2018
c869b14
build: drop unused re-export of json_marshal. (#25449)
mprobst Aug 13, 2018
3ac7070
docs: fix typo in Architecture overview page (#25438)
justinnoel Aug 11, 2018
0971150
ci: github robot should enforce that all requested reviews are submit…
IgorMinar Aug 6, 2018
bbb3f8f
docs(ivy): add better documentation around debugging ivy tests (#25432)
benlesh Aug 10, 2018
ecb5dc0
docs: add Accelebrate to resources (#23204)
annefernandez3 Apr 5, 2018
8510637
refactor(ivy): misc cleanup (#25369)
vicb Aug 6, 2018
14ac7ad
feat(ivy): implement TestBed (#25369)
vicb Aug 6, 2018
0c4209f
refactor(ivy): harmonize container and element / elementContainer sig…
pkozlowski-opensource Aug 13, 2018
9117fa1
test(ivy): activate local references canonical spec (#25462)
pkozlowski-opensource Aug 13, 2018
98f336c
docs: add api doc for programmatic animation classes (#24668)
jbogarthyde Jun 25, 2018
78f4776
build(docs-infra): change breadcrumb delimiter to `>` (#25453)
petebacondarwin Aug 13, 2018
4e45f2c
build(docs-infra): include packages in API template breadcrumbs (#25453)
petebacondarwin Aug 13, 2018
6a21301
build(docs-infra): clean up API package template (#25453)
petebacondarwin Aug 13, 2018
c13901f
build(docs-infra): remove stability labels from API docs (#25453)
petebacondarwin Aug 13, 2018
82e2725
fix(ivy): handle the case where no base factory is found (#25425)
alxhub Aug 10, 2018
b40c437
fix(ivy): ensure factory statements are emitted correctly (#25425)
alxhub Aug 10, 2018
26066f2
fix(ivy): consider exported modules from other compilation scopes (#2…
alxhub Aug 10, 2018
a0a29fd
feat(ivy): Add AOT handling for bare classes with Input and Output de…
benlesh Aug 7, 2018
b5f354f
build(bazel): update to rules_typescript 0.16.0 & update to tagged ru…
gregmagolan Aug 10, 2018
eeb81b9
docs: enable debug tools with current versions of Angular (#25361)
jbandi Aug 7, 2018
be2cf4d
docs(core): Correct spelling error in directives docs (#25377)
KieranDotCo Aug 8, 2018
01ec5fd
fix(service-worker): `Cache-Control: no-cache` on assets breaks servi…
alan-agius4 Aug 13, 2018
1f11039
refactor(ivy): cleanup the public API for core/testing (#25492)
vicb Aug 14, 2018
4ce70b9
release: cut the vv7.0.0-beta.2 release
benlesh Aug 15, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"directory": "bower_components"
}
"directory" : "bower_components"
}
19 changes: 19 additions & 0 deletions .circleci/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Encryption

Based on https://github.com/circleci/encrypted-files

In the CircleCI web UI, we have a secret variable called `KEY`
https://circleci.com/gh/angular/angular/edit#env-vars
which is only exposed to non-fork builds
(see "Pass secrets to builds from forked pull requests" under
https://circleci.com/gh/angular/angular/edit#advanced-settings)

We use this as a symmetric AES encryption key to encrypt tokens like
a GitHub token that enables publishing snapshots.

To create the github_token file, we take this approach:
- Find the angular-builds:token in http://valentine
- Go inside the ngcontainer docker image so you use the same version of openssl as we will at runtime: `docker run --rm -it angular/ngcontainer`
- echo "https://[token]:@github.com" > credentials
- openssl aes-256-cbc -e -in credentials -out .circleci/github_token -k $KEY
- If needed, base64-encode the result so you can copy-paste it out of docker: `base64 github_token`
42 changes: 42 additions & 0 deletions .circleci/bazel.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# These options are enabled when running on CI
# We do this by copying this file to /etc/bazel.bazelrc at the start of the build.
# See remote cache documentation in /docs/BAZEL.md

# Don't be spammy in the logs
# TODO(gmagolan): Hide progress again once build performance improves
# Presently, CircleCI can timeout during bazel test ... with the following
# error: Too long with no output (exceeded 10m0s)
# build --noshow_progress

# Don't run manual tests
test --test_tag_filters=-manual

# Print all the options that apply to the build.
# This helps us diagnose which options override others
# (e.g. /etc/bazel.bazelrc vs. tools/bazel.rc)
build --announce_rc

# Create dist/bin symlink to $(bazel info bazel-bin)
# We use this when uploading artifacts after the build finishes
build --symlink_prefix=dist/

# Enable experimental CircleCI bazel remote cache proxy
# See remote cache documentation in /docs/BAZEL.md
build --experimental_remote_spawn_cache --remote_rest_cache=http://localhost:7643

# Prevent unstable environment variables from tainting cache keys
build --experimental_strict_action_env

# Save downloaded repositories such as the go toolchain
# This directory can then be included in the CircleCI cache
# It should save time running the first build
build --experimental_repository_cache=/home/circleci/bazel_repository_cache

# Workaround https://github.com/bazelbuild/bazel/issues/3645
# Bazel doesn't calculate the memory ceiling correctly when running under Docker.
# Limit Bazel to consuming resources that fit in CircleCI "xlarge" class
# https://circleci.com/docs/2.0/configuration-reference/#resource_class
build --local_resources=14336,8.0,1.0

# Retry in the event of flakes, eg. https://circleci.com/gh/angular/angular/31309
test --flaky_test_attempts=2
275 changes: 275 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,275 @@
# Configuration file for https://circleci.com/gh/angular/angular

# Note: YAML anchors allow an object to be re-used, reducing duplication.
# The ampersand declares an alias for an object, then later the `<<: *name`
# syntax dereferences it.
# See http://blog.daemonl.com/2016/02/yaml.html
# To validate changes, use an online parser, eg.
# http://yaml-online-parser.appspot.com/

# Variables

## IMPORTANT
# If you change the `docker_image` version, also change the `cache_key` suffix and the version of
# `com_github_bazelbuild_buildtools` in the `/WORKSPACE` file.
var_1: &docker_image angular/ngcontainer:0.3.3
var_2: &cache_key v2-angular-{{ .Branch }}-{{ checksum "yarn.lock" }}-0.3.3

# Define common ENV vars
var_3: &define_env_vars
run: echo "export PROJECT_ROOT=$(pwd)" >> $BASH_ENV

# See remote cache documentation in /docs/BAZEL.md
var_4: &setup-bazel-remote-cache
run:
name: Start up bazel remote cache proxy
command: ~/bazel-remote-proxy -backend circleci://
background: true

# Settings common to each job
anchor_1: &job_defaults
working_directory: ~/ng
docker:
- image: *docker_image

# After checkout, rebase on top of master.
# Similar to travis behavior, but not quite the same.
# See https://discuss.circleci.com/t/1662
anchor_2: &post_checkout
post: git pull --ff-only origin "refs/pull/${CIRCLE_PULL_REQUEST//*pull\//}/merge"

version: 2
jobs:
lint:
<<: *job_defaults
steps:
- checkout:
<<: *post_checkout

# Check BUILD.bazel formatting before we have a node_modules directory
# Then we don't need any exclude pattern to avoid checking those files
- run: 'buildifier -mode=check $(find . -type f \( -name "*.bzl" -or -name BUILD.bazel -or -name BUILD \)) ||
(echo "BUILD files not formatted. Please run ''yarn buildifier''" ; exit 1)'
# Run the skylark linter to check our Bazel rules
# deprecated-api is disabled because we use actions.new_file(genfiles_dir)
# which has no replacement, see https://github.com/bazelbuild/bazel/issues/4858
- run: 'find . -type f -name "*.bzl" |
xargs java -jar /usr/local/bin/Skylint_deploy.jar --disable-checks=deprecated-api ||
(echo -e "\n.bzl files have lint errors. Please run ''yarn skylint''"; exit 1)'

- restore_cache:
key: *cache_key

- run: yarn install --frozen-lockfile --non-interactive
- run: ./node_modules/.bin/gulp lint

test:
<<: *job_defaults
resource_class: xlarge
steps:
- *define_env_vars
- checkout:
<<: *post_checkout
# See remote cache documentation in /docs/BAZEL.md
- run: .circleci/setup_cache.sh
- run: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
- *setup-bazel-remote-cache

- restore_cache:
key: *cache_key

- run: ls /home/circleci/bazel_repository_cache || true
- run: bazel info release
- run: bazel run @nodejs//:yarn
# Use bazel query so that we explicitly ask for all buildable targets to be built as well
# This avoids waiting for the slowest build target to finish before running the first test
# See https://github.com/bazelbuild/bazel/issues/4257
# NOTE: Angular developers should typically just bazel build //packages/... or bazel test //packages/...
- run: bazel query --output=label //... | xargs bazel test --build_tag_filters=-ivy-only --test_tag_filters=-manual,-ivy-only

# CircleCI will allow us to go back and view/download these artifacts from past builds.
# Also we can use a service like https://buildsize.org/ to automatically track binary size of these artifacts.
# The destination keys need be format {projectName}/{context}/{fileName} so that the github-robot can process them for size calculations
# projectName should remain consistant to group files
# context and fileName can be almost anything (within usual URI rules)
# There should only be exactly 2 forward slashes in the path
# This is so they're backwards compatiable with the existing data we have on bundle sizes
- store_artifacts:
path: dist/bin/packages/core/test/bundling/hello_world/bundle.min.js
destination: core/hello_world/bundle
- store_artifacts:
path: dist/bin/packages/core/test/bundling/todo/bundle.min.js
destination: core/todo/bundle
- store_artifacts:
path: dist/bin/packages/core/test/bundling/hello_world/bundle.min.js.br
destination: core/hello_world/bundle.br
- store_artifacts:
path: dist/bin/packages/core/test/bundling/todo/bundle.min.js.br
destination: core/todo/bundle.br
- save_cache:
key: *cache_key
paths:
- "node_modules"
- "~/bazel_repository_cache"
# Temporary job to test what will happen when we flip the Ivy flag to true
test_ivy_jit:
<<: *job_defaults
resource_class: xlarge
steps:
- *define_env_vars
- checkout:
<<: *post_checkout
# See remote cache documentation in /docs/BAZEL.md
- run: .circleci/setup_cache.sh
- run: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
- *setup-bazel-remote-cache

- restore_cache:
key: *cache_key

- run: bazel run @yarn//:yarn
- run: bazel query --output=label //... | xargs bazel test --define=compile=jit --build_tag_filters=ivy-jit --test_tag_filters=-manual,ivy-jit

test_ivy_aot:
<<: *job_defaults
resource_class: xlarge
steps:
- *define_env_vars
- checkout:
<<: *post_checkout
# See remote cache documentation in /docs/BAZEL.md
- run: .circleci/setup_cache.sh
- run: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
- *setup-bazel-remote-cache

- restore_cache:
key: *cache_key

- run: bazel run @yarn//:yarn
- run: bazel query --output=label //... | xargs bazel test --define=compile=local --build_tag_filters=ivy-local --test_tag_filters=-manual,ivy-local

# This job exists only for backwards-compatibility with old scripts and tests
# that rely on the pre-Bazel dist/packages-dist layout.
# It duplicates some work with the job above: we build the bazel packages
# twice. Even though we have a remote cache, these jobs will typically run in
# parallel so up-to-date outputs will not be available at the time the build
# starts.
# No new jobs should depend on this one.
build-packages-dist:
<<: *job_defaults
resource_class: xlarge
steps:
- *define_env_vars
- checkout:
<<: *post_checkout
# See remote cache documentation in /docs/BAZEL.md
- run: .circleci/setup_cache.sh
- run: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
- *setup-bazel-remote-cache

- run: bazel run @nodejs//:yarn
- run: scripts/build-packages-dist.sh

# Save the npm packages from //packages/... for other workflow jobs to read
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
- persist_to_workspace:
root: dist
paths:
- packages-dist
- packages-dist-ivy-jit
- packages-dist-ivy-local

# We run the integration tests outside of Bazel for now.
# They are a separate workflow job so that they can be easily re-run.
# When the tests are ported to bazel test targets, they should move to the "test"
# job above, as part of the bazel test command. That has flaky_test_attempts so the
# need to re-run manually should be alleviated.
# See comments inside the integration/run_tests.sh script.
integration_test:
<<: *job_defaults
# Note: we run Bazel in one of the integration tests, and it can consume >2G
# of memory. Together with the system under test, this can exhaust the RAM
# on a 4G worker so we use a larger machine here too.
resource_class: xlarge
steps:
- *define_env_vars
- checkout:
<<: *post_checkout
- attach_workspace:
at: dist
- run: xvfb-run --auto-servernum ./integration/run_tests.sh

# This job updates the content of repos like github.com/angular/core-builds
# for every green build on angular/angular.
publish_snapshot:
<<: *job_defaults
steps:
# See below - ideally this job should not trigger for non-upstream builds.
# But since it does, we have to check this condition.
- run:
name: Skip this job for Pull Requests and Fork builds
# Note, `|| true` on the end makes this step always exit 0
command: '[[
-v CIRCLE_PR_NUMBER
|| "$CIRCLE_PROJECT_USERNAME" != "angular"
|| "$CIRCLE_PROJECT_REPONAME" != "angular"
]] && circleci step halt || true'
- checkout:
<<: *post_checkout
- attach_workspace:
at: dist
# CircleCI has a config setting to force SSH for all github connections
# This is not compatible with our mechanism of using a Personal Access Token
# Clear the global setting
- run: git config --global --unset "url.ssh://git@github.com.insteadof"
- run:
name: Decrypt github credentials
command: 'openssl aes-256-cbc -d -in .circleci/github_token -k "${KEY}" -out ~/.git_credentials'
- run: ./scripts/ci/publish-build-artifacts.sh

aio_monitoring:
<<: *job_defaults
steps:
- checkout:
<<: *post_checkout
- restore_cache:
key: *cache_key
- run: xvfb-run --auto-servernum ./aio/scripts/test-production.sh

workflows:
version: 2
default_workflow:
jobs:
- lint
- test
- test_ivy_jit
- test_ivy_aot
- build-packages-dist
- integration_test:
requires:
- build-packages-dist
- publish_snapshot:
# Note: no filters on this job because we want it to run for all upstream branches
# We'd really like to filter out pull requests here, but not yet available:
# https://discuss.circleci.com/t/workflows-pull-request-filter/14396/4
# Instead, the job just exits immediately at the first step.
requires:
# Only publish if tests and integration tests pass
- test
- test_ivy_jit
- test_ivy_aot
- integration_test
# Get the artifacts to publish from the build-packages-dist job
# since the publishing script expects the legacy outputs layout.
- build-packages-dist

aio_monitoring:
jobs:
- aio_monitoring
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
Binary file added .circleci/github_token
Binary file not shown.
11 changes: 11 additions & 0 deletions .circleci/setup_cache.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh
# Install bazel remote cache proxy
# This is temporary until the feature is no longer experimental on CircleCI.
# See remote cache documentation in /docs/BAZEL.md

set -u -e

readonly DOWNLOAD_URL="https://5-116431813-gh.circle-artifacts.com/0/pkg/bazel-remote-proxy-$(uname -s)_$(uname -m)"

curl --fail -o ~/bazel-remote-proxy "$DOWNLOAD_URL"
chmod +x ~/bazel-remote-proxy
6 changes: 5 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Auto detect text files and perform LF normalization
* text=auto

# JS files must always use LF for tools to work
# JS and TS files must always use LF for tools to work
*.js eol=lf
*.ts eol=lf

# Must keep Windows line ending to be parsed correctly
scripts/windows/packages.txt eol=crlf
Loading