Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: angular/angular
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 16.0.4
Choose a base ref
...
head repository: angular/angular
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 16.0.5
Choose a head ref
  • 19 commits
  • 59 files changed
  • 10 contributors

Commits on Jun 1, 2023

  1. docs: selector precisions (#50534)

    This commit fixes the layout of the page and adds a precision on what selectors are supported by ng-content
    
    See #50511
    
    PR Close #50534
    JeanMeche authored and dylhunn committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    19d6b9a View commit details
    Browse the repository at this point in the history
  2. build: update dependency eslint-plugin-jsdoc to v46 (#50524)

    See associated pull request for more information.
    
    PR Close #50524
    angular-robot authored and dylhunn committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    79bbf12 View commit details
    Browse the repository at this point in the history
  3. fix(compiler): do not remove comments in component styles (#50346)

    Prior to this commit, comments in CSS were being removed. This caused inline sourcemaps to break to the shift in lines.
    
    This caused sourcemaps to break in the ESBuild based builder as this always adds comments at the top of the file with the filename.
    
    Example
    ```css
     /* src/app/app.component.scss */
    * {
      color: red;
      background: transparent;
    }
    /*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvYXBwLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBOzs7Ozs7Ozs7Q0FBQTtBQVdBO0VBQ0UsVUFBQTtFQUNBLHVCQUFBO0FBREYiLCJzb3VyY2VzQ29udGVudCI6WyIvL01FRElBIFFVRVJZIE1BTkFHRVJcbi8qXG4gIDAgLSA2MDA6IFBob25lXG4gIDYwMCAtIDkwMDogVGFibGV0IHBvcnRyYWl0XG4gIDkwMCAtIDEyMDA6IFRhYmxldCBsYW5kc2NhcGVcbiAgMTIwMCAtIDE4MDA6IE5vcm1hbCBzdHlsZXNcbiAgMTgwMCsgOiBCaWcgRGVza3RvcFxuICAxZW0gPSAxNnB4XG4gIFRoZSBzbWFsbGVyIGRldmljZSBydWxlcyBhbHdheXMgc2hvdWxkIHdyaXRlIGJlbG93IHRoZSBiaWdnZXIgZGV2aWNlIHJ1bGVzXG4gIEZpeGluZyBPcmRlciA9PiBCYXNlICsgVHlwb2dyYXBoeSA+PiBHZW5lcmFsIExheW91dCArIEdyaWQgPj4gUGFnZSBMYXlvdXQgKyBDb21wb25lbnRcbiovXG5cbioge1xuICBjb2xvcjogcmVkO1xuICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDtcbn1cbiJdLCJzb3VyY2VSb290IjoiIn0= */
    ```
    
    Closes #50308
    
    PR Close #50346
    alan-agius4 authored and dylhunn committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    703b8fc View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. fix(zone.js): patch entire promise in node (#50552)

    In #49144 we introduced a change to only path `Promise.prototype.then` due to Node.js `SafePromise` complaining about `Promise.prototype.then` called on incompatible receiver. This however introduced a number of regressions. This commit reverts this change and re-introduces the changes to patch the entire promise on Node.
    
    The original `SafePromise` problem is no longer reproducible as of Node.js version 18.13+ as it was addressed as part of nodejs/node#45175.
    
    While the Angular CLI does not yet generate ESM server bundles, users using ESM with dynamic imports will require using Node.js 18.13 or later.
    
    Closes #50513, closes #50457, closes #50414 and closes #49930
    
    PR Close #50552
    alan-agius4 authored and alxhub committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    9d7991a View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. fix(docs-infra): replace use of turbo on StackBlitz with npm (#50576)

    Turbo is being deprecated and can be replaced by npm with some tweaks. In particular, the installation step needs `--legacy-peer-deps` to mimic turbo's behaviour.
    
    PR Close #50576
    Nemikolh authored and devversion committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    7106b2f View commit details
    Browse the repository at this point in the history
  2. docs: Fix punctuation for better consistency (#50560)

    This is to fix a punctuation issue on the "Tour of Heroes - Introduction" page for better consistency.
    PR Close #50560
    DinithiDiaz authored and alxhub committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    5cfb6ca View commit details
    Browse the repository at this point in the history
  3. fix(core): wait for HTTP in ngOnInit correctly before server render (

    …#50573)
    
    Previously, with `mergeMap` we did not cancel previous subscriptions to zoneIsStable which caused the application to be stablized before hand.
    
    Closes: #50562
    
    PR Close #50573
    alan-agius4 authored and alxhub committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    c992109 View commit details
    Browse the repository at this point in the history
  4. build: update eslint dependencies to v5.59.9 (#50584)

    See associated pull request for more information.
    
    PR Close #50584
    angular-robot authored and alxhub committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    6f092c9 View commit details
    Browse the repository at this point in the history
  5. build: update github/codeql-action action to v2.3.6 (#50585)

    See associated pull request for more information.
    
    PR Close #50585
    angular-robot authored and alxhub committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    af4fa9a View commit details
    Browse the repository at this point in the history
  6. docs: updated the markup elements (#50586)

    PR Close #50586
    aanchal88 authored and alxhub committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    ef35ccd View commit details
    Browse the repository at this point in the history
  7. fix(core): incorrectly throwing error for self-referencing component (#…

    …50559)
    
    Components are implied to be self-referencing, but if they explicitly set themselves in the `imports` array, they would throw an error because we weren't filtering them out.
    
    Fixes #50525.
    
    PR Close #50559
    crisbeto authored and alxhub committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    2b6da93 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. fix(zone.js): enable monkey patching of the queueMicrotask() API in…

    … node.js (#50530)
    
    Similar to the browser, now we also monkey patch `queueMicrotask` in Node.js. This API was added in Node.js 11.
    
    PR Close #50530
    alan-agius4 authored and alxhub committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    4b16884 View commit details
    Browse the repository at this point in the history
  2. fix(platform-server): surface errors during rendering (#50587)

    Prior to this change in some cases errors tht happen during routing were not being surfaced. This is due to the fact that the router has floating promises, and the platform was being destroyed prior to these being settled.
    
    PR Close #50587
    alan-agius4 authored and alxhub committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    c0d4086 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eef1cbb View commit details
    Browse the repository at this point in the history
  4. build: update dependency get-port to v7 (#50566)

    See associated pull request for more information.
    
    PR Close #50566
    angular-robot authored and alxhub committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    d2b205e View commit details
    Browse the repository at this point in the history
  5. build: update dependency gulp-conventional-changelog to v3 (#50598)

    See associated pull request for more information.
    
    PR Close #50598
    angular-robot authored and alxhub committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    9035b88 View commit details
    Browse the repository at this point in the history
  6. refactor(bazel): Circuit out ts semantic check in local mode compilat…

    …ion (#50486)
    
    In local mode compilation the TS semantic check issues tons of diagnostics due to the fact that the file dependencies (.d.ts files) are not available in the program. So it needs to be disabled.
    
    This commit should not cause any issue for the exsiting projects as it just removes a diagnostic in the local compilation mode.
    
    PR Close #50486
    pmvald authored and alxhub committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    84912e8 View commit details
    Browse the repository at this point in the history
  7. refactor(compiler-cli): Remove .d.ts files transformer in local compi…

    …lation mode. (#50486)
    
    In local mode we don't make use of .d.ts files for Angular compilation, so their transformation can be ditched.
    
    PR Close #50486
    pmvald authored and alxhub committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    c5facb9 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. Configuration menu
    Copy the full SHA
    992ce2d View commit details
    Browse the repository at this point in the history
Loading