Skip to content

huxerui.huxerui 0.4.0 - #826

Merged
Sunrisepeak merged 4 commits into
mcpplibs:mainfrom
FarnaHerry:bump/huxerui-0.4.0
Nov 19, 2026
Merged

Sunrisepeak merged 4 commits into
mcpplibs:mainfrom
FarnaHerry:bump/huxerui-0.4.0

Conversation

@FarnaHerry

@FarnaHerry FarnaHerry commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Bump huxerui.huxerui 0.3.0 → 0.4.0 (Form A: upstream ships its own mcpp.toml).
  • Use the SPEC-001 atomic package name: namespace = "huxerui", name = "huxerui". mcpp still resolves the wire key huxerui.huxerui; the existing consumer spelling [dependencies.huxerui] huxerui = "0.4.0" is unchanged.
  • Declare package.extensions.autoupdate (tag = "v${version}", GitHub tag archive). Future tag releases need only a version block.

The final PR changes only pkgs/h/huxerui.huxerui.lua and tests/examples/huxerui-module/mcpp.toml; no updater/CI compatibility changes.

Upstream 0.3.0 → 0.4.0

Release: https://github.com/HuxerUI/HuxerUI/releases/tag/v0.4.0 (2026-11-13). Multi-window support, dockable workspaces, paragraph layout APIs.

mcpp.toml diff, from both extracted tags:

  • sources gains !src/runtime/profiling.cpp; defines drops HUXERUI_ENABLE_PROFILING=1.
  • macOS [runtime] frameworks gains Contacts, CoreBluetooth, CoreLocation, EventKit, Photos.
  • The Linux target table is identical down to every pin (36 entries; only one comment line differs), so the four direct consumer deps in xpm.linux.deps do not move.
  • standard = "c++20" unchanged.

None of the upstream build changes are restated here: Form A downloads the archive and mcpp reads its manifest. licenses = {"MIT"} and repo = HuxerUI/HuxerUI still correct what mcpp emit xpkg gets wrong at v0.4.0 too.

CN mirror

No CN mirror for 0.4.0 yet — no mcpp-res write access on this machine, so the new version uses a plain-string GLOBAL url per SOP. The 0.3.0 { GLOBAL, CN } blocks are untouched.

Updater run

Pinned openxlings/xpkgindex-update@6c0bee2 (the workflow commit):

  • check discovered candidate 0.4.0, tag v0.4.0, upstream commit 4d573263e81af07e193efc2ea43fb34ab6050b33, sha256 46631651105b4da2fa6651c842ce4d276334b3e06b27f93bb9c26167ec16fc38 (same digest from two manual downloads).
  • apply generated the shared versions table plus the three platform references.
  • check --package huxerui:huxerui after the change → up-to-date, existing_versions = ["0.3.0", "0.4.0"].
  • direct_member("huxerui:huxerui") → huxerui-module; the candidate matrix selects linux default/llvm, macOS and Windows.

Verification

Linux x86_64, mcpp 2026.11.15.1, MCPP_INDEX_MIRROR=GLOBAL:

mcpp xpkg parse pkgs/h/huxerui.huxerui.lua
package    huxerui.huxerui (namespace 'huxerui')
form       A — no mcpp segment
parse OK

candidate prepare → build → verify
PROVEN: build resolved huxerui:huxerui@0.4.0

bash tests/run_members.sh huxerui-module
test result ok. 1 passed; 0 failed

The lockfile still records [package."huxerui.huxerui"], namespace = "huxerui", version = "0.4.0"; changing the descriptor to the atomic name does not change the resolved artifact identity.

Descriptor lint with lua 5.4.8 (syntax, mirror URLs, package name, reserved namespace, platform version parity, duplicate versions, cross-package refs) passes. macOS and Windows legs remain CI-authoritative; the new macOS frameworks come from upstream's own manifest, and the Windows wix decision is unchanged.

FarnaHerry and others added 4 commits November 18, 2026 15:12
Form A: the upstream manifest gains !src/runtime/profiling.cpp and drops
HUXERUI_ENABLE_PROFILING=1, but no build information is restated in the
descriptor. The four direct Linux deps and the 36-entry GTK closure are
byte-identical to 0.3.0 (target table diffed), so only the version block
moves. LICENSE is still MIT and the canonical repo is still
HuxerUI/HuxerUI.

extensions.autoupdate is declared now: public tag release, stable archive
template, no recipe to edit. The official pinned updater (check) found
0.4.0 and computed the same sha256 as two manual downloads; apply
generated the shared versions table and the three platform references.
No CN mirror yet -- plain-string GLOBAL url per SOP.

Verified locally with mcpp 2026.11.15.1 (CI MCPP_VERSION), cold member:
huxerui-module -> test result ok. 1 passed; 0 failed (301.36s).
Descriptor lint and mcpp xpkg parse pass; audit covers 107 GitHub-direct
descriptors. macOS/Windows legs remain CI-authoritative.
huxerui declares namespace = "huxerui" and the legacy fully-qualified
name = "huxerui.huxerui"; consumers write [dependencies.huxerui]
huxerui = "...". direct_member and replace_candidate only looked for
the declared leaf, so a version bump failed scan with 'no candidate
consumer'. Writing the fully-qualified leaf asks mcpp for
huxerui.huxerui.huxerui and is refused, so the helper now derives the
short leaf for detection, rewriting, the no-member fallback and lock
verification. Regression test covers detection and prepare().
SPEC-001 keeps package.name atomic and puts hierarchy in namespace. The
resolved wire key stays huxerui.huxerui (mcpp xpkg parse and mcpp.lock),
while the updater now sees huxerui:huxerui and finds huxerui-module.
Drop the candidate-helper compatibility change and the design document:
the PR changes only the descriptor and its consumer pin.
@Sunrisepeak
Sunrisepeak merged commit 0f1ae23 into mcpplibs:main Nov 19, 2026
21 checks passed
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.

2 participants