rivet 2.0.0 copy "rivet: ^2.0.0" to clipboard
rivet: ^2.0.0 copied to clipboard

A blazing-fast, type-safe backend framework for Dart with auto-generated Flutter clients

Changelog #

2.0.0 - 2025-12-16 #

🔥 Major Features #

  • Hot Reload: Added backend hot reload with rivet_dev.sh runner.
  • Client Generation: Added dart run rivet generate to create type-safe API clients.
  • Universal Generator: Client generator now supports pure Dart (CLI/Server) and optional Flutter/Riverpod integration.
  • Decorators: Added @RivetController, @Get, @Post, @Auth, @CacheResponse for declarative routing.
  • Auth System: Integrated JWT and OAuth (Google/GitHub) handling.
  • Caching: Added in-memory LRU cache with decorator support.

🛠️ Improvements #

  • Security: Hardened security practices, removed sensitive info from examples.
  • Performance: Optimized request handling pipeline.
  • CLI: Introduction of bin/rivet.dart CLI tool.
  • Validation: Added @Validate decorators for request body verification.

gBreaking Changes #

  • Moved from functional routing to Controller-based routing (functional routing still supported but discouraged for large apps).
  • RivetServer.listen now accepts hotReload parameter.

1.2.0 - 2025-11-01 #

  • Initial stable release.
  • Functional routing system.
  • Basic middleware support.
  • Native compilation benchmarks.
10
likes
130
points
178
downloads

Publisher

unverified uploader

Weekly Downloads

A blazing-fast, type-safe backend framework for Dart with auto-generated Flutter clients

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, args, bcrypt, build, dart_jsonwebtoken, http, mime, mongo_dart, mysql1, path, postgres, relic, serverpod, shelf, source_gen, watcher

More

Packages that depend on rivet