0.68.0
Interface Changes
To reduce the amount of allocation done inside the runtime
by reflectors and controllers, the following change via #786 is needed on the signature of your reconcile
functions:
-async fn reconcile(myobj: MyK, ctx: Context<Data>) -> Result<ReconcilerAction>
+async fn reconcile(myobj: Arc<MyK>, ctx: Context<Data>) -> Result<ReconcilerAction>
This also affects the finalizer helper.
Port-forwarding
As one of the last steps toward gold level client requirements, port-forwarding landed in #446. There are 3 new examples (port_forward*.rs
) that showcases how to use this websocket based functionality.
What's Changed
Added
- Add a VS Code devcontainer configuration by @olix0r in #788
- Add support for user impersonation by @teozkr in #797
- Add port forward by @kazk in #446
Changed
- runtime: Store resources in an
Arc
by @olix0r in #786 - Propagate Arc through the finalizer reconciler helper by @teozkr in #792
- Disable unused default features of chrono crate by @dreamer in #801
Fixed
- Use absolute path to Result in derives by @teozkr in #795
- core: add missing reason to Display on Error::Validation in Request by @clux in #798
New Contributors
Full Changelog: 0.67.0...0.68.0