Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 3.72 KB

File metadata and controls

44 lines (33 loc) · 3.72 KB

@fabric/core Changelog

Recent changes to Fabric Core.

2026-03-20

Pre-release focusing on wire parity, tooling, and release hygiene.

Protocol / core

  • Message wire v2 — 208-byte header: preimage (32 bytes) after hash, before signature; public messages use all-zero preimage (exposed as null in JS). FABRIC_MESSAGE_VERSION / VERSION_NUMBER bumped accordingly; max body size reduced to stay within 4096-byte frames.
  • Body hashhash field remains double-SHA256 of body only; signing covers full header (signature zeroed) + body with BIP-340 tag Fabric/Message (see docs/C-JS-PARITY.md).

Security / privacy

  • Peer logging — NOISE handshake: never log local private key material; public-key diagnostics and inbound session notices only when settings.debug is true (see types/peer.js). types/key.jsencrypt() uses explicit crypto.randomBytes(16) for IVs.
  • P2P_PEER_GOSSIP relay — Mitigates relay amplification: logical payload dedup (ignores per-hop re-signing), gossipHop TTL, per-origin relay budget, bounded wire-hash / payload caches (constants.js GOSSIP_*, Peer settings.gossip).
  • P2P_PEERING_OFFER relay — Same mitigations for peering offers: logical payload dedup, peeringHop TTL, per-origin relay budget, bounded payload cache, FIFO-capped deduped candidate queue (constants.js PEERING_OFFER_*, PEER_MAX_CANDIDATES_QUEUE, Peer settings.peering).
  • Operations / security docsPRIVACY.md, AUDIT.md, SECURITY.md; docs/README.md index.
  • DocsDEVELOPERS.md production & release, core types table; README.md seed warning + doc table; QUICKSTART.md links to PRODUCTION/DEVELOPERS.
  • Typestypes/fabric.d.ts minimal entry typings for package.json "types".

Tooling & docs

Payments / documents

Known / accepted

  • npm audit — No critical findings; remaining high / low issues are transitive under honkit (docs/book toolchain). Tracked in reports/SECURITY-AUDIT.md; clearing them likely requires honkit upgrades or npm audit fix --force (out of runtime dependency paths for @fabric/core consumers).

2023-04-01

First pass at public playnet — initial release candidate for the v0.1.0 tag.

Notable

  • Fabric CLI — terminal interaction.
  • Core types: Actor, Channel, Message, Peer, Service.

2022-01-25

Initial changelog file.