Releases: spring-rs/spring-rs
Releases · spring-rs/spring-rs
spring-rs 0.4.0 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,
}0.3.0
What's Changed
- feat: ✨ log time format by @holmofy in #59
- feat: ✨ support graceful shutdown by @holmofy in #61
- fix: improve the postgres support into SqlxPlugin by @Phosphorus-M in #66
- Opentelemetry plugin by @holmofy in #65
- docs: update the link to the repository in crates.io by @Phosphorus-M in #70
- refactor: ♻️ refactor Env code by @holmofy in #73
- feat: ✨ export AppBuilder::build by @holmofy in #74
- feat: ✨ export build api by @holmofy in #75
- feat: 🚀 upgrade dependency by @holmofy in #76
- fix: 🐛 fix concurrent scheduler by @holmofy in #81
- feat: ✨ support include_str & crate document by @holmofy in #85
- docs: Fixed wrong filename for testing toml config by @Erven2016 in #89
- Add banner by @holmofy in #91
- Spring web middlewares by @holmofy in #102
- Spring mail plugin by @holmofy in #103
- feat: ✨ support prototype service by @holmofy in #105
- Update README.zh.md by @holmofy in #107
New Contributors
- @Phosphorus-M made their first contribution in #66
- @Erven2016 made their first contribution in #89
Full Changelog: 0.2.0...0.3.0
0.2.0
spring-rs 0.1.0
0.1.0 - 2024.9.8
- added: add ConfigRegistry trait. (#31)
- added: add Config extractor for spring-web,spring-job,spring-stream. (#31)
- changed: refactor app configuration management: Configuration and plugins are independent of each other. (#31)
Migrating from 0.0 to 0.1
-#[derive(Configurable)]
-#[config_prefix = "my-plugin"]
struct MyPlugin; #[derive(Debug, Configurable, Deserialize)]
+#[config_prefix = "my-plugin"]
struct Config {
a: u32,
b: bool,
}spring-rs 0.0.9
0.0.9 - 2024.9.4
- added: spring-postgres plugin
- added: spring-boot testcase
- changed: fix spring-web default binding ip
- changed: the added component must implement the Clone trait
- removed: spring-actuator