https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
e2601c7 docs: fix formatting for signal inputs guide 30 April 2024, 16:51:28 UTC
cae993c build: lock file maintenance (#55241) See associated pull request for more information. PR Close #55241 09 April 2024, 22:22:11 UTC
3547e1e refactor(forms): emit status/value event in a consistant order (#55198) We emit `ValueChangeEvent` first and then `StatusChangeEvent` PR Close #55198 09 April 2024, 22:21:39 UTC
4be03d6 build: update all non-major dependencies (#55164) See associated pull request for more information. PR Close #55164 09 April 2024, 22:20:52 UTC
11705f5 fix(common): skip transfer cache on client (#55012) transfer cache interceptor should not run again on the client as it is intended for server to client handoff PR Close #55012 09 April 2024, 21:45:36 UTC
bd236cc fix(language-service): implement getDefinitionAtPosition for Angular templates (#55269) The `getDefinitionAtPosition` function may be called by consumers instead of `getDefinitionAndBoundSpan` with the later of which already implemented. The `getDefinitionAtPosition` result is a subset of what `getDefinitionAndBoundSpan` returns and currently delegates to that function. PR Close #55269 09 April 2024, 21:04:21 UTC
1c6553e refactor(compiler-cli): Link to adev (#55043) Replace aio links with to adev guides PR Close #55043 09 April 2024, 19:23:09 UTC
d364f6e docs: redirect upgrade guide to aio (#55043) Adev doesn't document upgrade anymore. PR Close #55043 09 April 2024, 19:23:09 UTC
f45fbb0 docs: remove deprecation details link (#55043) PR Close #55043 09 April 2024, 19:23:09 UTC
457d02c docs: Use new Urls to drop the docs url mapper (#55043) PR Close #55043 09 April 2024, 19:23:09 UTC
216199d docs(forms): validate email field with proper validator (#55142) PR Close #55142 09 April 2024, 19:15:29 UTC
4b31a88 refactor(core): Remove zone assertion from hydration cleanup. (#55214) In zoneless apps with hydration, this assertion was throwing. Fixes #52160 PR Close #55214 09 April 2024, 19:12:59 UTC
bc394de docs: fix input name (#55141) This commit fixes the name of the input used for the email. PR Close #55141 09 April 2024, 18:21:05 UTC
9bc1599 refactor: move example generation into adev, removing content from aio (#55263) Remove the content from aio and set up the example generation in adev PR Close #55263 09 April 2024, 18:18:48 UTC
3236111 docs: split CLI subcommands in separate doc page (#55185) PR Close #55185 09 April 2024, 18:05:18 UTC
9d76cc3 docs: update readme link (#55155) fixes#55153 PR Close #55155 09 April 2024, 17:32:49 UTC
9c776d6 docs(forms): add docs for emitEvent flag (#55249) PR Close #55249 09 April 2024, 17:31:10 UTC
18ba2bb docs: update Angular CLI help [main] (#55251) Updated Angular CLI help contents. PR Close #55251 09 April 2024, 17:29:52 UTC
f83da4f ci: required by is optional for primitives (#55265) This adjusts the need for required by in PR reviews for shared primitives. PR Close #55265 09 April 2024, 17:29:09 UTC
e032427 docs: add back dynamic form image to fix adev broken link (#55247) This commit adds back the dynamic form image that was previously removed. This fixes the broken link in the adev documentation. PR Close #55247 08 April 2024, 21:33:24 UTC
6484ac2 docs: add closing tag in hierarchical injectors documentation (#54954) PR Close #54954 08 April 2024, 21:11:18 UTC
2eb83c6 docs: update links to calling-compilecomponents intesting-utility-apis (#55055) PR Close #55055 08 April 2024, 21:08:38 UTC
76d00b2 docs: update links to the calling-compilecomponents section (#55055) PR Close #55055 08 April 2024, 21:08:37 UTC
ed6df68 refactor(language-service): use compiler for current program instance (#55097) Within the language service, the Angular compiler instance can provide access to the current TypeScript program via `getCurrentProgram`. By using the compiler, the need to pass around the program driver is no longer required and can also be removed as an instance field of the Angular language service class. This change also provides a higher assurance that the correct program is being used throughout each language service request. PR Close #55097 08 April 2024, 20:49:31 UTC
faafadb docs: fix typo in event-binding documentation (#55189) PR Close #55189 08 April 2024, 20:47:36 UTC
9bb570b refactor(core): use performance API for zone options (#55086) 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 #55086 08 April 2024, 20:43:44 UTC
2de06ca build: update io_bazel_rules_sass digest to 147f7fa (#55208) See associated pull request for more information. PR Close #55208 08 April 2024, 20:41:24 UTC
831da9b refactor: do cleanups to theme, version and content loader services at adev (#55234) Keep theme constants in sync betwee index.html file and theme manager. Move versions config static data to their own file, and replace the deprecated toPromise() api with the new firstValueFrom() api PR Close #55234 08 April 2024, 20:38:04 UTC
87cdfaf docs: replace `code-example` with `docs-code` (#55186) PR Close #55186 08 April 2024, 18:49:25 UTC
f8d5921 docs(docs-infra): move CLI docs to ADEV (#55242) Previously located in the `aio` directory, the commit moves the docs file into `adev` and also moves the `script` used to generated them from the `angular-cli` repo. PR Close #55242 08 April 2024, 18:35:11 UTC
e57042e docs(docs-infra): remove compiler import (#55229) PR Close #55229 08 April 2024, 18:31:56 UTC
03581b9 build: update licence date. (#55129) Wasn't done last year, let's do it in 2024 PR Close #55129 08 April 2024, 18:31:12 UTC
59c166a docs: remove link to resources (#55224) The page doesn't exist anymore on ADEV. Fixes #55221 PR Close #55224 08 April 2024, 18:28:48 UTC
e9a0c86 fix(core): TestBed should not override NgZone from initTestEnvironment (#55226) Prior to this change, `NgZone` was provided by default in TestBed in a location that would override anything configured in `TestBed.initTestEnvironment`. This change moves the default `NgZone` provider to the `RootScopeModule` and these providers can be overridden by the ones in `additionalModuleTypes`, which are assigned from the first argument of `initTestEnvironment`. This makes it possible to configure Zone globally for all tests as opposed to needing to repeat it in `configureTestingModule` of each suite. PR Close #55226 08 April 2024, 18:28:07 UTC
dda9d9a refactor(core): No need for zone.root.run in zoneless scheduler (#55230) Now that #55092 has merged, we now consistently get the `setTimeout` and `rAF` implementations that are not patched by zone. There's no longer a need to run them in the root zone. PR Close #55230 08 April 2024, 18:27:05 UTC
13d37e0 docs: fix broken logo link (#55239) replace logo in main readme PR Close #55239 08 April 2024, 18:26:03 UTC
3583d67 build: update dependency madge to v7 (#55245) See associated pull request for more information. PR Close #55245 08 April 2024, 17:43:15 UTC
a84cb62 build: lock file maintenance (#55145) See associated pull request for more information. PR Close #55145 05 April 2024, 18:08:44 UTC
59c7538 refactor(core): treat embedded views attached to AppRef as transplants (#55154) PR #55099 updated zoneless behavior to treat all views attached to `ApplicationRef` as `OnPush`. Put another way, Zoneless change detection will only refresh view trees that notified Angular of a change. This generally works as expected but there was one situation where it did not. Some views are logically linked to their declaration locations and should refresh when the declaration refreshes. These views are called "transplanted views" and work correctly when inserted into another view container. This change updates the logic to also work when they are attached directly to `ApplicationRef`. PR Close #55154 05 April 2024, 17:56:28 UTC
58e2f47 test(common): update ImageKit low quality test (#55193) For commit cd911a80084fac3c8b046d770ecf8b860444e04f PR Close #55193 05 April 2024, 14:55:13 UTC
2a6f809 fix(common): invalid ImageKit quality parameter (#55193) The current quality parameter is ignored by ImageKit. PR Close #55193 05 April 2024, 14:55:13 UTC
8cd1b23 ci: pullapprove is case sensitive (#55220) This fixes thePunderWoman for case sensitivity PR Close #55220 05 April 2024, 04:27:18 UTC
39624c6 fix(compiler): output input flags as a literal (#55215) Previously the input flags were being generated as a reference to an enum member for better readability and under the assumption that minifiers would inline the values. That doesn't appear to be the case so these changes switch to using the literal values instead. PR Close #55215 04 April 2024, 18:13:52 UTC
493c192 docs: bind 'occupation' property to UserComponent (#54935) added the binding of occupation property which was missing in UserComponent Co-authored-by: Sonu Kapoor <sonukapoor@users.noreply.github.com> PR Close #54935 04 April 2024, 18:12:51 UTC
9ad4ed1 docs: use structural directives workflow for structural directives docs. (#55212) fixes #53078 PR Close #55212 04 April 2024, 16:03:43 UTC
6c25f29 ci: jessicajaniuk is thePunderWoman (#55205) this swaps jessica for jessica. PR Close #55205 03 April 2024, 23:05:17 UTC
4e25e40 release: cut the v18.0.0-next.3 release 03 April 2024, 22:28:04 UTC
6f960af ci: fixes jsaction path name (#55199) This updates the jsaction path to be event-dispatch. PR Close #55199 03 April 2024, 18:27:45 UTC
2656fd9 refactor(core): remove unnecessary folder (#55197) This removes a temporary folder for jsaction. PR Close #55197 03 April 2024, 18:08:15 UTC
1c736dc feat(forms): Unified Control State Change Events (#54579) This commit introduces a new method to subscribe to on every `AbstractControl` subclass. It allows to track value, pristine, touched and status changes on a given control. Fixes #10887 PR Close #54579 03 April 2024, 17:12:04 UTC
2ff74dc ci: Add primitives groups to pullapprove (#53404) This adds the shared primitives reviewers groups and list of reviewers to the pullapprove rules. PR Close #53404 03 April 2024, 17:06:04 UTC
45ae7a6 feat(platform-browser): add withI18nSupport() in developer preview (#55130) Expose withI18nSupport() as a hydration feature to enable i18n hydration PR Close #55130 03 April 2024, 15:27:24 UTC
231e0a3 fix(core): handle `ChainedInjector`s in injector debug utils (#55144) The fix from PR #55079 introduced a configuration of the injector chain, which wasn't properly handled by the injector debug utils, thus resulting in JS exceptions in DevTools. This commit updates injector debug utils logic that calculates injector resolution path to also handle `ChainedInjector`s. Resolves #55137. PR Close #55144 03 April 2024, 15:26:47 UTC
f577319 docs: fix typo in first-app/steps/06-property-binding/README.md (#55181) PR Close #55181 03 April 2024, 00:14:14 UTC
894c1c5 refactor: apply prettier formatting to integration (#54653) Apply prettier formatting to integration directories PR Close #54653 02 April 2024, 20:42:04 UTC
ade0244 fix(docs-infra): remove part aio infra (#54929) Remove parts of the aio infra PR Close #54929 02 April 2024, 18:38:04 UTC
1991508 ci: bump ng-dev hashes (#55172) This updates ng-dev to the latest hash fixing the merge files query. PR Close #55172 02 April 2024, 18:32:21 UTC
58942db refactor(core): Update method of grabbing native setTimeout and rAF (#55092) As mentioned in https://github.com/angular/angular/pull/54600#discussion_r1528372804 a more effective way of getting the unpatched version of a zone-patched API is to grab it from global[Zone.__symbol__('apiname')]. PR Close #55092 02 April 2024, 16:21:54 UTC
104dfd4 refactor(language-service): support showing tags info in the completion (#51140) The Angular VSCode extension will support showing the tags info in this [PR][1], so the language service can return the tags info now. [1]: https://github.com/angular/vscode-ng-language-service/pull/1904 PR Close #51140 02 April 2024, 16:21:01 UTC
f824911 fix(compiler): For `FatalDiagnosticError`, hide the `message` field without affecting the emit (#55160) We want to hide `.message` from users, but the previous approach is not compatible with a specific [TS 3.7 flag](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#the-usedefineforclassfields-flag-and-the-declare-property-modifier) ("using class fields to specialize properties from base classes also won’t work"). I received a request from the TS team to fix this, so they can enable that flag. Instead, we just override `message` to `never` in the .d.ts using `declare`. PR Close #55160 02 April 2024, 16:20:23 UTC
c04ffb1 fix(compiler-cli): use switch statements to narrow Angular switch blocks (#55168) In #52110 we had to use `if` statements to represent `switch` blocks, because TypeScript had a bug when narrowing the type of parenthesized `switch` statements. Now that it has been fixed by TypeScript and we don't support any version that has the broken behavior, we can go back to generating `switch` statements in the TCB which are simpler and better represent the user's code. PR Close #55168 02 April 2024, 16:19:47 UTC
666d646 feat(core): Add event delegation library to queue up events and replay them when the application is ready (#55121) This adds the JSAction library from the Wiz framework to core/primitives. PR Close #55121 02 April 2024, 16:09:13 UTC
840c375 fix(core): do not save point-in-time `setTimeout` and `rAF` references (#55124) Grabbing and saving the references to global `setTimeout` and `rAF` implementations at a certain point in time can be problematic, espcially in tests. Tests might call something like `jasmine.clock().install();` and `jasmine.clock().uninstall();`. If the install happens before we grab the implementation and then the uninstall happens after, our scheduling function will be broken because it would have saved a reference to the jasmine `setTimeout` implementation, which would have since been cleaned up and will throw an error when attempting to access `delayedFunctionScheduler`. There are other scenarios that may apply, not even just for tests, when patches are applied and removed to the globals. PR Close #55124 01 April 2024, 18:00:11 UTC
e18a0ed fix(devtools): fix padding in property tree view (#54648) This import was missed when switching devtools to standalone. fixes #54622 PR Close #54648 01 April 2024, 17:52:37 UTC
0ceefae ci: Update workflows to use latest dev infra hash (#55128) This bumps the hash for dev-infra dependencies to utilize the latest build and changes PR Close #55128 01 April 2024, 17:00:06 UTC
940a358 refactor(router): prevent navigationErrorHandler from breaking transition subscription (#55152) Following up on #55068, this change prevents errors in the handler from breaking navigations. PR Close #55152 01 April 2024, 16:47:54 UTC
3839cfb fix(router): Routed components never inherit `RouterOutlet` `EnvironmentInjector` (#54265) This commit ensures components in the route config predictably always get their providers from the hierarchy available to routes rather than sometimes being dependent on where they are inserted. fixes #53369 BREAKING CHANGE: Providers available to the routed components always come from the injector heirarchy of the routes and never inherit from the `RouterOutlet`. This means that providers available only to the component that defines the `RouterOutlet` will no longer be available to route components in any circumstances. This was already the case whenever routes defined providers, either through lazy loading an `NgModule` or through explicit `providers` on the route config. PR Close #54265 01 April 2024, 16:19:13 UTC
87f3f27 feat(router): Allow resolvers to return `RedirectCommand` (#54556) Returning a `RedirectCommand` from a resolver can be interpreted as distinctly different from regular resolved data. When a resolver returns `RedirectCommand` we can interperet this as an intention to redirect in the same way as other guards. resolves #29089 PR Close #54556 30 March 2024, 17:52:44 UTC
8a8181a fix(docs-infra): scrolling experience in API Reference (#55133) Fix scrolling experience in API Reference: - set correct margin top for members container (right side) which is aligned with tabs (left side) - prevent scroll on focus - remove redundant blur calls PR Close #55133 30 March 2024, 02:05:53 UTC
bc7f140 docs(docs-infra): Use monospace font for API reference (#54558) fixes #52612 PR Close #54558 29 March 2024, 23:46:19 UTC
7d4dd08 test(core): Update hybrid mode scheduling test to wait for fixture stable (#55076) Now that pending tasks contribute to fixture stability, the tests can be simplified. PR Close #55076 29 March 2024, 23:37:43 UTC
0c20c40 fix(migrations): avoid conflicts with some greek letters in control flow migration (#55113) The control flow migration was using a couple of Greek letters as placeholders. This ended up conflicting with templates authored in Greek. These changes use a more obscure placeholder to make conflicts less likely. It also moves the placeholder generation to a centralized function so it's easier to make changes if we decide to update the pattern again. Fixes #55085. PR Close #55113 29 March 2024, 20:10:52 UTC
f01e8da docs(docs-infra): move Features APIs above the filter section & rename to "Most Common (#54557) Fixes #52705 PR Close #54557 29 March 2024, 20:08:29 UTC
e0a31b6 refactor(docs-infra): move gif to display (#54795) To display the image correctly, swap the image from the folders Fixes #54778 feat(docs-infra): change path for correct ADEV Changing path for correctly displaying in adev PR Close #54795 29 March 2024, 20:06:42 UTC
50da501 docs(common): clean up comment (#55088) PR Close #55088 29 March 2024, 20:02:44 UTC
418b7df build: lock file maintenance (#55022) See associated pull request for more information. PR Close #55022 29 March 2024, 19:59:32 UTC
38bb95a Revert "refactor(compiler): add support for the new search element (#54945)" (#55127) This reverts commit 367b3ee6e99d7b2669e7f7ded55d8eaab0ba4752. The search element is not a void element but existing components may use the same selector and be used as a void element. PR Close #55127 29 March 2024, 19:56:31 UTC
d3c75f8 Revert "ci: Update workflows to use latest dev infra hash (#55123)" (#55126) This reverts commit e4fde98279c3475e84be4281862ddc54e378b6de. PR Close #55126 29 March 2024, 19:48:27 UTC
1ae460c docs: remove unused examples (#55110) fixes #52660 PR Close #55110 29 March 2024, 18:58:31 UTC
e4fde98 ci: Update workflows to use latest dev infra hash (#55123) This bumps the hash for dev-infra dependencies to utilize the latest build and changes PR Close #55123 29 March 2024, 18:51:30 UTC
3974c21 refactor(core): All views attached to application are treated as OnPush in zoneless (#55099) This change treats all views attached to `ApplicationRef` as `OnPush`, meaning that they have to be explicitly marked for check in order to be refreshed when a tick happens. This prevents "accidentally" refreshing views which have `Default` change detection as a side effect of running change detection from an unrelated notification. In addition, this change helps us achieve one of the big goals of the project: that we can provide a testing experience which gives developers more confidence that a component is zoneless-compatible. Because `ComponentFixture` change detection is run through `ApplicationRef` instead of `ChangeDetectorRef` when zoneless is enabled, this ensures that the component under test has correctly been marked for check in order to be updated. Without this, calling `ComponentFixture.detectChanges` would allow a test to _force_ change detection on a view when Angular would have otherwise not known that it needed to be updated. Calling `ComponentFixture.detectChanges` on a component which is not marked for check will now omit refreshing component view. PR Close #55099 29 March 2024, 17:42:21 UTC
a122bd1 build: update dependency gulp to v5 (#55108) See associated pull request for more information. PR Close #55108 29 March 2024, 17:13:07 UTC
367b3ee refactor(compiler): add support for the new search element (#54945) See #whatwg/html#5811 Spec: https://html.spec.whatwg.org/multipage/grouping-content.html#the-search-element fixes #54944 PR Close #54945 29 March 2024, 17:01:54 UTC
a99cb7c fix(core): zoneless scheduler should check if Zone is defined before accessing it (#55118) zoneless scheduler should check if Zone is defined before accessing it fixes #55116 PR Close #55118 29 March 2024, 16:59:00 UTC
218c5bd build: update dependency @babel/core to v7.24.3 (#55038) See associated pull request for more information. PR Close #55038 29 March 2024, 16:44:58 UTC
112fae5 docs(http): Update the Setup for testing in Http Client to include provideHttpClient() (#53716) It is not enough to use provideHttpClientTesting() for HTTP Client Testing, it will throw a dependency injection error. Update the docs to include both provideHttpClient() and provideHttpClientTesting() Fixes #53390 PR Close #53716 29 March 2024, 16:40:11 UTC
1b8bf1d docs: fix typo in control-flow.md (#54976) PR Close #54976 29 March 2024, 16:39:31 UTC
a5fa279 fix(core): prevent i18n hydration from cleaning projected nodes (#54823) Rework the i18n cleanup behavior to more closely match that of containers. Specifically, we assume that nodes are going to be claimed unless they are part of a branching ICU block. During hydration, we then track which ICU case was active at serialization time, and which was active during hydration. Any remaining cases that weren't used during hydration are then cleaned up. PR Close #54823 29 March 2024, 16:35:43 UTC
f44a5e4 fix(core): support content projection and VCRs in i18n (#54823) Modifies the i18n pre-hydration logic to correctly support content projection and elements that act as view containers. PR Close #54823 29 March 2024, 16:35:43 UTC
146306a feat(core): add support for i18n hydration (#54823) Add support for hydrating i18n blocks. This is accomplished by serializing information about selected ICU cases for a block during server-side rendering. During hydration, this data is read and is used to traverse both an AST of the translated message and the DOM, in parallel, to map each LView with an RNode. Finally, this mapping is used while nodes are being created (either via i18n or their respective instructions) to locate existing nodes. PR Close #54823 29 March 2024, 16:35:43 UTC
1c11d89 docs(docs-infra): rephrase sentence to make sense (#54914) Remove the confuse sentences with 2 categories, and rephrase Fixes #54792 PR Close #54914 29 March 2024, 16:34:49 UTC
1d821d1 docs: fix API tabs height to allow overflow/scrolling (#55109) fixes #53294 PR Close #55109 29 March 2024, 16:33:13 UTC
1c5f158 docs: document why `undefined` is usefull and does not remove classes (#55112) Fixes #54601 PR Close #55112 29 March 2024, 16:22:10 UTC
860de66 refactor(router): Navigation promise should resolve `false` instead of `null` on skip (#55068) This commit updates the internal resolve value of the navigation promise to use `false` instead of `null` when a navigation is skipped. The navigation promise type requires `boolean` so the correct resolution to match the truthy/falsiness of the currently resolved value, `null`, is `false` instead. PR Close #55068 29 March 2024, 16:16:47 UTC
2794084 refactor(router): move navigation error handler call to location of error emit (#55068) This commit moves the call to the error handler to the location where the error event emits instead of having it indirectly work through the events subscription. This change would also allow the handler to return a value which can be handled by the navigation transition. PR Close #55068 29 March 2024, 16:16:47 UTC
17369ed refactor(router): Correct resolve value for error handler case (#55068) This commit fixes the types on the error handler resolve and reject functions and also ensures that the resolve value matches the API type (`boolean`, not "any random value returned from `errorHandler`"). This could be considered a breaking change but I would argue instead that relying on the return value of the error handler is API misuse because the promise returned by the router navigation _does not_ include `any` in its type. PR Close #55068 29 March 2024, 16:16:46 UTC
4073d38 refactor(router): fix internal types of resolve and reject promises (#55068) This commit fixes the internal types for the resolve and reject functions used for the router navigation Promise. These are currently typed as `any`. PR Close #55068 29 March 2024, 16:16:46 UTC
0b450ff refactor(core): Move private export testing file to src (#55103) This matches the private export approach for files in other packages. PR Close #55103 28 March 2024, 23:35:25 UTC
ac0a51c refactor(core): Update SchedulingMode to be regular enum (#55103) Angular recently gained a local compilation mode (see commit 345dd6d). This is intended to be used with the TypeScript compiler option isolatedModules, which bans imports of const enums. PR Close #55103 28 March 2024, 23:35:24 UTC
d839c58 docs(docs-infra): improve styling for deprecated CLI option (#54794) Related to #54770 PR Close #54794 28 March 2024, 22:48:22 UTC
back to top