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: ac56efa
Choose a base ref
...
head repository: angular/angular
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: caaabd8
Choose a head ref
  • 5 commits
  • 40 files changed
  • 3 contributors

Commits on Sep 11, 2023

  1. feat(router): Add feature to support the View Transitions API (#51314)

    The View Transitions API enables easy animations when transitioning between different DOM states. This commit adds an opt-in feature to the Router which runs the component activation and deactivation logic in the document.startViewTransition callback. If the browser does not support this API, route activation and deactivation will happen synchronously.
    
    resolves #49401
    
    PR Close #51314
    atscott authored and AndrewKushnir committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    73e4bf2 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Configuration menu
    Copy the full SHA
    74755c4 View commit details
    Browse the repository at this point in the history
  2. fix(zone.js): temporary allow deep imports (#51737)

    `jest-preset-angular` imports `zone.js` using deep imports. This commit temporary allow this until the correct entry-points are used upstream.
    
    See: thymikee/jest-preset-angular#2162
    
    PR Close #51737
    alan-agius4 authored and AndrewKushnir committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    e86d6db View commit details
    Browse the repository at this point in the history
  3. refactor(core): decouple effects from change detection (#51049)

    Previously effects were queued as they became dirty, and this queue was
    flushed at various checkpoints during the change detection cycle. The result
    was that change detection _was_ the effect runner, and without executing CD,
    effects would not execute. This leads a particular tradeoff:
    
    * effects are subject to unidirectional data flow (bad for dx)
    * effects don't cause a new round of CD (good/bad depending on use case)
    * effects can be used to implement control flow efficiently (desirable)
    
    This commit changes the scheduling mechanism. Effects are now scheduled via
    the microtask queue. This changes the tradeoffs:
    
    * effects are no longer limited by unidirectional data flow (easy dx)
    * effects registered in the Angular zone will trigger CD after they run
      (same as `Promise.resolve` really)
    * the public `effect()` type of effect probably isn't a good building block
      for our built-in control flow, and we'll need a new internal abstraction.
    
    As `effect()` is in developer preview, changing the execution timing is not
    considered breaking even though it may impact current users.
    
    PR Close #51049
    alxhub authored and AndrewKushnir committed Sep 12, 2023
    1 Configuration menu
    Copy the full SHA
    38c9f08 View commit details
    Browse the repository at this point in the history
  4. 1 Configuration menu
    Copy the full SHA
    caaabd8 View commit details
    Browse the repository at this point in the history
Loading