Skip to content

feat(mwrap): mbedtls 3.6.8.1 — the hash groups are sub-modules - #937

Merged
Sunrisepeak merged 1 commit into
mainfrom
bump-mbedtls-3.6.8.1
Nov 30, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
bump-mbedtls-3.6.8.1

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

What

Adds 3.6.8.1 of mcpplibs.mwrap.mbedtls (Form A, the wrap's own mcpp.toml) on linux/macosx/windows, and moves the consumer tests/mwrap/mbedtls-hashes to it with a check that imports one sub-module alone.

Why

In mwrap-3.6.8 each hash group was a partition of the root (export module mcpplibs.mwrap.mbedtls:sha256;), so the README's import mcpplibs.mwrap.mbedtls.sha256; did not compile, and neither did the mwrap spec's sub-module form (docs/zh/mwrap.md). The first consumer to try it (xgit) got module not found.

mcpplibs/mbedtls-m#1 (CI 6/6, squash-merged) makes each group its own module and has the root export import the six; an importer of the root compiles unchanged. Release: mwrap-3.6.8.1.

Source

GLOBAL https://github.com/mcpplibs/mbedtls-m/releases/download/mwrap-3.6.8.1/mbedtls-m-3.6.8.1.tar.gz — the GitHub archive of the tag, uploaded as an asset (the autoupdate template's form)
CN none yet (a maintainer's step, as for 3.6.8)
sha256 bcd9eb19871be089bf1add6672941425eab92a0310ec236a63115ca0b3a15e94 (archive downloaded twice, asset read back)
License Apache-2.0 (unchanged); links compat.mbedtls 3.6.8

Changes

  • pkgs/mwrap/mbedtls.lua: ["3.6.8.1"] on the three platforms; the header names the revision.
  • tests/mwrap/mbedtls-hashes: mcpplibs.mwrap.mbedtls = "3.6.8.1"; new tests/submodule.cpp imports .sha256 alone and hashes "abc".
  • .agents/docs/2026-12-01-add-mbedtls-m-plan.md: a 3.6.8.1 section.

Verification

  • mcpp xpkg parse pkgs/mwrap/mbedtls.lua -> parse OK.
  • Upstream CI for the fix: 6/6 (gcc, llvm, linux-musl, macos, windows, templates).
  • Not run locally: tests/run_members.sh mbedtls-hashes on this host stops at syncing the index from GitHub; the consumer's build and run are this PR's workspace jobs.

Authorship: ai-and-human

@Sunrisepeak
Sunrisepeak merged commit 9575491 into main Nov 30, 2026
21 checks passed
@Sunrisepeak
Sunrisepeak deleted the bump-mbedtls-3.6.8.1 branch November 30, 2026 23:45
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