Skip to content

brookmd 0.22.0 — the flux-md rename

Choose a tag to compare

@siinghd siinghd released this 20 Jul 21:03

brookmd 0.22.0

The project formerly named flux-md is now brookmd — same project, same wire, new name. npm flux-md is deprecated and frozen at 0.21.0; install brookmd. The Rust core lives on crates.io as brookmd-core.

Migration is a mechanical rename: package flux-mdbrookmd, APIs Flux*Brook* (BrookClient, BrookMarkdown, initBrook, …), element <flux-markdown><brook-markdown>, CSS --flux-*--brook-* and .flux-md.brook-md, pending-link marker data-flux-pendingdata-brook-pending (wire contract 1.0.0 → 1.1.0; envelope unchanged). Full table in the changelog.

0.22.0 also carries everything from 0.21.0: the streaming worst-case performance campaign (five previously quadratic shapes now linear, byte-identically) and the new subpath exports.

Prebuilt native artifacts (experimental)

CI-built binaries for the native bindings — not yet published to any package registry; device validation is in progress. All emit the same versioned wire (WIRE.md v1.1.0), pinned by per-language golden tests.

Asset Contents SHA-256
brook_md_ffi.xcframework.zip Swift/uniffi XCFramework: iOS device + simulator + macOS (arm64 + x86_64) ab8c7f8148302efff78756c328bca3552832aabde70fd89372cec08ce79de224
brookmd-ffi-android-jniLibs.zip Android libbrook_md_ffi.so — arm64-v8a, armeabi-v7a, x86_64 (16 KB page aligned) c4afaad6fcc7e9b3ddceac5d63a6b5fb02da213df825736bde90ecf940ad0e2e
brookmd-ffi-rn-ios.xcframework.zip React Native iOS XCFramework (device + fat simulator) 68ed6d7bcf48249cbe3614f6c93fe210387b022dedebed64931b41cb7d5a712c
brookmd-cabi-android.zip C-ABI libbrook_md_cabi.so per ABI + brook_md.h fe37e1d3c535baa6ce76be1ee293600b58ea9a4b744acbc0ea2e104990034aa1
brookmd-cabi-apple.zip C-ABI XCFramework + universal macOS dylib + brook_md.h 9b6f97b0283473ffa3afe121b16c3bf743f6f4ec746f0b103bd8de224c5316ad

Swift Package Manager binaryTarget example:

.binaryTarget(
    name: "BrookMdRustFFI",
    url: "https://github.com/siinghd/brookmd/releases/download/v0.22.0/brook_md_ffi.xcframework.zip",
    checksum: "ab8c7f8148302efff78756c328bca3552832aabde70fd89372cec08ce79de224"
)