Repository navigation
Comparing changes
Open a pull request
base repository: angular/angular
base: 9.1.8
head repository: angular/angular
compare: 9.1.9
- 20 commits
- 10 files changed
- 6 contributors
Commits on May 20, 2020
-
Revert "fix(elements): do not break when the constructor of an Angula…
Configuration menu - View commit details
-
Copy full SHA for 12d8af5 - Browse repository at this point
Copy the full SHA 12d8af5View commit details -
Revert "fix(elements): capture input properties set before upgrading …
Configuration menu - View commit details
-
Copy full SHA for 6f3157f - Browse repository at this point
Copy the full SHA 6f3157fView commit details -
Revert "test(elements): clean up
TestStrategybetween tests (#36114)"This reverts commit d98d0db because it is causing the side effects test to break on the 9.1.x branch.
Configuration menu - View commit details
-
Copy full SHA for cf48832 - Browse repository at this point
Copy the full SHA cf48832View commit details -
Revert "test(elements): only declare helpers if needed (#36114)"
This reverts commit 7e56222 because it is causing the side effects test to break on the 9.1.x branch.
Configuration menu - View commit details
-
Copy full SHA for c8f0c3b - Browse repository at this point
Copy the full SHA c8f0c3bView commit details -
Revert "refactor(elements): remove unused imports and properties (#36114
)" This reverts commit 2ed66ac because it is causing the side effects test to break on the 9.1.x branch.
Configuration menu - View commit details
-
Copy full SHA for 2c4cfa6 - Browse repository at this point
Copy the full SHA 2c4cfa6View commit details -
Revert "refactor(elements): simplify accessing
NgElementStrategy(#…Configuration menu - View commit details
-
Copy full SHA for 4e25002 - Browse repository at this point
Copy the full SHA 4e25002View commit details -
Revert "fix(elements): correctly handle getting/setting properties be…
Configuration menu - View commit details
-
Copy full SHA for 19313f7 - Browse repository at this point
Copy the full SHA 19313f7View commit details -
ci: testing folders in compiler-cli should not require
fw-testingap……proval (#37220) The `fw-testing` PullApprove group is really designed to capture the top level public testing API groups in packages like `common` and `router`. The compiler-cli also has some folders that contain the path segment `testing` but these should not require `fw-testing` PullApprove approval. This commit excludes the whole of `compiler-cli` package from the `fw-testing` group. PR Close #37220
Configuration menu - View commit details
-
Copy full SHA for 5bd1c7b - Browse repository at this point
Copy the full SHA 5bd1c7bView commit details -
fix(dev-infra): ignore
dev-infrascope while checking for features …Configuration menu - View commit details
-
Copy full SHA for a2393be - Browse repository at this point
Copy the full SHA a2393beView commit details -
feat(dev-infra): create logging utils with support for defined loggin…
Configuration menu - View commit details
-
Copy full SHA for 468f4a3 - Browse repository at this point
Copy the full SHA 468f4a3View commit details -
build: complete removal of bazel format yarn commands (#37148)
Remove bazel yarn format deprecation message to complete the removal of formatting bazel related files via yarn command command. PR Close #37148
Configuration menu - View commit details
-
Copy full SHA for 5c94fa9 - Browse repository at this point
Copy the full SHA 5c94fa9View commit details -
docs: update docs for microbenchmarks (#37140)
Update docs in the micro benchmarks to include: * How to run with no turbo inlining * Where to find the profiles in the DevTools * Best way to debug benchmarks (using the profile_in_browser rather than --inspect-brk) PR Close #37140
Configuration menu - View commit details
-
Copy full SHA for 3eee536 - Browse repository at this point
Copy the full SHA 3eee536View commit details -
fix(elements): correctly handle getting/setting properties before con…
…necting the element (#36114) (#37226) `createCustomElements()` creates some getters/setters for properties corresponding to component inputs that delegate to the `NgElementStrategy`. However, it is not guaranteed that the element's `NgElementStrategy` will have been created when these getters/setters are called, because some polyfills (e.g. `document-register-element`) do not call the constructor. Previously, trying to get/set input properties before connecting the element to the DOM (via `connectedCallback()`) would fail due to `NgElementStrategy` not being created. This commit ensures that the `NgElementStrategy` is always created before used inside the input property getters/setters (similar to how it is done for other methods of `NgElement`). Mentioned in https://github.com/angular/angular/pull/31416/files#r300326698. PR Close #36114 PR Close #37226
Configuration menu - View commit details
-
Copy full SHA for 6ac0042 - Browse repository at this point
Copy the full SHA 6ac0042View commit details -
refactor(elements): simplify accessing
NgElementStrategy(#36114) (#……37226) Previously, we had to check whether `NgElementStrategy` had been instantiated before accessing it. This was tedious and error prone, since it was easy to forget to add the check in new call sites. This commit switches to using a getter, so that the check has to be performed in one place and is transparent to call sites (including any future ones). PR Close #36114 PR Close #37226
Configuration menu - View commit details
-
Copy full SHA for 75ead94 - Browse repository at this point
Copy the full SHA 75ead94View commit details -
refactor(elements): remove unused imports and properties (#36114) (#3…
Configuration menu - View commit details
-
Copy full SHA for dc210bc - Browse repository at this point
Copy the full SHA dc210bcView commit details -
test(elements): only declare helpers if needed (#36114) (#37226)
Previously, helper modules/components classes were declared even if the tests were not run (because the environment did not support Custom Elements for example). This commit moves the declaration of the helpers inside the `describe()` block, so they are not declared unnecessarily. This is in preparation of adding more helpers that need to access variables declared inside the `describe()` block. PR Close #36114 PR Close #37226
Configuration menu - View commit details
-
Copy full SHA for d837828 - Browse repository at this point
Copy the full SHA d837828View commit details -
test(elements): clean up
TestStrategybetween tests (#36114) (#37226)Previously, the `TestStrategy` `NgElementStrategy` used in `createCustomElement()` tests was created once and re-used in each test (due to complications related to how `customElements.register()` works). As a result, the `TestStrategy` instance's state (e.g. inputs) could be polluted from previous tests and affect subsequent ones. This commit ensures the strategy instance is reset before each test. PR Close #36114 PR Close #37226
Configuration menu - View commit details
-
Copy full SHA for 1202d17 - Browse repository at this point
Copy the full SHA 1202d17View commit details -
fix(elements): capture input properties set before upgrading the elem…
…ent (#36114) (#37226) Previously, if an element started out as a regular `HTMLElement` (not a Custom Element) and was later upgraded to a Custom Element, any properties corresponding to component inputs that were set on the element before upgrading it would not be captured correctly and thus not reflected on the instantiated component. This commit fixes it by ensuring that such properties are captured correctly. Jira issue: [FW-2006](https://angular-team.atlassian.net/browse/FW-2006) Fixes #30848 Closes #31416 PR Close #36114 PR Close #37226
Configuration menu - View commit details
-
Copy full SHA for a33cb2d - Browse repository at this point
Copy the full SHA a33cb2dView commit details -
fix(elements): do not break when the constructor of an Angular Elemen…
…t is not called (#36114) (#37226) Previously, the correct behavior of Angular custom elements relied on the constructor being called (and thus the `injector` property being initialized). However, some polyfills (e.g. `document-register-element`) do not call the constructor of custom elements, which resulted in the `injector` property being undefined and the `NgElementStrategy` failing to be instantiated. This commit fixes it by being tolerant to the `injector` property being undefined and falling back to the injector passed to the `createCustomElement()` config. NOTE: We don't have proper tests exercising the situation where the constructor is not called. For now this is tested using a Google internal test suite (which is how this issue was caught). This commit also adds a rudimentary unit test to emulate this situation. PR Close #36114 PR Close #37226
Configuration menu - View commit details
-
Copy full SHA for 1465372 - Browse repository at this point
Copy the full SHA 1465372View commit details -
Configuration menu - View commit details
-
Copy full SHA for b797913 - Browse repository at this point
Copy the full SHA b797913View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 9.1.8...9.1.9
