Update to angular 12 / 13 / ......
Is it possible to update to Angular 12?
@mhollier , This is possible, I'll take a look.
Would also love this update! Willing to do myself if there are people around who can review...
I will try to fix it this weekend.
@mbrankintrintech Sorry.
It's not so easy as it seems.
I cannot get my project to build anymore, it's too old I think. I spent a few hours on trying to fix it. Not yet succeeded.
Probably need to start a new library as described here: https://angular.io/guide/creating-libraries
However this will take a lot of time (also I want to add unit tests....)
Hi.
Is there any progress? Can you update dependencies to Angular 14?
No sorry, I cannot get the library with the new project structure working...
I created a local fork of your API and stripped out the testing, demo app and documentation generation parts of the build, bringing it down to only the API itself. I was able to package this as a 'new' angular library npm package that builds with Angular 15, RxJS 7, and other updated APIs. I will look at uploading as a public fork of this project, so perhaps it would help you update your library.
That would be awesome - would love to see that as well
My fork of the code is available here: https://github.com/awdorrin/ngx-odata-client I have not attempted to deploy to the public NPM repos yet, but I will try to do so later this week.
I was able to uninstall the angular-odata-es5 library, install this new ngx-odata-client library, and then just updated the imports in my application, and things worked. (Once a couple of people on Slack Overflow helped me resolve a caching issue that had me stumped!)
Hi @awdorrin @matracey. Have you updated your forks to work with last angular versions (16,17) ? And have you deployed them on npm ? If not can you explain how to install it in a project to replace the original package. Thank you very much for your answers
I have used my branch with an app that I have brought up to Angular 15.2.9, but have not updated that application to 16 o/17 yet. I have never deployed a github project to npm, but am willing to see what is involved.
@AnaisR7 I have published my fork on npm here: @awdorrin/ngx-odata-client I have Angular 15, 16 and 17 packages available. This is my first time publishing to NPM, so if you have any issues, let me know and I'll work to resolve.
@awdorrin If you like, I can transfer this repository to you?