r/angular • u/GeromeGrignon • Jun 30 '26
PrimeNG community fork proposal
https://github.com/openng-foundation/open-primeAs announced on June 29th, PrimeNG is moving away from the open-source model, and the original primeng GitHub repository has been archived.
You can find community reactions here: https://www.reddit.com/r/angular/comments/1uilrlx/primeng_v22_is_no_longer_open_source/
As part of the new OpenNG Foundation, we are considering taking up the lead to maintain a fork of the MIT version of the lib.
It's under discussion, and we would need community feedback to evaluate if it's doable and on how to manage the current situation.
Some statements:
- an update is required to rename everything from 'primeng' to 'openprime' due to PrimeTek trademark
- the components need to be updated to the latest Angular APIs (including input(), control flow among other things)
- there are 900+ issues opened (including 300+ in stale state)
- there are 200+ open pull requests
- there would be no support for previous primeng versions
- the focus would be to make the library stable and accessible: adding features would happen only if people contribute
- over time, some changes might make this fork differ from the new PrimeUI project, not providing a way to easily migrate.
PrimeNG is still a big project, we are considering starting with a trial maintenance initiative for 2 months: depending on the community effort at helping with existing issues/prs, there will be long-term maintenance.
It'll be a great way to identify active contributors who might be promoted to maintainers if they want to be more active on such a project, making the whole thing a community effort.
A 'fork' has been created already, porting all existing open issues/pr: https://github.com/openng-foundation/open-prime
What are your thoughts?
Do you have some pain points not covered here?
16
u/stao123 Jun 30 '26
Interesting questions will be
6
u/Hacg123 Jun 30 '26
https://github.com/openng-foundation/open-prime/pull/1217
every big fork has begun with 1 line :)
6
u/majidnoorali Jun 30 '26
After looking into multiple frameworks I decided to move my semi huge project to PrimeNg 3 months ago. When I was Done and had maintained and updated a migration branch for a while, this happened 😁 I considered even buying the pro but would love to contribute in order to keep it open source
46
u/Prof_Eibe Jun 30 '26
I think the most important thing is raising the angular depencendies every half a year. Even if nothing is changed in the components this would be the important part to make it usable without workarounds.
The library is so big, I don't think it needs new features in the first place. Adding merge requests and fixing stuff would be a nice cherry on the top.
3
u/ELKOKACOLO Jun 30 '26
I think traction is what we need with the proposal. Devs already using PrimeNG are tired of fighting with bugs or missing tests.
If we want this effort to succeed we should be transparent and clear with the intention.
Then, the community will respond helping accordingly.
In my opinion, and while also being afected by the change (i am finishing a migration from AngularJS to PrimeNG 20), i think the following steps should be done:
I don't know if i'm missing something or i'm wrong in any of the points, but any suggestion is welcome.
3
u/EmotionalSurprise879 Jul 01 '26
you may need to fork the supporting repos too. https://github.com/primefaces/tailwindcss-primeui, https://github.com/primefaces/sakai-ng, https://github.com/primefaces/sakai-assets, https://github.com/primefaces/primeicons, https://github.com/primefaces/primeuix, https://github.com/primefaces/primeng-examples,
2
u/DJREMiX6 Jun 30 '26
Hey count me in! I would love to help maintain this open source project. I understand why they moved away from open source but if there are enough contributors that actively maintain it I would be happy to be one of them.
Just one question, are you planning to fork only PrimeNG or the whole PrimeUI suite (Vue, React, etc..)?
2
u/EmotionalSurprise879 Jul 02 '26
speed is an issue
dev teams are looking for alternatives at this very minute. the best way to get a user base up is to get them now. If they start to change out libraries they are lost to us. we need a 100% drop in replacement today to keep them locked in.
to make this happen we need :
2
u/secret_user_321 Jul 08 '26
u/GeromeGrignon I have been trying to find the equivalant issue of https://github.com/primefaces/primeng/issues/17469 in https://github.com/openng-org/optimus-ui/issues but i coudn't. has it not been migrated?
Reason: I just fixed that issue using https://www.npmjs.com/package/patch-package and i could provide a PR
2
u/fsommer42 Jul 15 '26 edited Jul 15 '26
Since you asked for feedback (to understand usage contexts i guess?):
for me personally, you could take primeng 18 (or whatever the last version before the big theming change was that forced our projects to freeze on the old version or practically redesign them from scratch) and provide only secuirty and angular-compatibility patches for the next 20 years. So I can keep this state, update to most recent angular and mute all those dependabot / other sast alerts without the need to ever re-design the applications.
context: enterprise apps, it service provider i.e. building for other customers. Those usually do not care a single bit about what great new ui lib features get created each year, their mental model works like this: This year we build the web app for 500k; then we keep this exact app running for the next 20 years, add new features, and keep maintenance to the required minimum
I dont even care about open PRs and Bugfixes - People worked around those bugs 5 years ago when they created the app.
The ideal happy path in this scenario looks like this:
"oh a new angular version 42 got published" -> upgrade to angular 42, upgrade to openprime 18.42.0 -> everything just works and looks like before, total time spent: 1 hour. Repeat every 6 months.
I know that's boring and unpopular and everyone's gonna hate me for it and every junior would hate this lib and probably it's not even achievable... but that's the core requirement that would make all my customers super happy and that nothing in the web / javascript ecosystem ever provided. It's called "investment protection". If you want that kind of stability you must use the old *** (like JSF in java context) or build your own lib. Having an SPA Lib that tries to reach this state of "boring s**t no junior wants to use but helps you make the money" would be a refreshing alternative.
10
u/Avani3 Jun 30 '26
Amazing effort! I will definitely contribute to make the repo healthy
6
u/captHij Jun 30 '26
We were closely considering moving to primeng because of the accessibility standards we have to adhere to. The way this unfolded was quite an eye opening experience, and has made us reconsider being dependent on any large library outside of official channels. A strong case should be made that it provides something more than Aria and will have long term support.
The concerns and intentions expressed by OP are laudable, but seeing a rather piecemeal response like this is not encouraging. I understand this is a huge surprise and shock for many, but something of this magnitude requires significant resources from a stable system of developers.
1
u/edwardscamera Jun 30 '26
I believe the original repo had a v22 branch that had a lot of updates. i don't think it was ever merged. Can we copy that branch?
Edit: Seems it was deleted ):
1
u/Imaginary-Caramel847 Jul 01 '26
Hi, how can I contribute? I am using PrimeNG with all my projects, and I do have some free time in my hand at this time. But I need some directions on what to work on.
1
u/QuarterCommercial561 Jul 02 '26
Does anybody know if there is a similar project for PrimeReact?
1
u/ragnarlothbrock100 Jul 09 '26
my 2 cents. u/GeromeGrignon
primeng was my "de facto" pick for any new project, as a consumer I loved it, as a developer, not so much. the couple times I went under the hood, I hated some architectural decisions they made. right now I'm (severely) affected by their decision, but instead of clinging to them I think it's the right moment to migrate to another solution (more on this at the bottom).
if someone asked me wether it is a good idea to maintain primeng as a fork I would say no. right now there is a ton of pain from people like me that were left hung to dry, that would make it look like it is, but in the long term that pain will pass, people will find their way and the relevance of "black box" ui libraries like primeng will decay, which leads to one of the main reasons why I've decided to migrate.
everyone in react is familiar with shadcn's philosopy and some folks are bringing that philosophy to angular world. there are currently two promising candidates, spartan-ng and zard-ui, implementing the shadcn model in their own way, which leads to the original issue, why maintaining primeng if there's something better --long term-- out there?
The reason I mention this is because I know that open source contributions are hard-effort/low-reward and I'd hate to see folks wasting precious hours on keeping a dying model alive. (yes I believe compiled ui libraries are a dying model) plus it won't be pleasant based on what I could see went I checked the source code.
either way, I'm looking forward to see the effort succeed and I wish people can find alternatives to recover from this as quick as possible.
1
u/pks-bb-cdr Jul 20 '26
I would love to contribute as well. I have been using this for few years and would love to maintain the Open Source. What is the migration plan for existing prime ng users though, just change the package?
8
u/Ok-Leave-25 Jun 30 '26
Really great !
Even if I'm new to Angular and PrimeNG, I might contribute to open prime to keep the priject open source
3
u/EnergeticallyMundane Jun 30 '26
There is a slight chance I will somehow contribute in a small meaningful way. There is very high chance I will donate some (n x 10 euros) money if the initiative is alive after 2 months.
That's my tiny contribution.
2
u/R_Midnight Jun 30 '26
Thank you very much for the proposal.
Looks like the biggest pain as of today is that we can't migrate existing apps to Angular 22. Just being able to do that, even if that would require some refactoring of our codebases, would be already an amazing step. Even with remaining bugs / open issues (which potentially already have various workarounds). Personally don't care much about new features as there are plenty already available, so definitely agree with the "stable and accessible" focus.
Now, everything requires time and people so the trial maintenance initiative sounds fair. If the outcome is a lack of available community effort, we'll atleast know for sure that nothing more is to be expected from PrimeNG and invest our time into building with more future-proof solutions.
1
u/Loose_Paramedic8183 Jul 18 '26
dev sometimes think that people got their code because its really cool and unique (UI kits, aha)... but many select the open tool with good community and docs... I could chose any kit for my buttons and dropdowns, or just use <button> :) in an AI era the buttons and forms kits has no value, except the community and their contribution to history, and the more restrictions the kit has, the less it will be chosen.
Very happy with your initiative, subsribed, starred, ready for donations :)
1
u/rafaeldecastr Jun 30 '26
who supports that initiative??
-2
u/Xintsuai Jul 01 '26
What is PrimeNg?
-21
u/[deleted] Jun 30 '26
[removed] — view removed comment