You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* main: (26 commits)
api!: Merge RendererBase class into Renderer (#1032)
chore(render.display): Improve error message (#1020)
`express.ui.page_opts(title = ...)` now always generates a header (#1016)
api!: `Renderer.auto_output_ui()` drops `id` arg. Make `RendererBase.output_id` a non-namespaced value. (#1030)
fix(page_sidebar): Add semicolon to end style declaration (#1027)
chore: Remove experimental from app (#1028)
chore: Expose `render.renderer.RendererBaseT` and do not require `| None` when defining Renderer types (#1026)
bug: Restore legacy renderers while packages transition (#1023)
Update deploy test apps to use render.code
Update changelog
Provide useful message in Express when `input` was not imported (#994)
Calculate coordinate mapping after drawing figure (#999)
Remove `express.ui.output_*` functions, add `shiny.express.render` (#1018)
fix: Do not allow for renderer's to be given to reactive effects (#1017)
Truncate the requirements.txt file before deploys (#998)
Update changelog
Fixes for flake8 (#1012)
Pin starlette version below 0.35 (#1009)
Remove shiny express warning
Cause RecallContextManagers to run when used without `with` (#992)
...
* Output renderers should now be created with the `shiny.render.renderer.Renderer` class. This class should contain either a `.transform(self, value)` method (common) or a `.render(self)` (rare). These two methods should return something can be converted to JSON. In addition, `.default_ui(self, id)` should be implemented by returning `htmltools.Tag`-like content for use within Shiny Express. To make your own output renderer, please inherit from the `Renderer[IT]` class where `IT` is the type (excluding `None`) required to be returned from the App author. (#964)
37
+
* Legacy renderers that will be removed in the near future:
38
+
*`shiny.render.RenderFunction`
39
+
*`shiny.render.RenderFunctionAsync`
40
+
*`shiny.render.transformer.OutputRenderer`
41
+
*`shiny.render.transformer.OutputRendererSync`
42
+
*`shiny.render.transformer.OutputRendererAsync`
22
43
23
-
*`shiny.render.RenderFunction` and `shiny.render.RenderFunctionAsync` have been removed. They were deprecated in v0.6.0. Instead, please use `shiny.render.renderer.Renderer`. (#964)
24
-
25
-
* When transforming values within `shiny.render.transformer.output_transformer` transform function, `shiny.render.transformer.resolve_value_fn` is no longer needed as the value function given to the output transformer is now **always** an asynchronous function. `resolve_value_fn(fn)` method has been deprecated. Please change your code from `value = await resolve_value_fn(_fn)` to `value = await _fn()`. (#964)
26
44
27
-
*`shiny.render.OutputRendererSync` and `shiny.render.OutputRendererAsync` helper classes have been removed in favor of an updated `shiny.render.OutputRenderer` class. Now, the app's output value function will be transformed into an asynchronous function for simplified, consistent execution behavior. If redesigning your code, instead please create a new renderer that inherits from `shiny.render.renderer.Renderer`. (#964)
45
+
### Other changes
28
46
47
+
* Pinned Starlette to version <0.35.0; versions 0.35.0 and 0.35.1 caused problems when deploying on Posit Connect. (#1009
0 commit comments