feat!: remove deprecated 0.7-era compat shims for 0.9 - #180
Merged
Conversation
Clears the compatibility shims deprecated across the 0.7 series and adds the 0.9 migration guide. - devframe/adapters/cli (createCli/CreateCliOptions/CliHandle) -> devframe/adapters/cac - devframe/recipes/open-helpers (openHelpers) -> devframe/recipes/common-rpc-functions - devframe/rpc dump re-exports -> devframe/rpc/dump - @devframes/hub json-render shims (defineJsonRenderSpec, ctx.createJsonRenderer, DevframeViewJsonRender, JsonRenderSpec/JsonRenderElement/JsonRenderer) -> @devframes/json-render Migrates the hub-ui reference viewer's json-render dock onto the serializable view ref from @devframes/json-render/hub.
✅ Deploy Preview for devfra ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Prepare for 0.9 by removing the compatibility shims that were deprecated across the 0.7 series, and document the transition in a migration guide. For a 0.x line, the minor bump is the breaking-change vehicle, so 0.9 is where these overdue removals land (several were slated for removal as far back as 0.8).
Removed APIs
Each removed export has had its drop-in replacement shipping alongside it since 0.7:
devframe/adapters/cli—createCli,CreateCliOptions,CliHandledevframe/adapters/cac—createCac,CreateCacOptions,CacHandledevframe/recipes/open-helpers—openHelpersdevframe/recipes/common-rpc-functions—commonRpcFunctionsdevframe/rpcdump re-exports (collectStaticRpcDump,createClientFromDump,dumpFunctions,getDefinitionsWithDumps,reviveDumpError,serializeDumpError,StaticRpcDump*)devframe/rpc/dump@devframes/hubjson-render shims —defineJsonRenderSpec,ctx.createJsonRenderer,DevframeViewJsonRender,JsonRenderSpec/JsonRenderElement/JsonRenderer@devframes/json-render(createJsonRenderView,DevframeJsonRenderSpec,DevframeJsonRenderDockEntry)Notable consumer change
The
@devframes/hub-uireference viewer rendered json-render docks through the removed liveJsonRendererhandle (entry.ui._stateKey). It's migrated onto the serializable view ref from@devframes/json-render/hub(DevframeJsonRenderDockEntrywithentry.view.stateKey, plus an inline-spec fallback) — the intended end state of the 0.7 json-render move.Docs
Adds
docs/guide/migration-0.9.md(wired into the nav) and trims the now-removed "deprecated alias" mentions from the cac / common-rpc-functions reference pages and the devframe skill.Notes
pnpm lint,pnpm knip,pnpm typecheck,pnpm test(1082 passing), andpnpm buildall pass.This PR was created with the help of an agent.