Releases: ashishjsharda/rapid-rs
Releases · ashishjsharda/rapid-rs
Release list
v0.3.0 - Phase 2 Complete: Migrations, Testing, GraphQL & gRPC
🎉 Phase 2 Complete!
Added
🗄️ Database Migrations Management
MigrationConfigfor configuring migration behaviorconnect_and_migrate()for automatic database setup and migrationrun_migrations()for manual migration controlensure_database_exists()to create databases automatically- Integration with sqlx's migration system
- Support for custom migration paths
- Automatic migration running on startup (configurable)
🧪 Testing Utilities
TestClientfor easy API endpoint testingTestResponsewith assertion helpers- Support for authenticated requests in tests
- Database testing utilities (with
db-testsfeature) - Integration test examples and best practices
📚 Additional Project Templates
- GraphQL template with async-graphql integration
- gRPC template with tonic integration
- Updated CLI to support
rapid new myapi --template graphql|grpc
📖 Comprehensive Documentation
MIGRATIONS.md- Complete migration guide with best practicesTESTING.md- Testing guide with examples and patternsLOCAL_TESTING_GUIDE.md- Step-by-step local testing- Updated README with Phase 2 completion status
Changed
- Updated CLI to support GraphQL and gRPC templates
- Enhanced project scaffolding with migration support
- Improved documentation structure
Fixed
- Database connection handling in test environments
Installation:
cargo install rapid-rs-cliQuick Start:
rapid new myapi
cd myapi
cargo runDocumentation: https://docs.rs/rapid-rs/0.3.0
All tests passing ✅ | Backward compatible ✅ | Production ready ✅
v0.2.2 - Documentation Improvements
🔧 v0.2.2 - Documentation Fixes
Quick patch release fixing broken documentation links on crates.io.
Fixed
- 🔗 Fixed AUTH.md links to use full GitHub URLs
- 🔗 Fixed LICENSE links to use full GitHub URLs
- 📚 All documentation links now work correctly on crates.io