https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
37dcc8d release: cut the v18.0.7 release 10 July 2024, 12:50:14 UTC
1c2415e docs: Update components-scenarios.md (#56921) Fix grammatical issues PR Close #56921 10 July 2024, 09:29:17 UTC
a7d021f docs: update version table for 18.1 (#56920) PR Close #56920 10 July 2024, 07:34:48 UTC
619e181 docs: Update component testing scenarios (#56388) This update goes through half of the component-scenarios guide and makes relevant updates to examples. Updates include: * Use signals in examples * Advise and use `await fixture.whenStable` more frequently than `detectChanges` * Use and advise mocks and spies more sparingly * Remove `waitForAsync` and jasmine `done` guidance - The ecosystem has evolved and these aren't needed * Remove marble testing for rxjs - this belongs in rxjs documentation, not in Angular * Remove class-only component testing. This approach is not advisable for components. related to #48510 PR Close #56388 10 July 2024, 07:11:20 UTC
3079925 docs: update compat table with 13.4.x (#56915) PR Close #56915 10 July 2024, 07:10:29 UTC
d6fff45 fix(migrations): Fix cf migration let condition semicolon order (#56913) In rare cases people may put let statements before else statements and omit semicolons, causing migration issues. PR Close #56913 09 July 2024, 16:17:52 UTC
5d8cfc6 refactor(compiler-cli): escape missing decorators. (#56794) Escaping decorators is required as else they are considered as new JSDocs tags. fixes #56569 PR Close #56794 09 July 2024, 11:13:52 UTC
122573b docs: update dependency-injection-context.md (#56736) HeroService is not part of this example, and is only introduced in the next example. Use type Service1 for this.service1, as its type PR Close #56736 09 July 2024, 11:05:56 UTC
ea86754 refactor(platform-server): Add private profiler. (#56274) The commit adds a private profiler to investigate SSR performance. PR Close #56274 09 July 2024, 10:47:46 UTC
85f77b5 fix(compiler): fix CSS animation rule scope (#56800) It is valid CSS to list keyframe names in an animation declaration only separating the names with a comma and no whitespace. This is typical of production builds. Updated a couple of regexes and added a couple of tests to account for this scenario. Fixes #53038 PR Close #56800 09 July 2024, 07:44:53 UTC
fd6cf36 docs: add a FAQ on how to find the LCP image (#56779) PR Close #56779 09 July 2024, 07:37:20 UTC
2ab00c1 test(core): simplify `@defer`-based test to make CI more stable (#56904) This commit updates one of the `@defer`-based test to use the `on immediate` trigger to make a test mor e stable without the need to add mocks for the `on idle` (default) condition. PR Close #56904 09 July 2024, 07:36:12 UTC
46f2680 docs(docs-infra): add missing context with link (#56896) Added missing link documenting ng global features. Fixes #56488 PR Close #56896 08 July 2024, 16:03:59 UTC
86478e4 refactor(compiler-cli): do not truncate/reduce types in API docs (#56572) Fixes that e.g. signal input APIs docs were removing `undefined` from the shorthand `input<T>()` documentation. PR Close #56572 08 July 2024, 14:26:39 UTC
0d3ea33 docs: remove private symbol from docs (#56851) fixes #56850 PR Close #56851 08 July 2024, 07:54:13 UTC
cea3dfa docs: fix previous configuration link (#56880) PR Close #56880 08 July 2024, 07:48:00 UTC
1517dde docs: fix broken link (#56848) fix link @ /guide/forms/reactive-forms#reactive-forms-api-summary prev: /api/forms current: /api#forms PR Close #56848 05 July 2024, 10:27:34 UTC
833fa2d docs: add window title to reference pages (#56840) PR Close #56840 04 July 2024, 12:29:29 UTC
95d7076 perf(http): execute `fetch` outside of Angular zone (#56820) In this update, the fetch backend now executes fetch operations outside of the Angular zone. This adjustment primarily aims to decrease Continuous Delivery (CD) cycles on Node.js. The decision was influenced by Undici, the Node.js fetch implementation, which relies on `setTimeouts` to manage response timeouts. PR Close #56820 04 July 2024, 10:10:34 UTC
66bf467 docs: update app-shell docs to reflect v17 (#56836) Fixes the build commands as previously mentioned here: https://github.com/angular/angular/pull/52294 PR Close #56836 04 July 2024, 09:32:13 UTC
b5500f8 docs: Update image-optimization.md (#56819) Fix the mistyped attribute rel PR Close #56819 04 July 2024, 07:56:17 UTC
4ceb853 release: cut the v18.0.6 release 03 July 2024, 19:36:25 UTC
4909844 fix(core): establish proper defer injector hierarchy for components attached to ApplicationRef (#56763) This commit updates the logic that create an injector for defer blocks (when it's needed) to account for a situation when a component is instantiated without a connection to the current component tree. This can happen if a component is created using its factory function or via `createComponent()` call. Resolves #56372. PR Close #56763 03 July 2024, 14:08:43 UTC
26da308 docs: add toSignal import inside the demo example (#56804) PR Close #56804 03 July 2024, 14:07:51 UTC
19c70d8 docs: fix missing image and baseUrl in tutorials/first-app (#56766) PR Close #56766 02 July 2024, 20:21:41 UTC
622ea44 docs: add Event Replay section to the Hydration guide (#56770) PR Close #56770 02 July 2024, 20:19:52 UTC
fec5b80 fix(core): support injection of object with null constructor. (#56553) This is debug only code, it shouldn't have any consequences on prod build. fixes #56552 PR Close #56553 02 July 2024, 17:33:32 UTC
b7d3ecc fix(router): routes should not get stale providers (#56798) This fixes a bug with RouterOutlet and its context where it would reuse providers from a previously activated route. fixes #56774 PR Close #56798 02 July 2024, 17:10:51 UTC
445dd96 build: update github/codeql-action action to v3.25.11 (#56803) See associated pull request for more information. PR Close #56803 02 July 2024, 17:04:27 UTC
68464a7 docs: update playground app to use hello world for easier onboarding (#56813) PR Close #56813 02 July 2024, 16:57:31 UTC
0479c35 docs: Update interceptors.md to replace `public class` with `export class` in DI section (#56807) PR Close #56807 02 July 2024, 16:44:11 UTC
0482bc3 docs: add documentation aroun build error for docs (#56814) PR Close #56814 02 July 2024, 16:43:06 UTC
99de3b7 build: update all non-major dependencies (#56801) See associated pull request for more information. PR Close #56801 02 July 2024, 15:26:28 UTC
8de9aca refactor(common): remove remaining code for NgSwitch equality patch (#56806) This change is the final cleanup after removing NgSwitch's equality patch that was used in G3 to allow == matching for a certain period of time. This code is no longer needed as both the external ecosystem and G3 are using === equality for matching NgSwitch cases. PR Close #56806 02 July 2024, 14:16:24 UTC
fdd8fb0 refactor(core): Add an ngOnDestroy to GlobalEventDelegation. (#56762) It seems that this makes test libs that contain > 1 test file pass. PR Close #56762 01 July 2024, 20:33:17 UTC
9cbfc6b docs: update 18.1.0 release date (#56789) PR Close #56789 01 July 2024, 19:37:34 UTC
1156b19 ci: upload build artifacts on each pr run (#56787) Upload the snapshot build artifacts to each pr run to use for testing. PR Close #56787 01 July 2024, 18:48:57 UTC
5d52819 refactor(core): Set the jsaction cache directly instead of using jsaction attribute. (#56747) This should make things somewhat faster, since setAttribute can be slower than addEventListener. Jsaction attribute is still needed for SSR though. PR Close #56747 01 July 2024, 17:31:25 UTC
4267082 refactor(core): export additional methods from primitives/signals (#56759) Export `producerIncrementEpoch` which was missing before, as well as a new `runPostSignalSetFn` helper. These changes make it easier to write `signal`- like utilities which don't use the `createSignal` abstraction. PR Close #56759 01 July 2024, 14:39:44 UTC
5cb1dd7 docs: Update structural-directives.md (#56753) PR Close #56753 01 July 2024, 14:03:24 UTC
7283864 docs: Update rxjs-interop.md (#56771) Fix grammatical error PR Close #56771 01 July 2024, 14:02:47 UTC
deedc47 build: update docs infra package (#56758) Updates to the latest docs infra code to fix an issue with generating the `hiddenFiles` field. PR Close #56758 01 July 2024, 13:43:11 UTC
387ca41 ci: update pullapprove primitives list (#56761) This removes one user from the shared primitives group to fix pullapprove requests. PR Close #56761 28 June 2024, 21:07:59 UTC
2dcb698 build: update to latest docs tooling to resolve missing answers (#56746) Updates to the latest version of `@angular/docs` which should include a fix for the missing answers in the tutorials. PR Close #56746 27 June 2024, 21:17:38 UTC
fa9da56 docs: fix indentation on control flow documentation page (#56748) This fixes the indentation on the examples in the control flow docs fixes #56745 PR Close #56748 27 June 2024, 19:55:48 UTC
be6d9c5 refactor(core): Remove dom.ts and use native Element.prototype.contains. (#56591) Delete the entire dom.ts file, it is no longer needed. PR Close #56591 27 June 2024, 18:28:19 UTC
3ba2b15 refactor(core): Remove `ActionResolver` code from `EventContract` (#56723) Now that all `Dispatcher` implementations use `ActionResolver`, `EventContract` no longer needs to. Additionally, all a11y click support has been removed. `EventContract` will not specifically listen for `keydown` automatically, as all `EventContract` instances already have `keydown` listeners. This removes the need for the `A11Y_CLICK_SUPPORT` define, which will be removed in a future PR. PR Close #56723 27 June 2024, 18:27:44 UTC
1d7a3c4 refactor(core): Remove attribute, char, and property values for ActionFlow. (#56590) These values are inlined in ActionFlow internally in google3, and are no longer used. Do some additional cleanup to only define the properties once. PR Close #56590 27 June 2024, 18:27:15 UTC
94493e1 docs: fix cold observable and frames link (#56742) PR Close #56742 27 June 2024, 18:26:25 UTC
ef41fdd ci: add more team members into the `public-api` group (#56743) This commit adds more team members into the `public-api` group, so that they can approve public API changes, but they would not be requested for reviews by PullApprove (to avoid requests for unrelated changes). PR Close #56743 27 June 2024, 18:24:44 UTC
62970ca Revert "fix(common): Don't run preconnect assertion on the server. (#56213)" (#56740) This reverts commit 39e48ce6757ac2dc4157ab69acade0ff1cd2208e. PR Close #56740 27 June 2024, 17:44:43 UTC
11f066b refactor(compiler-cli): support running JIT transforms as part of tsickle emit (#56520) When running the JIT transforms in 1P w/ tsickle, tsickle will transform source files before our custom transforms can run. This is also impacting the Ivy transform and hence we use `ts.getOriginalNode` in various places to inspect the source AST for detecting Angular. For the JIT transform we need to do a similar change so that the transform could run in 1P. PR Close #56520 27 June 2024, 15:55:19 UTC
819f27e docs: replace `@link` with absolute link. (#56557) Currently `@link` doesn't work for cross-package references. Fixes #56556 PR Close #56557 27 June 2024, 15:54:47 UTC
a55719f fix(common): Don't run preconnect assertion on the server. (#56213) The `window` global is patched by domino on the server but the value of `window.location.href` isn't a valid base. Before this change `getUrl()` would throw when running in devmode on the server. Fixes #56207 PR Close #56213 27 June 2024, 15:54:12 UTC
64f6860 test(core): Add testing for defer error block (#56561) In #56558 it was raised that we used an devMode function in a prod scope. This commit adds a test when an defer error block is missing in devMode and prodMode PR Close #56561 27 June 2024, 15:53:19 UTC
b3d6841 build: update dependency selenium-webdriver4 to v4.22.0 (#56580) See associated pull request for more information. PR Close #56580 27 June 2024, 15:52:47 UTC
1a21ed8 refactor(common): remove ng_switch ability to use == equality check (#56426) In Angular v17 we've alligned NgSwitch equality check with the build in control flow to be ===. At the same time we've left the ability to use ==. This ability was controlled by the NG_SWITCH_USE_STRICT_EQUALS const targetted by the G3 patch. This commits removes the infrastructure to swap equality operator in preparation for the G3 patch removal. PR Close #56426 27 June 2024, 15:07:57 UTC
aaa00b3 refactor(core): Add global event delegation provider (#56247) This replaces all addEventListener calls with a stashing function, and installs an event listener on the document body to retrieve the stashed function; PR Close #56247 27 June 2024, 14:24:47 UTC
a59496c release: cut the v18.0.5 release 27 June 2024, 00:13:25 UTC
81e6a54 docs: Add mention of `picture` support in FAQ (#56692) PR Close #56692 26 June 2024, 23:58:28 UTC
95f118b docs(docs-infra): fix asset path for learn angular #11 (#56587) fixes #56568 PR Close #56587 26 June 2024, 19:39:00 UTC
b8a91c9 docs: Update signals overview.md (#56671) change "computed" to a term using a backtick PR Close #56671 26 June 2024, 19:38:26 UTC
f49a2a4 docs: Move the background image migration to its own section. (#56588) PR Close #56588 26 June 2024, 15:52:18 UTC
26f97c0 refactor(core): Use `ActionResolver` in `Dispatcher`. (#56369) (#56369) `EventContract` usages in Angular now use `false` for `useActionResolver`. Tests have been updated, with functionality that depends on `ActionResolver` moving to dispatcher_test.ts. PR Close #56369 PR Close #56369 26 June 2024, 15:49:30 UTC
cf05997 refactor(core): support let declarations during hydration (#56527) Updates the hydration logic to account for the fact that let declarations don't create a DOM node. PR Close #56527 26 June 2024, 15:48:32 UTC
37b6c93 refactor(core): integrate let instructions into the runtime (#56527) Adds the implementation of the following new instructions: * `declareLet` - creation-time instruction that initializes the slot for a let declaration. * `storeLet` - update-time instruction that stores the current value of a let declaration. * `readContextLet` - instruction that reads the stored value of a let declaration from a different view. On top of the instructions, it also introduces a new `LetDeclaration` TNode type. The new TNode is nececessary for DI to work correctly in pipes inside the let expression, as well as for proper hydration support. PR Close #56527 26 June 2024, 15:48:32 UTC
cfe1f38 docs: add neovim setup section to adev (#56057) PR Close #56057 25 June 2024, 16:28:48 UTC
f9a9b55 docs: fix broken redirection to contributing.md (#56581) PR Close #56581 25 June 2024, 16:27:56 UTC
5f9bd55 fix(core): prevent calling devMode only function on `@defer` error. (#56559) `getTemplateLocationDetails()` is a devMode only function and should guarded by `ngDevMode` or calling it will throw an error. fixes #56558 PR Close #56559 25 June 2024, 16:17:34 UTC
ac84d2c docs: fix broken component fixture link (#56563) PR Close #56563 25 June 2024, 16:15:02 UTC
553914d docs(docs-infra): add canonical link to each adev page (#56540) PR Close #56540 24 June 2024, 16:44:30 UTC
75c3921 docs: fix file structure link (#56542) PR Close #56542 21 June 2024, 17:04:45 UTC
a74f5a0 build: add ignores for aio (#56538) The files are needed/generated to run aio on the 17.3. PR Close #56538 21 June 2024, 17:03:34 UTC
be9e489 fix(core): improve support for i18n hydration of projected content (#56192) When collecting nodes from the DOM for hydration, we need to treat nodes with paths (e.g. content projection) as the new root for all subsequent elements, not just the next one. Additionally, when using content projection it's possible for translated content to become disconnected, e.g. when it doesn't match a selector and there isn't a default. We need to handle such cases by manipulating the disconnected node data associated with hydration as usual. PR Close #56192 20 June 2024, 21:59:58 UTC
2f73281 fix(core): improve docs on afterRender hooks (#56525) This commit improves the documentation of the options parameter of the afterRender hooks. PR Close #56525 20 June 2024, 21:58:51 UTC
9c3c8ae docs: ordered words (#56534) Ordered correctly some words PR Close #56534 20 June 2024, 21:58:13 UTC
2e58620 release: cut the v18.0.4 release 20 June 2024, 19:00:17 UTC
5f8f18d refactor(docs-infra): use an older version of the `afterRender` API (#56526) This commit updates the code to use an older version of the `afterRender` API, since the newer one is not available in 18.0.x. PR Close #56526 20 June 2024, 17:43:33 UTC
5928baa test(compiler-cli): update formatting of a golden file (#56526) This commit updates a golden file that is used to verify compiler output. There are no major changes, just a few new commas added due to a difference in TS version. PR Close #56526 20 June 2024, 17:43:33 UTC
c45c520 refactor(router): Update afterRender phase to use old API (#56526) The new API does not exist in the 18 branch PR Close #56526 20 June 2024, 17:43:33 UTC
5578681 fix(router): Delay the view transition to ensure renders in microtasks complete (#56494) This commit delays makes two changes: * Use the `read` phase for `afterNextRender` hook. We really want to wait for any write hooks to complete before starting the animation * In addition, wait a macrotask before resolve (really, this makes the above change unnecessary but it's still conceptually the right thing). This ensures any follow-up rendering in the microtask queue is flushed before the animation starts. Important note: This only affects the timing of the animation start, delaying it longer to allow additional rendering/change detections to flush. This promise already resolves in an `afterNextRender` hook and is only used directly by the browser's view transition machinery. PR Close #56494 20 June 2024, 15:56:50 UTC
73abcda docs: fix page not found (#56512) PR Close #56512 20 June 2024, 15:56:10 UTC
2b9d1c9 docs: fix code example for http headers (#56508) PR Close #56508 20 June 2024, 15:55:32 UTC
cff9ede docs: add mention of preconnect links (#56503) Text is copied from AIO. fixes #56502 PR Close #56503 20 June 2024, 15:54:51 UTC
1f1ed52 build: remove unused root dependencies (#56499) With the removal of AIO, several dependencies are now unused and can be removed. PR Close #56499 20 June 2024, 15:54:12 UTC
69e0aa5 refactor(core): use performance API for Event Replay (#56509) This commit adds a standard performance marker that can be viewed in Chrome dev tools and other tooling. See more info at https://developer.mozilla.org/en-US/docs/Web/API/Performance/mark PR Close #56509 20 June 2024, 15:53:19 UTC
83ffa94 fix(core): do not activate event replay when no events are registered (#56509) This commit adds extra checks to handle a situation when an application has no events configured, but the Event Replay feature was enabled. This situation can happen when some routes in an application are mostly static, when other routes are more interactive. Resolves #56423. PR Close #56509 20 June 2024, 15:53:19 UTC
284705f refactor(core): missing space in zoneless warning (#56491) There's currently a missing space in the zoneless warning, showing words together. PR Close #56491 20 June 2024, 15:49:40 UTC
bc655bf refactor(compiler): integrate let declarations into the template pipeline (#56299) These changes integrate let declarations into the template pipeline. This involves a few operations: * Producing a `declareLet` instruction call at creation time to initialize the declaration. * Producing a `storeLet` instruction call in the place of the let declaration, including the necessary `advance` calls beforehand. * For let declarations used within their declaration view, moving the `const` to be placed right after the `storeLet` call to ensure the their value has been computed. * For let declarations that are _only_ used in their declaration view, removing the `storeLet` call and inlining the expression into the constant statement. PR Close #56299 20 June 2024, 15:48:53 UTC
cc6cd08 refactor(docs-infra): complete removal of aio directory (#56496) Finish removal of aio directory as it is no longer used or relied upon. PR Close #56496 18 June 2024, 19:26:04 UTC
7be9397 refactor(docs-infra): remove reliance on aio example macro (#56496) Remove usage of aio example macro in adev PR Close #56496 18 June 2024, 19:26:03 UTC
1a32e79 refactor(docs-infra): move windows-chromium-path to adev (#56496) Move windows-chromium-path help from aio to adev PR Close #56496 18 June 2024, 19:26:02 UTC
2eaf04d docs: add `ng generate directive` page (#56417) fixes #56296 PR Close #56417 18 June 2024, 16:31:27 UTC
ce2d7c4 build: update scorecard action dependencies (#56485) See associated pull request for more information. PR Close #56485 18 June 2024, 16:30:45 UTC
904edcb build: update actions/checkout action to v4.1.7 (#56484) See associated pull request for more information. PR Close #56484 18 June 2024, 16:28:58 UTC
7ea25eb build: update io_bazel_rules_sass digest to b222c61 (#56483) See associated pull request for more information. PR Close #56483 18 June 2024, 16:28:20 UTC
395d26a fix(docs-infra): reference page restores scroll position or goes top when no anchor (#56478) This contains follow-up fixes to 2a2439712a495c9ec741b72ac0a40cc99cc66c65. This commit updates scrolling on references page to scroll to the top when there is no anchor in the URL. The behavior after the above commit would be that the position doesn't change from whatever the previous page was (potentially scrolled to the bottom). In addition, this restores the previous scroll position when traversing through browser history rather than always scrolling to the fragment. PR Close #56478 18 June 2024, 16:26:57 UTC
841476d docs(docs-infra): Remove redundant API link (#56480) As there is no longer a page for the localize API the URL pointing to this page is removed PR Close #56480 17 June 2024, 19:48:12 UTC
1d48e72 refactor(core): handle incomplete `DOCUMENT` instances during cleanup in tests (#56422) `DOCUMENT` instances retrieved from DI may not contain a necessary function to complete the cleanup. In tests that don't interact with DOM, the `DOCUMENT` might be mocked and some functions might be missing. For such tests, DOM cleanup is not required and we can skip DOM cleanup logic if there are missing functions. For tests that use DOM, TestBed would behave the same as before and rely on more complete `DOCUMENT` instances. PR Close #56422 17 June 2024, 16:05:53 UTC
38010d2 refactor(core): avoid exposing `OutletInjector` in injector resolution path (#56394) Router's `OutletInjector` required a special handling in cases when `@defer` is used, see https://github.com/angular/angular/pull/55374 for additional info. As a result, the `ChainedInjector` that represents an `OutletInjector` instance is currently exposed via `getInjectorResolutionPath` function. This creates a problem, because other debug APIs used by DevTools can not interact with `ChainedInjector`s. This commit updates the logic around `getInjectorResolutionPath` utility to avoid exposing `OutletInjector`in the resolution path. Resolves #56331. PR Close #56394 17 June 2024, 16:05:12 UTC
back to top