ngx-cookie icon indicating copy to clipboard operation
ngx-cookie copied to clipboard

Still Maintained??

Open selected-pixel-jameson opened this issue 2 years ago • 6 comments

Is this project still being maintained??

selected-pixel-jameson avatar Feb 17 '23 19:02 selected-pixel-jameson

@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?

joshaspentech avatar Mar 07 '23 16:03 joshaspentech

@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.

simeyla avatar May 12 '23 18:05 simeyla

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

joshaspentech avatar May 12 '23 19:05 joshaspentech

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

simeyla avatar May 27 '23 23:05 simeyla

@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 avatar Dec 07 '23 23:12 pavankjadda

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

pavankjadda avatar Dec 07 '23 23:12 pavankjadda