docs(16-03): document onReload()/onUnregister() lifecycle hooks - #85
docs(16-03): document onReload()/onUnregister() lifecycle hooks#85wisdommen wants to merge 1 commit into
Conversation
Since v6.3.0, UltiToolsPlugin.reloadSelf() and unregisterSelf() are final template methods; module authors override the new onReload()/onUnregister() hooks instead. Documents hook timing relative to the framework's own steps, the rename-versus-delete guidance for existing overrides, and the new per-module reload log line the framework now emits on /ul reload. Mirrors UltiTools-Reborn's COMPATIBILITY.md migration guide (issues #419, #455) on the unreleased alpha branch, same session as the framework change. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018BUB3sHMAHm8bYVbLbTTKK
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
💡 Codex ReviewUltiTools-Dev-Doc/docs/src/guide/quick-start.md Lines 82 to 84 in a607e39 For readers targeting v6.3.0, the snippets embedded immediately below this notice still override AGENTS.md reference: AGENTS.md:L85-L85 When an existing override calls ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Deploying ultitools-dev-doc with
|
| Latest commit: |
a607e39
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d1899942.ultitools-dev-doc.pages.dev |
| Branch Preview URL: | https://docs-phase-16-lifecycle.ultitools-dev-doc.pages.dev |
What changed
Documents the two new
UltiToolsPluginlifecycle hooks landing in UltiTools-API 6.3.0:onReload()andonUnregister(), which replace direct overrides ofreloadSelf()/unregisterSelf()(nowfinal). Covers hook timing relative to the framework's own steps, therename-versus-delete migration guidance for existing module overrides, and the new per-module
reload log line the framework emits on
/ul reload.Both languages updated in the same commit (
docs/src/guide/quick-start.mdanddocs/src/zh/guide/quick-start.md), same structure, same heading count. MarkedSince v6.3.0perthis repository's
alphaconvention for unreleased behaviour. No new<<< @/../examples/...reference, no change to
versionsConfig.currentorexamples/pom.xml.Why this targets
alpha, notmasterThis documents behaviour that has not been released yet. Per this repository's Doc-Sync Workflow,
framework changes are documented in
alphathe same session they land, not at release time. ThisPR is opened with
--base alphaexplicitly, since the repository's default base ismaster(the released branch).
Companion pull request
UltiKits/UltiTools-Reborn#457 (base
alpha) — the framework change this documents.Checks
npm run buildsucceeds locally (site build, dead-link checking).scripts/check-container-length.shreports no violations on the two changed files.🤖 Generated with Claude Code
https://claude.ai/code/session_018BUB3sHMAHm8bYVbLbTTKK