# 🚀 Relica v0.4.1-beta Released - Shorter, Cleaner API! #5
kolkov
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey everyone! 👋
We're excited to announce Relica v0.4.1-beta with a focus on developer ergonomics - your daily code just got shorter and cleaner!
🎯 What Changed?
We listened to feedback comparing Relica to ozzo-dbx and realized: "Why type
db.Builder().Select()whendb.Select()is clearer?"So we fixed it! ✨
Before (v0.4.0):
Now (v0.4.1):
But don't worry! For advanced features (CTEs, UNION, subqueries),
Builder()is still there:✨ New Convenience Methods
We added 8 shortcut methods (4 on
DB, 4 onTx):Select(cols...)- Create SELECT queryInsert(table, data)- Create INSERT queryUpdate(table)- Create UPDATE queryDelete(table)- Create DELETE query100% backward compatible - all your v0.4.0 code continues to work! 🎉
📊 By The Numbers
🎓 When To Use What?
Use the short syntax (
db.Select()) for:Use Builder() for:
📦 Get Started
Quick example:
🔗 Links
💬 We Want Your Feedback!
This release was inspired by community discussions about API ergonomics. Keep the feedback coming!
Questions? Issues? Ideas? Drop them here or open a GitHub Issue.
🔮 What's Next?
We're planning v0.5.0-beta with production hardening features:
Want to influence the roadmap? Stay tuned for the v0.5.0 feature prioritization poll coming soon!
Happy coding! 🚀
P.S. Special thanks to the ozzo-dbx project for API inspiration!
All reactions