-
-
Notifications
You must be signed in to change notification settings - Fork 212
How should be the proper way to stay updated with new releases? #363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @Guuri11 , what could I provide that would help you the most? I need to improve on this aspect as there's no "proper way" to stay up to date. As react 19 is approaching, there will be a lot of changing coming up so I really need to start taking this seriously. |
It would be great, maybe we could have some conversation about how to document the next major release based on how it should be done from a project already with the previous version. In the end it is always very easy to leave it ready for projects that start again, but it is important that the current ones survive and be updated easily, it sure adds a lot for the community to support the library even more, it has a lot of potential :) |
here are some tips (by chatgpt XD) about how to have a scalable versioning system for your lib: (chatgpt) Since it's a React Native library, the context is a bit more specific—you're in the JS/TS ecosystem, mobile-focused, and usually working with people who expect smooth upgrades across versions. Here’s how I’d approach versioning and upgrade experience for your library, step by step: 🔢 1. Use Semantic Versioning (SemVer) ProperlyStick to the classic format:
✅ You can even use tools like
|
I'm spitballing here, and this is not really backwards compatible, but here is a somewhat simple idea:
The biggest problem I see with this approach is that some people (read: me 😂) just let eslint/prettier lint the file after it is added to make the linter errors go away instead of exempting the path from linters. So if I were to use this update feature I would have to manually apply all of the custom changes I have anyways. Which might be ok. I think the strength of RNR is the simplicty and the customizability of it, so the fact that a major update (like React 19 compatibility) doesn't automagically update around your modifications is expected. |
Hey @mrzachnugent , @MrPiao I really like the idea of having some form of version tracking per component, especially if it's integrated into the CLI. Even if it’s not perfect due to custom edits or linting, it’s still better than having no guidance at all when updating. Maybe it could be a bit tricky to make it fully reliable, so maybe something opt-in or even just a tool to suggest what might have changed would already be super helpful. I’d also love to see something like: A clear changelog per version (especially calling out breaking changes or deprecations or references from official shadcn docs). A migration guide when a major version is released, even short but focused on real-world projects. Tagging PRs or releases with [breaking], [deprecation], etc., could really help organize this better going forward. The library has great potential, and making it easier to maintain and upgrade over time would definitely make the community stronger 🙌 |
Hi there!
first of all, I hope you doing great & congrats for the ui lib, it's great! I wanted to know if there are some guidelines about how to update properly the library to future new releases. For example, guides about deprecrations, breaking changes, new components, etc...
Thanks!
The text was updated successfully, but these errors were encountered: