Skip to content

feat(tinyhttps): bump mcpplibs.tinyhttps to 0.3.6 - #936

Merged
Sunrisepeak merged 3 commits into
mainfrom
bump-tinyhttps-0.3.6
Nov 30, 2026
Merged

Sunrisepeak merged 3 commits into
mainfrom
bump-tinyhttps-0.3.6

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

What

Adds 0.3.6 of mcpplibs.tinyhttps (Form A, unchanged module mcpplibs.tinyhttps) to pkgs/t/tinyhttps.lua on linux/macosx/windows, with the CN mirror, and moves the consumer tests/examples/tinyhttps to it with an API check for the release.

Upstream: mcpplibs/tinyhttps#27 (release commit), #26 (the fix). Tag 0.3.6, annotated, commit 9b57ebe.

Why it matters

0.3.5 never called Socket::platform_init() (WSAStartup): on Windows every request ended in statusCode = 0, statusText = "Connection failed", with nothing saying why. 0.3.6 calls Socket::ensure_platform_started() once per process at the top of Socket::connect, before the first socket() or getaddrinfo(); Socket::platform_started() reports it. A patch release: tinyhttps = "^0.3.1" resolves to it.

Source

GLOBAL https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.3.6.tar.gz
CN https://gitcode.com/mcpp-res/tinyhttps/releases/download/0.3.6/tinyhttps-0.3.6.tar.gz — the same tarball, downloaded back and hashed
sha256 a9d72f53a8ad88daff573657fdf3d90e8f0f877866ebbe7878cfd124894950a5 (checked twice)
License Apache-2.0 (unchanged)

Changes

  • pkgs/t/tinyhttps.lua: ["0.3.6"] on the three platforms; earlier entries untouched.
  • tests/examples/tinyhttps/mcpp.toml: mcpplibs.tinyhttps = "0.3.6" — named in full (was the short tinyhttps), which is how the updater's scan job finds a bump's consumer.
  • tests/examples/tinyhttps/tests/api.cpp: reads Socket::platform_started() before any request (false), calls ensure_platform_started() twice, reads it again (true).
  • .agents/docs/2026-12-01-bump-tinyhttps-0.3.6-plan.md.

Verification

  • mcpp xpkg parse pkgs/t/tinyhttps.lua -> parse OK, 0.3.6 on the three platforms.
  • GitHub archive downloaded twice: same sha256 both times. Mirror asset fetched back from gitcode: the same.
  • Note: api.github.com/.../tarball/0.3.6 is a different byte stream (root named after the tag object); the descriptor names the archive/refs/tags URL, like every earlier entry, so the hash and the mirror are that form's (the two trees compare equal).
  • Upstream CI for the release commit: 10/10 (gcc/llvm, linux/macos/windows, OpenKal images).
  • Not run locally: tests/run_members.sh tinyhttps stopped at syncing the index from GitHub on this host; the consumer's build and run are this PR's workspace jobs.

Authorship: ai-and-human

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