https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
3cce18e release: cut the v15.2.0-next.3 release 02 February 2023, 21:24:18 UTC
65329a9 Revert "build: pin dependency aspect_bazel_lib to de8d9ca (#48887)" (#48928) This reverts commit b0a5b3873a1c5ac932d95c5af0b2a726ad9dca33. PR Close #48928 02 February 2023, 18:56:30 UTC
9250afb refactor(compiler-cli): Export the interface PluginCompilerHost for 1p use. (#48874) Some 1p module which uses the method TscPlugin.wrapHost requires to import this type to make its internal class definitions compatible with this type. PR Close #48874 02 February 2023, 17:44:18 UTC
16ef770 fix(router): Handle routerLink directive on svg anchors. (#48857) On svgs, the tagNames are lowercase even for non-svg related tags like `a`. fixes #48854 PR Close #48857 02 February 2023, 17:38:06 UTC
6e0e94d build: update cross-repo angular dependencies (#48875) See associated pull request for more information. PR Close #48875 02 February 2023, 17:37:39 UTC
fc6d898 build: update dependency madge to v6 (#48877) See associated pull request for more information. PR Close #48877 02 February 2023, 17:37:13 UTC
7030fb8 docs: display the exact command to generate a browserslist config (#48879) `ng generate config browserslist` is the command to generate the browerslist fixes #48878 PR Close #48879 02 February 2023, 17:36:47 UTC
8389557 fix(migrations): don't copy unmigrated declarations into imports array (#48882) Currently the migration is set up to assume that any elements that exist in a `declarations` array will be converted to standalone and copied into the `imports` array, however that might be incorrect for some special cases like the root component. These changes rework the declaration merging logic so that they take all the declarations being migrated into account. PR Close #48882 02 February 2023, 17:35:57 UTC
8273800 build: update actions/cache digest to 627f0f4 (#48884) See associated pull request for more information. PR Close #48884 02 February 2023, 17:33:20 UTC
b0a5b38 build: pin dependency aspect_bazel_lib to de8d9ca (#48887) See associated pull request for more information. PR Close #48887 02 February 2023, 17:32:50 UTC
7f8d1b5 build: update eslint dependencies to v5.50.0 (#48892) See associated pull request for more information. PR Close #48892 02 February 2023, 17:32:22 UTC
2edb822 build: update io_bazel_rules_sass digest to 901d22c (#48897) See associated pull request for more information. PR Close #48897 02 February 2023, 17:31:42 UTC
584976e fix(migrations): support --defaults in standalone migration (#48921) Fixes that running the standalone migration with `--defaults` was throwing an error, because all the properties were specified as required. We don't need to set them as required, because they have default values. Fixes #48845. PR Close #48921 02 February 2023, 17:31:09 UTC
a40cd47 fix(migrations): avoid modifying testing modules without declarations (#48921) Fixes that we were changing the testing modules that have no `declarations` unnecessarily, resulting in more formatting changes that users would have to clean up. PR Close #48921 02 February 2023, 17:31:09 UTC
8a9907c refactor(common): Remove currency pipe depreciation notice about the default currency (#48872) Currency pipe won't be using the LOCALE_ID to determine the default currency. fixes #47612 PR Close #48872 02 February 2023, 17:30:04 UTC
5c5d365 docs: fix indentation error in content/guide/build.md (#48893) PR Close #48893 02 February 2023, 17:29:16 UTC
33b9cb8 refactor: remove todos on forms tests (#48894) Removing the todos implied using fakeAsync and passing an async validator as async (3rd parameter). PR Close #48894 02 February 2023, 17:28:39 UTC
6edf35c refactor(forms): remove deprecated uses from the unit tests (#48894) Jasmine has deprecated the `expectationFailOutput` argument and replaced it by the `withContext()` method Also removing all references to #24571 from the forms unit tests as the non null assertions are fine in the context. PR Close #48894 02 February 2023, 17:28:39 UTC
2fc5b70 fix(platform-server): insert transfer state `script` before other `script` tags (#48868) Previously, the state `script` was always appended as the last item in the `body` tag. This can result in the state not being available when the Angular application is bootstrap. A workaround for this was to delay the bootstrapping of the application until by using the `DOMContentLoaded` event listener. ```ts const bootstrap = () => platformBrowserDynamic().bootstrapModule(AppModule); document.addEventListener('DOMContentLoaded', bootstrap); ``` With this change the above workaround is no longer necessary as the state `script` tag is now added prior of any other `script` which guarantees that the state is present prior of the Angular application is bootstrapped. PR Close #48868 31 January 2023, 00:54:07 UTC
03f47ac fix(migrations): use consistent quotes in generated imports (#48876) Adds some logic so that the imports generated by the `ImportManager` use the same styles as the other imports. PR Close #48876 31 January 2023, 00:52:23 UTC
d3a14d9 docs(docs-infra): update strongbrew resource to new website (#48340) StrongBrew has stopped a few years back. We are taking over at https://simplified.courses where we have an Angular blog, do on-site training and create content. PR Close #48340 27 January 2023, 17:07:19 UTC
f82bdc4 fix(migrations): don't delete classes that may provide dependencies transitively (#48866) Fixes that we would incorrectly remove a module that imports another module which has providers. This is a follow-up from the following discussion: https://github.com/angular/angular/pull/48832#discussion_r1086623514 PR Close #48866 27 January 2023, 16:55:20 UTC
c865b8b docs(migrations): follow-up readme fixes (#48866) Addresses a couple of notes from #48848 that came in after the PR was merged. PR Close #48866 27 January 2023, 16:55:20 UTC
869c9ac docs: add angular getting started course (#48619) PR Close #48619 27 January 2023, 16:51:06 UTC
c2dc51a docs: add this is angular to Community Curations (#48618) PR Close #48618 27 January 2023, 16:23:53 UTC
8d3e246 docs: update Reactive Forms' FormControl usage description (#48858) It seems that the description of the `FormControl` usage is incorrect or at least the copy is not very helpful for beginners and can be very confusing as we do not have a command to generate a `FormControl`, as far as I know 😄. Additionally, the link for component generation points to the CLI page instead of the component generation section on the CLI page. It would be DX/UX for readers and users to get where the link's text is supposed to take them. PR Close #48858 27 January 2023, 16:22:11 UTC
2352f8d docs(docs-infra): in navigation put prerequisites page 'guide/property-binding' before 'guide/attribute-binding' (#48766) Pages 'https://angular.io/guide/attribute-binding' and 'https://angular.io/guide/class-binding' have prerequisite of 'https://angular.io/guide/property-binding' but in navigation the property binding page comes much later. The change puts the binding pages in prerequisite order. PR Close #48766 27 January 2023, 16:21:28 UTC
b418754 fix(animations): fix non-animatable warnings for easing (#48583) the easing "prop" used to specify the easing function to apply to animations isn't a valid css property, it is thus considered not animatable but different values for such property shouldn't cause non-animatable warnings resolves #48571 PR Close #48583 26 January 2023, 22:03:07 UTC
33a636a docs: fix crisis-center / crisis-list route parameter (#48853) The params is in the child component, let's reflect that in the code. fixes #36970 PR Close #48853 26 January 2023, 22:01:42 UTC
e7a4fd3 build: update cross-repo angular dependencies (#48843) See associated pull request for more information. PR Close #48843 26 January 2023, 22:00:41 UTC
ed8f701 docs(core): add readme for standalone migration (#48848) Updates the readme for the standalone migration to describe the process and the different transformations that are happening. PR Close #48848 26 January 2023, 17:02:50 UTC
345e737 feat(core): add ng generate schematic to convert to standalone bootstrapping APIs (#48848) Adds a new mode to the `@angular/core:standalone` schematic that allows users to switch from `bootstrapModule` to `bootstrapApplication`, as well as `provideRouter`, `provideAnimations` and `provideNoopAnimations`. PR Close #48848 26 January 2023, 17:02:50 UTC
04e0ac3 fix(migrations): migration host incorrectly reading empty files (#48849) Fixes that the migration host was doing a basic falsy check if the content was read correctly which meant that a component with an empty template would be considered as having a missing template file. Fixes #48846. PR Close #48849 26 January 2023, 15:54:14 UTC
65c74ed fix(migrations): normalize paths to posix (#48850) Both TypeScript and Angular Schematic rely on posix system paths which can cause issues on Windows if paths are not normalized correctly. Such as `sourceFile.fileName.startsWith(pathToMigrate)` on Windows will always return falsey. PR Close #48850 26 January 2023, 15:53:48 UTC
2796230 fix(migrations): add `enum` in `mode` option in `standalone` schema (#48851) Currently the `mode` is validated during schematic execution. While this cover a case of incorrect value this caused other parts were the correct values cannot be determined. Options in schemas are used for a number of reasons during runtime. - These are used to build auto complete - Validation of inputs prior of the schematic is built with meaningful errors such as suggested inputs. - Generation of help output. Eventually these should also be used to generate DTS. This is already done in the CLI to avoid having to write Types manually. PR Close #48851 26 January 2023, 15:52:48 UTC
dedac8d feat(router): Add test helper for trigger navigations in tests (#48552) In order to test components and services which depend on router navigations, such as `ActivatedRoute` instances, tests currently need to provide a fair bit of boilerplate _or_ they can set up a stub for `ActivatedRoute` and list it in the `providers` to override it in `TestBed`. This approach of stubbing the `ActivatedRoute` creates a situation that can easily cause the test to break. The stub often only mocks out the dependencies that the component/service _currently_ needs. This dependencies might change over time and break the test in an unexpected way. In addition, it is difficult to get the structure of `ActivatedRoute` exactly correct. This change will allow unit tests to quickly set up routes, trigger real navigations in the Router, and get instances of component's to test along with real instances of `ActivatedRoute`. This all comes without needing to know that the component depends on `ActivatedRoute` at all. This becomes more important when considering that a component may be refactored in the future to use `@Input` rather than access data on the `ActivatedRoute` instance (see #18967). Tests which mock out `ActivatedRoute` would all break, but those which use `navigateForTest` would continue to work without needing any updates. resolves #15779 resolves #48608 PR Close #48552 25 January 2023, 19:31:38 UTC
930020c refactor(router): Move `afterNextNavigation` helper function to a reusable location (#48552) There may be use-cases in the future where `afterNextNavigation` is used in other locations. For example, a test helper function which navigates should likely wait for all redirects to complete rather than simply waiting for the promise returned from `navigate` to resolve. PR Close #48552 25 January 2023, 19:31:38 UTC
a055196 fix(common): warn if using ngSrcset without a configured image loader (#48804) Warn the user in the console in case the `ngSrcset` is present and no loader is configured. In this case, the default loader is used and it ignores this attribute. PR Close #48804 25 January 2023, 19:27:00 UTC
5915c72 refactor(upgrade): rewrite the downgrade component adapter (#48715) To remove the non-null assertions linked to #24571, DowngradeComponentAdapter has been refactored and the public methods have been simplifed. PR Close #48715 25 January 2023, 18:32:05 UTC
67c9d52 refactor(upgrade): code cleaning on upgrade module (#48715) This commit removes unused code, non-null assertions linked to #24571 and improves readability PR Close #48715 25 January 2023, 18:32:05 UTC
2239120 refactor(upgrade): code cleaning on tests (#48715) This commit removes the null assertions linked to #24571 PR Close #48715 25 January 2023, 18:32:05 UTC
06e161f fix(compiler): incorrect code when non-null assertion is used after a safe access (#48801) Fixes that the expression converter was producing code that throws a runtime error if a non-null assertion is used as a part of a safe read, write or call. Fixes #48742. PR Close #48801 25 January 2023, 18:31:37 UTC
fd539a2 docs: fix the documentation for BootstrapOptions (#48834) Inline code was being rendered on aio, this commit fixes this. PR Close #48834 25 January 2023, 18:31:08 UTC
14aefa1 docs: add new files for HTTP content (#47684) PR Close #47684 25 January 2023, 18:29:47 UTC
c91606b release: cut the v15.2.0-next.2 release 25 January 2023, 17:09:50 UTC
d7b4b42 docs: release notes for the v15.1.2 release 25 January 2023, 16:54:26 UTC
e7318fc feat(core): add ng generate schematic to remove unnecessary modules (#48832) Adds a new mode to the `@angular/core:standalone` schematic that automatically deletes modules that may not be necessary after the previous step of converting them to standalone. PR Close #48832 25 January 2023, 16:20:27 UTC
1063404 docs: update Angular CLI help [main] (#48827) Updated Angular CLI help contents. PR Close #48827 24 January 2023, 21:27:02 UTC
87fe316 refactor: remove unnecessary test support check utilities (#47543) remove the following utilities used in unit tests which check for features that are supported by all supported browsers: - supportsCustomElements - supportsWebAnimation - supportsRegExUnicodeFlag - supportsTemplateElement also remove the following utilities which check for features that are not supported (and aren't going to be) by any of the supported browsers: - supportsDeprecatedCustomCustomElementsV0 - supportsDeprecatedShadowDomV0 PR Close #47543 24 January 2023, 21:06:09 UTC
402fcc5 refactor(localize): bundle message digest algorithm directly in npm package (#48799) The main entry point for the `@angular/localize` package no longer imports the `@angular/compiler` package and now has no external dependencies. This allows the main functionality of the package to be used without requiring any other Angular packages. Only the message digest algorithm implementation from the `@angular/compiler` package was being used and this code is now bundled directly into the final npm package for `@angular/localize`. The `tooling` secondary entry point still leverages and requires Angular related packages (`@angular/compiler`/`@angular/compiler-cli`). However, the tooling functionality is not intended to be used and/or bundled in a web application. Closes #48163 PR Close #48799 24 January 2023, 18:31:25 UTC
3440778 build: update cross-repo angular dependencies (#48437) See associated pull request for more information. PR Close #48437 24 January 2023, 18:30:43 UTC
c2cd0c5 fix(docs-infra): consistent table width with min-width:100% (#48815) Let's have a consistent min-width of the tables across AIO to improve the look of the docs. fixes #43840 PR Close #48815 24 January 2023, 18:30:04 UTC
bc8cfa2 fix(compiler): handle css selectors with space after an escaped character. (#48558) In Css, selectors with escaped characters require a space after if the following character is a hex character. ie: .\fc ber which matches class="über" These escaped selectors happen for example when esbuild run with `optimization.minify` fixes #48524 PR Close #48558 24 January 2023, 17:46:33 UTC
a154db8 feat(core): add ng generate schematic to convert declarations to standalone (#48790) Implements a new `ng generate @angular/core:standalone` schematic that allows the user to convert all the declarations in a set of NgModules to standalone. PR Close #48790 24 January 2023, 16:48:19 UTC
b37a624 build: set up ng generate schematics for core (#48790) Adds the necessary boilerplate to allow for `ng generate` schematics to be included with `@angular/core`. PR Close #48790 24 January 2023, 16:48:19 UTC
69c3d28 refactor(migrations): minor improvements to existing schematic utilties (#48790) Makes the following minor improvements to our current schematic utilities: * `closestNode` now takes a TS predicate function instead of a `SyntaxKind`. This allows it automatically infer the type of the match. * `getImportSpecifier` now accepts a regex for the module name. This will be useful for some upcoming migrations. * Splits the logic for creating the migration program options into a separate function so that it's easier to reuse. * `createMigrationProgram` now returns the program directly, instead of a literal with some other information. * `FakeReadFileFn` and `createMigrationCompilerHost` aren't exported anymore since they aren't used anywhere. PR Close #48790 24 January 2023, 16:48:19 UTC
e4b2845 refactor(migrations): allow for aliases to be specified in the import manager (#48790) Adds the ability to set an alias when adding an import through the `ImportManager`. This will be required in some upcoming schematics. PR Close #48790 24 January 2023, 16:48:19 UTC
c03e6a6 docs: Use of $any() has no runtime incidence. (#48785) Some users are woried about `$any()` as function calls are to be avoided in templates. This sentence clarifies the situation. fixes #48781 PR Close #48785 24 January 2023, 16:47:33 UTC
4da1f29 fix(compiler-cli): resolve deprecation warning (#48812) This commit updates one usage of the `ts.factory.createMethodDeclaration` API to avoid a deprecated function signature, which avoids logging a warning. PR Close #48812 24 January 2023, 16:45:12 UTC
28da74c test: update size golden to reflect Angular cross dependency updates (#48809) The increase is caused by changes in Material which causes more CSS to be generated. Before ```css .mat-pseudo-checkbox { color: #0000008a; } .mat-pseudo-checkbox:after { color: #fafafa; } .mat-pseudo-checkbox-disabled { color: #b0b0b0; } .mat-primary .mat-pseudo-checkbox-checked, .mat-primary .mat-pseudo-checkbox-indeterminate { background: #1976d2; } .mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-indeterminate, .mat-accent .mat-pseudo-checkbox-checked, .mat-accent .mat-pseudo-checkbox-indeterminate { background: #d32f2f; } .mat-warn .mat-pseudo-checkbox-checked, .mat-warn .mat-pseudo-checkbox-indeterminate { background: #f44336; } .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled { background: #b0b0b0; } ``` After ```css .mat-pseudo-checkbox-full { color: #0000008a; } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled { color: #b0b0b0; } .mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after, .mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after { color: #1976d2; } .mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full, .mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full { background: #1976d2; } .mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after, .mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after { color: #fafafa; } .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after { color: #d32f2f; } .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full { background: #d32f2f; } .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after { color: #fafafa; } .mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after, .mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after { color: #d32f2f; } .mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full, .mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full { background: #d32f2f; } .mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after, .mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after { color: #fafafa; } .mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after, .mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after { color: #f44336; } .mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full, .mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full { background: #f44336; } .mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after, .mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after { color: #fafafa; } .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after, .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after { color: #b0b0b0; } .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full, .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full { background: #b0b0b0; } ``` Closes #48701 PR Close #48809 24 January 2023, 16:44:32 UTC
4cd331b build: update cross-repo angular dependencies (#48809) See associated pull request for more information. (cherry picked from commit f254c98403303aeee20b5d7b94b4799907aa2de9) PR Close #48809 24 January 2023, 16:44:32 UTC
09053f7 build: update github/codeql-action action to v2.1.39 (#48816) See associated pull request for more information. PR Close #48816 24 January 2023, 16:43:02 UTC
f2c8ac5 refactor(service-worker): removing some todos (#48707) Removing some outdated/unnecessary todos. PR Close #48707 24 January 2023, 16:40:23 UTC
82c8b7a build(docs-infra): replace base64 images for stackblitz by svgs (#48774) PNG converted to base64 don't work on stackblitz. As stackblitz does't support binary files for dynamicaly created projects, we now use only svgs. Fixes: #48773 PR Close #48774 24 January 2023, 16:39:28 UTC
a63983d build: Fix version of images in recommended-Dockerfile. node:14-browsers doesn't exist anymore in Dockerhub (#48803) Change the version of recommended-Dockerfile image to cim/node:16.13-browsers. Closes #48802 PR Close #48803 24 January 2023, 16:38:32 UTC
0ad0136 build: update eslint dependencies to v5.49.0 (#48818) See associated pull request for more information. PR Close #48818 24 January 2023, 16:37:36 UTC
f54448c build: remove unused build optimizer dependency (#48797) This dependency is no longer used and causes other versions of e.g. typescript to be installed. We should remove it. PR Close #48797 23 January 2023, 13:39:04 UTC
55d00a7 build: update lock file to reflect latest `package.json` (#48797) It looks like running `yarn` in the repository results in some lock file changes. Likely due to a rebase and changes landing in the meanwhile, the lock file became a little outdated. This commit uploads the lock file as `yarn` suggests. PR Close #48797 23 January 2023, 13:39:04 UTC
b6e3840 refactor(bazel): remove unnecessary banner stamping code (#48798) The `ng_package` rule supports replacing `0.0.0-PLACEHOLDER` in license files that are inserted as part of rollup. This requires additional logic to detect stamping, reading the status files and then replacing the placeholder. All of this already handled as part of normal package substitutions and we can replace this unnecessary complexity. See: https://github.com/bazelbuild/rules_nodejs/blob/da50feb23f911b8b6932d31bbff284fb21b44b6c/internal/pkg_npm/pkg_npm.bzl#L195 PR Close #48798 20 January 2023, 18:39:22 UTC
840530f docs: update supported Chrome version description (#48782) - Update Chrome supported version description to match other browsers. - Updates browserslist configuration in build section to match supported browsers PR Close #48782 20 January 2023, 17:07:53 UTC
2d0ca73 docs: Document extracted from the original Introduction document, which is to be retired. Linting suggested corrections made. Restructuring or rewording sentences to be shorter and clearer. (#47907) PR Close #47907 20 January 2023, 01:21:07 UTC
bca76ed docs: Document extracted from the original Introduction document, which is to be retired. Linting suggested corrections made. Restructuring or rewording sentences to be shorter and clearer. (#47906) docs: Document extracted from the original Introduction document, which is to be retired. Linting suggested corrections made. Restructuring or rewording sentences to be shorter and clearer. docs: revised understanding doc and pullapprove.yml PR Close #47906 19 January 2023, 21:32:34 UTC
08b72b7 refactor(bazel): Extract the helper patchNgHostWithFileNameToModuleName to its own file for 1P use (#48739) Some 1P tools require to use the helper patchNgHostWithFileNameToModuleName, and the present location of this helper leads to circular depedency. So it is required to move this helper into a separate module to facilitate importing. PR Close #48739 19 January 2023, 17:34:57 UTC
9e1e5cc ci: increase payload size for an integration test app (#48772) The most recent commit added extra logic that brought the payload size above the limit. Likely an actual limit was already pretty close to the threshold, so we are just updating the payload. PR Close #48772 18 January 2023, 21:32:42 UTC
4dcab33 fix(router): 'createUrlTreeFromSnapshot' with empty paths and named outlets (#48734) The details of this commit are pretty thoroughly described in the tests and code comments. In short, it is sometimes ambiguous where to apply commands in a `SegmentGroup` tree that is created from an `ActivatedRoute` when dealing with empty paths. This adjusts the strategy to tolerate more ambiguity while still allowing developers to be explicit. This is a fix-forward for b/265215141 PR Close #48734 18 January 2023, 18:46:43 UTC
b5137d8 test(router): update createUrlTree tests to not use mocks (#48734) The mocks in the tests make them hard to understand and they don't always test real router behavior PR Close #48734 18 January 2023, 18:46:43 UTC
3a688cb build(devtools): fix issue where esbuild configs were not being set properly in DevTools (#48762) Previously, a createConfig helper function was created to consolidate common esbuild configurations for DevTools. This function is asynchronous, but when it was used to set the configuration in various esbuild config files, it was used as if it was synchronous. This commit fixes this issue by wrapping the output of the function in await, so that it propagates the configurations to esbuild correctly. PR Close #48762 18 January 2023, 18:45:13 UTC
42ca9c0 docs: update documentation to use `ng generate config` and `ng generate environments` (#48757) In Angular CLI 15.1 new sub commands to generate configuration and environments files were added. This commit updates several docs to mention these commands. Closes #48364 PR Close #48757 18 January 2023, 18:44:14 UTC
fe6a2bd build: update dependency rimraf to v4 (#48726) See associated pull request for more information. PR Close #48726 18 January 2023, 18:43:21 UTC
8377acd release: cut the v15.2.0-next.1 release 18 January 2023, 18:26:02 UTC
318d94d docs: release notes for the v15.1.1 release 18 January 2023, 18:13:45 UTC
9130635 test: update size golden to reflect Angular cross dependency updates (#48747) The `main` bundle size has increased, as well as the CSS styles from Angular Material. Only the `main` bundle exceeded the golden, but we update all other entries to make future updates easier and to prevent gradually getting closer and closer to the threshold. Investigating/comparing the `main` bundles before and after the update did not unveil any significant changes, except for thousands of different identifiers, with different length due to mangling. That seems to be the only reason for having exceeded the threshold. Very likely there were more size-affecting changes over time. Also for example the downleveling of class fields for Safari v15 support. See: https://github.com/angular/angular-cli/issues/24355#issuecomment-1333477033 PR Close #48747 17 January 2023, 18:46:44 UTC
1849ae2 build: update cross-repo angular dependencies (#48747) See associated pull request for more information. PR Close #48747 17 January 2023, 18:46:44 UTC
fb7b8a9 docs: Fix example in breaking changes to apply to correct sentence (#48758) The "for example..." was supposed to apply to the production code, not the test code sentence. fixes #48744 PR Close #48758 17 January 2023, 17:21:50 UTC
b99bd9e build: update eslint dependencies to v5.48.2 (#48756) See associated pull request for more information. PR Close #48756 17 January 2023, 17:17:03 UTC
7840352 build: update all non-major dependencies (#48755) See associated pull request for more information. PR Close #48755 17 January 2023, 17:16:19 UTC
1e30baa test: remove usages of deprecated runSchematicAsync function (#48745) Removes our usages of `runSchematicAsync` since it is deprecated. PR Close #48745 17 January 2023, 17:13:39 UTC
5e5e7d7 build: update Angular packages to 15.1.0 stable (#48745) Bumps up the Angular package dependencies to 15.1.0 stable. PR Close #48745 17 January 2023, 17:13:39 UTC
6beff5e refactor(compiler): rework and expose APIs to be used in schematics (#48730) Reworks some of the existing compiler APIs to make them easier to use in a schematic and exposes a few new ones to surface information we already had. High-level list of changes: * `getPotentialImportsFor` now requires a class reference, instead of a `PotentialDirective | PotentialPipe`. * New `getNgModuleMetadata` method has been added to the type checker. * New `getPipeMetadata` method has been added to the type checker. * New `getUsedDirectives` method has been added to the type checker. * New `getUsedPipes` method has been added to the type checker. * The `decorator` property was exposed on the `TypeCheckableDirectiveMeta`. The property was already present at runtime, but it wasn't specified on the interface. PR Close #48730 13 January 2023, 20:24:32 UTC
5f21c6d perf(common): avoid excessive DOM mutation in NgClass (#48433) This commit represents rewrite of the NgClass directive to address severe performance problem (excessive DOM mutation). The modified algorithm removes all the known performance clifs and has number of desirable properties: - it is shorter and (arguably) easier to follow; - drops usage of existing differs thus limiting dependencies on other part of the code without increasing size of the directive; - doesn't degrade any other performance metrics. Fixes #25518 PR Close #48433 13 January 2023, 18:38:54 UTC
26686a3 refactor(common): remove unnecessary curly brackets (#48433) Remove unnecessary curly brackets in tests. PR Close #48433 13 January 2023, 18:38:54 UTC
5bb1223 refactor(router): remove unused parameter in navigation internal function (#48724) The internal `cancelNavigationTransition` required an unused `router` parameter. PR Close #48724 13 January 2023, 18:37:25 UTC
914e7b0 build: update actions/cache digest to 58c146c (#48564) See associated pull request for more information. PR Close #48564 13 January 2023, 18:35:51 UTC
5b1c7c1 build: update dependency @rollup/plugin-commonjs to v24 (#48530) See associated pull request for more information. PR Close #48530 13 January 2023, 18:35:19 UTC
d47bd48 build: update scorecard action dependencies (#48465) See associated pull request for more information. PR Close #48465 13 January 2023, 18:34:47 UTC
f03f20c build: update actions/checkout digest to ac59398 (#48460) See associated pull request for more information. PR Close #48460 13 January 2023, 18:33:47 UTC
34dda89 build: update io_bazel_rules_sass digest to 57ade09 (#48407) See associated pull request for more information. PR Close #48407 13 January 2023, 18:32:34 UTC
13f10de test: update code fixes spec to work with esm-cjs interop lint (#48731) The TSLint rule for ESM/CJS interop was apparently not working for a short period of time due to diverging TypeScript versions. This commit fixes the lint warning to replace the type-only import with a default import. Even thoughn not striclty needed for types- the rule enforces a default import as that is the safer approach for runtime imported symbols. Also the rule is updated to not disallow `cluster` anymore. The types for cluster do no allow for e.g. `cluster.Worker` if cluster refers to the default import. The whole lint rule is not strictly needed anymore since we build & test with ESM in this repo now! PR Close #48731 13 January 2023, 14:10:39 UTC
1898190 build: update ng-dev and account for stamping changes (#48731) * updates ng-dev and build-tooling since the previous SHAs are no longer existent after the CircleCI incident snapshot build removal. * accounts for the new stamping variables. PR Close #48731 13 January 2023, 14:10:39 UTC
f00bf71 fix(core): makeEnvironmentProviders should accept EnvironmentProviders (#48720) `makeEnvironmentProviders` constructs the wrapped `EnvironmentProviders` type, which can only be used in environment injectors (not element injectors). It makes sense that `makeEnvironmentProviders` should be able to accept existing `EnvironmentProviders`-wrapped providers, since it will be providing the same guarantee, but the current types do not allow this. This commit fixes the typings to allow nesting `EnvironmentProviders` and adds a test to verify that it will work. PR Close #48720 12 January 2023, 21:47:59 UTC
back to top