Ngx-bootstrap: Not compatible with Angular 5.0.0-beta.5

Created on 29 Aug 2017  路  8Comments  路  Source: valor-software/ngx-bootstrap

Neither version 1.9.1 nor version @next (currently 2.0.0-beta.4) work with Angular 5.0.0-beta.5. When run, get many errors due to usage of deprecated properties.

First error (of many):

ERROR Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to 'ngOutletContext' since it isn't a known property of 'ng-template'.
1. If 'ngOutletContext' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.
2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. (" -->
<ng-template [ngTemplateOutlet]="optionsListTemplate || (isBs4 ? bs4Template : bs3Template)"
  [ERROR ->][ngOutletContext]="{matches:matches, itemTemplate:itemTemplate, query:query}"></ng-template>

<!-- de"): ng:///TypeaheadModule/TypeaheadContainerComponent.html@3:2
...

Most helpful comment

ngx-bs compatible with v5 should be available next week (+-1)

All 8 comments

it's not compatible
this week we will drop support of v2, and can move to v4 and v5 support

ngx-bs compatible with v5 should be available next week (+-1)

@valorkin did you mean that, [email protected] (non-beta version) will be released and become the default, instead of @next ?

A lot of refactoring and testing will be done in next 2 weeks, I don't want to publish any kind of regression

hey @valorkin any update on this? Don't want to rush but was curious if the code you are working on is commited anywhere.

Thanks for your work @valorkin ! When should we anticipate the fix?

I already setup CI to check @next version compatibility, now only need to fix it :)

Tests are passing BTW

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tuoitrexuquang picture tuoitrexuquang  路  3Comments

haisaco picture haisaco  路  3Comments

MihaiHoriaPopescu picture MihaiHoriaPopescu  路  3Comments

ctrl-brk picture ctrl-brk  路  3Comments

srjkrl20011991 picture srjkrl20011991  路  3Comments