salemdar / ngx-cookie

Implementation of Angular 1.x $cookies service to Angular 2
MIT License
318 stars 68 forks source link

Still Maintained?? #635

Open selected-pixel-jameson opened 1 year ago

selected-pixel-jameson commented 1 year ago

Is this project still being maintained??

joshaspentech commented 1 year ago

@selected-pixel-jameson the latest release was v6.0.1 in June 2022 and averages 1 release per year. Is there something that indicates it is a dead project, asking for a friend?

simeyla commented 1 year ago

@joshaspentech Clearly a simple library for setting and reading cookies shouldn't need regular updates but not updating the project to support newer Angular versions is a red flag that it's effectively abandoned.

Unfortunately that's now hit a critical point for Angular v16 which requires libraries to be compiled for Ivy.

This issue hasn't been addressed in 9 months: https://github.com/salemdar/ngx-cookie/issues/503

This alternative project seems to have 'won' for Angular cookies https://www.npmjs.com/package/ngx-cookie-service so probably should update to this.

joshaspentech commented 1 year ago

Yea, that was my final assessment as well. Thanks for sharing the npm link for everyone!

simeyla commented 1 year ago

Warning: The ngx-cookie-service returns an empty string if the cookie doesn't exist whereas ngx-cookie returned null.

This likely won't catch most people out, but I had a subtle case where it did so just wanted to come back and mention it.

If it does matter to you, you can match the behavior with thiscookieService.get('cookieName') || null

pavankjadda commented 9 months ago

@joshaspentech Clearly a simple library for setting and reading cookies shouldn't need regular updates but not updating the project to support newer Angular versions is a red flag that it's effectively abandoned.

Unfortunately that's now hit a critical point for Angular v16 which requires libraries to be compiled for Ivy.

This issue hasn't been addressed in 9 months: #503

This alternative project seems to have 'won' for Angular cookies https://www.npmjs.com/package/ngx-cookie-service so probably should update to this.

Hello, ngx-cookie-service maintainer here. We do keep up with Angular versions and released Angular 17 version on release day. You can get started here: https://github.com/stevermeister/ngx-cookie-service?tab=readme-ov-file#installation

pavankjadda commented 9 months ago

Yea, that was my final assessment as well. Thanks for sharing the npm link for everyone!

See my response https://github.com/salemdar/ngx-cookie/issues/635#issuecomment-1846240681