You can now use paramMap to get the route- and query-parameter from a related route.

Old:

class MyComponent {
 sessionId: Observable<string>;
 
 constructor(private route: ActivatedRoute) {}
 
 ngOnInit() {
   this.sessionId = this.route
     .queryParams
     .map(params => params['session_id'] || 'None');
 }
}

New:

class MyComponent {
 sessionId: Observable<string>;
 
 constructor(private route: ActivatedRoute) {}
 
 ngOnInit() {
   this.sessionId = this.route
     .queryParamMap
     .map(paramMap => paramMap.get('session_id') || 'None');
 }
}

Are there any advantages?
Yes, now we are type-safe! The old structure had an unsecure type (type params = {[key: string]: any}) and the value could have all possible types. The new way provides either a string, or an array of strings related to the used method (paramMap.get(): string and paramMap.getAll(): string[])