https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
9b4263b release: cut the v12.0.0-next.0 release (#40793) 10 February 2021, 23:32:04 UTC
06ee07b docs: release notes for the v11.2.0 release (#40791) PR Close #40791 10 February 2021, 22:50:13 UTC
fface51 docs: add Angular + NgRx book by the asian BPB Publications (#39680) PR Close #39680 10 February 2021, 19:14:34 UTC
3897265 fix(http): emit error on XMLHttpRequest abort event (#40767) Before this change, when Google Chrome cancels a XMLHttpRequest, an Observable of the response never finishes. This happens, for example, when you put your computer to sleep or just press Ctrl+S to save the browser page. After this commit, if request is canceled or aborted an appropriate Observable will be completed with an error. Fixes #22324 PR Close #40767 10 February 2021, 19:13:05 UTC
ddff6b6 docs: fix absent documentation for digitsInfo parameter in the API docs (#40746) PR Close #40746 10 February 2021, 19:09:09 UTC
7a8821c docs: add link to component-less routes description. (#40741) Currently it's not clear what a component-less route is. Add a link to make it clear PR Close #40741 10 February 2021, 19:08:39 UTC
bbf61fc fix(compiler): include parenthesis in expression source spans (#40740) The parser does not include parenthesis in the AST, so if a LHS expression would be parenthesized then its start span would start after the opening parenthesis. Previously, some parent AST nodes would be created with the start span of its LHS as its own start, so this resulted in the parent AST node not encompassing the opening parenthesis in its source span. This commit fixes the issue by capturing the start index prior to parsing a child AST tree, which is then used as the start of the source span of the the parent AST node that is parsed. Fixes #40721 PR Close #40740 10 February 2021, 19:07:11 UTC
94f4d5c refactor(compiler-cli): remove event output helper from TCB (#40738) In 5c547675b11a24b16c20df1718583a0e7ed49cbd the `EventEmitter.subscribe` API was extended with a new signature that allows the emitter's generic type `T` to flow into the subscribe callback. This new signature removes the need for the special `_outputHelper` function that used to be emitted into TCBs when `strictOutputEventTypes`/`strictTemplates` is enabled. PR Close #40738 10 February 2021, 19:06:35 UTC
e895166 docs(language-service): Add note about Eclipse IDE support of Angular LS (#40551) Mention Eclipse Wild Web Developer that ships with Angular language service. PR Close #40551 10 February 2021, 19:05:52 UTC
9478cda fix(compiler): throw error for duplicate template references (#40538) Adds an error if a reference is used more than once on the same element (e.g. `<div #a #a>`). We used to have this error in ViewEngine, but it wasn't ported over to Ivy. Fixes #40536. PR Close #40538 10 February 2021, 19:05:16 UTC
03f0b15 fix(common): date is not correctly formatted when year is between 0 and 99 (#40448) use setFullYear method when parsing date to avoid javascript date factory behaviour Fixes #40377 PR Close #40448 10 February 2021, 19:04:37 UTC
8f2260a docs: clarify observables recommendation (#39237) Observables are not the only async mechanism that Angular employs. This change respects that application developers are not required to use Observables in their own application architecture. Closes #39155 PR Close #39237 10 February 2021, 19:04:04 UTC
0654c05 fix(core): properly move embedded views of dynamic component's projectable nodes (#37167) This commit fixes the issue of the ASSERTION ERROR issue when a projected node(RNode) inside an array is checked against the types of TNodeType.Element, TNodeType.Container, TNodeType.ElementContainer, TNodeType.IcuContainer, TNodeType.Projection. As it's inside an array, it doesn't fall into any of those types, as a result, it throws the ASSERTION ERROR. PR Close #37120 PR Close #37167 10 February 2021, 19:03:06 UTC
378da71 fix(compiler-cli): don't crash when we can't resolve a resource (#40660) Produces a diagnostic when we cannot resolve a component's external style sheet or external template. The previous behavior was to throw an exception, which crashed the Language Service. fixes angular/vscode-ng-language-service#1079 PR Close #40660 10 February 2021, 18:48:33 UTC
bc5a694 release: update 11.2.0-rc.0 release notes (#40706) PR Close #40706 10 February 2021, 18:40:07 UTC
2a851c0 docs: edit example to fetch hero before sending message (#40419) PR Close #40419 09 February 2021, 22:46:18 UTC
820d95b docs: add redirect from updating-v10 to v11 (#40108) Redirects from https://angular.io/guide/updating-to-version-10 to https://angular.io/guide/updating-to-version-11 to avoid 404 errors. PR Close #40108 09 February 2021, 22:45:38 UTC
61a0b6d fix(http): complete the request on timeout (#39807) When using the [timeout attribute](https://xhr.spec.whatwg.org/#the-timeout-attribute) and an XHR request times out, browsers trigger the `timeout` event (and execute the XHR's `ontimeout` callback). Additionally, Safari 9 handles timed-out requests in the same way, even if no `timeout` has been explicitly set on the XHR. In the above cases, `HttpClient` would fail to capture the XHR's completing (with an error), so the corresponding `Observable` would never complete. PR Close #26453 PR Close #39807 09 February 2021, 22:44:17 UTC
f76f2eb docs: update docs-style-guide (#36281) This commit updates the documentation style guide so that it is in line with current standards, those of Google as well as those within the Angular docs. PR Close #36281 09 February 2021, 22:26:06 UTC
46ab859 build(docs-infra): upgrade cli command docs sources to c61df5d30 (#40758) Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master). ## Relevant changes in [commit range](https://github.com/angular/cli-builds/compare/e33d85e00...c61df5d30): **Modified** - help/lint.json PR Close #40758 09 February 2021, 21:52:19 UTC
ce44a3d fix(localize): support downleveled inlined helper localize calls (#40754) When the downleveling helper function has been inlined into the `$localize` call, it is a bit more tricky to parse out the cooked and raw strings. There was already code to do this but it assumed that the `cooked` and `raw` items were both arrays. Sometimes the `raw` array is just a copy of the `cooked` array via an expression similar to `raw || (raw=tcookedslice(0))`. This commit changes the `unwrapMessagePartsFromLocalizeCall()` function to be able to handle such a situation. Fixes #40702 PR Close #40754 09 February 2021, 21:51:53 UTC
4e4fcac fix(docs-infra): correctly handle entry-points with no public exports (#40737) Previously, if an entry-point had no public exports (such as the `@angular/platform-server/shims` introduced in #40559, which is a side-effect-ful entry-point), it was incorrectly marked as having all its exports deprecated (which marks the entry-point as deprecated as well). This commit fixes this by ensuring that an entry-point is not marked as having all its exports deprecated if it has no public exports. PR Close #40737 09 February 2021, 18:56:17 UTC
e3213f6 docs: changes for typescript 2.7 (#40735) Because of changes in Typescript a property must have an initializer or be set to undefined. PR Close #40735 09 February 2021, 18:52:44 UTC
9dada8a fix(localize): improve invalid syntax in extraction error message (#40724) Previously if the code is invalid the error message might look like: ``` Unexpected messageParts for `$localize` (expected an array of strings). ``` This is not very helpful for debugging where the problem occurs. Now we build a "code-frame" description to give more useful information: ``` TypeError: Cannot create property 'message' on string '.../src/app/app.component.js: Unexpected messageParts for `$localize` (expected an array of strings). 4 | export class AppComponent { 5 | constructor() { > 6 | this.title = $localize(a = ['myapp'], []); | ^^^^^^^^^^^^^ 7 | } 8 | } ``` PR Close #40724 09 February 2021, 18:52:18 UTC
4ce44ea fix(animations): properly track listeners for a removed element (#40712) Prior to this patch, if an element was removed multiple times (due to the nature of parent/child elements), the leave listeners may have been fired for an element that was already removed. This patch adds a guard within the animations code to prevent this. PR Close #40712 09 February 2021, 18:50:19 UTC
d7f5755 fix(compiler-cli): update ngcc integration tests for latest changes in rules_nodejs (#40710) Update the ngcc integration tests to handle the changes in the latest version of rules_nodejs. PR Close #40710 09 February 2021, 18:48:43 UTC
aec2a2c fix(dev-infra): update build tooling for latest changes in rules_nodejs (#40710) Update the build tooling to handle the changes in the latest version of rules_nodejs. PR Close #40710 09 February 2021, 18:48:43 UTC
696f7bc fix(bazel): update build tooling for latest changes in rules_nodejs (#40710) Update the build tooling to handle the changes in the latest version of rules_nodejs. PR Close #40710 09 February 2021, 18:48:43 UTC
cbdb5e2 fix(dev-infra): update type castings for JSON.parse usage (#40710) Update usages of JSON.parse to be cast as specific types. PR Close #40710 09 February 2021, 18:48:43 UTC
2c90391 fix(bazel): update type castings for JSON.parse usage (#40710) Update usages of JSON.parse to be cast as specific types. PR Close #40710 09 February 2021, 18:48:43 UTC
e721a5d fix(benchpress): update type castings for JSON.parse usage (#40710) Update usages of JSON.parse to be cast as specific types. PR Close #40710 09 February 2021, 18:48:43 UTC
f728490 fix(compiler): update type castings for JSON.parse usage (#40710) Update usages of JSON.parse to be cast as specific types. PR Close #40710 09 February 2021, 18:48:43 UTC
b75d7cb fix(compiler-cli): update type castings for JSON.parse usage (#40710) Update usages of JSON.parse to be cast as specific types. PR Close #40710 09 February 2021, 18:48:43 UTC
efd4149 fix(elements): update type castings for JSON.parse usage (#40710) Update usages of JSON.parse to be cast as specific types. PR Close #40710 09 February 2021, 18:48:43 UTC
4b469c9 fix(localize): update type castings for JSON.parse usage (#40710) Update usages of JSON.parse to be cast as specific types. PR Close #40710 09 February 2021, 18:48:43 UTC
7ecfd2d fix(platform-browser): update type castings for JSON.parse usage (#40710) Update usages of JSON.parse to be cast as specific types. PR Close #40710 09 February 2021, 18:48:43 UTC
350dada fix(router): update type castings for JSON.parse usage (#40710) Update usages of JSON.parse to be cast as specific types. PR Close #40710 09 February 2021, 18:48:43 UTC
4f7ff96 fix(service-worker): update type castings for JSON.parse usage (#40710) Update usages of JSON.parse to be cast as specific types. PR Close #40710 09 February 2021, 18:48:43 UTC
2827845 fix(zone.js): update build tooling for latest changes in rules_nodejs (#40710) Update the zone.js build tooling to handle the changes in the latest version of rules_nodejs. PR Close #40710 09 February 2021, 18:48:43 UTC
b8b8535 build: update tools directory for latest changes in rules_nodejs (#40710) Update the scripts/tooling in the tools directory to handle the changes in the latest version of rules_nodejs. PR Close #40710 09 February 2021, 18:48:43 UTC
34de89a fix(bazel): update integration test to use rules_nodejs@3.1.0 (#40710) Update the integraiton tests for bazel to the latest rules_nodejs version. PR Close #40710 09 February 2021, 18:48:43 UTC
a6c1c91 build: update to rules_nodejs@3.1.0 (#40710) Update to the latest version of rules_nodejs. PR Close #40710 09 February 2021, 18:48:43 UTC
089a634 refactor(docs-infra): use a single CSS class to target the API list container (#40704) Previously, the API list container (in the template of the `<aio-api-list>` component) had three different CSS classes (`.api-list-container`, `.docs-content`, `.l-content-small`) that were all used for styling it. This seemed unnecessary and made it more difficult to see what styles were applied to the container. This commit removes the extra classes and consolidates the styles under the `.api-list-container` class (which was the most descriptive one). PR Close #40704 09 February 2021, 18:47:19 UTC
defcd50 refactor(docs-infra): scope API list styles to the `<aio-api-list>` element (#40704) This commit ensures that all styles for the API list page (which are defined in `_api-list.scss`) only apply to elements inside an `<aio-api-list>` element. This will prevent the styles accidentally taking effect on a different part of the app. PR Close #40704 09 February 2021, 18:47:19 UTC
ae1a007 refactor(docs-infra): move common `.code-anchor` styles to `_code.scss` (#40704) The `.code-anchor` class can be used anywhere where we have code examples (including API pages and docs guides). Previously, global styles for `.code-anchor` were defined in `_api-list.scss` (i.e. the styles from `_api-list.scss` were also applied to `.code-anchor` elements in other pages/components). This commit moves the `.code-anchor` styles to `_code.scss`, which contains other common code-related styles. PR Close #40704 09 February 2021, 18:47:19 UTC
60f6e17 refactor(docs-infra): move common `.symbol` styles to `_api-symbols.scss` (#40704) The `.symbol` CSS class (which is primarily used to denote the type of API symbols - classes, functions, interfaces, etc.) are used in several places: - In the API list page (with the corresponding styles defined in `_api-list.scss`). - In search results (with the corresponding styles defined in `_errors.scss`). - In error list page (with the corresponding styles defined in `search-results.scss`). - In the `<aio-select>` component (with the corresponding styles defined in `_select-menu.scss`). Previously, global styles for `.symbol` were defined in `_api-list.scss` (i.e. the styles from `_api-list.scss` were also applied to `.symbol` elements in other places/components). Also, some of the SCSS files mentioned above defined some duplicate styles for `.symbol`. This commit moves the `.symbol` styles to a new `_api-symbols.scss` file, which contains common symbol-related styles. PR Close #40704 09 February 2021, 18:47:19 UTC
bf63d92 refactor(docs-infra): merge style rules in `_api-list.scss` (#40704) This commit cleans up the styles in `_api-list.scss` by merging together blocks that target the same elements. PR Close #40704 09 February 2021, 18:47:19 UTC
d214e79 refactor(docs-infra): remove unused styles from `_api-list.scss` (#40704) This commit removes some styles from `_api-list.scss` that are no longer used (i.e. either their CSS selectors do not match any element in the app or they are overridden by other rules). PR Close #40704 09 February 2021, 18:47:19 UTC
3224c52 refactor(docs-infra): scope TOC styles to the `<aio-toc>` element (#40704) This commit ensures that all styles for the TOC (which are defined in `_toc.scss`) only apply to elements inside an `<aio-toc>` element. This will prevent the styles accidentally taking effect on a different part of the app. PR Close #40704 09 February 2021, 18:47:19 UTC
67257aa refactor(docs-infra): merge style rules in `_toc.scss` (#40704) This commit cleans up the styles in `_toc.scss` by merging together blocks that target the same elements. PR Close #40704 09 February 2021, 18:47:19 UTC
b0cf35b refactor(docs-infra): scope select-menu styles to the `<aio-select>` element (#40704) This commit ensures that all styles for the select-menu element (which are defined in `_select-menu.scss`) only apply to elements inside an `<aio-select>` element. This will prevent the styles accidentally taking effect on a different part of the app. PR Close #40704 09 February 2021, 18:47:19 UTC
862fe82 refactor(docs-infra): scope Resources styles to the `<aio-resource-list>` element (#40704) This commit ensures that all styles for the "Resources" page (which are defined in `_resources.scss`) only apply to elements inside an `<aio-resource-list>` element. This will prevent the styles accidentally taking effect on a different part of the app. PR Close #40704 09 February 2021, 18:47:19 UTC
f1c7d2b refactor(docs-infra): merge style rules in `_resources.scss` (#40704) This commit cleans up the styles in `_resources.scss` by merging together blocks that target the same elements. PR Close #40704 09 February 2021, 18:47:19 UTC
8528717 refactor(docs-infra): remove unused styles from `_resources.scss` (#40704) This commit removes some styles from `_resources.scss` that are no longer used (i.e. either their CSS selectors do not match any element in the app or they are overridden by other rules). PR Close #40704 09 February 2021, 18:47:19 UTC
becb8e7 refactor(docs-infra): merge style rules in `_presskit.scss` (#40704) This commit cleans up the styles in `_presskit.scss` by merging together blocks that target the same elements. PR Close #40704 09 February 2021, 18:47:19 UTC
c3a8191 refactor(docs-infra): merge style rules in `_label.scss` (#40704) This commit cleans up the styles in `_label.scss` by merging together blocks that target the same elements. PR Close #40704 09 February 2021, 18:47:19 UTC
8a723da refactor(docs-infra): remove unused styles from `_label.scss` (#40704) This commit removes some styles from `_label.scss` that are no longer used (i.e. their CSS selectors do not match any element in the app). PR Close #40704 09 February 2021, 18:47:19 UTC
8beb9ae refactor(docs-infra): fix indentation in `_label.scss` (#40704) This commit makes the indentation in `_label.scss` consistent with that in most other `.scss` files in `aio/`. PR Close #40704 09 February 2021, 18:47:19 UTC
489010c refactor(docs-infra): remove unused `_edit-page-cta.scss` file (#40704) This commit removes the `_edit-page-cta.scss` file, which is no longer used (i.e. the rules it contains do not match any element in the app). PR Close #40704 09 February 2021, 18:47:19 UTC
59c9825 refactor(docs-infra): merge style rules in `_details.scss` (#40704) This commit cleans up the styles in `_details.scss` by merging together blocks that target the same elements. It also changes the `summary` selector to `details > summary`, but that should not make any difference in practice, since `<summary>` elements always appear as direct childs of `<details>`. PR Close #40704 09 February 2021, 18:47:19 UTC
7d45667 refactor(docs-infra): scope contributor-list styles to the `<aio-contributor-list>` element (#40704) This commit ensures that all styles for the contributor list (which are defined in `_contributor.scss`) only apply to elements inside an `<aio-contributor-list>` element. This will prevent the styles accidentally taking effect on a different part of the app. PR Close #40704 09 February 2021, 18:47:19 UTC
cb4b8d9 refactor(docs-infra): remove unused styles from `_contributor.scss` (#40704) This commit removes some styles from `_contributor.scss` that are no longer used (i.e. either their CSS selectors do not match any element in the app or they are overridden by other rules). PR Close #40704 09 February 2021, 18:47:19 UTC
852010e refactor(docs-infra): scope code example styles to the `<aio-code>` element (#40704) This commit ensures that all styles for the code examples (which are defined in `_code.scss`) only apply to elements inside an `<aio-code>` element. This will prevent the styles accidentally taking effect on a different part of the app. PR Close #40704 09 February 2021, 18:47:19 UTC
b2ee4e2 refactor(docs-infra): merge style rules in `_code.scss` (#40704) This commit cleans up the styles in `_code.scss` by merging together blocks that target the same elements. It also normalizes the rules targeting Angular Material tabs to use consistent selectors and use class names instead of tag names. PR Close #40704 09 February 2021, 18:47:19 UTC
72814f9 refactor(docs-infra): remove unused styles from `_code.scss` (#40704) This commit removes some styles from `_code.scss` that are no longer used (i.e. either their CSS selectors do not match any element in the app or they are overridden by other rules). PR Close #40704 09 February 2021, 18:47:18 UTC
6357532 refactor(docs-infra): move common `.group-buttons` styles to `_buttons.scss` (#40704) Both `<aio-contributor-list>` and `<aio-resource-list>` contain `.group-buttons` elements. Previously, global styles for `.group-buttons` were defined in `_contributor.scss` (i.e. the styles from `_contributor.scss` were also applied to `.group-buttons` in `<aio-resource-list>`). Also, `_contributor.scss` and `_resources.scss` defined some duplicate styles for `.group-buttons`. This commit moves the `.group-buttons` styles to `_buttons.scss`, which contains common button-related styles. PR Close #40704 09 February 2021, 18:47:18 UTC
b258b29 refactor(docs-infra): scope top-menu styles to the `.app-toolbar` element (#40704) This commit ensures that all styles for the app top-menu (which are defined in `_top-menu.scss`) only apply to elements inside an `.app-toolbar` element. This will prevent the styles accidentally taking effect on a different part of the app. PR Close #40704 09 February 2021, 18:47:18 UTC
e3f5f93 refactor(docs-infra): merge style rules in `_top-menu.scss` (#40704) This commit cleans up the styles in `_top-menu.scss` by merging together blocks that target the same elements. It also makes similar changes to selectors in `_notification.scss` rules that override top-menu styles (for consistency). PR Close #40704 09 February 2021, 18:47:18 UTC
c9a4025 refactor(docs-infra): scope nav-item styles to the `<aio-nav-item>` element (#40704) This commit ensures that all styles for the sidenav nav-items (which are defined in `_sidenav.scss`) only apply to elements inside an `<aio-nav-item>` element. This will prevent the styles accidentally taking effect on a different part of the app. PR Close #40704 09 February 2021, 18:47:18 UTC
e043e52 refactor(docs-infra): merge style rules in `_sidenav.scss` (#40704) This commit cleans up the styles in `_sidenav.scss` by merging together blocks that target the same elements. It also applies the equivalent changes in `_notification.scss` rules that override sidenav styles. PR Close #40704 09 February 2021, 18:47:18 UTC
c8b30f4 refactor(docs-infra): remove unused styles from `_sidenav.scss` (#40704) This commit removes some styles from `_sidenav.scss` that are no longer used (i.e. either their CSS selectors do not match any element in the app or they are overridden by other rules). PR Close #40704 09 February 2021, 18:47:18 UTC
d30b235 refactor(docs-infra): remove unused styles from `_layout-global.scss` (#40704) This commit removes some styles from `_layout-global.scss` that are no longer used (i.e. either their CSS selectors do not match any element in the app or they are overridden by other rules). PR Close #40704 09 February 2021, 18:47:18 UTC
7777bc5 refactor(docs-infra): scope footer styles to the `<aio-footer>` element (#40704) This commit ensures that all styles for the page footer (which are defined in `_footer.scss`) only apply to elements inside an `<aio-footer>` element. This will prevent the styles accidentally taking effect on a different part of the app. PR Close #40704 09 February 2021, 18:47:18 UTC
568ecf3 refactor(docs-infra): merge style rules in `_footer.scss` (#40704) This commit cleans up the styles in `_footer.scss` by merging together blocks that target the same elements. PR Close #40704 09 February 2021, 18:47:18 UTC
f059824 refactor(docs-infra): remove unused styles from `_footer.scss` (#40704) This commit removes some styles from `_footer.scss` that are no longer used (i.e. either their CSS selectors do not match any element in the app or they are overridden by other rules). PR Close #40704 09 February 2021, 18:47:18 UTC
512a17d refactor(docs-infra): remove unused styles from `_content-layout.scss` (#40704) This commit removes some styles from `_content-layout.scss` that are no longer used (i.e. either their CSS selectors do not match any element in the app or they are overridden by other rules). PR Close #40704 09 February 2021, 18:47:18 UTC
2282069 docs: clarify vscode integration maintenance (#40647) PR Close #40647 09 February 2021, 18:43:40 UTC
0652b29 fix(zone.js): setTimeout patch should clean tasksByHandleId cache. (#40586) Close #40387 Currently zone.js patches `setTimeout` and keeps a `tasksByHandleId` map to keep `timerId` <-> `ZoneTask` relationship. This is needed so that when `clearTimeout(timerId)` is called, zone.js can find the associated `ZoneTask`. Now zone.js set the `tasksByHandleId` map in the `scheduleTask` function, but if the `setTimeout` is running in the `FakeAsyncZoneSpec` or any other `ZoneSpec` with `onScheduleTask` hooks. The `scheduleTask` in `timer` patch may not be invoked. For example: ``` fakeAsync(() => { setTimeout(() => {}); tick(); }); ``` In this case, the `timerId` kept in the `tasksByHandleId` map is not cleared. This is because the `FakeAsyncZoneSpec` in the `onScheduleTask` hook looks like this. ``` onScheduleTask(delegate, ..., task) { fakeAsyncScheduler.setTimeout(task); return task; } ``` Because `FakeAsyncZoneSpec` handles the task itself and it doesn't call `parentDelegate.onScheduleTask`, therefore the default `scheduleTask` in the `timer` patch is not invoked. In this commit, the cleanup logic is moved from `scheduleTask` to `setTimeout` patch entry to avoid the memory leak. PR Close #40586 09 February 2021, 18:43:05 UTC
d9e4d75 docs: add Taiga UI to "EXPLORE ANGULAR RESOURCES" page (#40572) PR Close #40572 09 February 2021, 18:42:20 UTC
348d365 docs(service-worker): copyedit getting started guide (#40543) Fix numbered list for the `Making changes to your application` section PR Close #40543 09 February 2021, 18:34:15 UTC
8fb83ea feat(forms): introduce min and max validators (#39063) This commit adds the missing `min` and `max` validators. BREAKING CHANGE: Previously `min` and `max` attributes defined on the `<input type="number">` were ignored by Forms module. Now presence of these attributes would trigger min/max validation logic (in case `formControl`, `formControlName` or `ngModel` directives are also present on a given input) and corresponding form control status would reflect that. Fixes #16352 PR Close #39063 08 February 2021, 17:34:50 UTC
d067dc0 docs: add Angular Global Summit to event pages (#40697) /cc @mgechev PR Close #40697 04 February 2021, 18:48:55 UTC
c9fa59a fix(docs-infra): switch code font from `Droid Sans Mono` to `Roboto Mono` (#40667) `Droid Sans Mono` didn't look good on some screens. Fixes #40666 PR Close #40667 04 February 2021, 18:48:29 UTC
5cde4ad feat(language-service): add command for getting components for a template file (#40655) This commit adds a feature to the Angular Language Service that enables getting the locations for components that use a template file. Part of https://github.com/angular/vscode-ng-language-service/issues/1081 PR Close #40655 04 February 2021, 18:47:22 UTC
0007037 fix(router): stop emitting to event observable on destroy (#40638) No longer emits to `Router.events` after the router has been destroyed. Also returns a resolved promise to the navigation methods. Fixes #40502. PR Close #40638 04 February 2021, 18:46:46 UTC
5324a62 docs: add guide for branching process (#39924) PR Close #39924 04 February 2021, 18:45:31 UTC
836b176 docs: release notes for the v11.2.0-rc.0 release 03 February 2021, 23:41:28 UTC
a9322b7 docs: release notes for the v11.2.0-next.1 release 03 February 2021, 23:03:02 UTC
7ae7484 docs: release notes for the v11.1.2 release 03 February 2021, 22:19:55 UTC
950875c refactor(language-service): pull out interfaces on package toplevel (#40621) Two motivations behind this change: 1. We would like to expose the types of the Language Service to external users (like the VSCode extension) via the npm package, on the top level of the package 2. We would like the View Engine and Ivy LS to share a common interface (notably after the inclusion of `getTcb`, the Ivy LS upholds a strict superset of `ts.LanguageService`; previously both VE and Ivy LS were aligned on `ts.LanguageService`.) To this end, this commit refactors the exports on the toplevel of the `language-service/` package to just be types common to both the VE and Ivy language services. The VE and Ivy build targets then import and use these types accordingly, and the expectation is that an external user will just import the relevant typings from the toplevel package without diving into either the VE or Ivy sources. Follow up on #40607 PR Close #40621 03 February 2021, 17:19:54 UTC
6ad057d docs: clarify that fileReplacements only supports compilation source files (#40687) fileReplacements is intended to only work on compilation source files PR Close #40687 03 February 2021, 17:10:23 UTC
74815de build(docs-infra): upgrade cli command docs sources to e33d85e00 (#40684) Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master). ## Relevant changes in [commit range](https://github.com/angular/cli-builds/compare/c366e223b...e33d85e00): **Modified** - help/new.json PR Close #40684 03 February 2021, 17:08:33 UTC
72c0188 refactor(forms): avoid duplicated code in `AbstractControlStatus` directive (#40651) This commit updates `AbstractControlStatus` directive code to remove duplicated logic in getters and replaces that logic with a new function that accepts an argument. PR Close #40651 03 February 2021, 17:08:02 UTC
1579df2 fix(core): ensure the type `T` of `EventEmitter<T>` can be inferred (#40644) The `AsyncPipe.transform<T>(emitter)` method must infer the `T` type from the `emitter` parameter. Since we changed the `AsyncPipe` to expect a `Subscribable<T>` rather than `Observable<T>` the `EventEmitter.subscribe()` method needs to have a tighter signature. Otherwise TypeScript struggles to infer the type and ends up making it `unknown`. Fixes #40637 PR Close #40644 03 February 2021, 17:07:29 UTC
0e152fa docs: add eliran eliassy to GDE list (#39521) PR Close #39521 03 February 2021, 17:06:19 UTC
a3b0864 refactor(compiler-cli): remove the overrideComponentTemplate API (#40585) The `TemplateTypeChecker.overrideComponentTemplate` operation was originally conceived as a "fast path" for the Language Service to react to a template change without needing to go through a full incremental compilation step. It served this purpose until the previous commit, which switches the LS to use the new resource-only incremental change operation provided by `NgCompiler`. `overrideComponentTemplate` is now no longer utilized, and is known to have several hard-to-overcome issues that prevent it from being useful in any other situations. As such, this commit removes it entirely. PR Close #40585 03 February 2021, 00:24:57 UTC
e3bd23c perf(language-service): update NgCompiler via resource-only path when able (#40585) This commit changes the Language Service's "compiler factory" mechanism to leverage the new resource-only update path for `NgCompiler`. When an incoming change only affects a resource file like a component template or stylesheet, going through the new API allows the Language Service to avoid unnecessary incremental steps of the `NgCompiler` and return answers more efficiently. PR Close #40585 03 February 2021, 00:24:56 UTC
11ca2f0 refactor(docs-infra): remove unused styles for `.heading` CSS class (#40427) This commit removes some styles for the `.heading` CSS class which do not have any effect (either because they are overridden in other rules or because they do not make any difference). NOTE: The `.heading` class is kept in the HTML to make it easier to associate the `.heading-children` element with its corresponding `.heading` parent. PR Close #40427 02 February 2021, 20:04:55 UTC
d6ab339 refactor(docs-infra): simplify the CSS rules for styling the "collapsed/expanded" sidenav icons (#40427) This commit simplifies the styling of the "collapsed/expanded" icons in sidenav nav-items with children by consolidating the CSS rules in one block (instead of having duplicate blocks for different levels). PR Close #40427 02 February 2021, 20:04:55 UTC
8736fcd fix(docs-infra): fix the styling of the cards in docs introduction page (#40427) This commit fixes the layout and appearance of the cards shown in the docs introduction page (`/docs`) in the following ways: - Center the cards. - Ensure two cards are shown per line (instead of 3 one the first line and 1 on the second). - Adjust their widths to ensure their content fits well in them (given that the cards have a fixed height). - Use more engaging styles to better indicate that the cards are clickable (as discussed [here][1]). [1]: https://github.com/angular/angular/pull/40427#discussion_r560688953 PR Close #40427 02 February 2021, 20:04:55 UTC
back to top