Skip to content

Instantly share code, notes, and snippets.

@hasokeric
Created November 19, 2024 19:17
Show Gist options
  • Save hasokeric/3db8f18c4f8c8f70470988a9afe5a410 to your computer and use it in GitHub Desktop.
Save hasokeric/3db8f18c4f8c8f70470988a9afe5a410 to your computer and use it in GitHub Desktop.
Angular v19.md

Angular 19 Features core

  • support TypeScript 5.6
  • introduce afterRenderEffect
  • Add a schematics to migrate to standalone: false.
  • mark input, output and model APIs as stable
  • stabilize @let syntax
  • change effect() execution timing & no-op allowSignalWrites
  • mark signal-based query APIs as stable
  • migrate ExperimentalPendingTasks to PendingTasks
  • promote outputFromObservable & outputToObservable to stable.
  • Promote takeUntilDestroyed to stable.
  • flipping the default value for standalone to true
  • treat directives, pipes, components as by default
  • Add rxjs operator prevent app stability until an event
  • add syntactic sugar for initializers
  • experimental resource() API for async dependencies
  • experimental impl of rxResource()
  • introduce debugName optional arg to framework signal functions -introduce the reactive linkedSignal
  • Add incremental hydration public api

router

  • Add routerOutletData input to RouterOutlet directive

compiler

  • add diagnostic for unused standalone imports -add support for the typeof keyword in template expressions.

compiler-cli -'strictStandalone' flag enforces standalone -generate the HMR replacement module

common

  • automatically use sizes auto in NgOptimizedImage
  • disable keyvalue sorting using null compareFn

language-service

  • add code fix for unused standalone imports
  • add code reactoring action to migrate @Input to signal-input
  • allow code refactorings to compute edits asynchronously
  • support migrating full classes to signal inputs in VSCode
  • support converting to signal queries in VSCode extension
  • support migrating full classes to signal queries

migrations

  • introduce signal input migration as ng generate schematic
  • add schematic to migrate to signal queries
  • add a combined migration for all signals APIs

forms

  • add ability to clear a FormRecord
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment