https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
f5299a3 docs: update decorators proposal stage and link in glossary (#45669) PR Close #45669 19 April 2022, 16:14:36 UTC
63202b9 test: reset counters before running a styling test (#45670) This commit updates one of the styling tests to reset perf counters, making it order-independent and non-flaky (previously the test got random failures depending on whether there are other tests invoked before). PR Close #45670 19 April 2022, 16:14:09 UTC
ea8256f refactor(router): Move config loader tracking to the RouterConfigLoader (#45656) This wasn't exactly possible before because the `RouterConfigLoader` was not an Injectable so there wasn't a straightforward way to share information between `ApplyRedirects` and the preloader. They each had their own implementation so they needed to store the values on the `Route` so they both had access to them. I imagine this was the case because trying to inject `Router` (to get access to the events) into the preloader would have caused a circular dependency. This refactor co-locates the loading details with the loader itself rather than leaking implementation into the public route config and mutating the object in an awkward way. This also promotes `RouterConfigLoader` to a proper `Injectable` so data can be shared throughout the system. PR Close #45656 18 April 2022, 23:05:45 UTC
ec5cb0b docs: use language agnostic mdn urls (#45666) PR Close #45666 18 April 2022, 21:10:16 UTC
3477364 docs: fix mdn links (#45666) PR Close #45666 18 April 2022, 21:10:16 UTC
174ce7d feat(core): add `ApplicationRef.destroy` method (#45624) This commit implements the `destroy` method on the `ApplicationRef` class. This feature is a preparation for the new logic to bootstrap (and teardown) standalone components (without going through the `NgModuleRef` destroy), which would return an instance of the `ApplicationRef` (the current bootstrap APIs return an instance of the `NgModuleRef`). PR Close #45624 18 April 2022, 21:09:47 UTC
aa966fd refactor(router): Use `EnvironmentInjector` for lazy loading APIs (#45671) The `EnvironmentInjector` should be used instead of `Injector` for the lazy loading. A future refactor will further update `RouterOutlet` to use this injector to create the component rather the deprecated `ComponentFactoryResolver`. PR Close #45671 18 April 2022, 21:08:43 UTC
eb7661c refactor(router): unbundle the lazy loaded routes from the lazy loaded module injector (#45593) In the standalone world, these concepts will no longer be one and the same. You can load routes without them being inside an `NgModule` with `RouterModule.forChild`. In addition, routes will be able to define their own providers, which will be included in an injector that is not necessarily lazy loaded. PR Close #45593 18 April 2022, 16:52:56 UTC
d9f550c refactor(router): Refactor loaded config to track injectors rather than `NgModuleRef` (#45593) The `Injector` is really the piece of information that the `Router` is interested in keeping track of. Storing the `NgModuleRef` is somewhat confusing based on how it's used later on. `RouterOutlet` uses it for the `componentFactoryResolver`, but this is not needed anymore (and deprecated). In fact, we can get back to the `NgModuleRef` anyways using the injector. For now, that's what this change does. A different refactor will remove the use of the `componentFactoryResolver` altogether. Additionally, in the standalone world, we plan to implement a feature to allow defining `providers` directly on the `Route`. This means there won't be an associated `NgModuleRef` so this refactor prepares for that feature. PR Close #45593 18 April 2022, 16:52:56 UTC
3578e94 refactor(core): internally support `providedIn: environment` (#45626) This commit adds a new internal scope to `R3Injector` for `EnvironmentInjector`s specifically. This will allow us to scope services to the environment side of the injector hierarchy specifically, as opposed to the `'any'` scope which also includes view-side injectors created via `Injector.create`. For now, this functionality is not exposed publicly, but is available to use within `@angular/core` only. PR Close #45626 18 April 2022, 16:28:43 UTC
d5a6cd1 feat(core): implement EnvironmentInjector with adapter to NgModuleRef (#45626) This commit exposes a new `EnvironmentInjector` abstraction, which generalizes the "module injector" concept to injectors that are not based on NgModules. An EnvironmentInjector is a conceptual analogue of an `NgModuleRef` - it represents an injector on the former "module" DI hierarchy in Angular (now renamed to the "environment injector hierarchy"). Environment injectors are created via the `createEnvironmentInjector` function from a list of `Provider`s. For backwards compatibility with current code using `NgModuleRef`, `EnvironmentInjector`s are wrapped by an adapter `NgModuleRef` implementation, so injecting `NgModuleRef` always returns the latest `EnvironmentInjector`, even if that injector was not based on an NgModule. Conversely, NgModule-based `NgModuleRef`s created via `createNgModuleRef` are _also_ `EnvironmentInjector`s. PR Close #45626 18 April 2022, 16:28:42 UTC
b568a5e feat(core): implement `importProvidersFrom` function (#45626) This commit implements the `importProvidersFrom` function that allows extracting a list of `Provider`s from a list of NgModule types. The R3Injector which implements DI at the "module" level for Angular is refactored to use this functionality under the hood. This commit also implements `INJECTOR_INITIALIZER`, a DI multi-provider token which is used to run initialization logic when an injector is created. PR Close #45626 18 April 2022, 16:28:42 UTC
a5a7fbc test(core): fix a crosstalk issue with locale ids (#45626) Previously there was a test ordering issue with the application_module_spec tests where the value of `getLocaleId()` depended on the order in which tests ran. Specifically, `setLocaleId()` lower-cases the current locale ID, so the measured value in a test depended on whether a previous test had called `setLocaleId()` (the difference between 'en-US' and 'en-us'). PR Close #45626 18 April 2022, 16:28:42 UTC
1fe255c refactor(compiler): add `original_code` to `goog.getMsg()` options (#45606) This links back each placeholder in a message to the original Angular template span which defines its expression. This is useful for understanding where each placeholder comes from in the context of the full message. PR Close #45606 18 April 2022, 16:26:16 UTC
8c83f12 ci: add more reviewers to the `docs-packaging-and-releasing` group (#45652) Currently that group has just 2 reviewers, but we often update the files that belong to that group during the deprecation period. Adding more people would allow to balance the reviews better. PR Close #45652 18 April 2022, 16:24:57 UTC
57f8ab2 fix(core): better error message when directive extends a component (#45658) We throw an error when a directive is trying to extend a component, but we don't actually say which class is responsible which can be difficult to track down. These changes add the two class names to the error message. PR Close #45658 18 April 2022, 16:24:23 UTC
b29b95b fix(devtools): clean up menu layout (#45665) The menus weren't using the `mat-menu` component correctly which had led to some inconsistent spacing and the need for style overrides. These changes correctly wrap the menu content in `mat-menu-item` which has the added benefit of having keyboard support. I had to keep some of the overrides in order to preserve the dense layout of the menus. I've also cleaned up the component by: * Removing some unnecessary styles. * Switching single-class usages of `ngClass` to `class.` bindings. * Not using `br` tags for spacing. PR Close #45665 18 April 2022, 16:23:13 UTC
6835710 build: lock file maintenance (#45457) PR Close #45457 15 April 2022, 21:38:16 UTC
0b64072 fix(docs-infra): fix aio search-results issue with toolbar and notification (#45579) use border-top-width instead of padding-top as the strategy for moving the search-results panel down, this fixes the issue of the panel going behind the toolbar (which causes either overlapping text in the home page or the results scrollbar to be hidden behind the toolbar in other pages) PR Close #45579 15 April 2022, 21:22:14 UTC
9e69579 fix(docs-infra): amend notification close button aria-label (#45579) move the aria-label used inside the close-button to the button itself (since otherwise the button's aria-label overrides the childs) PR Close #45579 15 April 2022, 21:22:14 UTC
d2436bf feat(docs-infra): add close button to search-results aio panel (#45579) add a close button to the search-results aio panel so that the user can conveniently close it via keyboard this complements the focus trap implemented in PR #44989 (more here: https://github.com/angular/angular/pull/44989#issuecomment-1037287678) PR Close #45579 15 April 2022, 21:22:13 UTC
f57e46c fix(language-service): two-way binding completion should not remove the trailing quote (#45582) We allow the path to contain both the `t.BoundAttribute` and `t.BoundEvent` for two-way bindings but do not want the path to contain both the `t.BoundAttribute` with its children when the position is in the value span because we would then logically create a path that also contains the `PropertyWrite` from the `t.BoundEvent`. This early return condition ensures we target just `t.BoundAttribute` for this case and exclude `t.BoundEvent` children. Fixes https://github.com/angular/vscode-ng-language-service/issues/1626 PR Close #45582 15 April 2022, 20:53:48 UTC
c6e0e3f fix(core): improve multiple components match error (#45645) This commit improves the error message that is thrown at runtime when multiple components match the same element. Now the error message contains names of classes that represent those components. PR Close #45645 15 April 2022, 20:52:19 UTC
2e97312 test(core): add a test for multiple named interpolations with the same name (#45651) The test from this commit verifies that i18n logic can handle multiple named interpolations with the same name. PR Close #45651 15 April 2022, 20:51:55 UTC
96fd29c fix(router): validate lazy loaded configs (#45526) Lazy loaded configs are not validated at runtime like the initial set of routes are. This change also validates lazy loaded configs right after they're loaded. BREAKING CHANGE: Lazy loaded configs are now also validated once loaded like the initial set of routes are. Lazy loaded modules which have invalid Route configs will now error. Note that this is only done in dev mode so there is no production impact of this change. Fixes #25431 PR Close #45526 15 April 2022, 19:30:44 UTC
f13295f perf(router): cancel the navigation instantly if at least one resolver doesn't emit any value (#45621) Recently the navigation was on hold even at least one resolver didn't emit any value and completed, but another ones still are in progress to resolve any value. The changes cancel the navigation instantly if at least one resolver doesn't emit any value and completed. PR Close #45621 15 April 2022, 17:06:26 UTC
770ea92 build: update dependency @microsoft/api-extractor to v7.22.2 (#45641) PR Close #45641 15 April 2022, 16:27:39 UTC
b5b0a50 docs: fix typo (#45637) Replace wrong mention of 'heroService.delete()' with 'heroService.deleteHero()' because 'heroService.delete()' doesn't exist and 'heroService.deleteHero()' should be mentioned instead Resolves #45636 PR Close #45637 14 April 2022, 23:30:03 UTC
7d2a619 build: update all non-major dependencies (#45632) PR Close #45632 14 April 2022, 22:02:45 UTC
6444a02 docs: move old changelog entries to a separate file (#45638) This commit moves all release notes for everything before v11.0.0 to a separate file, so that the changelog can be rendered correctly via GitHub UI. Closes #45635. PR Close #45638 14 April 2022, 22:01:21 UTC
2f08b80 build(docs-infra): upgrade cli command docs sources to 5bd17a256 (#45630) Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master). ## Relevant changes in [commit range](https://github.com/angular/cli-builds/compare/0e8f3c34b...5bd17a256): **Added** - help/completion.json PR Close #45630 14 April 2022, 22:00:40 UTC
94fba9b docs(core): fix typo in View Encapsulation code example (#45629) Fix closing tag name to match opening one (`</hero-detail>` --> `<hero-details>`). PR Close #45629 14 April 2022, 22:00:04 UTC
e0a2248 feat(forms): Add a FormRecord type. (#45607) As part of the typed forms RFC, we proposed the creation of a new FormRecord type, to support dynamic groups with homogenous values. This PR introduces FormRecord, as a subclass of FormGroup. PR Close #45607 14 April 2022, 21:59:10 UTC
f8a1ea0 fix(bazel): do not error if files part of `srcs` are outside of package (#45622) We recently refactored how the ng package rule deals with static files. As part of this refactoring, transitive files outside of the current Bazel package were flagged as errors, while previously this was just ignored. We need to revert back this behavior (even though code remains much simpler and predicable now) since sass library targets for example reference all transtive files in the default info and break packages then PR Close #45622 14 April 2022, 21:58:27 UTC
000363e refactor(router): combine functions for getting loaded config (#45613) There are two functions which do the same thing and are meant to search for the closest loaded config in the `ActivatedRouteSnapshot` parent tree. These can be combined to reduce code duplication. One difference in the current implementation is the early exit for the implementation in `activate_routes` when `route.component` is defined. This early exit takes advantage of the fact that the component must then also have a `RouterOutlet`, which injects `ComponentFactoryResolver`, which would end up being the same one as what would be found if we continued to look up the parent tree. This is only a tiny optimization that will actually break when we add `providers` as a feature to the `Route` config. In this scenario, we _must_ find the correct injector in the parent routes and cannot rely on a parent `RouterOutlet` since there may be some route with a providers list in between. PR Close #45613 14 April 2022, 00:29:42 UTC
e250db4 refactor(core): avoid referencing `PlatformRef` in bootstrap code (#45519) This commit updates an existing bootstrap logic to avoid referencing the `PlatformRef` instance to keep track of the platform status. Instead, we use platform injector, so that the `PlatformRef`can be tree-shaken away in the bootstrap logic for Standalone Components. The motivation for this change is that retaining the `PlatformRef` class also retains NgModule-based bootstrap code, which would not be needed in case of Standalone Components. PR Close #45519 13 April 2022, 22:34:46 UTC
fbbed3d release: cut the v14.0.0-next.13 release (#45616) 13 April 2022, 18:40:40 UTC
0f8e181 docs: release notes for the v13.3.3 release (#45615) 13 April 2022, 18:37:13 UTC
47e7a28 refactor(router): Add warning for `relativeLinkResolution: 'legacy'` (#45523) This change adds code to compute the corrected value for a link, regardless of the `relativeLinkResolution` value. Then, if the `relativeLinkResolution` is set to `legacy` and differs from the correct value, a warning is printed to the console in dev mode. This change is meant to assist in notifying developers that they have code which relies on the deprecated, broken behavior so they can fix and update the code before the `relativeLinkResolution` option is fully removed. PR Close #45523 13 April 2022, 17:19:08 UTC
598b759 fix(compiler): avoid errors with extremely long instruction chains (#45574) Our logic for generating code from an AST uses recursion which limits the number of expressions we can nest before we reach the call stack limit. These changes add a limit in order to avoid errors in some cases where the chains become extremely long. Fixes #45564. PR Close #45574 13 April 2022, 16:18:55 UTC
7bf1cf4 build: update all non-major dependencies (#45493) PR Close #45493 13 April 2022, 15:33:33 UTC
a6ab3f7 docs: fix grammar (#45455) PR Close #45455 12 April 2022, 23:55:32 UTC
9e86a31 docs: fix to comply with new codeblock guidelines (#45455) PR Close #45455 12 April 2022, 23:55:32 UTC
062fa76 docs: modified as per dylhunn suggestions (#45455) https://github.com/angular/angular/pull/45455#pullrequestreview-925369970 PR Close #45455 12 April 2022, 23:55:32 UTC
b9e7983 docs: update template reference variables (#45455) - Specify `NgForm` gets applied by default on `<form>` elements before the long example using it - Move the strange (and questioned in a commented line) snippet about undefined ref vars in a standalone paragraph and clarify its meanings (adding the part about directive just because there was something similar already there) - Extend and modify `*ngFor` example, since in the original that was misleading to think reference variable couldn't be used inside a loop - Remove two lines stating that with `*ngIf` and `*ngFor` the framework cannot know if a template is ever instantiated (can't see how this relate with the page) - Add an explanation of assignment of default `$implicit` value to undefined input variables - Modify template example for template input variable to be a complete ngForOf loop instead of the original poor intelligible truncated one - Replace last generic statements about variable namespaces with a more pragmatic and explanatory one concerning the resolution in case of homonymy PR Close #45455 12 April 2022, 23:55:32 UTC
9add714 refactor(core): remove deprecated `aotSummaries` fields in TestBed config (#45487) BREAKING CHANGE: Since Ivy, TestBed doesn't use AOT summaries. The `aotSummaries` fields in TestBed APIs were present, but unused. The fields were deprecated in previous major version and in v14 those fields are removed. The `aotSummaries` fields were completely unused, so you can just drop them from the TestBed APIs usage. PR Close #45487 12 April 2022, 23:29:38 UTC
89ed8d8 refactor(core): make ComponentFactoryResolver lazily instantiated in ApplicationRef (#45507) This commit removes the `ComponentFactoryResolver` as a constructor argument of the `ApplicationRef` class. This makes it lazily instantiated + simplifies further refactoring in a context of Standalone Components. PR Close #45507 12 April 2022, 22:29:17 UTC
f38c344 refactor(core): make platform core providers tree-shakable (#45506) This commit refactors the set of hardcoded platform core providers into tree-shakable providers. In addition to making them tree-shakable, this would also avoid the need to rely on the platform creation logic in an upcoming bootstrap logic for Standalone Components. PR Close #45506 12 April 2022, 22:28:23 UTC
3c1695e docs: make tutorial instructions consistent (#45372) When starting this tutorial, it's not clear to the user whether they should add routing right away, Etc. The other tutorials within the routing section do a better job of this. Also.. the suggested name of this sample app clashes with that of a previous tutorial, forcing the user to either delete the previous tutorial files, choose a different name for this tutorial's app, or place this app in a different parent directory. Conflicts: aio/content/guide/router-tutorial-toh.md PR Close #45372 12 April 2022, 22:27:37 UTC
8d7351d build: only allow renovate to run on Monday nights (#45605) By running renovate once a week, we can consolidate all the updates into a single weekly PR, before each Wednesday release. That will significantly reduce the burden on caretakers, and make patch ports less onerous. PR Close #45605 12 April 2022, 22:26:48 UTC
663d477 refactor(core): remove duplicated code in change_detection_util (#45599) Removes duplicated code in change_detection_util and reorganizes imports to use utils module. PR Close #45599 12 April 2022, 22:26:09 UTC
820077d build: update dependency glob to v8 (#45598) PR Close #45598 12 April 2022, 22:02:26 UTC
83920af docs: new Pipes custom data doc (#45505) PR Close #45505 12 April 2022, 21:29:06 UTC
0d6325b docs: pipes custom data transform (#45505) PR Close #45505 12 April 2022, 21:29:06 UTC
ee3cfc8 docs: fix path typo (#45604) PR Close #45604 12 April 2022, 21:27:49 UTC
0528b47 docs: fix final code review section codetabs path (#45604) Fix paths for codetabs in final review section messed up by this commit https://github.com/angular/angular/commit/42289f25c69ec7a36d2e3ef424d32f77bc7cd19a They were all pointing to `heroes-search.component` PR Close #45604 12 April 2022, 21:27:49 UTC
79de026 docs: add powershell execution policies note (#45576) Fixes #44598 PR Close #45576 12 April 2022, 21:13:59 UTC
6532328 release: cut the v14.0.0-next.12 release (#45603) PR Close #45603 12 April 2022, 20:00:50 UTC
c7bf75d fix(platform-browser): remove obsolete shim for Map comparison in Jasmine (#45521) Angular now uses Jasmine 2.8 as a minimum version (required by protractor; most of it is using ^3.5.0 which currently resolves to 3.99.0), which makes this shim obsolete - all versions of Jasmine used have Map comparison built in. This shim causes problems for custom equality checkers - when using a Map containing types needing a custom equality check, this fails because the call to `jasmine.matchersUtil.equals` from the shim does not use any of the custom equality matchers. PR Close #45521 12 April 2022, 18:43:37 UTC
b5f39c5 docs(devtools): updating firefox documentation (#44952) updating typo PR Close #44952 12 April 2022, 18:41:37 UTC
e589bc6 feat(devtools): added string flag for browser support (#44952) * Added `flag_browser` to toggle between different browser builds chrome and firefox * Updated build command to support new flag configuration PR Close #44952 12 April 2022, 18:41:37 UTC
bc0b6fe feat(devtools): adding firefox support (#44952) * Updating manifest.json to new build structure * Adding doctype to pages to remove warnings PR Close #44952 12 April 2022, 18:41:37 UTC
9f1bcc7 docs(devtools): updating firefox documentation (#44952) Updating dist path to load Firefox DevTools PR Close #44952 12 April 2022, 18:41:37 UTC
ceb19c0 feat(devtools): renaming shell-chrome (#44952) Renaming `shell-chrome` to `shell-browser` contains the build that supports both browsers. PR Close #44952 12 April 2022, 18:41:37 UTC
d54d1fd feat(devtools): dynamic build support for devtools (#44952) * Updating build to support both browsers firefox & chrome. * Added new `config_setting` to support build. * Added new genrule `copy_manifest` to `prodapp` pkg_web. PR Close #44952 12 April 2022, 18:41:37 UTC
47ceffc docs(devtools): updating firefox development documentation (#44952) Updating Firefox DevTools documentation to be more descriptive and removing images. PR Close #44952 12 April 2022, 18:41:37 UTC
2b73d95 feat(devtools): updating firefox manifest json file (#44952) Updating `manifest.json` file for firefox. PR Close #44952 12 April 2022, 18:41:37 UTC
60f2cfd docs(devtools): adding firefox development documentation (#44952) Adding DevTools documentation for Firefox. PR Close #44952 12 April 2022, 18:41:37 UTC
e231d3c feat(devtools): adding firefox support for devtools (#44952) Adding Firefox support for Angular DevTools. PR Close #44952 12 April 2022, 18:41:37 UTC
eb2f449 docs(docs-infra): add missing period in `aio/README.md` (#45584) PR Close #45584 12 April 2022, 18:40:46 UTC
222d866 docs: fix `schematicCollections` option (#45602) PR Close #45602 12 April 2022, 18:40:08 UTC
89d2991 feat(forms): Implement strict types for the Angular Forms package. (#43834) This PR strongly types the forms package by adding generics to AbstractControl classes as well as FormBuilder. This makes forms type-safe and null-safe, for both controls and values. The design uses a "control-types" approach. In other words, the type parameter on FormGroup is an object containing controls, and the type parameter on FormArray is an array of controls. Special thanks to Alex Rickabaugh and Andrew Kushnir for co-design & implementation, to Sonu Kapoor and Netanel Basal for illustrative prior art, and to Cédric Exbrayat for extensive testing and validation. BREAKING CHANGE: Forms classes accept a generic. Forms model classes now accept a generic type parameter. Untyped versions of these classes are available to opt-out of the new, stricter behavior. PR Close #43834 12 April 2022, 17:37:04 UTC
d11d1c0 Revert "refactor(router): Add warning for `relativeLinkResolution: 'legacy'` (#45523)" (#45594) This reverts commit d180db15bf7aef83335ec152002e58a1d9e3031e. PR Close #45594 12 April 2022, 00:08:41 UTC
3fceba4 refactor(animations): include pushUnrecognizedPropertiesWarning in ngDevMode check (#45591) the check for unsupported CSS properties has been made dev-mode-only in PR #45570, so the check for the unsupportedCSSPRopertiesFound can be moved inside a ngDevMode check so that more code can be treeshaken away PR Close #45591 11 April 2022, 21:06:03 UTC
0facba5 build: update bazel integration test to RNJ v5.4.0 and Sass 1.50.0 (#45470) Updates Bazel integration to RNJ v5.4.0. This is needed since it relies on Angular Bazel which now relies on an internal pkg_npm helper breaking change. PR Close #45470 11 April 2022, 21:01:09 UTC
1219c5a refactor(bazel): fix dts bundling by accounting for api-extractor change (#45470) Fixes the dts bundling by accounting for recent API extractor changes which made API-extractor support path mappings. This causes cross-package and cross-entry-point imports to no longer be considered external, resulting in the imports to be dropped. PR Close #45470 11 April 2022, 21:01:09 UTC
4b2e98d fix(bazel): remove unnecessary file extractions from `ng_package` (#45470) Looks like there is some old legacy code for extracting files from NPM packages. This is already captured by the unscoped ESM2020 output extraction. PR Close #45470 11 April 2022, 21:01:09 UTC
28e835b feat(bazel): report error when dependency does not provide JS sources in `ng_package` (#45470) Non-JavaScript source-providing targets in the `ng_package` rule can throw-off the entry-point detection and therefore should be flagged. Currently e.g. a genrule-generated static file might unnecessarily cause additional actions to be generated (non-breaking but just unnecessary) PR Close #45470 11 April 2022, 21:01:09 UTC
636909f feat(bazel): allow for generated `package.json` files in `ng_package` (#45470) Currently the `ng_package` rule does not support generated `package.json` files. Generated `package.json` files are sometimes useful when e.g. dependencies are automatically inserted (e.g. many dependencies in the components repo for the MDC deps) Currently the `package.json` files would be copied as part of the `data` attribute, but they would not be processed. i.e. missing out on the `exports` field and more. We can simplify the rule attributes and make this more ergonomic. PR Close #45470 11 April 2022, 21:01:09 UTC
48b8a1f build: update all non-major dependencies (#45470) Updates all non-major dependencies, including Bazel PR Close #45470 11 April 2022, 21:01:09 UTC
d180db1 refactor(router): Add warning for `relativeLinkResolution: 'legacy'` (#45523) This change adds code to compute the corrected value for a link, regardless of the `relativeLinkResolution` value. Then, if the `relativeLinkResolution` is set to `legacy` and differs from the correct value, a warning is printed to the console in dev mode. This change is meant to assist in notifying developers that they have code which relies on the deprecated, broken behavior so they can fix and update the code before the `relativeLinkResolution` option is fully removed. PR Close #45523 11 April 2022, 20:51:15 UTC
f1630bb docs: Fix several typos in the angular documentation (#45573) PR Close #45573 11 April 2022, 17:41:59 UTC
9572bb2 refactor(animations): use full ngDevMode check in animatable prop validation (#45570) in the `validateAnimatableStyleProperty` function use the more complete check for the ngDevMode as it seems to be the preferred version (see: https://github.com/angular/angular/pull/45212#discussion_r823045428) PR Close #45570 11 April 2022, 16:52:02 UTC
a6fa37b feat(animations): make validateStyleProperty check dev-mode only (#45570) make the validateStyleProperty check dev-mode only so that it is consistent with the validateAnimatableStyleProperty check introduced in PR #45212 besides consistency this change also reduces the payload size and increases performance (since less logic is executed) original conversation: https://github.com/angular/angular/pull/45212#discussion_r818106737 PR Close #45570 11 April 2022, 16:52:02 UTC
b13a453 build: update dependency google-closure-compiler to v20220405 (#45568) PR Close #45568 11 April 2022, 16:26:25 UTC
41223a8 build: update to jasmine 4.0 (#45558) Updates us to version 4.0 of Jasmine and fixes some errors that were the result of us depending upon deprecated APIs. We need to do this both to stay up to date and because it was going to break eventually, because one of the Bazel packages was logging a deprecation warning that version 4.0 was required. There were also some cases where the state of `ngDevMode` had started leaking out between tests. PR Close #45558 11 April 2022, 16:25:28 UTC
8d85f24 build: refactor global approvals to be done via overrides, adding dev-infra global approvers (#44866) Add dev-infra global approver support and change global approval management to be done via overrides. By using overrides to determine global approval status, we can safely ignore the concept of global approval in all of the other group management. PR Close #44866 11 April 2022, 16:24:46 UTC
0fed2ba build: update pullapprove to assign caretakers to renovate PRs (#44866) Automatically assign renovate generated PRs to the current caretakers. PR Close #44866 11 April 2022, 16:24:46 UTC
20fbb4c build: update github/codeql-action action to v2.1.8 (#45542) PR Close #45542 11 April 2022, 16:22:26 UTC
a6bf2c5 build: update dependency eslint-plugin-jsdoc to v39 (#45562) PR Close #45562 11 April 2022, 16:17:28 UTC
4c1ce82 build: fix typo in package.json file comment (#45569) Change comment in scripts section of package.json PR Close #45569 11 April 2022, 16:14:16 UTC
b96d6ea build: update dependency @types/chrome to ^0.0.181 (#45586) PR Close #45586 11 April 2022, 16:13:00 UTC
e0ac614 docs: update test threshold \nupdate test threshold to get this content merged. (#45325) PR Close #45325 08 April 2022, 19:36:31 UTC
bf1294b docs: apply suggestions from code review (#45325) Apply editorial suggestions for peer review. Co-authored-by: Tiffany Davis <88161089+TMDavisGoogle@users.noreply.github.com> PR Close #45325 08 April 2022, 19:36:30 UTC
42289f2 docs: improve markdown (#45325) The purpose of the changes is to clean all markdown to match a single pedantic style. * To ensure all changes in style are properly separated. * To ensure all styled content aligns to nearest 4-character-tab. * To ensure all code blocks use the Angular `<code-example>` or `<code-tab>` elements. * To ensure all markdown exists outside of html tags. * To ensure all images use the Angular style for `<img>` elements. * To ensure that all smart punctuation is replaced or removed. ```text ’, ’, “, ”, –, —, … ``` * To ensure all content does not conflict with the following reserved characters. ```text @, $, *, &, #, |, <, >, ``` * To ensure all content displays using html entities. The following changes were made to files in the following directory. ```text aio/content ``` The target files were markdown files. The list of excluded files: ```text .browserslistrc, .css, .conf, .editorconfig, .gitignore, .html, .js, .json, .sh, .svg, .ts, .txt, .xlf, ``` PR Close #45325 08 April 2022, 19:36:30 UTC
7a37fe9 Revert "build: update to jasmine 4.0 (#45558)" (#45566) This reverts commit a248df06824db1c40346b84de07ff905b0d0606f. PR Close #45566 08 April 2022, 19:07:29 UTC
a248df0 build: update to jasmine 4.0 (#45558) Updates us to version 4.0 of Jasmine and fixes some errors that were the result of us depending upon deprecated APIs. We need to do this both to stay up to date and because it was going to break eventually, because one of the Bazel packages was logging a deprecation warning that version 4.0 was required. There were also some cases where the state of `ngDevMode` had started leaking out between tests. PR Close #45558 08 April 2022, 15:55:58 UTC
60b5a3d refactor(core): validate property (#45528) Simplifies and documents the `validateProperty` function (in a similar fashion that #45492 simplified `validateElementIsKnown`). PR Close #45528 07 April 2022, 22:03:13 UTC
2a81e44 docs: remove out-of-order `<h3>` elements from footer (#45510) The footer uses `h3` elements out of order, which causes a "Heading elements are not in a sequentially-descending order" a11y error. Replace the `h3` elements with `div` to improve a11y. Fixes #44338 PR Close #45510 07 April 2022, 21:01:58 UTC
f8f3ab3 fix(router): Remove `any` from `LoadChildrenCallback` type (#45524) The `LoadChildrenCallback` type previously included `any` in the possible return value union for `Promise`. This is too loose and should be restricted to values that are actually supported. BREAKING CHANGE: When returning a `Promise` from the `LoadChildrenCallback`, the possible type is now restricted to `Type<any>|NgModuleFactory<any>` rather than `any`. PR Close #45524 07 April 2022, 21:01:09 UTC
back to top