https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
2d68de5 release: cut the v15.2.9 release 03 May 2023, 16:12:13 UTC
8b34482 docs: Make links out of @see tags (#50098) This commit is part of the work for #50097 to improve the linking on the online documentation. PR Close #50098 02 May 2023, 11:14:26 UTC
eb048fd docs(docs-infra): hide `Debugging the error`section. (#50074) On the error template, hide `Debugging the error` when there is none provided in the markdown file. PR Close #50074 02 May 2023, 10:15:01 UTC
7f9b4d2 docs(docs-infra): fix the search-results label color on the dark theme. (#50083) Theme color switching wasn't handled. PR Close #50083 02 May 2023, 10:13:25 UTC
7f369e3 docs: cleanup team page (#50044) PR Close #50044 02 May 2023, 10:00:17 UTC
8eae40d docs: fix a typo (#50092) PR Close #50092 02 May 2023, 09:55:17 UTC
7c58885 fix(compiler-cli): catch fatal diagnostic when getting diagnostics for components (#50046) This commit adds similar handling to what was done in https://github.com/angular/angular/commit/ed817e32fe0239c0f08ce342c7ad224055d56f84. The language service calls the `getDiagnosticsForComponent` function when the file is not a typescript file. fixes https://github.com/angular/vscode-ng-language-service/issues/1881 PR Close #50046 28 April 2023, 13:18:03 UTC
ea82d3b ci: update link to start google presubmit (#50060) Updates the golink to start a google presubmit, given that documentation has moved. PR Close #50060 28 April 2023, 09:41:22 UTC
9107e93 fix(common): fix incorrectly reported distortion for padded images (#49889) The original code uses clientWidth and clientHeight which returns the width and height of the element including the padding. This results in the aspect ratio being determined incorrectly and the image distortion warning triggering. The new code uses getComputedStyle which returns the width and height without padding. Another advantage of using getComputedStyle is that, unlike clientWidth and clientHeight, the number returned is a decimal which provides greater accuracy. This could allow for lowering the ASPECT_RATIO_TOLERANCE. PR Close #49889 27 April 2023, 15:16:47 UTC
9d66548 test(common): test rounding problems in image distortion detection (#49889) Due to assertNoImageDistortion using clientWidth and clientHeight, and these properties returning integers, rounding errors occur that exceed the aspect ratio tolerance. Increasing the tolerance could hide actual distortion so correcting the calculation to use floats would be best and could even allow for a lower tolerance. PR Close #49889 27 April 2023, 15:16:47 UTC
6764fb6 test(common): show ngOptimizedImage distortion detection failure on padded images (#49889) The image distortion detection performed uses clientWidth/clientHeight which includes the padding. This leads to images with padding being detected as distorted while they are not and distortion being masked by padding. PR Close #49889 27 April 2023, 15:16:47 UTC
1584b32 build: update io_bazel_rules_sass digest to 236d2fc (#50006) See associated pull request for more information. PR Close #50006 26 April 2023, 19:40:15 UTC
3599214 build: update dependency patch-package to v7 (#50002) See associated pull request for more information. PR Close #50002 26 April 2023, 18:29:13 UTC
0dea585 build: update github/codeql-action action to v2.3.0 (#49992) See associated pull request for more information. PR Close #49992 26 April 2023, 18:28:11 UTC
dd4fb18 fix(docs-infra): add `work-break` to `a` tags in `.cli-option` (#50012) This commit fixes a styling issue were the default values are not being displayed in https://angular.io/cli/build which is because in some cases the option description has a long anchor tag which causes the content to be pushed to the right and gets hidden. PR Close #50012 26 April 2023, 16:24:58 UTC
0810b01 docs: update links to reference the version compatibility guide (#49995) This commit updates several docs to reference the version compatibility guide instead of the `package.json`. PR Close #49995 26 April 2023, 16:17:56 UTC
bdf2aa1 build: bump license year (#49984) Bumping to 2023 Fixes #49983 PR Close #49984 25 April 2023, 16:29:17 UTC
1ef6205 docs(core): correct description of actively supported versions (#49945) PR Close #49945 24 April 2023, 18:52:18 UTC
0a79914 docs(core): combine compatibility for minor versions sharing dependencies (#49945) PR Close #49945 24 April 2023, 18:52:18 UTC
6d02828 docs: fix typo in lazy-loading feature modules doc (#49972) PR Close #49972 24 April 2023, 17:52:45 UTC
c17b84a docs: applicability of NgModule providers (#49966) saying that providers of this NgModule is available to components,pipes and directive of "this" ngModule is not accurate sentence to describe the fact. I am referring from: https://angular.io/guide/hierarchical-dependency-injection. It says that "ModuleInjector is configured by the @NgModule.providers and NgModule.imports property. ModuleInjector is a flattening of all the providers arrays that can be reached by following the NgModule.imports recursively." So, any component,pipe or directive of other NgModule within same ModuleInjector can use providers of this NgModule. PR Close #49966 24 April 2023, 16:51:57 UTC
898acfa docs: remove the warning about shadowDom support (#49961) ShadowDom support is now ubiquitous since 2020 and all evergreen browsers. PR Close #49961 24 April 2023, 01:22:46 UTC
245a23e docs: remove mention of the webworker platform issues (#49947) The Webworker platform was remove in v10, we can remove this part. Fixes #49934 PR Close #49947 24 April 2023, 01:20:59 UTC
0f38b98 docs: replaces "comp: docs" label to "area: docs" (#49952) Fixes #49951 PR Close #49952 20 April 2023, 21:50:02 UTC
35690fd release: cut the v15.2.8 release 19 April 2023, 19:13:35 UTC
3d7b8cd docs: add information on how to use index option in configuration (#49813) #49780 PR Close #49813 19 April 2023, 18:46:10 UTC
2fff8fa fix(core): handle invalid classes in class array bindings (#49924) When binding an array to `class` like `[class]="['foo', 'bar']"`, the runtime treats it the same as a literal binding with all the values being `true`, e.g. `{foo: true, bar: true}`. While object literals can only have string keys, arrays can have any value which can lead to errors if the array contains non-string values. These changes add some logic to stringify the keys and ignore invalid ones. Fixes #48473. PR Close #49924 19 April 2023, 16:28:26 UTC
0454158 docs(core): add version ranges for Angular 14.3 (#48753) PR Close #48753 19 April 2023, 14:07:31 UTC
1575f9d docs: change section heading (#48753) Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com> PR Close #48753 19 April 2023, 14:07:31 UTC
fc428f0 docs(core): add version ranges for Angular 15.2 (#48753) PR Close #48753 19 April 2023, 14:07:31 UTC
9fa0ab5 docs(core): split versions table into LTS and non-LTS tables (#48753) PR Close #48753 19 April 2023, 14:07:31 UTC
2a59e19 docs(docs-infra): add versions document to code owners (#48753) PR Close #48753 19 April 2023, 14:07:31 UTC
4d8b164 docs(docs-infra): add versions document to the navigation (#48753) PR Close #48753 19 April 2023, 14:07:31 UTC
b13587c docs(core): include introductory text about version compatibility (#48753) PR Close #48753 19 April 2023, 14:07:31 UTC
2f64981 docs(core): add Angular, Node.js, TypeScript, and RxJS version compatibility matrix (#48753) PR Close #48753 19 April 2023, 14:07:31 UTC
f02812d docs: update events (#49569) Generated `events.json` with the latest events retrieved from the Firebase DB. Closes #49545 PR Close #49569 19 April 2023, 14:05:45 UTC
f3907e1 build: update angular/dev-infra digest to 1564c4e patch (#49917) See associated pull request for more information. PR Close #49917 19 April 2023, 14:04:57 UTC
296459a docs: add Artur Androsovych to GDE resources (#48520) PR Close #48520 18 April 2023, 21:35:45 UTC
279e9e7 build: update dependency build_bazel_rules_nodejs to v5.8.2 (#49910) See associated pull request for more information. PR Close #49910 18 April 2023, 20:45:24 UTC
6a93956 build: update cross-repo angular dependencies (#49891) patch PR (#49913) See associated pull request for more information. Patch of #49891 PR Close #49913 18 April 2023, 20:15:42 UTC
b9e1e7e build: update actions/cache digest to 88522ab (#49437) See associated pull request for more information. PR Close #49437 18 April 2023, 19:46:16 UTC
77eb4d8 build: update dependency google-closure-compiler to v20230411 (#49892) (#49912) See associated pull request for more information. PR Close #49892 PR Close #49912 18 April 2023, 19:45:23 UTC
48c946f docs: type clearTimer function as VoidFunction or undefined (#48480) PR Close #48480 18 April 2023, 19:03:58 UTC
81ad3c6 docs: standardize examples using timers for SSR compatibility (#48480) PR Close #48480 18 April 2023, 19:03:57 UTC
cab701d docs: update README.md (#48423) PR Close #48423 18 April 2023, 16:59:38 UTC
70ef08f docs: typos and wording (#48597) PR Close #48597 18 April 2023, 16:58:31 UTC
5a13eb8 docs: add a dot (#49434) The first sentence misses a dot in the end, however other sentences have it PR Close #49434 18 April 2023, 16:22:51 UTC
3dc43e3 refactor: fix typo in windows-chromium-path.js (#49676) preceeding -> preceding PR Close #49676 18 April 2023, 16:22:10 UTC
9abe0d6 docs: fix errors in toh-pt6.md (#49129) Line 182 and line 185 - grammatical and typo errors. PR Close #49129 18 April 2023, 16:21:35 UTC
c75fe04 build: update io_bazel_rules_sass digest to 898e4dd (#49575) See associated pull request for more information. PR Close #49575 18 April 2023, 16:20:54 UTC
bce7f6b refactor(core): Remove ununsed Zone mock from testing internals. (#49873) The last time it was used in was on the v10 branch. PR Close #49873 18 April 2023, 14:00:16 UTC
edfc087 build: update scorecard action dependencies (#49897) See associated pull request for more information. PR Close #49897 18 April 2023, 13:58:54 UTC
1d4cf95 docs(docs-infra): add lara newsom to GDE resources (#49620) PR Close #49620 17 April 2023, 18:31:14 UTC
79a8b3c docs: Specify when an app is debuggable by the DevTools. (#48970) DevMode is when the ng debug object is available. `Optimization:true` is responsible for treeshaking everything behind `ngDevMode`. Fixes #48968 PR Close #48970 17 April 2023, 17:32:42 UTC
fe20496 fix(devtools): Specify when an app is considered in dev mode. (#48970) DevMode is when the ng debug object is available. `Optimization:true` is responsible for treeshaking everything behind `ngDevMode`. PR Close #48970 17 April 2023, 17:32:42 UTC
461503b refactor(compiler-cli): cleanup inferences (#49863) With the ts compiler updates these inferences have been fixed. PR Close #49863 17 April 2023, 17:23:30 UTC
628c520 build: update dependency eslint-plugin-jsdoc to v41 (#49885) See associated pull request for more information. PR Close #49885 17 April 2023, 15:48:24 UTC
0a9d106 refactor(router): Do not access browserPageId if not computed resolution (#49850) This commit avoids accessing the routerPageId if the canceldNavigationResolution is not computed. PR Close #49850 17 April 2023, 14:47:16 UTC
1017630 refactor(docs-infra): cleanup deprecated code (#49671) This commit replaces (non material-related) deprecated code present in the aio app. * `pageYOffset` can be replaced by `scrollY` * RxJs' `mapTo()` is just a `map()` * `createNgModuleRef` can be replaced by `createNgModule` * HttpEmits `ProgressEvent` not `ErrorEvent` (see #34748) * `SwUpdate.available` is replaced by `versionUpdates` with a `filter` * `SwUpdate.activated` is replaced by the returned promised of `SwUpdate.activateUpdate`. PR Close #49671 17 April 2023, 14:04:26 UTC
08ba492 refactor(core): improve styling coverage (#49868) The test was waiting for #34202 to be merged. PR Close #49868 17 April 2023, 14:02:41 UTC
aad9db2 docs: remove outdated/unsupported webworker doc (#49856) The webworker platform has been removed in v11 by #38846 PR Close #49856 17 April 2023, 14:01:41 UTC
b6f119e docs: fix typo in Hierarchical injectors doc (#49824) PR Close #49824 17 April 2023, 13:59:09 UTC
a6f2c03 docs: Fixed Typo (#49753) Fixed Typo PR Close #49753 17 April 2023, 13:58:16 UTC
a63d9a3 build: update actions/checkout digest to 8e5e7e5 (#49815) See associated pull request for more information. PR Close #49815 17 April 2023, 13:31:20 UTC
09a42d9 fix(router): canceledNavigationResolution: 'computed' with redirects to the current URL (#49793) The `canceledNavigationResolution: 'computed'` option does not correctly assign page IDs or restore them when redirects result in navigating to the current URL. This change ensures that the page IDs are still incremented and restored correctly in this scenario. PR Close #49793 14 April 2023, 14:55:06 UTC
8235bc9 ci: Remove environment files and EnableProdMode on integration tests (#49746) Since v15, prod mode is handled by the CLI with the `optimization` flag. We can remove the environement files and `enableProdMode` when the tests use the CLI. PR Close #49746 14 April 2023, 14:13:33 UTC
f266a05 refactor(core): drop IE workarounds (#49763) Angular doesn't support IE anymore. We can remove the workarounds related to IE. Some workarounds are keep because of the support of domino but the comments related to IE are removed. PR Close #49763 13 April 2023, 14:01:45 UTC
05a0225 fix(http): prevent headers from throwing an error when initializing numerical values (#49379) Some libraries could use numbers in headers. this fix prevents Angular from throwing an error by casting those numerical values into strings. Fixes #49353 PR Close #49379 13 April 2023, 14:00:17 UTC
1d761bd release: cut the v15.2.7 release 12 April 2023, 19:06:05 UTC
2c140f4 build: update github/codeql-action action to v2.2.11 (#49775) See associated pull request for more information. PR Close #49775 12 April 2023, 16:26:03 UTC
a3de0c3 docs: remove preboot reference from universal doc (#49808) This package is no longer actively maintained and in general is not needed. PR Close #49808 12 April 2023, 16:24:05 UTC
b0c1a90 fix(compiler): Produce diagnositc if directive used in host binding is not exported (#49792) The compiler currently does not check to make sure that directives in the host bindings are exported. These directives are part of the public API of the component so they do have to be. PR Close #49792 11 April 2023, 21:39:03 UTC
a40529a fix(compiler-cli): Catch FatalDiagnosticError during template type checking (#49792) This commit updates the type checking operation to catch `FatalDiagnosticError` and surface them as diagnostics rather than crashing. Fixes https://github.com/angular/vscode-ng-language-service/issues/1881 PR Close #49792 11 April 2023, 21:39:03 UTC
ebd14e7 build: update minimum supported Node version from 16.13.0 -> 16.14.0 for CI and AIO (#49790) This commit updates the minimum supported Node version for CI and AIO from 16.13.0 -> 16.14.0 to ensure compatibility with dependencies. PR Close #49790 11 April 2023, 20:03:11 UTC
d1c83cc ci: disable size tracking CI job in favor of integration tests size checks (#49788) Currently we have multiple integration apps which are instrumented with the payload size checks. In addition to that, there is a separate CI job that performs similar checks. The checks in CI job are redundant, thus this commit disables a separate CI job. PR Close #49788 11 April 2023, 17:48:01 UTC
1081450 docs: Typo (#49781) PR Close #49781 11 April 2023, 17:27:53 UTC
702ec90 fix(core): When using setInput, mark view dirty in same way as `markForCheck` (#49747) `ComponentRef.setInput` internally calls `markDirtyIfOnPush` which only marks the given view as dirty but does not mark parents dirty like `ChangeDetectorRef.markForCheck` would. https://github.com/angular/angular/blob/f071224720f8affb97fd32fb5aeaa13155b13693/packages/core/src/render3/instructions/shared.ts#L1018-L1024 `markDirtyIfOnPush` has an assumption that it’s being called from the parent’s template. That is, we don’t need to mark dirty to the root, because we’ve already traversed down to it. The function used to only be called during template execution for input bindings but was added to `setInput` later. It's not a good fit because it means that if you are responding to events such as an emit from an `Observable` and call `setInput`, the view of your `ComponentRef` won't necessarily get checked when change detection runs next. If this lives inside some `OnPush` component tree that's not already dirty, it only gets refreshed if you also call `ChangeDetectorRef.markForCheck` in the host component (because it will be "shielded" be a non-dirty parent). PR Close #49747 10 April 2023, 20:29:11 UTC
ffdfdc2 refactor(migrations): log a link to the standalone migration (#49752) Resolves an old TODO about adding a link to the standalone migration guide. PR Close #49752 10 April 2023, 16:04:03 UTC
e7dd72c docs: update docs about prodMode. (#49745) Following angular#49723, this commit updates the doc to reflect the actual message prompted in the console. PR Close #49745 10 April 2023, 16:02:30 UTC
9c07a42 docs: Improve previous version navigation (#49063) In archive mode the link to the current doc will now point to same page. If the page doesn't exist anymore, it will show a contextualized warning message. See #46850 PR Close #49063 06 April 2023, 18:07:01 UTC
9a37a77 release: cut the v15.2.6 release 06 April 2023, 02:44:18 UTC
da5f316 refactor(core): Use the nullish coalescing assignment in render3 functions (#49698) The usage of `??=` make the code more clear & concise. PR Close #49698 05 April 2023, 16:45:55 UTC
cad7274 fix(router): create correct URL relative to path with empty child (#49691) The previous fix for squashing empty children didn't quite work when the existing route had segments. The result would be that the segments from the existing route were dropped from the final URL. PR Close #49691 04 April 2023, 22:05:42 UTC
d9efa1b feat(core): change the URL sanitization to only block javascript: URLs (#49659) In modern browsers, the 'javascript:' URL scheme is the only scheme that can execute JavaScript when passed in a navigation URL context (e.g. `a.href` value). Validate URL shemes to only contain characters allowed in the URL specification ([a-zA-Z-+.]), and that are not javascript (case insensitive). This is not a breaking change. The URL sanitization is loosen. PR Close #49659 04 April 2023, 22:01:14 UTC
c26e4be docs: fix typo (#49704) PR Close #49704 04 April 2023, 22:00:39 UTC
bd82fbe docs: fix typo (#49669) PR Close #49669 04 April 2023, 02:18:41 UTC
1d32253 refactor(core): remove unnecessary `reflect-metadata` import. (#49673) The import is not needed for the tests to run. PR Close #49673 04 April 2023, 02:17:03 UTC
6e1b3ad docs: fix typo in quick reference (#49655) Change indicatedr5t to indicated PR Close #49655 04 April 2023, 02:13:16 UTC
a6def64 docs: fix typo (#49664) PR Close #49664 03 April 2023, 05:10:13 UTC
9b61379 fix(router): Ensure initial navigation clears current navigation when blocking (#49572) The navigation transition clears the current navigation in the finalize operator of the current navigation Observer. This commit both completes the `bootstrapDone` observable and updates the transition to only take 1 emit from the completed navigation. Either of these changes on their own would fix the issue. The latter is a preventative measure in case a mistake like the former is made again. fixes #49567 PR Close #49572 01 April 2023, 00:04:02 UTC
08979e4 docs: fix typo in toh-pg6.md (#49141) Line 425. Change burning to burn. PR Close #49141 31 March 2023, 19:00:44 UTC
233f33e build: update scorecard action dependencies (#49609) See associated pull request for more information. PR Close #49609 31 March 2023, 18:49:47 UTC
35f4918 docs(core): fix view hierarchy links (#49629) fixes incorrect links to view-hierarchy (currently view-tree) Fixes #49623 PR Close #49629 30 March 2023, 16:39:39 UTC
43e89bd docs: fixed typo error (#49637) PR Close #49637 30 March 2023, 16:38:43 UTC
07e78bb docs: Update Popup.service example to remove `ComponentFactoryResolver` (#49638) `ComponentFactoryResolver` has been deprecated and can be replaced by `createComponent()`. PR Close #49638 30 March 2023, 16:38:16 UTC
e78a2a4 release: cut the v15.2.5 release (#49635) 29 March 2023, 19:37:48 UTC
077f6b4 fix(compiler): do not unquote CSS values (#49460) Currently we are unsafely unquoting CSS values which in some cases causes valid values to become invalid and invalid values to become valid. Example: ```html <div style="width:&quot;1px;&quot;"></div> ``` In the above case, `width` has an invalid value of `"1px"`, however the compiler will transform it to `1px` which makes it valid. On the other hand, in the below case ```html <div style="content:&quot;foo&quot;"></div> ``` `content` has a valid value of `"foo"`, but since the compiler unwraps it to `foo` it becomes invalid. For correctness, we should not remove quotes. ```js const div = document.createElement('div'); div.style.width='"1px"'; div.style.content='foo'; div.style.width; // '' div.style.content; // '' div.style.width='1px'; div.style.content='"foo"'; div.style.width; // '1px' div.style.content; // '"foo"' ``` More information about values can be found https://www.w3.org/TR/CSS21/syndata.html#value-def-identifier PR Close #49460 28 March 2023, 18:35:39 UTC
d201fc2 fix(core): set style property value to empty string instead of an invalid value (#49460) Currently when the value of a styling property that has a unit is empty string a invalid value is generated. Example: `[style.width.px] = ""` will generate a value of `"px"`, when instead it should be `""`. This causes browser to reset the value to an empty string. This is however not the case in Domino with changes in https://github.com/angular/domino/commit/bfc9114d1eb5b7591c43a7c6aef6ad50d24e369f. This commit fixes the issues and generate correct values. PR Close #49460 28 March 2023, 18:35:39 UTC
6d6fc12 refactor(core): Remove usage of deprecated `Injector.create()` (#49606) This commit removes all usages of the deprecated `Injector.create` method but does not remove the deprecated signature itself. PR Close #49606 28 March 2023, 17:15:36 UTC
8ed4083 docs: fixed grammar (#49560) PR Close #49560 28 March 2023, 17:14:45 UTC
back to top