This project is mirrored from https://github.com/angular/angular.git.
Pull mirroring updated .
- May 13, 2021
-
-
Alex Rickabaugh authored
PR Close #42070
-
Alex Rickabaugh authored
Due to the way PRs are merged to both master and patch branches, the size tracking goldens for `11.2.x` have gotten slightly out of sync, causing failures at HEAD. This commit corrects the goldens (an increase of approximately 500 bytes). PR Close #42069
-
Alex Rickabaugh authored
Revert "refactor(core): optimize calls to `split` and `slice` while computing version parts (#41208)" This reverts commit 744bd2b6. This commit seems to cause issues in Safari.
-
- May 11, 2021
-
-
JoostK authored
fix(platform-browser): prevent memory leak of style nodes if shadow DOM encapsulation is used (#42005) Prior to this change, any inserted `<style>` nodes into shadow dom trees would be retained in memory, even after the shadow dom tree has been removed. This commit fixes the memory leak by tracking the inserted `<style>` nodes per host element, such that removal of the host element also releases the style nodes. Fixes #36655 PR Close #42005
-
iRealNirmal authored
This commit fixes the broken stackblitz example of i18n. Closes #41838. PR Close #42001
-
Pete Bacon Darwin authored
This operator is not available in node v12. PR Close #42021
-
- May 10, 2021
-
-
Richard Sithole authored
PR Close #42008
-
JoostK authored
The JIT compiler has a mapping from component to the owning NgModule and tracks whether a certain NgModule class has been verified; these maps causes any JIT compiled component and NgModule to be retained even if they are no longer referenced from anywhere else. This commit switches the maps to `WeakMap` to allow garbage collecting any components and NgModules that are no longer referenced elsewhere. Fixes #19997 PR Close #42003
-
Pete Bacon Darwin authored
After the changes to the `lang-none` styling in #41335, code snippets marked with ``` language="none" class="code-shell" ``` were being styled with the same foreground and background colours. It turns out that most of these ought to be marked `language="sh"` in which case the `code-shell` style became redundant and has been removed. Fixes #41984 PR Close #41994
-
Teri Glover authored
PR Close #41976
-
Pete Bacon Darwin authored
The `as any` is no longer needed since `providedIn` can accept `'any'`. PR Close #41960
-
Pete Bacon Darwin authored
The `.ngmodule-iist` is no longer used so can be removed. PR Close #41960
-
Pete Bacon Darwin authored
Parse the `providers` property of each NgModule doc and add this doc to the `ngModules` property of each provided injectable. PR Close #41960
-
Pete Bacon Darwin authored
Such injectables were not appearing in the providers lists of their NgModule. This commit updates the doc-gen to support associating these automatically. Further, it also allows developers to mark other injectables that are provided in an NgModule with a reference to the NgModule where they are provided. The commit also does a refactoring of the `processNgModuleDocs` dgeni processor code, to make it easier to maintain. Fixes #41203 PR Close #41960
-
Andrew J Asche authored
Template input variables are now described in the glossary. PR Close #41632
-
Julien Marcou authored
Reduce the number of calls made to `split` and `slice` while computing version parts by deconstructing the result. PR Close #41208
-
Julien Marcou authored
PR Close #41208
-
- May 07, 2021
-
-
profanis authored
while reading the documentation, I noticed that there were references in the material's documentation. Since the links were absent, I had to google the terms and continue my study. I find it easier for the reader not to be distracted by googling, but just clicking and following the suggested links PR Close #41982
-
mgechev authored
Enable a GitHub action that implements our new feature request [process](https://github.com/angular/angular/blob/ce8e011a9f7c6bac94292d632b0cc8822f710a66/docs/GITHUB_PROCESS.md#feature-request-process). As a prerequisite, we need to create the following labels: - `in backlog` - `votes required` - `under consideration` - `insufficient votes` The bot will also use the existing `feature` label to identify feature requests. With its current configuration, we need to kick the process off manually. We currently also have a limit, meaning the bot will process only 50 feature requests before it exits. Additionally, now the bot will not close issues, it'll just comment on them and if they have an insufficient number of votes, the bot will label them with `insufficient votes`. On the next iteration, we can: - Expand the limit from 50 to infinity (removing the option from the yml file) - Set a cron configuration to kick off the bot automatically - Enable autoclose by setting the `close-when-no-sufficient-votes` to `true` PR Close #41975
-
mgechev authored
Invoke the profiler for `ngOnDestroy` lifecycle hooks for services, components, directives, and pipes. PR Close #41969
-
Joey Perrott authored
Reword a few things in the explanation around our `Feature request process` to make the process a little clearer. PR Close #41977
-
mgechev authored
Center the diagram and use a relative path to make sure we don't break a branch if we restructure `master`/`main`. PR Close #41970
-
Georgii Dolzhykov authored
A Node can only be an instance of one of the six classes. This relation can be accurately expressed using a union type. PR Close #41360
-
Joey Perrott authored
Include the release notes entry for the release in the release created on Github. PR Close #41964
-
va-stefanek authored
change error message of invalid NgSwitch use and add corner cases tests PR Close #41704
-
Kapunahele Wong authored
This commit adds support for skipping formatting in `<aio-code>` elements (which are used by `<code-example>` and `<code-pane>` elements under the hood) by specifying the `language` option as `'root'`. This is useful for code-snippets that include plain text. PR Close #41335
-
- May 06, 2021
-
-
Joey Perrott authored
Update the ng-dev config for release to use the new release notes system for generating release notes. PR Close #41905
-
Joey Perrott authored
Enables the new common release notes generation within the ng-dev release publishing tooling. PR Close #41905
-
mgechev authored
PR Close #41953
-
Misko Hevery authored
-
Paul Gschwendtner authored
We recently added a sanity check that ensures that `python` is available for Bazel. The check relies on `/usr/bin/python` to check if python is available w/ the correct version. The problem is that on Windows there is no guarantee that the `/usr/bin` folder exists, so the `ng-dev release publish` command always fails. We fix this by just accessing the `env` binary that is also consulted by scripts executed within Bazel actions. The `env` binary can be assumed exist in the shell's `$PATH` and can point us to Python as if it would be executed within Bazel. PR Close #41943
-
Paul Gschwendtner authored
Currently we have a common utility method for running commands in a child process. This method pipes all stdout and stderr, but sets the `stdin` to `inherited`. This seemed to work as expected in terms of allowing interactive commands being executed, but it messes with the TTY in Windows (and potentially other platforms) so that colors and prompts no longer work properly. See attached screenshot. We fix this by not inheriting the stdin by default; but exposing a dedicated method for interactive commands. This results in more readable and obvious code too, so it's worth making this change regardless of the TTY issues. PR Close #41948
-
- May 05, 2021
-
-
Gourav102 authored
Removed the extra backtick character for `getLocaleTimeFormat()` link. PR Close #41945
-
Paul Gschwendtner authored
Currently if a major release-train in the `release-candidate`/`feature-freeze` phase becomes `latest`, we intend to set the NPM LTS dist tag for all packages of the previous major (as the old release train in `latest` moves into LTS phase). The logic for this exists but the release tool sets the NPM dist tag for all packages of the new major. This means that the script might error if a new package is part of the new major; or it could cause a deleted package to not receive the LTS tag properly. PR Close #41946
-
Dylan Hunn authored
PR Close #41936
-
Pete Bacon Darwin authored
Some localization workflows want to use the extracted source translation files directy back in the project as a target translation file. The extraction process generates files that only contain "source" messages and not "target" messages. This is actually valid for most translation formats but currently the Angular localization process expects target translation files to always contain target messages and will stop with an error in this case. Now, instead of an error, the translation file loader will log a warning, and then try to falback to a source message, only erroring if this is also missing. Fixes #21690 PR Close #41944
-
Zach Arend authored
Fixes a crash when running the `ValidateFileModule`. PR Close #41949
-
- May 04, 2021
-
-
Ben Lesh authored
Adds a fix to make sure that RxJS v7 Observable is compatible with AsyncPipe. This is a typings-only change. For more information see: https://github.com/microsoft/TypeScript/issues/43643 PR Close #41590
-
Hugo Mejia authored
A label should be 'for' an input, and an 'input' should have an 'id'. PR Close #41827
-
Joey Perrott authored
Remove emojis from github issue templates as they are not great for a11y and do not provide great value. PR Close #41902
-