Skip to content

refactor!: improve C++ SDK header hygiene#10

Merged
TobbenTM merged 3 commits into
mainfrom
analyze-cpp-library
May 18, 2026
Merged

refactor!: improve C++ SDK header hygiene#10
TobbenTM merged 3 commits into
mainfrom
analyze-cpp-library

Conversation

@TobbenTM
Copy link
Copy Markdown
Member

@TobbenTM TobbenTM commented May 18, 2026

Summary

This PR improves public-header hygiene by splitting the CURL transport and native fingerprint provider into dedicated headers while keeping moonbase::licensing intact. It intentionally renames moonbase::platform::linux to moonbase::platform::linux_os so public headers no longer undefine consumer linux or unix macros. After merging latest main, it also keeps the new cross-process file-locking path free of <windows.h> and preserves the online re-validation dedupe changes from v2.2.0. The branch also adds configurable HTTP timeouts, stricter UTC timestamp parsing, validation error consistency, top-level-only test/example defaults, and installed-package consumer smoke coverage.

Validation

  • git diff --check
  • CMAKE_ARGS='-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk' scripts/test.sh --clean --build-dir .context/post-merge-build (50/50 passed)
  • Installed-package consumer smoke configure/build/run from .context/post-merge-install

@TobbenTM TobbenTM marked this pull request as ready for review May 18, 2026 11:32
@TobbenTM TobbenTM merged commit 29aeb56 into main May 18, 2026
6 checks passed
@github-actions
Copy link
Copy Markdown

ghost commented May 18, 2026

🎉 This PR is included in version 3.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant