Skip to content

spring-rs 0.4.0 RELEASE

Latest
Compare
Choose a tag to compare
@holmofy holmofy released this 08 May 05:19
· 71 commits to master since this release

What's Changed

  • job with local timezone by @holmofy in #111
  • Prototype service with lifetime by @holmofy in #114
  • chore: ✨ upgrade axum to 0.8 and remove async_trait usage in some places by @Phosphorus-M in #122
  • Upgrade opentelemetry & support export trace id by @holmofy in #127
  • feat: ✨ opentelemetry instrument support capturing HTTP request and response headers by @holmofy in #130
  • feat: ✨ support grpc in tonic by @holmofy in #132

Full Changelog: 0.3.0...0.4.0

Migrating from 0.3 to 0.4

 #[derive(Clone, Service)]
+#[service(prototype = "build")]
-#[prototype = "build"]
 struct UserService {
     #[inject(component)]
     db: ConnectPool,
     #[inject(config)]
     config: UserConfig,
 }