8377acd | Andrew Kushnir | 18 January 2023, 18:17:46 UTC | release: cut the v15.2.0-next.1 release | 18 January 2023, 18:26:02 UTC |
318d94d | Andrew Kushnir | 18 January 2023, 18:13:25 UTC | docs: release notes for the v15.1.1 release | 18 January 2023, 18:13:45 UTC |
9130635 | Paul Gschwendtner | 16 January 2023, 14:01:25 UTC | 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 | Angular Robot | 15 January 2023, 01:35:10 UTC | 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 | Andrew Scott | 17 January 2023, 14:43:15 UTC | 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 | Angular Robot | 17 January 2023, 06:08:36 UTC | 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 | Angular Robot | 17 January 2023, 06:05:52 UTC | 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 | Kristiyan Kostadinov | 16 January 2023, 09:53:29 UTC | 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 | Kristiyan Kostadinov | 16 January 2023, 09:52:32 UTC | 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 | Kristiyan Kostadinov | 13 January 2023, 19:08:45 UTC | 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 | Pawel Kozlowski | 09 December 2022, 13:16:05 UTC | 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 | Pawel Kozlowski | 09 December 2022, 10:15:04 UTC | refactor(common): remove unnecessary curly brackets (#48433) Remove unnecessary curly brackets in tests. PR Close #48433 | 13 January 2023, 18:38:54 UTC |
5bb1223 | ced | 12 January 2023, 22:33:02 UTC | 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 | Angular Robot | 09 January 2023, 06:02:33 UTC | 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 | Angular Robot | 13 January 2023, 16:09:37 UTC | 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 | Angular Robot | 13 January 2023, 16:09:19 UTC | build: update scorecard action dependencies (#48465) See associated pull request for more information. PR Close #48465 | 13 January 2023, 18:34:47 UTC |
f03f20c | Angular Robot | 05 January 2023, 15:03:06 UTC | 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 | Angular Robot | 11 January 2023, 03:33:59 UTC | 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 | Paul Gschwendtner | 13 January 2023, 13:28:04 UTC | 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 | Paul Gschwendtner | 13 January 2023, 13:15:38 UTC | 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 | Alex Rickabaugh | 12 January 2023, 16:37:46 UTC | 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 |
4ae384f | Dylan Hunn | 20 December 2022, 23:37:07 UTC | feat(language-service): Allow auto-imports of a pipe via quick fix when its selector is used, both directly and via reexports. (#48354) A previous PR introduced a new compiler abstraction that tracks *all* known exports and re-exports of Angular traits. This PR harnesses that abstraction in the language service, in order to allow automatic imports of pipes. PR Close #48354 | 12 January 2023, 21:46:46 UTC |
1413334 | Dylan Hunn | 05 January 2023, 01:40:36 UTC | feat(language-service): Introduce a new NgModuleIndex, and use it to suggest re-exports. (#48354) NgModules can re-export other NgModules, which transitively includes all traits exported by the re-exported NgModule. We want to be able to suggest *all* re-exports of a component when trying to auto-import it. Previously, we used an approximation when importing from NgModules: we looked at a Component's metadata, and just imported the declaring NgModule. However, this is not technically correct -- the declaring NgModule it is not necessarily the same one that exports it for the current scope. (Indeed, there could be multiple re-exports!) As a replacement, I have implemented a more general solution. This PR introduces a new class on the template type checker, called `NgModuleIndex`. When queried, it conducts a depth-first-search over the NgModule import/export graph, in order to find all NgModules anywhere in the current dependency graph, as well as all exports of those NgModules. This allows the language service to suggest all of the re-exports, in addition to the original export. PR Close #48354 | 12 January 2023, 21:46:46 UTC |
ea8b339 | Dylan Hunn | 05 January 2023, 01:40:20 UTC | refactor(compiler-cli): Make `getKnown` return an array of nodes. (#48354) `MetadataReaderWithIndex.getKnown` currently returns an iterator. It will be easier to work with for upcoming usages if it returns an array instead. PR Close #48354 | 12 January 2023, 21:46:46 UTC |
2a4c5b4 | Dylan Hunn | 05 December 2022, 01:20:00 UTC | refactor(language-service): Improve the quick fix auto-import tests. (#48354) Currently, the auto-import tests are very difficult to debug, because the `expect`ations are buried several function calls deep, and also because the multi-line replacements are hard to deal with. The auto-import tests now use a different approach, which can be easily debugged from the failure message. In addition, several new tests have been added to cover more cases. PR Close #48354 | 12 January 2023, 21:46:46 UTC |
8802b4a | Konstantin Kharitonov | 08 December 2022, 00:01:55 UTC | fix(common): Update `Location` to get a normalized URL valid in case a represented URL starts with the substring equals `APP_BASE_HREF` (#48489) ```ts @NgModule({ imports: [RouterModule.forRoot([{path: '/enigma', component: EnigmaComponent}])], providers: [{provide: APP_BASE_HREF, useValue: '/en'}] }) export class AppModule {} ``` Navigating to `/enigma` will redirect to `/en/igma` not to `/en/enigma` as it expects Fixes: #45744 PR Close #48489 | 12 January 2023, 19:45:32 UTC |
64967da | Paul Gschwendtner | 12 January 2023, 14:26:07 UTC | ci: include branch name in update CLI help PRs (#48716) This should make it easier to distinguish between PRs as currently they same equivalent but actually target different branches. PR Close #48716 | 12 January 2023, 19:44:51 UTC |
0b57e24 | Bob Watson | 15 December 2022, 22:06:31 UTC | docs: add first-app-lesson-13 example (#48512) PR Close #48512 | 12 January 2023, 19:44:07 UTC |
1edf587 | Bob Watson | 15 December 2022, 20:40:51 UTC | docs: add first-app-lesson-12 example (#48512) PR Close #48512 | 12 January 2023, 19:44:07 UTC |
d2333b4 | Bob Watson | 15 December 2022, 17:02:23 UTC | docs: add first-app-lesson-11 example (#48512) PR Close #48512 | 12 January 2023, 19:44:07 UTC |
25ec456 | Bob Watson | 14 December 2022, 23:48:16 UTC | docs: add first-app-lesson-10 example (#48512) PR Close #48512 | 12 January 2023, 19:44:07 UTC |
d894e40 | Bob Watson | 14 December 2022, 23:08:32 UTC | docs: add first-app-lesson-09 example (#48512) PR Close #48512 | 12 January 2023, 19:44:07 UTC |
b3283bd | Bob Watson | 14 December 2022, 21:02:28 UTC | docs: add first-app-lesson-08 example (#48512) PR Close #48512 | 12 January 2023, 19:44:06 UTC |
76daeb6 | Bob Watson | 14 December 2022, 19:04:41 UTC | docs: add first-app-lesson-07 example (#48512) PR Close #48512 | 12 January 2023, 19:44:06 UTC |
3344d83 | Bob Watson | 14 December 2022, 17:23:57 UTC | docs: add first-app-lesson-06 example (#48512) PR Close #48512 | 12 January 2023, 19:44:06 UTC |
a19888c | Bob Watson | 14 December 2022, 16:36:35 UTC | docs: add first-app-lesson-05 example (#48512) PR Close #48512 | 12 January 2023, 19:44:06 UTC |
af3947d | Bob Watson | 14 December 2022, 16:17:41 UTC | docs: add first-app-lesson-04 example (#48512) PR Close #48512 | 12 January 2023, 19:44:06 UTC |
3519651 | Bob Watson | 14 December 2022, 16:12:42 UTC | docs: add first-app-lesson-03 example (#48512) PR Close #48512 | 12 January 2023, 19:44:06 UTC |
f7eef20 | Bob Watson | 14 December 2022, 16:09:03 UTC | docs: add first-app-lesson-02 example (#48512) PR Close #48512 | 12 January 2023, 19:44:06 UTC |
dd8a5d5 | Bob Watson | 14 December 2022, 16:03:35 UTC | docs: add first-app-lesson-01 example (#48512) PR Close #48512 | 12 January 2023, 19:44:05 UTC |
4dcbb6a | Matthieu Riegler | 05 January 2023, 16:24:42 UTC | refactor(forms): replace type any for the providers (#48647) The providers for the directives in forms can be typed as Provider. Also the export is not required. PR Close #48647 | 11 January 2023, 23:01:57 UTC |
926c35f | Andrew Scott | 31 October 2022, 16:13:05 UTC | docs: Deprecate class and InjectionToken and resolvers (#47924) Class and `InjectionToken`-based guards and resolvers are not as configurable, are less re-usable, require more boilerplate, cannot be defined inline with the route, and require more in-depth knowledge of Angular features (`Injectable`/providers). In short, they're less powerful and more cumbersome. In addition, continued support increases the API surface which in turn increases bundle size, code complexity, the learning curve and API surface to teach, maintenance cost, and cognitive load (needing to grok several different types of information in a single place). Lastly, supporting only the `CanXFn` types for guards and `ResolveFn` type for resolvers in the `Route` interface will enable better code completion and integration with TypeScript. For example, when writing an inline functional resolver today, the function is typed as `any` and does not provide completions for the `ResolveFn` parameters. By restricting the type to only `ResolveFn`, in the example below TypeScript would be able to correctly identify the `route` parameter as `ActivatedRouteSnapshot` and when authoring the inline route, the language service would be able to autocomplete the function parameters. ``` const userRoute: Route = { path: 'user/:id', resolve: { "user": (route) => inject(UserService).getUser(route.params['id']); } }; ``` Importantly, this deprecation only affects the support for class and `InjectionToken` guards at the `Route` definition. `Injectable` classes and `InjectionToken` providers are _not_ being deprecated in the general sense. Functional guards are robust enough to even support the existing class-based guards through a transform: ``` function mapToCanMatch(providers: Array<Type<{canMatch: CanMatchFn}>>): CanMatchFn[] { return providers.map(provider => (...params) => inject(provider).canMatch(...params)); } const route = { path: 'admin', canMatch: mapToCanMatch([AdminGuard]), }; ``` With regards to tests, because of the ability to map `Injectable` classes to guard functions as outlined above, nothing _needs_ to change if projects prefer testing guards the way they do today. Functional guards can also be written in a way that's either testable with `runInContext` or by passing mock implementations of dependencies. For example: ``` export function myGuardWithMockableDeps( dep1 = inject(MyService), dep2 = inject(MyService2), dep3 = inject(MyService3), ) { } const route = { path: 'admin', canActivate: [() => myGuardWithMockableDeps()] } // test file const guardResultWithMockDeps = myGuardWithMockableDeps(mockService1, mockService2, mockService3); const guardResultWithRealDeps = TestBed.inject(EnvironmentInjector).runInContext(myGuardWithMockableDeps); ``` DEPRECATED: Class and `InjectionToken` guards and resolvers are deprecated. Instead, write guards as plain JavaScript functions and inject dependencies with `inject` from `@angular/core`. PR Close #47924 | 11 January 2023, 23:01:08 UTC |
7f68a70 | Angular Robot | 11 January 2023, 16:24:46 UTC | docs: update Angular CLI help (#48704) Updated Angular CLI help contents. Closes #48701 PR Close #48704 | 11 January 2023, 23:00:21 UTC |
8375a8c | Andrew Scott | 10 January 2023, 18:42:15 UTC | docs: Add heading to the router writable properties deprecation (#48684) The deprecation note is missing a header. This commit adds one. PR Close #48684 | 11 January 2023, 22:59:04 UTC |
f09b6e4 | mgechev | 10 January 2023, 18:26:06 UTC | docs: add angular devsat q1 2023 (#48683) PR Close #48683 | 11 January 2023, 22:58:35 UTC |
01be0e2 | Jens | 09 January 2023, 15:13:58 UTC | docs: Add support for previous Chrome release (#48669) Previous Chrome stable version should also be supported PR Close #48669 | 11 January 2023, 22:57:44 UTC |
518cc63 | Matthieu Riegler | 24 December 2022, 12:59:43 UTC | docs: remove unused style guides. (#48587) PR Close #48587 | 11 January 2023, 22:57:09 UTC |
7281dbc | Bob Watson | 15 December 2022, 16:31:01 UTC | docs: minor copy edit to suggestion (#48484) PR Close #48484 | 11 January 2023, 22:56:31 UTC |
874f197 | Bob Watson | 15 December 2022, 16:30:33 UTC | docs: minor copy edit to suggestion (#48484) PR Close #48484 | 11 January 2023, 22:56:31 UTC |
84285c1 | Bob Watson | 15 December 2022, 16:29:58 UTC | docs: minor copy edit to suggestion (#48484) PR Close #48484 | 11 January 2023, 22:56:31 UTC |
1c4eb67 | Bob Watson | 15 December 2022, 16:29:36 UTC | docs: minor copy edit to suggestion (#48484) PR Close #48484 | 11 January 2023, 22:56:30 UTC |
deb27df | Aristeidis Bampakos | 14 December 2022, 11:16:37 UTC | docs: review router guards section in router guide (#48484) PR Close #48484 | 11 January 2023, 22:56:30 UTC |
61023b5 | dario-piotrowicz | 11 December 2022, 00:40:13 UTC | refactor(compiler): refactor the shadow css specs (#48443) apply different quality of life improvements to the shadow css unit tests: - refactor the tests so that they are nicely divided in multiple files in a logical manner instead of having most of them all in a single big file - remove the css normalization logic inconsistently used throughout the tests, which causes tests to be inconsistent and it also introduced unintuitive checks - provide a shared shim utility function (instead of re-defining it multiple times) - add a `toEqualCss` matcher that can be used in the tests in order to match css strings without caring about spacing and indentation PR Close #48443 | 11 January 2023, 22:55:52 UTC |
fda96a6 | Angular Robot | 09 January 2023, 10:05:09 UTC | build: update dependency puppeteer-core to v19 (#48183) See associated pull request for more information. PR Close #48183 | 11 January 2023, 22:55:17 UTC |
1cb93ce | ノウラ | 14 October 2022, 22:41:27 UTC | docs: highlight scripts in markdown (#47778) This PR highlights all lines of code/cmds/error messages by specifying the use language PR Close #47778 | 11 January 2023, 22:54:45 UTC |
b0318f8 | Vladyslav Slipchenko | 29 September 2022, 10:18:15 UTC | docs(docs-infra): fix wording inconsistency of the i18n common prepare section references (#47582) PR Close #47582 | 11 January 2023, 22:54:08 UTC |
fbcddb0 | Alex Rickabaugh | 11 January 2023, 15:46:15 UTC | release: cut the v15.2.0-next.0 release | 11 January 2023, 16:05:22 UTC |
7cfe97c | Alan Agius | 11 January 2023, 15:33:39 UTC | ci: set `fetch-depth: 0` in `update-events` and `update-cli-help` actions (#48698) This commits changes the fetch depth from 1 to 0 in the update-events` and `update-cli-help` actions. This is required as otherwise the PR creation would fail when the forked (https://github.com/angular-robot/angular) is not in sync with (https://github.com/angular/angular) ie the later has commits which are not in the former. PR Close #48698 | 11 January 2023, 15:44:00 UTC |
2b83986 | Alan Agius | 11 January 2023, 07:53:15 UTC | ci: correctly interpolate `ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN` (#48690) Previously, a single curly bracket was used to interpolate the `ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN` value which caused the value not to be provided correctly. PR Close #48690 | 11 January 2023, 14:56:18 UTC |
4bd926e | Alan Agius | 10 January 2023, 19:41:18 UTC | ci: expose `ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN` secret as env (#48687) Encrypted secrets need to be provided explicitly in workflow steps to be used. See: https://docs.github.com/en/actions/security-guides/encrypted-secrets for more info. PR Close #48687 | 10 January 2023, 22:30:30 UTC |
d4a5672 | Paul Gschwendtner | 10 January 2023, 16:46:05 UTC | ci: use readonly github token for querying CLI snapshot repo (#48681) Currently the Github action-triggered code uses the `GITHUB_TOKEN` for querying the CLI snapshot builds repository. This does not work because the Github actions token is scoped to the orginating repository, even for queries to a read public repository. We fix this by using a personal access token. The token is readonly and only exists to avoid potential rate limiting. PR Close #48681 | 10 January 2023, 19:13:34 UTC |
45029f1 | Alex Rickabaugh | 10 January 2023, 18:51:35 UTC | docs: release notes for the v15.1.0 release | 10 January 2023, 18:53:04 UTC |
489243b | Paul Gschwendtner | 10 January 2023, 14:04:24 UTC | fix(language-service): expose `package.json` for vscode extension resolution (#48678) The VSCode extension looks for `@angular/language-service/package.json` using `require`. This currently breaks as of the ESM changes because we introduced the `exports` field but did not expose the `package.json`. This commit fixes it. Co-authored-By: Andrew Scott <atscott@google.com> Co-authored-By: Dylan Hunn <dylhunn@gmail.com> PR Close #48678 | 10 January 2023, 17:13:54 UTC |
7243ae6 | Kristiyan Kostadinov | 06 January 2023, 08:37:25 UTC | fix(compiler): resolve deprecation warning (#48652) Fixes a deprecation warning that was being logged by compiler when generating aliases, because we weren't going through `ts.factory` to create an AST node. PR Close #48652 | 10 January 2023, 16:13:25 UTC |
111e2c7 | Paul Gschwendtner | 04 January 2023, 21:09:58 UTC | test(docs-infra): increase jasmine default timeout for e2e specs (#48671) Similar to the Saucelabs job, the jasmine default timeout can be increased to avoid the common jasmine timeouts. We cannot control how fast Selenium e.g. loads a page or not. PR Close #48671 | 10 January 2023, 16:10:23 UTC |
d4eaaef | Alan Agius | 09 January 2023, 10:16:13 UTC | fix(docs-infra): correctly read example type (#48665) Prior to this change the universal example was broken as the example type was not retrieved correctly in bazel which caused the `_renameFile` method to be called with incorrect context. Closes #48664 PR Close #48665 | 10 January 2023, 16:09:54 UTC |
a29203f | Alan Agius | 09 January 2023, 09:42:35 UTC | docs: update universal example (#48665) This change updates the universal example to align with latest CLI changes. PR Close #48665 | 10 January 2023, 16:09:54 UTC |
3714909 | Angular Robot | 07 January 2023, 14:33:52 UTC | build: update dependency jsdom to v21 (#48660) See associated pull request for more information. PR Close #48660 | 10 January 2023, 16:09:04 UTC |
6a009a3 | Virginia Dooley | 06 January 2023, 23:10:05 UTC | docs: Custom data Pipes doc, fixed live-example link. (#48656) PR Close #48656 | 10 January 2023, 16:08:07 UTC |
579cbb2 | Andrew Kushnir | 05 January 2023, 21:40:32 UTC | refactor(platform-browser): prepare the code to use `MockPlatformLocation` by default (#48651) This commit prepares the code of the `BrowserTestingModule` to include the `MockPlatformLocation` by deafult in the future. With this change, the set of providers to add the `MockPlatformLocation` would be disabled by a flag, which will be switched in v16. PR Close #48651 | 10 January 2023, 16:06:36 UTC |
0510f4e | piyush132000 | 03 January 2023, 07:40:33 UTC | docs: updated docs removed unnecessary imports and empty methods (#48628) Removed empty methods and unnecessary imports in files PR Close #48628 | 10 January 2023, 16:06:04 UTC |
0920409 | Tim Gates | 25 December 2022, 01:46:13 UTC | docs: fix simple typo, esnure -> ensure (#48588) There is a small typo in integration/check-dependencies.js. Should read `ensure` rather than `esnure`. Signed-off-by: Tim Gates <tim.gates@iress.com> PR Close #48588 | 10 January 2023, 16:05:33 UTC |
2dc3157 | Alan Agius | 22 December 2022, 15:02:16 UTC | ci: add Angular CLI help pages action (#48577) This commits adds an action to update the Angular CLI help contents that are used by AIO to generate CLI guides. This also changes the setup to include the files are source files instead of having to clone the repository each time. This also simplifies the PR review process of the PR opened by the action. PR Close #48577 | 10 January 2023, 16:01:38 UTC |
123c952 | Matthieu Riegler | 21 December 2022, 09:46:11 UTC | docs(compiler-cli): fix commands to run compliance unit test (#48559) PR Close #48559 | 10 January 2023, 15:59:52 UTC |
a3a4ca0 | Andrew Scott | 13 December 2022, 16:57:45 UTC | refactor(router): move internal router properties to transition handler where appropriate (#48475) Working towards removing the backwards dependency on router from the navigation transition handler, this change moves `rootComponentType` and `afterPreactivation` to the transition handler since that is the only location those properties are used. PR Close #48475 | 10 January 2023, 15:59:16 UTC |
edd7982 | Doug Parker | 01 November 2022, 22:27:08 UTC | refactor(bazel): disables the Tsickle decorator transform (#47934) This is no longer needed in google3 and actively impedes prodmode tests. See http://b/254054103#comment7 for deeper analysis. This just turns off the transform for now, if it lands successfully I'll follow up with deleting the flag and dead code altogether. PR Close #47934 | 10 January 2023, 15:58:39 UTC |
9fc950d | Paul Gschwendtner | 09 January 2023, 17:05:01 UTC | fix(language-service): ship `/api` entry-point (#48670) The `/api` entry-point was accidentally dropped when we switched the compilation in the repo to full ESM- thinking the entry-point is not needed externally. We re-add it because the VSCode repo extension relies on it for checking whether `ts.LanguageService` is an Angular one. PR Close #48670 | 09 January 2023, 18:13:34 UTC |
db8b3b7 | Greg Magolan | 09 January 2023, 05:46:09 UTC | fix(language-service): update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48663) 2nd half of https://github.com/angular/vscode-ng-language-service/pull/1846. `npm_traslate_lock` in vscode-ng-language-service now has a data attribute so sed should only add another item to the list instead of adding a duplicate data attribute. PR Close #48663 | 09 January 2023, 18:13:06 UTC |
b6cc5f7 | angular-robot[bot] | 06 January 2023, 08:51:29 UTC | build: update `SECURITY.md` to match the content of `angular/.github` | 06 January 2023, 08:51:29 UTC |
bdf288d | Matthieu Riegler | 17 December 2022, 15:11:03 UTC | fix(forms): Form provider FormsModule.withConfig return a FormsModule (#48526) Because of a transitive dependency, FormsModule.withConfig wasn't providing FormModule. fixes: #48519 PR Close #48526 | 06 January 2023, 00:26:21 UTC |
b9577ad | Matthieu Riegler | 02 January 2023, 10:41:37 UTC | refactor(forms): cleanup type any in forms tests (#48624) Removing every type any in forms with a reference to #9100 PR Close #48624 | 05 January 2023, 22:52:03 UTC |
cb6d73a | Andrew Scott | 19 December 2022, 20:04:36 UTC | fix(router): page refresh should not destroy history state (#48540) The router's `initialNavigation` causes an imperative navigation using the `navigateByUrl` method. This, however, results in the history state being removed on a page refresh. This change calls `scheduleNavigation` directly from `initialNavigation` to ensure the history state is correctly retained. PR Close #48540 | 05 January 2023, 22:50:53 UTC |
43ced45 | Matthieu Riegler | 24 December 2022, 12:51:26 UTC | docs: remove empty constructors & ngOnInit() (#48576) PR Close #48576 | 05 January 2023, 22:49:38 UTC |
51ff781 | Matthieu Riegler | 22 December 2022, 14:04:02 UTC | docs: remove onInit from Tour Of Heroes. (#48576) Following #24008, the schematics don't produce ngOnInit and the constructor. Let's reflect that in the Tour of Heroes tutorial. Fixes #48575 PR Close #48576 | 05 January 2023, 22:49:37 UTC |
15eccef | Andrew Scott | 20 December 2022, 16:47:53 UTC | docs(router): Clean up error handler deprecations (#48551) `errorHandler` and `malformedUriErrorHandler` were already deprecated in the Router class public API. This change updates the deprecation to extend to `RouterModule.forRoot` configuration options. PR Close #48551 | 05 January 2023, 22:49:00 UTC |
31b94c7 | Andrew Scott | 20 December 2022, 16:35:23 UTC | feat(router): Add a withNavigationErrorHandler feature to provideRouter (#48551) `withNavigationErrorHandler` is a close replacement for the `RouterModule.forRoot.errorHandler` / `Router.errorHandler`. It provides a quick, short way for users to define a function to handle `NavigationError` events. PR Close #48551 | 05 January 2023, 22:49:00 UTC |
d887d69 | Matthieu Riegler | 29 December 2022, 16:37:58 UTC | refactor(common): remove non-null assertions (#48476) As part of angular#24571, removing all non-null assertions from common/test/directives PR Close #48476 | 05 January 2023, 22:46:20 UTC |
ef57874 | Matthieu Riegler | 13 December 2022, 17:16:35 UTC | refactor(common): code cleaning (#48476) * removing guard as console.warn is now widely supported * Couldn't remove non-null assertion, waiting for TS support of getters with different types (microsoft/typescript#43662) PR Close #48476 | 05 January 2023, 22:46:20 UTC |
c29e462 | Matthieu Riegler | 13 December 2022, 17:06:13 UTC | refactor(common): remove non-null assertions (#48476) As part of angular#24571, removing all non-null assertions from common/directives PR Close #48476 | 05 January 2023, 22:46:20 UTC |
559f518 | Matthieu Riegler | 13 December 2022, 17:02:15 UTC | refactor(common): remove non-null assertions (#48476) As part of angular#24571, removing all non-null assertions from common/directives PR Close #48476 | 05 January 2023, 22:46:19 UTC |
0c5db1a | Andrew Scott | 15 December 2022, 01:00:36 UTC | refactor(router): Remove files no longer in use (#48500) These files exist to support internal patches that are no longer needed PR Close #48500 | 05 January 2023, 22:42:27 UTC |
009b0d0 | Alex Rickabaugh | 05 January 2023, 21:20:30 UTC | docs: release notes for the v15.1.0-rc.0 release | 05 January 2023, 21:33:19 UTC |
9408c18 | Alex Rickabaugh | 05 January 2023, 21:20:30 UTC | release: bump the next branch to v15.2.0-next.0 | 05 January 2023, 21:33:19 UTC |
5d1fbbb | Paul Gschwendtner | 05 January 2023, 16:39:20 UTC | ci: fix snapshot publish github credential preparation (#48648) It looks like the wrapping in `&> /dev/null` breaks for some reason. We don't need it as CircleCI will remove secrets from logs if they would leak for some reason. A simple echo is very unlikely ever printing its content to stdout/stderr though. PR Close #48648 | 05 January 2023, 16:44:01 UTC |
90ac8e3 | Paul Gschwendtner | 05 January 2023, 14:25:11 UTC | ci: use snapshot deploy secret directly (#48644) Instead of encoding the GitHub snapshot robot access token in a file that needs to be decoded by an ambiguously named secret called `KEY`, the token can be directly stored in the secrets of CircleCI given easier maintenance and the same risk. The leakage of the secret still means the GitHub token file could be decoded. We are switching to a similar model as in the components repo, which also simplifies key rotations etc. PR Close #48644 | 05 January 2023, 15:15:59 UTC |
33f35b0 | Kristiyan Kostadinov | 04 January 2023, 08:44:02 UTC | fix(compiler): type-only symbols incorrectly retained when downlevelling custom decorators (#48638) In #47167 an `updateClassDeclaration` call was swapped out with a `createClassDeclaration` which caused a regression where interface references were being retained when using a custom decorator in a project that has `emitDecoratorMetadata` enabled. These changes switch back to use `updateClassDeclaration`. Fixes #48448. PR Close #48638 | 04 January 2023, 20:29:16 UTC |
2d3c98d | ced | 15 December 2022, 15:46:27 UTC | docs: missing closing parenthesis in withHashLocation() example (#48507) PR Close #48507 | 04 January 2023, 20:26:21 UTC |
fc1c03e | Matthieu Riegler | 13 December 2022, 18:09:47 UTC | refactor(compiler): Remove unnecessary assignment (#48478) This is well known problem and has a opened issue at microsoft/typescript. @ts-expect-error will highlight an error when this is fixed. PR Close #48478 | 04 January 2023, 20:23:50 UTC |
29efedf | Renan Ferro | 04 January 2023, 01:28:48 UTC | docs(docs-infra): update precedence of binding dynamic example and commentary (#48636) PR Close #48636 | 04 January 2023, 20:16:40 UTC |
c8310a8 | Matthieu Riegler | 02 January 2023, 13:41:30 UTC | refactor(core): cleanup type any (#48623) Removing every type any in core with a reference to #9100 PR Close #48623 | 04 January 2023, 20:15:16 UTC |