angular-tree-component: not compatible with angular 5 after version beta 4

Not compatible after version 5.beta-5

https://github.com/angular/angular/blob/master/CHANGELOG.md#500-beta5-2017-08-29

common: remove deprecated NgTemplateOutlet#ngOutletContext

common: NgTemplateOutlet#ngOutletContext has been removed as it was deprecated since v4. Use NgTemplateOutlet#ngTemplateOutletContext instead.

error message

   To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
      <ng-container
        [ngTemplateOutlet]="templates.treeNodeFullTemplate"
        [ERROR ->][ngOutletContext]="{ $implicit: node, node: node, index: index, templates: templates }">
      </ng-c"): ng:///TreeModule/TreeNodeComponent.html@22:8

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 6
  • Comments: 21 (4 by maintainers)

Most upvoted comments

Merged and will be published soon

Adam Klein Chief Technology Officer

Tel. +972-52-7475633 <+972527475633> Web 500tech.com http://www.500tech.com/ | github.com/500tech | @adamklein500 http://twitter.com/adamklein500

On Sat, Nov 4, 2017 at 7:27 PM, Dmitry Zakharov notifications@github.com wrote:

ng-container and ngOutletContext is deprecated and/or removed in Angular 5 (for details check angular 5 changelog).

angular-tree-component should be angular 5 compliant for using it with angular 5.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/500tech/angular-tree-component/issues/454#issuecomment-341914954, or mute the thread https://github.com/notifications/unsubscribe-auth/AA2SSiBnDvpLK4D2y9ull4En7elV4Hnkks5szJ6WgaJpZM4P9zoW .

I guess that https://github.com/500tech/angular-tree-component/pull/460 is doing the job. Could you have a look please? Many thanks

Hi, published in 5.2.0. Thanks for the patience. @isaacplmann Thanks! Did you enjoy my talk? 😃

@adamkleingit is at Angular Connect this week, so my guess is that publishing this might take a while. Enjoy the conference, Adam! We’ll survive a week without upgrading to Angular 5.

Yes I guess so @burakkilic. Do you have rights to push it to npm @adamkleingit?

Thx

Hey, same thing here 😃 With v5.0 freshly out 😮

@adamkleingit are you able to provide an update on when this is likely to get published? Thanks