Skip to content

Releases

v0.8.0

Choose a tag to compare

@sa6mwa sa6mwa released this 14 Nov 02:37

Fix OpenSSL error printing under allocation failure. Thread-ID formatting uses fixed storage, preventing printing from replenishing the error queue with allocation errors. Output order, diagnostics and callback cancellation are preserved.

No public C API or shared-library ABI changes. Statically linked consumers must relink to receive the fix. OpenSSL remains pinned at 3.6.5 with local patches.

Lifecycle guidance now requires native build/test evidence and inclusion of locally linked README documentation in release archives.

The release includes SDKs for Linux x86_64, AArch64 and ARMHF with glibc and musl, an arm64 Darwin SDK and smoke-test bundle, the source archive, and SHA-256 checksums. Darwin artifacts are built and inspected locally with osxcross; native Darwin runtime execution is deferred.

v0.7.0

Choose a tag to compare

@sa6mwa sa6mwa released this 09 Nov 20:10
  • Add zlib-ng 2.3.3 alongside zlib, with an 82-function C89 facade in <cpkt/zlibng.h>.
  • Move large Chorba CRC scratch buffers to aligned heap storage, with CRC fallback on allocation failure.
  • Guard bundled Lua native recursion using cached OS thread-stack bounds, reserved error-handler headroom, and coroutine migration support.
  • Exercise Debug tests on glibc with 128 KiB default worker stacks and verified guards. Run Lua runtime contract cases on default workers with their existing 10-second limits.

Existing shared-library ABI majors are unchanged. The new zlib-ng facade starts at ABI major 0. Static consumers must relink to receive the bundled library changes.

Includes seven SDK archives, source, the Darwin smoke bundle, and SHA-256 checksums. The clean local release gate passed native Debug/editor/Memcheck/fuzz checks, all six Linux runtime targets, local Darwin cross-build and package checks, and installed/relocated SDK consumers.

ARMHF musl under QEMU 10.2.1 retains a slow first main-thread stack query in libc; worker queries are fast. Native ARM hardware timings have not been measured.

See the zlib-ng facade contract and Lua runtime policy.

cpkt v0.6.1

Choose a tag to compare

@sa6mwa sa6mwa released this 28 Oct 14:46

Fix a 96-byte leak reproduced after nonblocking Curve25519/AES-GCM handshakes. The integrated AES-GCM MAC initializer now returns unused derived keys to the key-exchange caller for cleanup.

This applies an equivalent backport of upstream libssh2 PR #1952 to the bundled libssh2 1.11.1. A focused regression covers both AES-GCM variants and both directions.

Public APIs and shared-library ABI majors are unchanged. Consumers embedding static libssh2 must relink to receive the fix.

Includes SDK archives for all seven supported targets, the Darwin smoke-test bundle, source archive, and SHA-256 checksums.

cpkt v0.6.0

Choose a tag to compare

@sa6mwa sa6mwa released this 28 Oct 09:33

The Lua runtime exposes a C89 line observer through cpkt_lua_runtime_set_trace_callback(), with caller-owned context and borrowed source/line metadata. Events cover main-thread execution, coroutines, and Lua finalizers while preserving instruction-limit enforcement.

Configure observers between host calls. Trace callbacks can replace or remove the observer; changes from other callbacks during execution or destruction return CPKT_LUA_RUNTIME_ERR_ARG. Callback lifetimes and reentry rules are documented in the public header and Lua runtime policy.

The API addition preserves existing shared-library ABI compatibility. Consumers using the observer require the updated library.

Includes SDK archives for all seven supported targets, the Darwin smoke-test bundle, source archive, and SHA-256 checksums.

cpkt v0.5.2

Choose a tag to compare

@sa6mwa sa6mwa released this 26 Oct 04:02

Normal native Debug builds now publish build/clangd/compile_commands.json, matching the project's clangd configuration. After make build, editors can resolve the project and dependency headers, including GSSAPI. Cross-target builds preserve the native editor database.

The README and lifecycle skill document the native build prerequisite. Regression checks exercise normal clangd discovery and database restoration after cleanup.

Includes SDK archives for all seven supported targets, the Darwin smoke-test bundle, source archive, and SHA-256 checksums.

cpkt 0.5.1

Choose a tag to compare

@sa6mwa sa6mwa released this 24 Oct 18:14

cpkt 0.5.1 reduces CMake SDK validation overhead during package discovery.

  • Read payload fields from individual JSON entries instead of repeatedly parsing the complete manifest.
  • Query regular-file permissions in one host stat invocation, using relative paths independent of the installation prefix length.
  • Retain manifest identity, file hash, permission, path, and symlink validation.
  • Cover mixed file modes, spaces and leading dashes in filenames, symlinks, BSD-style permission queries, failed commands, and incomplete results in the existing SDK validation fixture.

In a local three-run check against the same core SDK, median validation time fell from 6.87 seconds to 1.16 seconds, an 83% reduction.

The public C API, shared-library ABI majors, manifest format, and core compatibility floor of 0.2.0 remain unchanged.

The release includes seven target SDKs, the source archive, a Darwin smoke-test bundle, and a SHA-256 checksum manifest.

cpkt 0.5.0

Choose a tag to compare

@sa6mwa sa6mwa released this 18 Oct 12:00

cpkt 0.5.0 fixes initialization and cleanup failures in bundled OpenSSL 3.6.5.

  • Reject TLS access after master-key initialization fails and release thread resources after partial base initialization.
  • Stop RAND and default-context setup after base-initialization failure; report failed thread-default context storage.
  • Prevent allocation-error recursion in bootstrap locks, TLS metadata, thread-cleanup registries, and error-string tables.
  • Unload all configuration modules without allocating a replacement list; reserve partial-unload removal capacity before changing ownership.
  • Add targeted TLS-key failure and plugin-unload regressions. Document patch order and lifecycle requirements in public documentation and API comments.

The public C API, shared-library ABI majors, and core compatibility floor of 0.2.0 remain unchanged.

Static consumers must relink against the updated SDK. All threads using a private OpenSSL instance must stop using it before global cleanup and plugin unload.

The release includes seven target SDKs, the source archive, a Darwin smoke-test bundle, and a SHA-256 checksum manifest.

cpkt 0.4.0

Choose a tag to compare

@sa6mwa sa6mwa released this 17 Oct 11:29

cpkt 0.4.0 updates bundled OpenSSL to 3.6.5 and fixes pthread key-slot retention when completely unloading a plugin containing a private static OpenSSL instance.

  • Release the initialized master thread-local key at the end of OpenSSL global teardown. Per-thread cleanup continues to preserve state used by other threads.
  • Cover automatic and explicit cleanup, repeated cleanup, thread reuse, worker shutdown, complete unload, and preservation of unrelated host keys with native CTest regressions.
  • Keep the public C API and shared-library ABI unchanged. The core compatibility floor remains 0.2.0.

Plugins that statically embed OpenSSL must be relinked against the updated SDK to receive the fix. All threads using a private OpenSSL instance must stop using it before that instance is globally cleaned up and unloaded.

The release includes seven target SDKs, the source archive, a Darwin smoke-test bundle, and a SHA-256 checksum manifest.

cpkt 0.3.0

Choose a tag to compare

@sa6mwa sa6mwa released this 12 Oct 12:53
909ce83

cpkt 0.3.0 adds explicit compatibility spans to core SDK discovery through CMake.

find_package(CpktCore 0.2.0 CONFIG REQUIRED)
# Optional upper bound:
find_package(CpktCore 0.2.0...<0.4.0 CONFIG REQUIRED)
  • Core 0.3.0 declares compatibility from 0.2.0 through 0.3.0. Consumer version ranges and EXACT requests remain enforced.
  • CpktCore_COMPATIBLE_SINCE exposes the oldest supported baseline. Breaking releases can advance that floor; compatibility is independent of matching major or minor version numbers.
  • CpktCmocka follows the same core release compatibility span.
  • Exact provider build pins record reproducible provenance; installed provider configs request a compatible core baseline and retain platform and payload-integrity checks.

Provider archives that enforce an exact core version or package ID need updated consumer metadata before accepting independent core upgrades. Statically linked applications must relink to incorporate updated core code; shared-library deployments must select the updated library paths.

Public C interfaces, shared-library ABI versions and pinned third-party dependency versions remain unchanged from 0.2.0.

Extract SDKs as independent installations. Verify release files against cpkt-0.3.0-CHECKSUMS before extraction. Assets include seven SDKs, the arm64 Darwin smoke-test ZIP and the source archive, together with the complete SHA-256 manifest.

cpkt 0.2.0

Choose a tag to compare

@sa6mwa sa6mwa released this 11 Oct 08:08
98f6ed9

cpkt 0.2.0 adds validated CpktCore discovery for independent SDK installations through ordinary CMake search paths.

  • Exposes CpktCore_PREFIX, CpktCore_VERSION, CpktCore_TARGET_ID and CpktCore_PACKAGE_ID for downstream prerequisite validation.
  • Enforces checkout-owned build/cache paths and keeps unchanged distribution artifacts and matching verification reusable.
  • Simplifies core packaging by removing inactive provider machinery and shared-prefix assumptions.

Public C APIs and shared-library ABI versions remain unchanged.

The signed, lightweight-tagged commit passed a clean local make release in 43m 31s: 225 Debug checks, six editor checks, 139 Memcheck tests, fuzz smoke, all seven Release targets including Darwin osxcross, 792 installed/relocated Linux SDK consumer checks, Darwin consumer cross-links and Mach-O inspection, source reconstruction, and complete archive/checksum verification.

Artifacts include six Linux SDKs, the arm64 Darwin SDK and smoke-test ZIP, the source archive, and the complete SHA-256 manifest. Verify the manifest before extracting archives; retain each SDK's own installation root.