Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: spring-rs/spring-rs

spring-rs 0.4.0 RELEASE

08 May 05:19

Choose a tag to compare

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

09 Dec 01:29

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.2.0...0.3.0

0.2.0

02 Oct 07:43

Choose a tag to compare

0.2.0

  • added: add Service support dependency inject (#54)
  • added: add get_component (#54)
  • breaking: rename origin get_component to get_component_ref (#54)
  • changed: rename TypedHandlerFactory to TypedHandlerRegistrar (#54)

spring-rs 0.1.0

07 Sep 18:43

Choose a tag to compare

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

06 Sep 04:36

Choose a tag to compare

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