https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
481198a release: cut the v16.2.8 release 04 October 2023, 20:55:28 UTC
1e4c91c docs: update events (#51966) Generated `events.json` with the latest events retrieved from the Firebase DB. Closes #51955 PR Close #51966 04 October 2023, 18:30:07 UTC
b732961 fix(language-service): Retain correct language service when `ts.Project` reloads (#51912) When the `ts.Project` creates the language service plugin (in this case, the Angular Language Service), it sets the project's language service to the new language service returned by the plugin create: https://sourcegraph.com/github.com/microsoft/TypeScript@b12af0fa2bbd4b015e59adcfb49988cea7f919a1/-/blob/src/server/project.ts?L2035-2044 The project may be reloaded in response to various events, such as a change to the tsconfig file, which then recreates the plugin. When this happens, the language service that gets passed to the plugin `create` function will not be the typescript language service, but rather the previous instance of the new language service returned by the last call to `create`. This commit ensures that subsequent calls to `create` for the `NgLanguageService` plugin for a project after the first call are able to retrieve and hold on to the _TypeScript_ language service. fixes https://github.com/angular/vscode-ng-language-service/issues/1923 PR Close #51912 04 October 2023, 18:27:46 UTC
966ce97 fix(service-worker): throw a critical error when handleFetch fails (#51960) #51885 patched a call site that threw an error but there were 2 others call that needed to be wrapped in the same way by a try/catch. `initializeFully` is part of the calls in `responseWith(handleFetch)`. Same #51885, throwing `SwCriticalError`allows the driver to fallback to `safeFetch` and ensure `responseWith` doesn't fail. Fixes #50378 PR Close #51960 04 October 2023, 15:51:07 UTC
334fe60 refactor(core): Update view flags so only one number needs adjustment (#51839) When adding a new view flag, you currently need to adjust the last number of the last 3 flags. All of these share the same number so the shifting ones can just use the base-10 IndexWithinInitPhaseShift. PR Close #51839 04 October 2023, 14:29:16 UTC
5e6955a build: update dependency css-selector-parser to v3 (#51984) See associated pull request for more information. PR Close #51984 04 October 2023, 14:27:15 UTC
96141c6 ci: add slack messages for failed aio deployments (#51956) Send message to to slack when aio fails to deploy PR Close #51956 02 October 2023, 15:37:46 UTC
781bb91 build: lock file maintenance (#51838) Update the lock file. PR Close #51838 02 October 2023, 15:15:28 UTC
82e8e5e ci: move permissions for google-internal-tests into job definition (#51847) Move permissions into the job definition for security improvement. PR Close #51847 29 September 2023, 17:51:21 UTC
a16e3b8 release: cut the v16.2.7 release 27 September 2023, 20:28:35 UTC
39a3e34 fix(core): allow toSignal calls in reactive context (#51831) (#51892) This PR moves the Observable subscription of toSignal outside of the reactive context. As the result the toSignal calls are allowed in the computed, effect and all other reactive consumers. This is based on the reasoning that we already allow signals creation in a reactive context. Plus a similar change was done to the async pipe in the https://github.com/angular/angular/pull/50522 Fixes #51027 PR Close #51892 27 September 2023, 17:30:15 UTC
aedd8de build: update scorecard action dependencies (#51899) See associated pull request for more information. PR Close #51899 27 September 2023, 16:24:20 UTC
68648ee refactor(core): avoid an empty array allocation during hydration (#51917) This commit updates hydration runtime code to avoid creating an empty array when we can avoid it. Instead, we just check whether the field is `null` directly (without using nullish coalescing). PR Close #51917 27 September 2023, 16:22:50 UTC
b8f447e docs: updated the server configuration for apache2 (#51921) PR Close #51921 27 September 2023, 16:22:14 UTC
70d8c2f docs: minor update to modify the Bazel extension url (#51925) PR Close #51925 27 September 2023, 16:21:35 UTC
c3d901e fix(service-worker): throw a critical error when `handleFetch` fails (#51885) On Safari, the cache might fail on methods like `match` with an `Internal error`. Critical errors allows to fallback to `safeFetch()` in the `Driver`. fixes: #50378 PR Close #51885 26 September 2023, 16:10:38 UTC
cc99ba4 build: improve results logging in perf script (#51902) Add git references when printing perf comparison results. PR Close #51902 26 September 2023, 16:09:02 UTC
3498efc ci: use pull request head sha instead of the sha provided in the github context (#51908) Use the pull request head sha so that we don't test the code already committed. PR Close #51908 26 September 2023, 16:07:48 UTC
5907420 docs: merge versions with identical version ranges in pre-v9 compatibility version table (#51842) PR Close #51842 25 September 2023, 16:19:10 UTC
17cde6b docs: correct pre-v9 TypeScript version ranges in version compatibiliy table (#51842) For versions 5.x through 8.x, this is based on the `package.json` file of `@angular/compiler-cli`. For versions 2.x through 4.x, this is based on Angular's changelog. PR Close #51842 25 September 2023, 16:19:10 UTC
996cb4b docs: normalize Angular version ranges in pre-v9 version compatibility table (#51842) PR Close #51842 25 September 2023, 16:19:10 UTC
6637039 fix(bazel): allow setting `_enabledBlockTypes` angular compiler option (#51862) We control most flags via Starlark and therefore limit configuration options via `tsconfig` to a minimum. We do not intend to support the enabled block types option via Starlark, so this commit allows for the option to be picked up. (This is useful for benchmarking the new control flow blocks). PR Close #51862 22 September 2023, 16:51:26 UTC
6e6452d release: cut the v16.2.6 release 20 September 2023, 17:51:02 UTC
4ccd845 refactor(router): Refactor loadChildren callback execution and privately export for SSR (#51818) This commit refactors the loadChildren callback execution of the router config loader into a function that can be used with SSR for the purposes of route extraction. PR Close #51818 20 September 2023, 16:34:13 UTC
6e4d8f6 docs: remove ref to no longer existing `test.ts` (#51462) The file was removed in Angular 15.0.0 https://github.com/angular/angular-cli/releases/tag/15.0.0 https://github.com/angular/angular-cli/commit/56a1e8f9f52658488afb9d36007e96c96d08a03b Thanks to @atscott and @JeanMeche for the wording suggestion PR Close #51462 19 September 2023, 16:37:39 UTC
5810827 build: update scorecard action dependencies (#51817) See associated pull request for more information. PR Close #51817 19 September 2023, 10:18:26 UTC
03127fc refactor(core): ensure reactive node constants are considered pure (#51809) (#51813) Currently when ESBuild bundles an application importing from `@angular/core`, the signals library will be discovered during export analysis. ESBuild will come across the constants for the reactive signal graph- and end up considering some of these as side-effects given the pattern of using a spread assignment for extending from e.g. `REACTIVE_NODE` (a similar issue may occur if we e.g. extend from the computed reactive node). See more details on the issue: https://github.com/evanw/esbuild/issues/3392 Even though, ESBuild preserves these constants now, and all of its dependencies— Terser will consider these as side-effect free and eliminate these constants. This may require multiple passes though, and might not be sufficient, depending on the chain of reactive node extensions. E.g. in the signals branch we noticed some constants unnecessarily being preserved. PR Close #51809 PR Close #51813 18 September 2023, 13:37:13 UTC
bf1f9a0 test(compiler): attempt to deflake windows tests (#51804) Another try at deflaking the tests on Windows. I'm trying a couple of fixes here: 1. I noticed that it's usually the indexer tests that fail during flaky runs. These tests also happen to be the only ones that don't pass in the `files` argument of `NgtscTestEnvironment.setup`. When `files` isn't passed in, we don't hit the file path that sets up the `MockFileSystem`. With these changes I make it so that we always initialize the mock file system. 2. The missing file system error usually comes from the `absoluteFrom` call that initializes the optional `workingDir` argument. My theory is that because it's a default value for an argument, it gets called too early before everything is initialized. These changes move the `absoluteFrom` call further down until it's needed. PR Close #51804 18 September 2023, 08:46:38 UTC
3b46066 refactor: ensure top-level symbols are marked as side-effect free (#51776) Terser does not treat `Symbol` as side-effect free- so if we end up with a symbol export being loaded, it will result in the symbol being retained. We noticed this in the signals prototyping where symbols exported from `computed` ended up appearing in symbol bundling tests. PR Close #51776 15 September 2023, 13:53:51 UTC
b0b004e build: update actions/cache digest to 704facf (#51787) See associated pull request for more information. PR Close #51787 15 September 2023, 09:42:51 UTC
ffd25fc build: update io_bazel_rules_sass digest to 63d77ff (#51243) See associated pull request for more information. PR Close #51243 15 September 2023, 07:04:10 UTC
a31dcb9 ci: use head_ref for concurrency group (#51784) Use the head_ref value for the conncurency group on ci-priviledged rather than the ref, so that the main ref is not used and cancelling across pull requests and the main branch PR Close #51784 15 September 2023, 07:02:04 UTC
5b4a5eb docs: fix broken image links in tutorial (#51744) This is to fix broken image links in the first-app tutorial documentation with functional links that match the working examples. PR Close #51744 14 September 2023, 14:02:42 UTC
7b40d74 refactor(core): let reactive node prototypes conform to their type (#51722) (#51772) This commit adds explicit type annotations to the reactive node prototype objects, such that the prototypes are type-checked against the interface they are supposed to (partially) implement. This also allows IDEs to better track usages of reactive node properties, improving code navigation. PR Close #51722 PR Close #51772 14 September 2023, 10:51:30 UTC
82712f8 fix(core): ensure a consumer drops all its stale producers (#51722) (#51772) When a producer is no longer used, the consumer has to update its internal data structure that keeps track of all producers. There used to be an issue where only half of the stale producers would actually be removed from this data structure, as the intended upper bound of the number of producers to remove would decrease with each removed producer, therefore not reaching all producers that should be removed from the data structure. This commit fixes the issue by truncating the arrays directly, without going through individual `pop` operations. An assertion that would catch the inconsistent state in the internal data structures of the signal graph has been introduced. PR Close #51722 PR Close #51772 14 September 2023, 10:51:30 UTC
65d6915 ci: migrate legacy saucelabs job to Github Actions (#51695) Migrate the legacy saucelabs job PR Close #51695 13 September 2023, 17:49:49 UTC
684891a refactor(docs-infra): increase timeout for flaky tests (#51747) This commit updates the `jasmine.DEFAULT_TIMEOUT_INTERVAL` value for some AIO tests from 10 -> 20 seconds to give more time to complete processing. This commit also refactors tests to use async/await pattern. PR Close #51747 13 September 2023, 17:47:54 UTC
cc57b24 release: cut the v16.2.5 release 13 September 2023, 17:33:40 UTC
f6f3783 docs: Fix misspelling in note of `git commit --all` (#51735) In note of `git commit --all` command optional `-a` changed to `--all` PR Close #51735 12 September 2023, 19:25:43 UTC
febbca5 docs(docs-infra): replace twitter logo by new one (#51716) PR Close #51716 12 September 2023, 19:24:45 UTC
38c6fa1 fix(docs-infra): Ensure experimental tag shows up on docs (#51712) The experimental tag is part of the stability tags along with "deprecated". This commit updates some code to pick up experimental as well. PR Close #51712 11 September 2023, 16:20:54 UTC
c700418 refactor(core): delegate afterRender errors to an ErrorHandler (#51711) Improves the error handling story for after*Render by delegating errors to an ErrorHandler, so that one failure does not break every callback. PR Close #51711 08 September 2023, 21:21:06 UTC
867b380 refactor(core): make AfterRenderEventManager tree-shakable (#51711) In preparation for adding support for phases to after*Render, which will increase the implementation size, this commit splits out the optional logic so that it can be tree-shaken and dynamically loaded. PR Close #51711 08 September 2023, 21:21:06 UTC
975cb05 build: attempt to deflake windows tests (#51701) Adds some logic to try and deflake the tests on Windows. PR Close #51701 08 September 2023, 16:28:03 UTC
2579592 build: migrate `project_id` option to use `bes_instance_name` (#51696) This commit update the RBE configuration to use `bes_instance_name` instead of `project_id`, which got renamed [in Bazel 5.1][1]. Doing so avoids several warnings in the CI output. [1]: https://github.com/bazelbuild/bazel/commit/2b48c6b9a447756fcb3295b8a75899b96efa7fd4 PR Close #51696 07 September 2023, 20:49:08 UTC
7ce89a2 release: cut the v16.2.4 release 06 September 2023, 17:57:58 UTC
4051930 docs: Add info about hydration caching. (#51648) The docs was missing an important information about caching. Only GET/HEAD requests are cached until `isStable` PR Close #51648 06 September 2023, 15:31:36 UTC
0de3262 docs: update Angular CLI help [16.2.x] (#51667) Updated Angular CLI help contents. PR Close #51667 06 September 2023, 14:45:49 UTC
a734ca3 Revert "ci: disable all of the angular-robot settings (#51663)" (#51666) This reverts commit df54b1ce1a3fe493ef20deb89768df04e87cdd6e. PR Close #51666 05 September 2023, 20:48:25 UTC
c2fac37 docs: Added missing explanation of implements OnInit (#51634) PR Close #51634 05 September 2023, 20:08:56 UTC
6d3c497 ci: disable all of the angular-robot settings (#51663) Disable angular robot as it is no longer used for primary workflows and is looking to be turned down. PR Close #51663 05 September 2023, 18:18:15 UTC
37aad5a fix(devtools): use the __ignore_ng_zone__ flag in devtools message bus' to prevent CD loop (#51339) Updates ChromeMessageBus, SamePageMessageBus and IframeMessageBus to use this new flag in their emit methods. PR Close #51339 05 September 2023, 18:16:33 UTC
1122afd refactor(core): implement __ignore_ng_zone__ flag (#51339) This flag allows message event listeners to prevent callbacks from executing within the NgZone if they contain a special `__ignore_ng_zone__` flag. This functionality is built with Angular DevTools in mind, where it prevents an infinite change detection loop in inspecting applications that have message event listeners: CD -> Inspected app emits componentTreeDirty event to DevTools -> DevTools emits event to get new component Tree from Inspected app -> Inspected app message event listener fires -> CD PR Close #51339 05 September 2023, 18:16:33 UTC
9fc808c ci: remove test job from circleci in favor of GHA (#51660) Remove the `test` job from circleci PR Close #51660 05 September 2023, 18:06:50 UTC
608f5e7 ci: remove publish_package_as_artifacts job from circleci (#51660) Remove the job as it is no longer used. PR Close #51660 05 September 2023, 18:06:50 UTC
f0ff388 build: update @angular/ng-dev (#51659) Update version of @angular/ng-dev PR Close #51659 05 September 2023, 17:40:57 UTC
4721208 docs: remove mention of the string based lazy loading (#51651) String based lazy loading has been deprecated in v8 and remove in v13. We can safely remove it from the docs. PR Close #51651 05 September 2023, 16:53:29 UTC
fcfa173 docs: add Connie Leung to GDE contributors list (#51476) PR Close #51476 05 September 2023, 14:16:35 UTC
dcf6b01 docs: update the sentence to express its meaning (#51622) PR Close #51622 01 September 2023, 17:09:28 UTC
8ce22eb docs: fix missing information in createComponent (#51493) PR Close #51493 01 September 2023, 16:15:13 UTC
137195c docs: add viewContainerRef example (#51573) PR Close #51573 01 September 2023, 16:14:40 UTC
af9cd84 build: migrate to node 18 (#51609) Migrate to use node version 18 PR Close #51609 01 September 2023, 15:12:44 UTC
c14c7cc docs(docs-infra): mixin generated same multiple css (#51528) PR Close #51528 01 September 2023, 15:12:05 UTC
f56b655 refactor(core): switch signals to a refcounting algorithm (#51226) This commit switches the signals library from a bidirectional symmetric dependency graph using weak references, to a bidirectional _asymmetric_ graph which uses strong references. This is made possible with a reference counting algorithm which only tracks producer -> consumer references for effect-like "live" consumers, preventing memory leaks. The new algorithm should be simpler and faster than the previous implementation as weak references are fairly slow to create and traverse. A tradeoff is that non-live consumers must now poll their producers when read, as they cannot rely on dirty notifications. As part of this refactoring, the `ReactiveNode` class is replaced with an interface instead, and methods are moved to standalone functions. This is paired with instantiating individual signals/computeds via `Object.create` against a prototype node which contains static or initial values. This technique, in conjunction with the rest, greatly improves the performance of node creation. PR Close #51226 01 September 2023, 14:18:41 UTC
7bb4f91 refactor(core): remove duplicated access to TView (#51610) Tiny refactoring to remove repeated field access to LView. PR Close #51610 01 September 2023, 14:18:06 UTC
ab1e8c8 build: update dependency gulp-conventional-changelog to v4 (#51607) See associated pull request for more information. PR Close #51607 01 September 2023, 14:16:24 UTC
b1a3925 refactor(core): Use intersections on branded types. (#49702) An Intersection on a branded type allows us to remove some unecessary type assertions. PR Close #49702 31 August 2023, 20:22:12 UTC
7842d06 docs(docs-infra): for accessibility and responsive, iframe should be in video container, contain some space horizontally, and title (#51475) PR Close #51475 31 August 2023, 19:22:10 UTC
23db70f build: update dependency archiver to v6 (#51605) See associated pull request for more information. PR Close #51605 31 August 2023, 17:32:08 UTC
d2343f2 refactor(devtools): migrate material legacy components to mdc (#51590) Removes all legacy angular material imports and moves devtools over to mdc. PR Close #51590 31 August 2023, 17:31:43 UTC
055448e fix(docs-infra): fix incomplete escaping (#51604) Correct incomplete escaping PR Close #51604 31 August 2023, 17:15:29 UTC
3fd41a1 refactor(docs-infra): correct incomplete string replacement (#51585) Find all usages of `\n` and replace them instead of just the first. PR Close #51585 31 August 2023, 16:35:51 UTC
ba46365 build: update dependency google-closure-compiler to v20230802 (#51265) See associated pull request for more information. PR Close #51265 31 August 2023, 16:34:50 UTC
9cc4240 build: update actions/checkout digest to f43a0e5 (#51576) See associated pull request for more information. PR Close #51576 31 August 2023, 16:34:23 UTC
16e25aa ci: fix permissions issue in zonejs ci test (#51600) Correct permissions issue in zonejs folders PR Close #51600 31 August 2023, 16:26:16 UTC
68d6fae build: enable video recording for saucelabs bazel tests (#51533) We temporarily enable video recording for Saucelabs bazel tests. We are seeing some flakiness here, and before we can replace the legacy job, we should understand why the browsers sometimes disconnect. PR Close #51533 30 August 2023, 19:44:46 UTC
3ef0295 build: improve debug logging of saucelabs daemon (#51533) We should print more specific details about a browser being used for tests. This will help us debug timeout/flakiness easier. PR Close #51533 30 August 2023, 19:44:45 UTC
19930f3 build: increase idle timeout for saucelabs daemon (#51533) Saucelabs seemingly has increased the maximum idle timeout. So we leverage that to improve stability of our tests. Useful when e.g. the heartbeat webdriver commands are for some reasons delayed. PR Close #51533 30 August 2023, 19:44:45 UTC
a258823 ci: migrate zonejs tests to gha (#51352) Migreate zonejs tests from CircleCI to Github Actions PR Close #51352 30 August 2023, 19:42:55 UTC
cc9f5cb docs: remove unreachable/incorrect contributor links (#51350) PR Close #51350 30 August 2023, 19:41:53 UTC
d140dd2 ci: migrate monitoring jobs to GHA (#51350) Migrate monitoring jobs to Github Actions from CircleCI PR Close #51350 30 August 2023, 19:41:53 UTC
587093c release: cut the v16.2.3 release 30 August 2023, 17:59:51 UTC
dc4f77c docs(core): clarify InjectionToken usage (#51386) - Emphasized the importance of using the same InjectionToken instance for both provider and injection call. - Added examples to illustrate correct usages to prevent NullInjectorError. PR Close #51386 30 August 2023, 15:53:24 UTC
c99624d docs: fix casing of GitHub in navigation (#51427) PR Close #51427 29 August 2023, 23:32:37 UTC
e8a36a7 docs: fix casing of image alt in page not found (#51432) PR Close #51432 29 August 2023, 23:30:51 UTC
5c4cf07 docs: fix casing of a11y labels in main page (#51431) PR Close #51431 29 August 2023, 23:30:12 UTC
646fe3c docs: fix typos in search results component (#51433) PR Close #51433 29 August 2023, 23:29:40 UTC
a5e98aa fix(devtools): remove unnecessary escaping in regex expressions (#51554) Correct various Useless regular-expression character escape issues. PR Close #51554 29 August 2023, 21:52:34 UTC
5c36fc7 fix(compiler-cli): remove unnecessary escaping in regex expressions (#51554) Correct various Useless regular-expression character escape issues. PR Close #51554 29 August 2023, 21:52:34 UTC
04c6574 fix(animations): remove unnecessary escaping in regex expressions (#51554) Correct various Useless regular-expression character escape issues. PR Close #51554 29 August 2023, 21:52:34 UTC
e6b301c fix(core): remove unnecessary escaping in regex expressions (#51554) Correct various Useless regular-expression character escape issues. PR Close #51554 29 August 2023, 21:52:34 UTC
4038335 fix(docs-infra): escape the `.` character in regex (#51555) Escape the `.` character in a hostnaem regex PR Close #51555 29 August 2023, 21:13:14 UTC
97a4095 build: update security related package version for aio (#51562) Update packages for security exposure PR Close #51562 29 August 2023, 20:27:00 UTC
dbd761f fix(compiler-cli): correct incomplete escaping (#51557) Correct incomplete escaping and replace all instances of ` PR Close #51557 29 August 2023, 19:48:26 UTC
dcd1add fix(core): correct incomplete escaping (#51557) Correct incomplete escaping and replace all instances of comment delimiters PR Close #51557 29 August 2023, 19:48:26 UTC
8081fdd fix(language-service): correct incomplete escaping (#51557) Correct incomplete escaping and replace all instances of $ PR Close #51557 29 August 2023, 19:48:25 UTC
6e5b865 build: use pin for devcontainer base image (#51556) Use pinned verison of container image for devcontainer. PR Close #51556 29 August 2023, 18:38:55 UTC
0c7c852 fix(core): run afterRender callbacks outside of the Angular zone (#51551) afterRender should run outside of the Angular zone so that it does not trigger further CD cycles PR Close #51551 29 August 2023, 17:54:20 UTC
a06140a docs: add browsers switch to CI test example (#50451) PR Close #50451 29 August 2023, 17:52:10 UTC
20d6260 fix(core): handle hydration of view containers that use component hosts as anchors (#51456) This commit fixes an issue where serialization of a view container fails in case it uses a component host as an anchor. This fix is similar to the fix from #51247, but for cases when we insert a component (that acts as a host for a view container) deeper in a hierarchy. Resolves #51318. PR Close #51456 29 August 2023, 16:37:50 UTC
back to top