https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
8d48549 release: cut the v14.1.0-next.2 release 22 June 2022, 23:58:39 UTC
b1414ed docs: release notes for the v14.0.3 release 22 June 2022, 23:52:52 UTC
2402c47 Revert "fix(zone.js): do not silence uncaught promise rejections when the `finally` is called (#45449)" (#46461) This reverts commit cb57cdbbd4c09be2333876711f128d1c8c51fba7. PR Close #46461 22 June 2022, 23:04:23 UTC
63396a1 build: avoid use of `ts-node` wrapper script as it breaks child process forking (#46456) `ts-node` spawns a custom node launcher script and has a brotli-base64 encoded configuration that will point to the user-provided entry-point. This breaks child process forking as we wouldn't be able to specify our custom build worker and basically `ng-dev` would run inside `ng-dev` again. PR Close #46456 22 June 2022, 21:35:31 UTC
d248d83 build: convert release package build scripts to typescript (#46456) Follow-up to: cce395a928bdcd85fe1b24c5887c2ca587b659a2. PR Close #46456 22 June 2022, 21:35:31 UTC
2d713f5 refactor(router): separate router initializer into different logical providers (#46215) This change separates the router initializer into different providers. While it does not actually change the tree-shakeablity or the public API, it does move us towards a world that _could_ do this. That is, instead of `initialNavigation: 'disabled'`, users could use `provideDisabledInitialNavigation` in the `bootstrapApplication` call and none of the code for `initialNavigation: 'enabledBlocking'` would be included in the application. PR Close #46215 22 June 2022, 20:26:46 UTC
ae0a63a refactor(router): Move preloading to tree-shakeable provider (#46215) Extracting preloading to a provider moves us towards thinking about a world where `ExtraOptions` doesn't exist to control behaviors that are opt-in/opt-out. Instead, these behaviors could be controlled by the presence (or lackthereof) of the providers which has the functionality. This is relevant to a world in which we no longer have the `RouterModule` but instead have something like `provideRouter` where the features are tree-shakeable. This change _does not_ make the `RouterPreloader` tree-shakeable inside `RouterModule.forRoot` because the compiler cannot statically determine whether it's needed. However, in the `provideRouter` world without `forRoot`, preloading could be exposed through the provider function instead, making the `RouterPreloader` and `PreloadingStrategy` implementations tree-shakeable for those that don't use it (which is the default - no preloading). PR Close #46215 22 June 2022, 20:26:46 UTC
9a0e681 refactor(router): Extract router scroller into a tree-shakeable provider (#46215) Extracting the scroller to a provider moves us towards thinking about a world where `ExtraOptions` doesn't exist to control behaviors that are opt-in/opt-out. Instead, these behaviors could be controlled by the presence (or lackthereof) of the providers which has the functionality. This is relevant to a world in which we no longer have the `RouterModule` but instead have something like `provideRouter` where the features are tree-shakeable. This change does not affect the current `RouterModule.forRoot` behavior, tree-shakeability of the option, or existence of the options related to the router scroller (scrollPositionRestoriation, anchorScrolling, scrollOffset). PR Close #46215 22 June 2022, 20:26:46 UTC
bfea80d refactor(router): Simplify location strategy providers (#46215) Rather than using a `provideLocationStrategy` function, the `useHash` can simply provide one strategy or another. The current factory function does not change how the dependencies are used. PR Close #46215 22 June 2022, 20:26:46 UTC
d7a7983 refactor(router): Extract 'enableTracing' option to a provider (#46215) Extracting the `'enableTracing'` option to a provider moves us towards thinking about a world where `ExtraOptions` doesn't exist to control behaviors that are opt-in/opt-out. Instead, these behaviors could be controlled by the presence (or lackthereof) of the providers which has the functionality. This is relevant to a world in which we no longer have the `RouterModule` but instead have something like `provideRouter` where the features are tree-shakeable. This change does not affect the current `RouterModule.forRoot` behavior, tree-shakeability of the option, or existence of `enableTracing` on the `ExtraOptions`. PR Close #46215 22 June 2022, 20:26:46 UTC
abe3759 fix(router): allow to return `UrlTree` from `CanMatchFn` (#46455) Currently it's not possible to return plain `UrlTree` from `CanMatchFn`, only wrapped `UrlTree` into Observable or Promise is allowed. These changes allow to return `UrlTree` from `CanMatchFn`. PR Close #46455 22 June 2022, 20:25:23 UTC
cb57cdb fix(zone.js): do not silence uncaught promise rejections when the `finally` is called (#45449) The native promise implementation logs unhandled promise rejections after `onFinally` has been called. We may rely on the `scheduledByFinally` argument, which is `false` by default, to avoid creating a breaking change; this will also allow us to reduce the number of changes. The `finally` function should not silence unhandled promise rejections, because they're not silenced in any implementation. If the `scheduleResolveOrReject` is called within the `finally` we won't clear unhandled rejections. We'll keep the same behaviour if the `scheduleResolveOrReject` is called within the `then`. PR Close #43206 PR Close #45449 22 June 2022, 20:23:03 UTC
fac6944 docs: fix typos in several guides (#46453) PR Close #46453 22 June 2022, 16:14:53 UTC
cce395a build: load ng-dev release package builder using CJS interop (#46454) We need to switch the package builder to ESM or TS, like we did in the components repo, but for now until we can, the release script should work by loading the package builder CJS through the dynamic import expression. PR Close #46454 22 June 2022, 16:14:07 UTC
2512f65 docs: add dany paredes to GDE resources (#46411) PR Close #46411 21 June 2022, 21:21:29 UTC
ddd6d66 fix(core): deduplicate imports of standalone components in JIT compiler (#46439) During JIT compilation of standalone components the compiler did not deduplicate declarations in the imports array, unlike the AOT compiler. This may result in runtime errors during directive matching, when the same component is found multiple times resulting in NG0300, for example: > NG0300: Multiple components match node with tagname mat-form-field: MatFormField and MatFormField. This commit fixes the issue by deduplicating imports in the JIT compiler. Relates to https://github.com/angular/angular/issues/46109#issuecomment-1160705031 Closes #46109 PR Close #46439 21 June 2022, 19:41:16 UTC
342effe fix(animations): reset the start and done fns on player reset (#46364) in the animation players, make sure than upon reset the _onStartFns and _onDoneFns are also re-applied so that they can be called again after resetting the animation also set the noop animation player's _finished to false when the player resets (needed to make sure that the _onDoneFns get called) resolves #26630 PR Close #46364 21 June 2022, 19:40:24 UTC
d2648d9 build(bazel): remove tsec patch to enable runfiles on Windows (#46447) tsec previously did not use runfiles on Windows even when the flag was enabled. The latest version now adds an option to force its usage. PR Close #46447 21 June 2022, 19:19:53 UTC
db5d268 fix(docs-infra): slightly improve aio-top-menu css (#46429) slightly improve the aio-top-menu css by making it more robust regarding differnt font-sizes and also remove unnecessary css rules PR Close #46429 21 June 2022, 19:19:12 UTC
08d3db2 fix(platform-server): invalid style attribute being generated for null values (#46433) Fixes that the server renderer was producing an invalid `style` attribute when a null value is passed in. Also aligns the behavior with the DOM renderer by removing the attribute when it's empty. Fixes #46385. PR Close #46433 21 June 2022, 18:54:52 UTC
3d8787c fix(core): handle NgModules with standalone pipes in TestBed correctly (#46407) Prior to this commit, the TestBed logic erroneously tried to apply provider overrides to standalone pipes that were imported in an NgModule. This commit updates the logic to recognize types that may have a scope (an NgModule or a standalone component) and skip other types while applying provider overrides recursively. PR Close #46407 21 June 2022, 18:54:19 UTC
e1d2a9c refactor(core): rename internal method to account for standalone components (#46407) Prior to standalone components, the `applyProviderOverridesToModule` method was used exclusively for NgModules. With standalone, its scope was expended to include standalone components as well. This commit renames the method to `applyProviderOverridesInScope` to better reflect this + also renames a field that refers to a set that contains already overridden types. PR Close #46407 21 June 2022, 18:54:19 UTC
96c7074 docs: update ng-de date (#46446) PR Close #46446 21 June 2022, 18:49:09 UTC
0c9af71 build: update scorecard action dependencies (#46440) PR Close #46440 21 June 2022, 18:48:29 UTC
ffedcde build: replace copied `spec_bundle` rule in devtools with dev-infra rule (#46437) Replaces the copied `spec_bundle` rule in the devtools folder with the one provided by dev-infra. Initially we couldn't use the rule because it wasn't available / and also later didn't work with the linker version from `compiler-cli` built from `HEAD`. PR Close #46437 21 June 2022, 18:48:03 UTC
86248bb build: wire up `ng-dev` ts-node config loading (#46437) With the new ESM version of `ng-dev`, the TypeScript config loading cannot happen automatically because `ts-node` cannot hook into the Node ESM module resolution at runtime. To fix this `ng-dev` is now loading a plain `.ng-dev/config.mjs` and the runtime just needs to be configured accordingly, i.e. running `ng-dev` with `ts-node` so that the ESM loader can be wired up before Node's runtime starts (using e.g. `node --loader`). PR Close #46437 21 June 2022, 18:48:03 UTC
3b077c0 build: update `dev-infra` package to latest version with full ESM (#46437) Updates `angular/dev-infra` to the latest version which is now full ESM. PR Close #46437 21 June 2022, 18:48:03 UTC
0e3c2b2 ci: update renovate to update `angular` packages when available (#46437) We recently aggressively limited Renovate to only two days and set the hourly limit to one. This resulted in e.g. Angular not being updated for quite a while now, as well as missing out on e.g. dev-infra updates which should happen as often as possible. This commit reworks the config to (1) avoid legacy syntax and (2) to update Angular-cross repo depsas often as possible. Also groups Bazel dependencies better and attempts to fix the non-working Babel dep grouping. PR Close #46437 21 June 2022, 18:48:03 UTC
e8a33e7 docs: remove old bazel schematics doc (#46436) This doc was intended for users migrating to version 10. PR Close #46436 21 June 2022, 18:47:35 UTC
1aa27eb docs: fix base href haser tag (#46431) I add '>' end of header tag Fixes #46430 PR Close #46431 21 June 2022, 18:47:04 UTC
cdd19bd docs(core): add full example for IfLoadedDirective (#46425) This commit adds a full example for the IfLoadedDirective and moves the code to the StackBlitz playground for structural directives. Fixes #40739, #37119 PR Close #46425 21 June 2022, 18:46:26 UTC
88f53dc feat(docs-infra): add open_in_new icon to external nav-item links (#46384) add a mat open_in_new icon to the blog external link present in the left sidenav on smaller screens so that it can be distinguished from the other (/internal) links this is a continuation of #45876 PR Close #46384 21 June 2022, 18:45:57 UTC
f94c6f4 fix(router): Expose CanMatchFn as public API (#46394) The `CanMatchFn` is already exposed in the type signature for `canMatch` on the `Route`. This function type should already be exposed as public API but was missed in the initial implementation because the older guards use the `any` type instead. PR Close #46394 17 June 2022, 16:18:08 UTC
ce20ed0 fix(router): Ensure Route injector is created before running CanMatch guards (#46394) Once a `Route` matches via the `match` or `path` property, we need to immediately create the injector for the route (if it has providers) before running the `CanMatch` guards. This is necessary because the `CanMatch` guards might be provided in the `Route` providers. Fixes #46386 PR Close #46394 17 June 2022, 16:18:08 UTC
bb7c804 fix(core): make parent injector argument required in `createEnvironmentInjector` (#46397) Previously, the `createEnvironmentInjector` function allowed creating an instance of an EnvironmentInjector without providing a parent injector. This resulted in an injector instance, which was detached from the DI tree, thus having limited value. This commit updates the types of the `createEnvironmentInjector` function to make the parent injector a required argument. PR Close #46397 17 June 2022, 16:17:24 UTC
82acbf9 feat(http): improve error message for nullish header (#46059) This commit improves the error message for nullish headers. Fixes #46048 PR Close #46059 16 June 2022, 21:39:41 UTC
13bffae docs(router): fix errors in CanMatch examples (#46388) This commit fixes compilation errors in CanMatch examples. PR Close #46388 16 June 2022, 16:33:22 UTC
07ea938 refactor(common): align tree shakable error messages to the new format (#46382) Simplifying the tree shakable error messages with the new format and removing the errorMessage variables ```ts throw new RuntimeError( RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED, ngDevMode && 'Injector has already been destroyed.'); ``` PR Close #46382 16 June 2022, 16:32:44 UTC
df1652e refactor(common): align tree shakable error messages to new format (#46370) Align tree shakable error messages are simplified with the new format and errorMessage variables are removed. ```ts throw new RuntimeError( RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED, ngDevMode && 'Injector has already been destroyed.'); ``` PR Close #46370 15 June 2022, 21:05:54 UTC
d1e5ef5 docs: fix link to unpkged locales (#46379) Add trailing slash to url PR Close #46379 15 June 2022, 21:05:14 UTC
2509d76 docs: Add missing line in *zone-flags.ts* file for event-binding wiki. (#46369) PR Close #46369 15 June 2022, 21:04:43 UTC
ba4f3aa docs: add standalone details to NG0302 (#46090) improve the error information of NG0302 by including details about standalone pipes (and components) PR Close #46090 15 June 2022, 21:04:14 UTC
463feb6 feat(docs-infra): add open_in_new icon to external aio-top-menu links (#45876) add an open_in_new icon to the blog external link present in the aio-top-menu so that it can be distinguished from the other (/internal) links resolves #38412 PR Close #45876 15 June 2022, 21:03:29 UTC
c2dab9d release: cut the v14.1.0-next.1 release (#46377) 15 June 2022, 17:58:31 UTC
0ab0bae docs: release notes for the v14.0.2 release (#46376) 15 June 2022, 17:29:08 UTC
736b545 ci: override existing snapshot tag if publish snapshot job is restarted (#46366) If the snapshot publish job is manually being restarted, the tag in the snapshot repo might already exist and the job will fail. We can just forcibly re-create the tag (even if it will be at the same revision). We use force mode in a couple of other command as well, such as `git push` of the actual tag and snapshot revision/SHA. PR Close #46366 15 June 2022, 15:57:56 UTC
7a37646 feat(docs-infra): show dark scrollbars in dark mode (#46363) With this commit, dark scrollbars will be shown when angular.io is in dark mode. PR Close #46363 15 June 2022, 15:56:38 UTC
9ce733a docs: fix code style (#45527) I have removed unnecessary code from the components & i initialize the form in OnInit function (life cycle). I think initilization of forms and getting data from service must be done inside ngOnInit. PR Close #45527 14 June 2022, 19:56:49 UTC
1120d54 release: cut the zone.js-0.11.6 release (#46232) PR Close #46232 14 June 2022, 19:53:52 UTC
1278d2a docs: fix multicast observable example output (#46127) Fix the order of logs that represent the output of the multicasting example, as the correct behavior is that all observers are notified of the final value before any of them is notified about completion. PR Close #46127 14 June 2022, 17:04:12 UTC
2c8fd2b build(bazel): enable runfiles (#46313) Patches are required for tsec and rules_webtesting. The fix for rules_webtesting was merged to that repo (https://github.com/bazelbuild/rules_webtesting/commit/581b1557e382f93419da6a03b91a45c2ac9a9ec8) but it's unclear when a release will be cut. PR Close #46313 14 June 2022, 16:58:19 UTC
714183d refactor(compiler-cli): add `forceEmit` flag to `performCompilation` (#46355) In Bazel worker-land, workers which use incremental compilation must still emit all declared outputs and cannot rely on these outputs persisting from previous builds. This commit adds a flag to `performCompilation` which can be used by the worker infrastructure to instruct the compiler to always emit all possible output files, regardless of any incremental build optimizations. PR Close #46355 14 June 2022, 15:56:32 UTC
86303f7 docs(core): fix broken link <BLANK LINE> Dead link is updated with new, working, and updated link. (#46359) PR Close #46359 14 June 2022, 15:55:19 UTC
72e6a94 refactor(router): Update `recognize` to use `Observable` instead of `Promise` (#46021) The `Observable` chain is currenlty the most straightforward way to handle navigation cancellations where we ensure that the cancelled navigation does not continue to be processed. Until we design and implement an alternative way to accomplish equivalent functionality, we need to maintain the `Observable` chain wherever we might execute user code. One reason for this isthat user code may contain redirects so we do not want to execute those redirects if the navigation was already cancelled. PR Close #46021 13 June 2022, 22:53:49 UTC
de058bb feat(router): Add CanMatch guard to control whether a Route should match (#46021) Currently we have two main types of guards: `CanLoad`: decides if we can load a module (used with lazy loading) `CanActivate` and friends. It decides if we can activate/deactivate a route. So we always decide where we want to navigate first ("recognize") and create a new router state snapshot. And only then we run guards to check if the navigation should be allowed. This doesn't handle one very important use case where we want to decide where to navigate based on some data (e.g., who the user is). I suggest to add a new guard that allows us to do that. ``` [ {path: 'home', component: AdminHomePage, canUse: [IsAdmin]}, {path: 'home', component: SimpleHomePage} ] ``` Here, navigating to '/home' will render `AdminHomePage` if the user is an admin and will render 'SimpleHomePage' otherwise. Note that the url will remain '/home'. With the introduction of standalone components and new features in the Router such as `loadComponent`, there's a case for deprecating `CanLoad` and replacing it with the `CanMatch` guard. There are a few reasons for this: * One of the intentions of having separate providers on a Route is that lazy loading should not be an architectural feature of an application. It's an optimization you do for code size. That is, there should not be an architectural feature in the router to specifically control whether to lazy load something or not based on conditions such as authentication. This is a slight nuanced difference between the proposed canUse guard: this guard would control whether you can use the route at all and as a side-effect, whether we download the code. `CanLoad` only specified whether the code should be downloaded so canUse is more powerful and more appropriate. * The naming of `CanLoad` will be potentially misunderstood for the `loadComponent` feature. Because it applies to `loadChildren`, it feels reasonable to think that it will also apply to `loadComponent`. This isn’t the case: since we don't need to load the component until right before activation, we defer the loading until all guards/resolvers have run. When considering the removal of `CanLoad` and replacing it with `CanMatch`, this does inform another decision that needed to be made: whether it makes sense for `CanMatch` guards to return a UrlTree or if they should be restricted to just boolean. The original thought was that no, these new guards should not allow returning UrlTree because that significantly expands the intent of the feature from simply “can I use the route” to “can I use this route, and if not, should I redirect?” I now believe it should allowed to return `UrlTree` for several reasons: * For feature parity with `CanLoad` * Because whether we allow it as a return value or not, developers will still be able to trigger a redirect from the guards using the `Router.navigate` function. * Inevitably, there will be developers who disagree with the philosophical decision to disallow `UrlTree` and we don’t necessarily have a compelling reason to refuse this as a feature. Relates to #16211 - `CanMatch` instead of `CanActivate` would prevent blank screen. Additional work is required to close this issue. This can be accomplished by making the initial navigation result trackable (including the redirects). Resolves #14515 Replaces #16416 Resolves #34231 Resolves #17145 Resolves #12088 PR Close #46021 13 June 2022, 22:53:49 UTC
96f5c97 refactor(router): Move runCanLoadGuards to same location as similar functions (#46021) This commit moves the runCanLoadGuards to the same location as other guard execution functions PR Close #46021 13 June 2022, 22:53:49 UTC
9ab3261 docs: Adding a book "Angular from Scratch" (#46352) Adding a book "Angular from Scratch" in the resources file PR Close #46352 13 June 2022, 20:59:02 UTC
d6880c9 build: update angular version of in-memory-web-api (#46344) Changes the required version of Angular in `angular-in-memory-web-api` to version 14.0.0. Fixes #46332. PR Close #46344 13 June 2022, 17:40:09 UTC
b1a3dec fix(core): Resolve forwardRef declarations for jit (#46334) Fix forwardRef() usage for declarations for jit. Resolves #45741. PR Close #46334 13 June 2022, 16:59:59 UTC
131d029 feat(compiler-cli): detect missing control flow directive imports in standalone components (#46146) This commit adds an extended diagnostics check that verifies that all control flow directives (such as `ngIf`, `ngFor`) have the necessary directives imported in standalone components. Currently there is no diagnostics produced for such cases, which makes it harder to detect and find problems. PR Close #46146 10 June 2022, 21:22:53 UTC
f35f475 fix(compiler-cli): use inline type-check blocks for components outside `rootDir` (#46096) An inline type-check block is required when a reference to a component class cannot be emitted from an ngtypecheck shim file, but the logic to detect this situation did not consider the configured `rootDir`. When a `rootDir` is configured the reference emitter does not allow generating an import outside this directory, which meant that a shim file wouldn't be able to reference the component class. Consequently, type-check block generation would fail with a fatal error that is unaccounted for, as gathering diagnostics should be non-fallible. This commit fixes the problem by leveraging the existing `canReferenceType` logic of the type-checking `Environment`, instead of the rudimentary check whether the class is exported as top-level symbol (`checkIfClassIsExported`). Instead, `canReferenceType` pre-flights the generation of an import using the `ReferenceEmitter` to tell exactly whether it will succeed or not; thus taking into account the `rootDirs` constraint as well. Fixes #44999 PR Close #46096 10 June 2022, 20:40:16 UTC
71b6b9e docs: Add kevindaviladev to contributors (#46330) PR Close #46330 10 June 2022, 17:58:50 UTC
adb21a2 docs: add angular#bundler to Enforcing Trusted Types section (#45450) When a Content Security Policy is defined that uses trusted-types in an application that uses lazy chunk files, ng serve will be broken as angular#bundler entry needs to be added to Content Security Policy. Fixes #44647 PR Close #45450 10 June 2022, 16:11:41 UTC
55a0efe docs: modify header and path (#45828) Change header and path to match with file in the example folder PR Close #45828 10 June 2022, 16:11:09 UTC
da8ea7d docs: modify import (#45828) Modify import after moving Component and Directives PR Close #45828 10 June 2022, 16:11:09 UTC
eafe988 docs: move ZippyToggleDirective (#45828) Move ZippyToggleDirective from app.component.ts PR Close #45828 10 June 2022, 16:11:09 UTC
57fa804 docs: remove Component and Directives (#45828) Move all content to example-zippy.component.ts PR Close #45828 10 June 2022, 16:11:09 UTC
008111d docs: create file to improve docs (#45828) Move ZippyComponent and ZippyContentDirective to example-zippy.component.ts file to improve readability of the docs PR Close #45828 10 June 2022, 16:11:09 UTC
d6c370b docs: modify header and path of code-example (#45828) In the example, @ContentChild is used in app.component.ts but the component we want to project content into is example-zippy.component.ts. PR Close #45828 10 June 2022, 16:11:09 UTC
974da3f fix(docs-infra): improve accessibility of aio-select component (#46013) improve the accessibility of the aio-select component so that it is clear for screen reader users its functionality (currently it is presented as a simple button), following the WAI-ARIA authoring practices (see: https://www.w3.org/TR/wai-aria-practices/#combobox) A first attempt in improving the accessibility of the component has been tried in PR #45937 by replacing it with the material select component, such implementation has however been scrapped since the increase of payload sizes has proven prohibitively large (also note that given native select elements haven't been used given the lack of syling options for such elements) PR Close #46013 10 June 2022, 16:10:35 UTC
4b3baf2 build: update dependency @types/chrome to ^0.0.190 (#46017) PR Close #46017 10 June 2022, 16:09:59 UTC
5e20f60 fix(docs-infra): add missing aria-labels to contributors page (#46324) add proper aria-labels for the twitter and website link of contributors (which being icons they have no text) so that they can be correctly read by screenreaders also add aria-labels to the view-bio buttons for a better user experience PR Close #46324 10 June 2022, 16:09:25 UTC
caa2f35 refactor(router): clean up internal hooks (#46321) * beforePreactivation hook is unused * The only place that uses afterPreactivation does not use the arguments Not to say we won't want to provide hooks similar to this in the future, but the current state is over-engineered for what it's being used for. PR Close #46321 10 June 2022, 15:23:57 UTC
12a0cad build(devtools): update the extension version (#46289) Update the version for the Firefox and Chrome extension to enable us to publish the latest support of standalone components. PR Close #46289 10 June 2022, 15:23:12 UTC
04acc6b fix(compiler-cli): don't emit empty providers array (#46301) Saves us some bytes by not emitting `providers` in `defineInjector`. While the amount of bytes isn't huge, I think that this change is worthwhile, because `ng generate` currently generates `providers: []` with every `NgModule` which users can forget to remove. PR Close #46301 10 June 2022, 14:27:22 UTC
0410c09 build: update all non-major dependencies (#46150) PR Close #46150 10 June 2022, 14:26:34 UTC
51297e1 docs: fix "for to learn more" typo (#46095) PR Close #46095 10 June 2022, 14:24:37 UTC
521c7dd docs: add standalone info to aio glossary (#46095) add information about standalone components, directives and pipes in the guide glossary PR Close #46095 10 June 2022, 14:24:37 UTC
3b30421 docs: use better wording (#46314) Co-authored-by: Andrew Kushnir <43554145+AndrewKushnir@users.noreply.github.com> PR Close #46314 10 June 2022, 14:21:06 UTC
78ae490 docs: clarify OnPush (#46314) PR Close #46314 10 June 2022, 14:21:06 UTC
8a42f27 docs: update example hero ID (#46304) The hero ID "11" does not correspond to any hero from the example mock heroes list described at https://angular.io/tutorial/toh-pt2#create-mock-heroes. ID 12 seems to be the more fitting ID to get the hero with name "Dr. Nice". PR Close #46304 09 June 2022, 20:45:54 UTC
8b9c32d fix(common): allow null in ngComponentOutlet (#46280) `ngComponentOutlet` already handles null/undefined values, but the types don't reflect that. These changes update the types. Fixes #45716. PR Close #46280 09 June 2022, 16:04:16 UTC
8115031 docs(forms): fix FormRecord usage notes (#46299) FormRecod usegaesNotes were like it accetps simple object like a FormBuilder. PR Close #46299 08 June 2022, 20:52:22 UTC
4fe52c0 build: exclude bazel commits from release notes (#46310) @angular/bazel has been deprecated since v10, and is no longer supported. We don't need to mention fixes/features for Bazel in the release notes. PR Close #46310 08 June 2022, 20:42:29 UTC
0e6dbcd release: cut the v14.1.0-next.0 release (#46311) PR Close #46311 08 June 2022, 20:31:53 UTC
58182e5 docs: release notes for the v14.0.1 release (#46309) PR Close #46309 08 June 2022, 20:20:38 UTC
34890fb docs(router): Complete `QueryParamsHandling` documentation (#46286) `QueryParamsHandling` has a third possibility which is the default behavior, and it was not documented until now. PR Close #46286 08 June 2022, 19:40:56 UTC
7391143 docs: remove azure builder reference (#46285) This builder is not compatible with newer versions of the Angular CLI. See https://github.com/angular/angular-cli/issues/23255 for more context PR Close #46285 08 June 2022, 19:40:23 UTC
960c7ed build: update dev-infra shared code to latest revision (#46291) Updates dev-infra to the latest revision. This revision supports for custom release prechecks and performs the release build before the staging, verifying integrity later. This has various benefits for stability and making the less less relucant to build issues that mess up a previously-merged staging PR. PR Close #46291 07 June 2022, 17:43:38 UTC
342836d build: update dependency magic-string to v0.26.2 (#46279) PR Close #46279 07 June 2022, 17:43:12 UTC
5f339ef build(docs-infra): update dependencies in docs examples `package.json` files (#46248) This is a follow-up to #46227 to update the dependency version ranges in the docs examples `package.json` files. PR Close #46248 07 June 2022, 17:42:43 UTC
b280b97 refactor(common): include locale extra data in closure locale file (#46167) The recent update to CLDR 41 highlighted (internally) that some time formats have changed to rely on locale-specific day periods. In particular the `zh_TW` (or canonical: `zh_Hant`) has changed some time formats/patterns from the universal `AM/PM` symbols (`a`) to `B`. The `b`/`B` symbols rely on locale-specific day period rules. This data is only extracted from CLDR into the so-called extra locale data that Angular provides. To fix this, and to be able to reverse the internal workaround that doesn't allow us to use the actual CLDR 41 data here, we always provide the locale extra data when conditonally loading CLDR data based on `goog.LOCALE`. This will result in additional payload cost that locale-specific JS bundles have to pay, but the only alternative would be to break Angular's `b`/`B` symbol support in favor of falling back to `AM/PM` rules (similar to how Closure Libray itself does it). For our external users (something I want to note here), they will be able to load the extra data easily (like it was possible before). Angular has some good erroring if the extra data is required. Most of our users will always use the global locale files anyway (the Angular CLI always uses them). These come with the extra data by default. Resources: - https://github.com/unicode-org/cldr/commit/0d538327d1ea2a31d1614d8989007b97a3ee5021 - https://github.com/unicode-org/cldr/blob/0d538327d1ea2a31d1614d8989007b97a3ee5021/common/main/zh_Hant.xml - https://github.com/angular/angular/blob/6a4353cb40227330be2a5685adca485a8b8e8a0b/packages/common/src/i18n/format_date.ts#L609-L639 - https://cldr.unicode.org/translation/date-time/date-time-symbols - https://cs.github.com/angular/angular-cli/blob/4be7cdce8283a177b92594bb7b34b4718d0a39c3/packages/angular_devkit/build_angular/src/utils/i18n-options.ts?q=%22locales%2Fglobal%22#L23 PR Close #46167 07 June 2022, 17:14:14 UTC
627cdf3 test: add an internal helper to populate document.head before a test (#46250) This commit reuses the logic of the `withBody` helper and implements the `withHead` based on it.The helper method is useful for tests that rely on a certain tags being present in document's `<head>` element. PR Close #46250 06 June 2022, 23:12:32 UTC
8c15eea refactor(core): rename a file to avoid old terminology (to avoid mentioning render3) (#46250) This commit renames the packages/private/testing/src/render3.ts -> packages/private/testing/src/utils.ts to avoid using the `render3` term as it used to differentiate VE and Ivy, which is no longer relevant. PR Close #46250 06 June 2022, 23:12:32 UTC
a9e8a21 docs: mark version 13 as LTS in releases guide (#46268) Verson 13 is now in LTS. PR Close #46268 06 June 2022, 18:48:05 UTC
d67cf92 docs: add i18n video to the overview page (#46273) PR Close #46273 06 June 2022, 18:46:49 UTC
c083f6d build: lock file maintenance (#46270) PR Close #46270 06 June 2022, 18:46:27 UTC
385b5ec docs: removed outdated migration documentation (#46257) Fixes #46236 PR Close #46257 06 June 2022, 18:42:51 UTC
aa2e8ac docs: annotate more APIs with the `@developerPreview` tag (#46234) This commit updates a few more standalone-related APIs with the `@developerPreview` tag. PR Close #46234 06 June 2022, 18:37:55 UTC
612b408 refactor(core): export missing util function (#46274) This commit exports the `isHostComponentStandalone` function and also changes a location where it's imported from. The function was moved recently in a different PR, which caused some conflicts after merging other PRs that relied on the old structure. PR Close #46274 06 June 2022, 18:35:25 UTC
back to top