Skip to content
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

Update from Version 0.9 to 0.10 #521

Open
douglas-vitoriano opened this issue Nov 12, 2024 · 2 comments
Open

Update from Version 0.9 to 0.10 #521

douglas-vitoriano opened this issue Nov 12, 2024 · 2 comments

Comments

@douglas-vitoriano
Copy link

Hi, @spohlenz

Are you planning to put together a quick guide or notes to highlight the changes from version 0.9 to 0.10? It would really help make adapting complex systems that use Trestle a lot smoother.

Thanks a lot!

@spohlenz
Copy link
Member

You can find a very basic outline of the main changes and deprecations in the release notes for v0.10.0.pre at https://github.com/TrestleAdmin/trestle/releases/tag/v0.10.0.pre. In my experience so far, this has covered the main changes for most simple Trestle instances without major customizations.

Things get a little trickier when there is custom JavaScript, or even just Rails UJS interactions involved (e.g. custom actions with data-method attributes on link/button triggers). In these cases, you'll need to update to use Turbo interactions (turbo frames and/or streams). I do have plans to put together a bit of a library of common Turbo patterns (in particular for things like modal interactions), but things are a little behind due to my consulting workload right now.

Of course if you do encounter any specific problems, please post them, either here or in a new issue -- in some cases I can try to improve the backwards compatibility, or at least it gives me an idea of what else I need to document.

@douglas-vitoriano
Copy link
Author

Ok, great!

I will update my project to 0.10 in the next month, and if I find some problem, I will report here.

Anyway, I really love trestle and would like contribute to project. If you need some help in update wiki, please, tell me.

Thanks for reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants