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
fix(hub): restore ctx.createJsonRenderer as a working 0.7 deprecation, remove in 0.8
0.7 hard-removed ctx.createJsonRenderer instead of deprecating it, breaking
existing call sites without a migration window. Restore it against hub's
own pre-0.7 shared-state implementation (not @devframes/json-render, which
would create a circular workspace dependency since json-render already
depends on hub) so it keeps working through the 0.7 series. Mark it, and
the related defineJsonRenderSpec/JsonRenderSpec/JsonRenderElement/JsonRenderer
aliases, as removed in 0.8 instead of an unspecified future release.
`@devframes/hub` still exports `defineJsonRenderSpec` as a deprecated identity function (same for the `JsonRenderSpec` / `JsonRenderElement` / `JsonRenderer` types), so existing imports keep compiling — but it no longer registers anything with the hubon its own. Move call sites over to `createJsonRenderView` now rather than waiting for the alias's removal in a future major release.
75
+
`@devframes/hub` still exports `defineJsonRenderSpec` as a deprecated identity function (same for the `JsonRenderSpec` / `JsonRenderElement` / `JsonRenderer` types) and still runs `ctx.createJsonRenderer` (against its own pre-0.7 shared-state implementation, not `@devframes/json-render`), so existing call sites keep working through 0.7 unmodified — but it no longer registers anything with the hub's dock union on its own, and won't gain the new dock projection or `registerRenderer()` support that `createJsonRenderView` gets. Move call sites over to `createJsonRenderView` now; `ctx.createJsonRenderer` and the other aliases above are removed in 0.8.
76
76
77
77
See [JSON-Render](./json-render) for the full integration reference.
0 commit comments