Environment:
Description:
RxJs 6, included in Angular 6, has a few breaking changes one of which is a change in import paths.
When importing keycloak in an Angular 6 project, the following compile errors are thrown:
ERROR in node_modules/keycloak-angular/src/services/keycloak.service.d.ts(2,10): error TS2305: Module '"/code/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
The error can be patched with npm install rxjs-compat during the migration period.
This Issue is a request to support rxjs v6 without needing to install the rxjs-compat module.
@samherrmann thanks for opening the issue!
I'm working on the next version of the library and I'm expecting to release it on this weekend to be compatible with angular 6.
I'm planning a new versioning strategy and i'm testing some possibilities, however I will probably follow the angular major version, for example:
I think that delivering the lib in this way will be easier to maintain the angular compatibility and also, easier for the developer choose the right version.
Right now I'm thinking the best way to deal with the keycloak-js lib version and making some experiments.
I agree! cheers
I was just going to open new issue for this but just noticed this one. Looking forward to v6 over the weekend.
Thanks for the library and keep up the good work.
Most helpful comment
@samherrmann thanks for opening the issue!
I'm working on the next version of the library and I'm expecting to release it on this weekend to be compatible with angular 6.
I'm planning a new versioning strategy and i'm testing some possibilities, however I will probably follow the angular major version, for example:
I think that delivering the lib in this way will be easier to maintain the angular compatibility and also, easier for the developer choose the right version.
Right now I'm thinking the best way to deal with the keycloak-js lib version and making some experiments.