Skip to content

Upgrade plugin templates to Halo 2.26 - #10

Merged
ruibaby merged 1 commit into
mainfrom
upgrade/halo-2.26-template
Aug 14, 2026
Merged

ruibaby merged 1 commit into
mainfrom
upgrade/halo-2.26-template

Conversation

@ruibaby

@ruibaby ruibaby commented Aug 14, 2026

Copy link
Copy Markdown
Member

Summary

Upgrade the generated plugin templates to target Halo 2.26 and make Vite the recommended UI build tool.

Changes

  • update the Halo Gradle platform version to 2.26
  • require Halo 2.26.0 or later in the generated plugin manifest
  • update @halo-dev/api-client, @halo-dev/components, @halo-dev/ui-shared, and @halo-dev/ui-plugin-bundler-kit to 2.26.0
  • place Vite first in the UI build tool prompt and mark it as recommended
  • remove the recommended label from Rsbuild

Validation

  • pnpm check
  • pnpm test (the repository currently has no tests configured)
  • node --check src/index.js
  • git diff --check
  • generated Vite and Rsbuild projects and verified their UI package versions
  • generated a backend-only project and verified the Halo version requirement
  • verified that all referenced @halo-dev/* 2.26.0 packages are published

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ca7495a96a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".


halo {
version = '2.25'
version = '2.26'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Align the Gradle platform with Halo 2.26

Setting the development runtime to Halo 2.26 while leaving run.halo.tools.platform:plugin at 2.25.0 means every generated backend still compiles and tests against the Halo 2.25 API constraints. A newly scaffolded plugin therefore cannot compile against APIs introduced in 2.26 despite its manifest requiring 2.26 and its dev runtime using that version; update the platform dependency to 2.26.0 as part of this version bump.

Useful? React with 👍 / 👎.

@ruibaby
ruibaby merged commit 3822df1 into main Aug 14, 2026
2 checks passed
@ruibaby
ruibaby deleted the upgrade/halo-2.26-template branch August 14, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant