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-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 13.1.2
Choose a base ref
...
head repository: angular/angular-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 13.1.3
Choose a head ref
  • 17 commits
  • 58 files changed
  • 9 contributors

Commits on Dec 17, 2021

  1. fix(@angular/cli): remove extra space in `Unable to find compatible p…

    …ackage` during `ng add`
    
    (cherry picked from commit b7e2923)
    alan-agius4 committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    4c9d72c View commit details
    Browse the repository at this point in the history
  2. refactor(@angular-devkit/build-angular): ability to perform DCE but r…

    …etain symbol names
    
    Previously, we enabled the `keepNames` esbuild when mangling was disabled, this caused dead code to be retained because of the transformations that esbuild did to the input.
    
    Input
    ```js
    class foo {}
    ```
    
    Output
    ```js
    var l = Object.defineProperty,
      a = (s, c) => l(s, "name", { value: c, configurable: !0 });
    class foo {}
    a(foo, "foo");
    ```
    
    Previously we enabled the `keepNames` esbuild option when mangling was disabled, which is actually not needed to retain the name of symbols but is needed for SSR because Domino relies on the `name` property on functions and classes.
    
    Closes #22354
    
    (cherry picked from commit 2c9a33d)
    alan-agius4 committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    39c95da View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2022

  1. fix(@schematics/angular): set skipTest flag for resolvers when usin…

    …g ng new --skip-tests
    
    (cherry picked from commit aadfc79)
    Lehoczky authored and dgp1130 committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    9b07191 View commit details
    Browse the repository at this point in the history
  2. build: perform package.json substitutions in bazel build

    (cherry picked from commit 4b5c52b)
    kormide authored and dgp1130 committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    3f54e8f View commit details
    Browse the repository at this point in the history
  3. docs: remove old information from debugging section

    `universal-analytics` has been removed via dbce2a3 which makes `DEBUG=universal-analytics` unusable.
    
    (cherry picked from commit 17c78a5)
    alan-agius4 authored and dgp1130 committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    0c03a2f View commit details
    Browse the repository at this point in the history
  4. fix(@angular-devkit/build-angular): enable :where CSS pseudo-class

    Currently when using the `:where` CSS pseudo-class in Angular CLI projects,
    a warning will be emitted, as `:where` could not be interpreted. Updating
    to the latest version of `critters` fixes this issue.
    
    (cherry picked from commit 9a9af20)
    kyubisation authored and dgp1130 committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    de68daa View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. fix(@angular-devkit/build-angular): correctly resolve `core-js/propos…

    …als/reflect-metadata`
    
    Closes #22443
    
    (cherry picked from commit a5e375c)
    alan-agius4 authored and dgp1130 committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    6046e06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6876ad3 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2022

  1. fix(@angular-devkit/build-angular): automatically purge stale build c…

    …ache entries
    
    With every build-angular release, previously created cache entries get stale and are no longer used. This causes the cache to keep growing as older files are not purged.
    
    With this change we automatically purge entries that have been created with older version of build-angular and can no longer be used with the current installed version.
    
    Closes #22323
    
    (cherry picked from commit 6d2087b)
    alan-agius4 authored and dgp1130 committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    5b39e0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ca0e41 View commit details
    Browse the repository at this point in the history
  3. fix(@angular-devkit/build-angular): load translations fresh start

    Currently when making a change while serving a localized application, duplicate
    translation warnings appear for every translation id. This fixes that by
    replacing the whole translation object with a new one each time translations
    are loaded.
    
    fixes #22398
    bbarry authored and dgp1130 committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    92b4e06 View commit details
    Browse the repository at this point in the history
  4. fix(@angular-devkit/build-angular): websocket client only injected if…

    … required
    
    After the webpack-dev-server migration to v4, the websocket client was always injected, even if not required. This caused unnecessary 'ws' requests when live-reload and hmr were disabled.
    
    (cherry picked from commit 50167a3)
    egoettelmann authored and dgp1130 committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    11fd021 View commit details
    Browse the repository at this point in the history
  5. refactor(@schematics/angular): changed casings and small reorganizing

    Removed profiling files
    
    Removed chrome-profiler-events*.json as it's no longer generated.
    
    (cherry picked from commit 08152f7)
    fALKENdk authored and dgp1130 committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    de5fe42 View commit details
    Browse the repository at this point in the history
  6. fix(@angular-devkit/build-angular): localized bundle generation fails…

    … in watch mode
    
    Previously, we used to delete the temporary emitted JS and map files. However this causes a problem in watch mode, as Webpack will not re-emit these deleted files during the next incremental re-build.
    
    With this change we now delete the entire temporary directory when the process is being terminated instead of a file by file bases.
    
    Closes #22395
    
    (cherry picked from commit 0d68ed5)
    alan-agius4 authored and dgp1130 committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    d674dcd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6a617ff View commit details
    Browse the repository at this point in the history
  8. build: update shelljs dependencies to "^0.8.5"

    Update shelljs dependencies to ^0.8.5 to fix a vulnerability reported to shelljs.
    
    (cherry picked from commit 7b24cee)
    josephperrott authored and dgp1130 committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    fc698c6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    05d762c View commit details
    Browse the repository at this point in the history
Loading