https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
48d7205 release: cut the v6.1.0 release 25 July 2018, 21:23:40 UTC
e1c6fd5 Revert "feat(core): add support for using async/await with Jasmine" (#25096) This reverts commit f6829aba55e07609e312b4f67dbc9dbbf36e4e46. PR Close #25096 25 July 2018, 18:44:56 UTC
968f153 fix(router): Fix _lastPathIndex in deeply nested empty paths (#22394) PR Close #22394 25 July 2018, 18:27:28 UTC
1e28495 fix(ivy): update compiler with latest runtime for view queries (#25061) PR Close #25061 25 July 2018, 17:39:30 UTC
0bcf20c docs(animations): typo fix in the comments (#22652) PR Close #22652 25 July 2018, 17:13:18 UTC
cf81823 docs: refactor style guide example 03-06 (#24996) docs: refactor style guide example 03-06 docs: refactor style guide example 03-06 docs: refactor style guide example 03-06 PR Close #24996 25 July 2018, 15:04:12 UTC
d4ac969 Revert "docs: refactor style guide example 03-06 (#24996)" This reverts commit 65e18dc1bf1c4390e3c61af1e63c04c37b6c107d. 25 July 2018, 05:11:30 UTC
c205516 docs: refactor ngmodules example (#25072) PR Close #25072 25 July 2018, 04:03:38 UTC
777bd41 docs: replace angular/http with HttpClient (#25068) PR Close #25068 25 July 2018, 03:54:44 UTC
1e79014 docs: replace angular/http with HttpClient (#25066) PR Close #25066 25 July 2018, 03:51:50 UTC
d0c066a docs: replaced old angular/http example (#25065) PR Close #25065 25 July 2018, 03:47:20 UTC
65e18dc docs: refactor style guide example 03-06 (#24996) PR Close #24996 25 July 2018, 03:46:07 UTC
1ceddb6 fix(ivy): support re-order embedded templates (#24805) PR Close #24805 24 July 2018, 23:41:05 UTC
22731a7 refactor(ivy): split i18nInterpolation into 8 functions (#24805) PR Close #24805 24 July 2018, 23:41:05 UTC
72dd10f refactor(ivy): cleanup runtime i18n code (#24805) Fixes #24785 PR Close #24805 24 July 2018, 23:41:05 UTC
c0e3852 Revert "build: update to newer circleCI bazel remote cache proxy (#25054)" (#25076) This reverts commit d6016f1d1d37e9ab6ee3e7725add1bb63e41f7e4. PR Close #25076 24 July 2018, 23:05:58 UTC
2cb0f68 test(bazel): allow no sandbox for protractor tests (#24906) It specifies --no-sandbox flag when running the protractor tests as root. This is needed for running the tests inside a docker container. PR Close #24906 24 July 2018, 15:28:03 UTC
8450e0a build(bazel): fix broken travis CI (#24788) PR Close #24788 24 July 2018, 15:26:16 UTC
e38b2b5 build(bazel): //modules/benchmarks/src/largetable/render3:perf bazel protractor test (#24788) PR Close #24788 24 July 2018, 15:26:16 UTC
445b9a5 feat(ivy): support ViewContainerRef.createComponent() (#24997) PR Close #24997 24 July 2018, 15:23:23 UTC
d523630 docs(aio): cleanup aalert, callout, subsection use and author style (#24986) PR Close #24986 24 July 2018, 15:22:14 UTC
d6016f1 build: update to newer circleCI bazel remote cache proxy (#25054) it fixes the error we currently get on CI PR Close #25054 24 July 2018, 15:20:28 UTC
be3cca4 docs: tests for number/percent/currency pipe (#25028) Will avoid errors in examples like the one fixed in #24661 Closes #25028 23 July 2018, 20:18:23 UTC
169e9dd feat(ivy): bridge compile instructions to include sanitization helpers (#24938) PR Close #24938 23 July 2018, 15:49:52 UTC
13f3157 fix(ivy): update content query compilation to latest runtime (#24957) PR Close #24957 23 July 2018, 15:45:50 UTC
edef58f build(docs-infra): ensure all API headings are sentence cased (#24949) Closes #24880 PR Close #24949 23 July 2018, 15:43:07 UTC
7c89af3 docs: square odds example in rxjs guide (#24947) Added argument type to filter function of rxjs. Fixed the return value of filtering of odd numbers PR Close #24947 23 July 2018, 15:41:58 UTC
bd576bb docs: fix multicasting example in observable guide (#24911) PR Close #24911 23 July 2018, 15:40:45 UTC
168c2a6 docs: add Truly-UI to resources (#24615) PR Close #24615 23 July 2018, 15:39:35 UTC
7729bb2 docs: fix instructions for switching directories (#24439) docs: fix instructions for switching directories PR Close #24439 23 July 2018, 15:38:10 UTC
4263245 docs: update rxjs link to version 6 (#24269) PR Close #24269 23 July 2018, 15:36:51 UTC
4d6f467 docs: refactor style guide example 01-01 (#22738) docs: refactor style guide example 01-01 PR Close #22738 23 July 2018, 15:35:37 UTC
6b859da fix(core): stop reusing provider definitions across NgModuleRef instances (#25022) Fixes #25018. Instantiating a NgModuleRef from NgModuleFactory reuses the NgModuleDefinition if it is already present. However the NgModuleDefinition has a providers array which modified when tree shakable providers are instantiated. This corrupts the provider definitions the next time the same factory is used to create a new NgModuleRef - Two provider definitions can end up with the same index anf the injector could potentially return a completely wrong object for a provider token. This scenario is more likely on the server where the same NgModuleFactory is reused across requests. The fix clones the cached NgModuleDefinition so that any tree shakable providers added later do not affect the cached copy. PR Close #25022 23 July 2018, 15:13:29 UTC
7960d18 docs: technical review incorporated (#24744) closes #24744 20 July 2018, 19:40:00 UTC
f1ab394 docs: add api doc to commonly queried elements 20 July 2018, 19:39:10 UTC
8620373 fix(service-worker): don't include sourceMappingURL in ngsw-worker (#24877) Fixes #23596 PR Close #24877 20 July 2018, 18:49:46 UTC
41ef758 fix(ivy): types in .d.ts files should account for generics (#24862) Ivy definition types have a generic type which specifies the return type of the factory function. For example: static ngDirectiveDef<NgForOf, '[ngFor][ngForOf]'> However, in this case NgForOf itself has a type parameter <T>. Thus, writing the above is incorrect. This commit modifies ngtsc to understand the genericness of NgForOf and to write the following: static ngDirectiveDef<NgForOf<any>, '[ngFor][ngForOf]'> PR Close #24862 20 July 2018, 18:48:36 UTC
2b8b647 fix(ivy): export injectElementRef (#24862) PR Close #24862 20 July 2018, 18:48:36 UTC
ed1db40 fix(ivy): use 'typeof' and 'never' for type metadata (#24862) Previously ngtsc would use a tuple of class types for listing metadata in .d.ts files. For example, an @NgModule's declarations might be represented with the type: [NgIf, NgForOf, NgClass] If the module had no declarations, an empty tuple [] would be produced. This has two problems. 1. If the class type has generic type parameters, TypeScript will complain that they're not provided. 2. The empty tuple type is not actually legal. This commit addresses both problems. 1. Class types are now represented using the `typeof` operator, so the above declarations would be represented as: [typeof NgIf, typeof NgForOf, typeof NgClass]. Since typeof operates on a value, it doesn't require generic type arguments. 2. Instead of an empty tuple, `never` is used to indicate no metadata. PR Close #24862 20 July 2018, 18:48:36 UTC
d3594fc fix(ivy): correctly export all *Def symbols as private (#24862) Previously, some of the *Def symbols were not exported or were exported as public API. This commit ensures every definition type is in the private export namespace. PR Close #24862 20 July 2018, 18:48:36 UTC
9fd70c9 refactor(ivy): run the compiler compliance tests against ngtsc (#24862) This commit moves the compiler compliance tests into compiler-cli, and uses ngtsc to run them instead of the custom compilation pipeline used before. Testing against ngtsc allows for validation of the real compiler output. This commit also fixes a few small issues that prevented the tests from passing. PR Close #24862 20 July 2018, 18:48:36 UTC
b7bbc82 fix(ivy): wrap non-statement assignment expressions in parentheses (#24862) Previously, when translating an assignment expression (e.g. x = 3), the translator would always print the statement as X = Y. However, if the expression is included in a larger expression (X = (Y = Z)), the translator would print "X = Y = Z" without regard for the outer expression context. Now, the translator understands when it's printing an expression statement (X = Y;) vs an expression in a larger context (X = (Y = Z);) and encapsulates the latter in parentheses. PR Close #24862 20 July 2018, 18:48:36 UTC
139f5b3 fix(ivy): references track the identifier they were discovered under (#24862) Previously, references had the concept of an identifier, but would not properly detect whether the identifier should be used or not when generating an expression. This change fixes that logic. Additionally, now whenever an identifier resolves to a reference (even one imported from another module) as part of resolving an expression, the reference is updated to use that identifier. This ensures that for a class Foo declared in foo.ts, but referenced in an expression in bar.ts, the Reference returned includes the identifier from bar.ts, meaning that writing an expression in bar.ts for the Reference will not generate an import. PR Close #24862 20 July 2018, 18:48:36 UTC
6f8ec25 fix(ivy): detect ngOnChanges as a non-static method (#24862) Previously ngtsc had a bug where it would only detect the presence of ngOnChanges as a static method. This commit flips the condition and only recognizes ngOnChanges as a non-static method. PR Close #24862 20 July 2018, 18:48:36 UTC
5d7005e feat(ivy): port the static resolver to use the ReflectionHost (#24862) Previously, the static resolver did its own interpretation of statements in the TypeScript AST, which only functioned on TypeScript code. ES5 code in particular would not work with the resolver as it had hard-coded assumptions about AST structure. This commit changes the resolver to use a ReflectionHost instead, which abstracts away understanding of the structural side of the AST. It adds 3 new methods to the ReflectionHost in support of this functionality: * getDeclarationOfIdentifier * getExportsOfModule * isClass PR Close #24862 20 July 2018, 18:48:36 UTC
2e724ec feat(ivy): support host bindings in ngtsc (#24862) This change adds support for host bindings to ngtsc, and parses them both from decorators and from the metadata in the top-level annotation. PR Close #24862 20 July 2018, 18:48:36 UTC
76f8f78 feat(ivy): compile queries in ngtsc (#24862) This commit adds support for @ContentChild[ren] and @ViewChild[ren] in ngtsc. Previously queries were ignored. PR Close #24862 20 July 2018, 18:48:36 UTC
6eb6ac7 fix(ivy): fix a couple issues with Input/Output compilation (#24862) PR Close #24862 20 July 2018, 18:48:36 UTC
9644873 fix(ivy): ignore imports without ngInjectorDef in r3_injector (#24862) ngInjectorDef.imports is generated from @NgModule.imports plus @NgModule.exports. A problem arises as a result, because @NgModule exports contain not only other modules (which will have ngInjectorDef fields), but components, directives, and pipes as well. Because of locality, it's difficult for the compiler to filter these out at build time. It's not impossible, but for now filtering them out at runtime will allow testing of the compiler against complex applications. PR Close #24862 20 July 2018, 18:48:36 UTC
ae45632 fix(ivy): export NgModuleFactory adapter (#24862) PR Close #24862 20 July 2018, 18:48:36 UTC
42d4287 fix(ivy): ngInjectorDef should copy full imports/exports nodes (#24862) @NgModule()s get compiled to two fields: ngModuleDef and ngInjectorDef. Both fields contain imports, as both selector scopes and injectors have the concept of composed units of configuration. Previously these fields were generated by static resolution of imports and exports in metadata. Support for ModuleWithProviders requires they be generated differently. ngModuleDef's imports/exports are generated as resolved lists of types, whereas ngInjectorDef's imports should reflect the raw expressions that the developer wrote in the metadata. This change modifies the NgModule handler and properly copies raw nodes for the imports and exports into the ngInjectorDef. PR Close #24862 20 July 2018, 18:48:36 UTC
f9a6a17 fix(ivy): properly inject all special token types (#24862) Previously ngtsc had a few bugs handling special token types: * Injector was not properly translated to INJECTOR * ChangeDetectorRef was not injected via injectChangeDetectorRef() This commit fixes these two bugs, and also adds a test to ensure they continue to work correctly. PR Close #24862 20 July 2018, 18:48:36 UTC
53a1600 fix(ivy): export InheritDefinitionFeature (#24862) PR Close #24862 20 July 2018, 18:48:35 UTC
8a986d4 feat(ivy): statically resolve template expressions (#24862) This commit adds support for template substitution expressions for ngtsc static resolution. PR Close #24862 20 July 2018, 18:48:35 UTC
e346c3c refactor(ivy): fix an unnecessarily deep import (#24862) PR Close #24862 20 July 2018, 18:48:35 UTC
60aeee7 feat(ivy): selector side of ModuleWithProviders via type metadata (#24862) Within an @NgModule it's common to include in the imports a call to a ModuleWithProviders function, for example RouterModule.forRoot(). The old ngc compiler was able to handle this pattern because it had global knowledge of metadata of not only the input compilation unit but also all dependencies. The ngtsc compiler for Ivy doesn't have this knowledge, so the pattern of ModuleWithProviders functions is more difficult. ngtsc must be able to determine which module is imported via the function in order to expand the selector scope and properly tree-shake directives and pipes. This commit implements a solution to this problem, by adding a type parameter to ModuleWithProviders through which the actual module type can be passed between compilation units. The provider side isn't a problem because the imports are always copied directly to the ngInjectorDef. PR Close #24862 20 July 2018, 18:48:35 UTC
1008bb6 fix(ivy): unwrap parenthesized or cast expressions for metadata (#24862) Metadata in Ivy must be literal. For example, @NgModule({...}) is legal, whereas const meta = {...}; @NgModule(meta) is not. However, some code contains additional superfluous parentheses: @NgModule(({...})) It is desirable that ngtsc accept this form of literal object. PR Close #24862 20 July 2018, 18:48:35 UTC
8a5cd22 fix(ivy): allow building router with ngtsc (#24862) This commit adds the ivy-local tag to //packages/router. Since the router depends on //packages/upgrade, it makes that package compatible with ngtsc as well. PR Close #24862 20 July 2018, 18:48:35 UTC
f58f3dc fix(ivy): handle ReadKeyExpr code generation (#24862) This implements a missing expression type in ngtsc code generation: that of bracket access to an object property. PR Close #24862 20 July 2018, 18:48:35 UTC
bb58138 docs: fix bad link (#24825) PR Close #24825 20 July 2018, 18:34:38 UTC
b8f740b docs: remove closing parenthesis from provides guide (#24935) PR Close #24935 20 July 2018, 18:07:53 UTC
23766b8 build: Fix windows tests (#24927) closes #24927 20 July 2018, 17:51:32 UTC
3cd9645 fix(docs-infra): fix table header layout in API pages (#24919) PR Close #24919 20 July 2018, 17:48:42 UTC
2d38fa1 test(platform-webworker): avoid flakes due to existing `PlatformRef` (#24916) PR Close #24916 20 July 2018, 17:47:17 UTC
56b3f17 fix(ivy): invoke lifecycle hooks of directives placed on ng-template (#24899) PR Close #24899 20 July 2018, 17:45:51 UTC
c438b5e build(bazel): turn on preserve-symlinks (#24881) This change turns on preserve-symlinks in nodejs to verify hermeticity of the Angular build. BREAKING CHANGE: Use of @angular/bazel rules now requires calling ng_setup_workspace() in your WORKSPACE file. For example: local_repository( name = "angular", path = "node_modules/@angular/bazel", ) load("@angular//:index.bzl", "ng_setup_workspace") ng_setup_workspace() PR Close #24881 20 July 2018, 17:37:30 UTC
70b51a6 docs: update i18n with requested changes (#24875) use more general project name in code example PR Close #24875 20 July 2018, 17:36:13 UTC
7ebd8e5 docs: update i18n doc regarding aot compilation (#24875) Add missing lines to code example to allow using ng serve with custom i18n configurations. PR Close #24875 20 July 2018, 17:36:12 UTC
1c533c9 build(docs-infra): add support for examples of type `elements` (#24840) Examples using `@angular/elements` need to transpile to es2015 for Custom Elements to work (on browsers that natively support them). Alternatively, a polyfill would need to be loaded. For now, changing the transpilation target to es2015 is the simplest solution. PR Close #24840 20 July 2018, 17:34:47 UTC
ead3f92 docs: add e2e tests for `elements` example (#24840) PR Close #24840 20 July 2018, 17:34:47 UTC
9be222f docs: fix `elements` example (#24840) PR Close #24840 20 July 2018, 17:34:47 UTC
b137f09 docs: refactor `elements` example (#24840) This makes the closing behavior more deterministic, which makes it easier to be e2e-tested. PR Close #24840 20 July 2018, 17:34:47 UTC
453693f docs: clean up `elements` example (indentation, import order, etc) (#24840) PR Close #24840 20 July 2018, 17:34:47 UTC
270176b docs: more info on currency digits (#24661) Adds an example of using the `currency` pipe with a currency that has no cents like CLP, which will format the amount with no digits if `digitsInfo` is not provided: <!-- outputs CA$14.00 --> {{ 14 | currency:'CAD' }} <!-- outputs CLP14 --> {{ 14 | currency:'CLP' }} Amends the docs, adds an example and fix an error with a current example. PR Close #24661 20 July 2018, 17:33:06 UTC
5840a86 docs: Add notes on manual sanitization to security guide (#24176) Some users have remarked that we don't explain how to manually call sanitization, so add a few lines on that. PR Close #24176 20 July 2018, 17:27:12 UTC
2aab1c9 ci: remove Tina from pullaprove (#25006) She has been removed as a collaborator to the project and pullaprove rejects this config file which still lists her name. PR Close #25006 20 July 2018, 17:25:52 UTC
f9669e5 release: cut the v6.1.0-rc.3 release Note that RC1 and RC2 glitched out midway during the npm release. Therefore there is only one commit 19 July 2018, 22:45:06 UTC
99a393e docs: add new Reactive Forms guide (#24578) PR Close #24578 19 July 2018, 17:46:30 UTC
d76531d fix(animations): @internal must use JSDoc tags. (#24928) This change fixes up several comments that accidentally used the JSDoc tag @internal in regular block comments (`/*` instead of `/**`). This prevents a problem with Closure Compiler that balks at `@` tags occuring in regular block comments, because it assumes they were intended to be tags for the compiler. When occuring in `/**` JSDoc, tsickle escapes the tags, so they do not cause problems. PR Close #24928 18 July 2018, 22:18:04 UTC
23dc9a9 docs: fix typo in user input guide (#22630) PR Close #22630 18 July 2018, 18:04:09 UTC
0b28732 docs: typos in directives docs (#24665) Fixes some typos introduced by #23902 PR Close #24665 17 July 2018, 20:45:17 UTC
06a3398 build: rename angular_devkit dependency to angular_cli (#24842) PR Close #24842 17 July 2018, 20:44:01 UTC
ba3eb8b feat(ivy): properly apply class="", [class], [class.foo] and [attr.class] bindings (#24822) PR Close #24822 17 July 2018, 20:33:25 UTC
c8ad965 fix(compiler): i18n_extractor now outputs the correct source file name (#24885) for non-inline templates - Non-inline templates used to ouput the path to the component TS file instead of the path to the original HTML file. - Inline templates keep the same behavior. Fixes #24884 PR Close #24885 16 July 2018, 20:09:01 UTC
9be8abd build: disable IE web worker tests (#24908) Travis (saucelabs) has been super flaky when running IE web worker tests lately. This patch temporarily disables these tests on IE (not edge) until things get more stable. PR Close #24908 16 July 2018, 20:07:56 UTC
74b250b feat(docs-infra): enable filtering by package on API list page (#24631) PR Close #24631 13 July 2018, 23:45:55 UTC
d8c828c build(docs-infra): implement the 'package' API template (#24631) PR Close #24631 13 July 2018, 23:45:54 UTC
97277bc build: update to Bazel 0.15 (#24841) PR Close #24841 13 July 2018, 19:05:16 UTC
1821b75 test(ivy): run render3 tests with test.sh (#24866) PR Close #24866 13 July 2018, 18:27:54 UTC
82004c7 docs: update component styles doc regarding relative URL (#24471) Update the documentation to match the CLI mechanics regarding relative URL in link tags. docs: update info on stylesheet location for CLI PR Close #24471 12 July 2018, 20:44:00 UTC
a663565 build: fix windows scripts (#23121) The `packages/core/src/animation/dsl.ts` symlink ws removed in #22692, so `create-/remove-symlinks.sh` scripts for Windows should not try to "fix" it. PR Close #23121 12 July 2018, 20:42:56 UTC
85d9c20 docs(aio): Add Angular Training to list of training companies (#23907) PR Close #23907 12 July 2018, 20:39:56 UTC
80a74b4 docs(forms): update form builder API reference (#24693) PR Close #24693 12 July 2018, 20:38:26 UTC
9a6f27c fix(ivy): support zero-argument @NgModule() invocations (#24738) It's possible to declare an argument-less NgModule: @NgModule() export class Foo {} Update the @NgModule compiler to support this usage. PR Close #24738 12 July 2018, 20:36:35 UTC
d723a69 fix(ivy): animations should not be a hard error yet (#24738) Previously the Ivy template compiler would throw on encountering an animation binding (e.g. [@anim]). This is unneccessary and precludes testing existing code. This commit changes the error to a warning. PR Close #24738 12 July 2018, 20:36:35 UTC
d98b1c3 fix(ivy): strip newlines from selectors in .d.ts files (#24738) When writing selectors as string literal types in .d.ts files, strip newlines to avoid generating invalid code. Newlines carry no meaning in selectors anyway. PR Close #24738 12 July 2018, 20:36:35 UTC
02b5087 build(ivy): enable ngtsc AOT builds for a few packages (#24738) Turn on AOT builds using ngtsc for: * animations * common * compiler * compiler-cli * forms * platform-browser PR Close #24738 12 July 2018, 20:36:35 UTC
48394c6 fix(ivy): remove spurious comma in ngtsc-built .d.ts files (#24738) On accident a comma was emitted between imports when generating .d.ts files. This commit removes it. PR Close #24738 12 July 2018, 20:36:35 UTC
cde0b4b fix(ivy): *Def types are private (ɵ) symbols (#24738) On accident a few of the definition types were emitted as public API symbols. Much of the Ivy API surface is still prefixed with ɵ, indicating it's a private API. The definition types should be private for now. PR Close #24738 12 July 2018, 20:36:35 UTC
9f20dd9 feat(ivy): give ngtsc a basic understanding of ModuleWithProviders (#24738) This commit changes the @NgModule provider to understand that sometimes an import will resolve to an object instead of a type, and that object could be of the ModuleWithProviders type. In that case, the 'ngModule' property is read, and its value used instead. This still will not handle ModuleWithProviders references across compilation units; that work is coming in a future PR. PR Close #24738 12 July 2018, 20:36:35 UTC
back to top