System Architecture
Changelog & Module SemVer Registry
Master Milestone Changelog, Semantic Versioning 2.0.0 Ledger, and Package Version History
Changelog & Module SemVer Registry
Version Control Policy: All B2BExpo applications and internal packages adhere strictly to Semantic Versioning 2.0.0 (
MAJOR.MINOR.PATCH). Changes are committed atomically with full traceability across the monorepo.
1. Monorepo Milestone Changelog
Version 1.3.0 (2026-09-27)
Theme: Production Authentication, Multi-Tenant RBAC, Real Database Store, and Automated Twenty CRM Sync
- Production Authentication & Security Engine:
- Implemented secure password hashing via Node.js native
crypto.scryptSyncwith unique 16-byte random salts andcrypto.timingSafeEqualverification. - Implemented 64-character cryptographic session tokens stored in HTTP-Only, Secure, SameSite=Lax cookies (
b2bexpo_session) with 7-day TTL.
- Implemented secure password hashing via Node.js native
- Persistent Database Engine (
tradeos-store.json):- Real atomic file WAL store supporting multi-tenant isolation, user accounts, tenant memberships, platform admins, team invites, and CRM sync audit trails.
- Seeded 4 default test accounts: Super Admin (
[email protected]), Exporter Owner ([email protected]), Compliance Officer ([email protected]), and Buyer ([email protected]).
- Registration & Login UI/UX:
- Built
/auth/loginwith 1-click test persona quick-switcher. - Built
/auth/registerwith dual-tab persona selection (Indonesian PT/CV Exporters with 13-digit NIB verification vs. Global/Domestic Buyers). - Built
/auth/invitefor secure team member account activation.
- Built
- Exporter Team Management (
/seller#team):- Added dedicated "Tim & Kolaborator" workspace tab in Seller Console.
- Enabled Exporter Owners to invite team members with role delegation (
ADMIN,OPERATOR,COMPLIANCE_OFFICER,FINANCE_AUDITOR) and generate copyable invite links.
- Dynamic Navbar Integration:
- Updated Navbar to reflect live authenticated user session with role badges, tenant context, and single-click logout.
- Automated Twenty CRM Sync:
- Integrated bidirectional auto-sync for Exporter Company/Contact and Buyer Company/Contact/Opportunity into Twenty CRM with resilient outbox queue fallback.
Version 1.2.0 (2026-09-27)
Theme: Twenty CRM Outbox Integration, Exporter Telemetry, and Dribbble Design Refresh
- Twenty CRM GraphQL Bridge:
- Implemented
@tradeos/twenty-bridgeclient and Server Actions inapps/web/app/actions/trade-crm.ts. - Mapped B2BExpo RFQ submissions to Twenty CRM
Company,Person, andOpportunityentities. - Added dual live GraphQL and simulated transactional outbox fallback modes.
- Implemented
- Exporter OS Console Telemetry:
- Added dedicated Twenty CRM Leads & Outbox tab in
/seller. - Live display of deal pipeline value, lead stages (
NEW_LEAD,SAMPLE_REQUESTED,QUALIFIED), and outbox sync status.
- Added dedicated Twenty CRM Leads & Outbox tab in
- Dribbble Luxury Minimalist Design Refresh:
- Enforced 48px (
h-12) height parity between global search input and primary CTA buttons. - Eliminated browser double-outlines via centralized focus rule (
outline: none; box-shadow: 0 0 0 2px #F58E1E). - Restored comfortable, spacious page widths (
max-w-7xl/1400px) and removed nested card clutter in admin and seller layouts.
- Enforced 48px (
- Documentation Suite Expansion:
- Added Canonical Product Architecture, Twenty CRM Integration, Design System Evolution, and Changelog documentation on
http://localhost:3001/docs.
- Added Canonical Product Architecture, Twenty CRM Integration, Design System Evolution, and Changelog documentation on
Version 1.1.0 (2026-09-26)
Theme: Canonical PDP Architecture & Dual-Track Conversion
- Canonical Commodity PDP (
/commodity/[slug]):- Real-time FOB spot pricing reference ($1,850/MT FOB Priok).
- Verified Laboratory COA metrics (moisture, defects, screen size).
- EU Deforestation Regulation (EUDR) geolocation compliance passport.
- Container Packing Advisor:
- Mathematical modeling for 20ft FCL (33 CBM / 21.5 MT) and 40ft HC (76 CBM / 26.5 MT).
- Real-time CBM volume and weight saturation calculation.
- Dual-Track Conversion Mechanics:
- $150 Commercial Sample Checkout with DHL/FedEx Express courier tracking.
- Automated 100% Rebate Voucher generation (
SAMPLE-REBATE-*) deductible on container orders.
- Exporter OS Lot Registration Wizard:
- Step-by-step batch creation for Indonesian agricultural cooperatives.
Version 1.0.0 (2026-09-25)
Theme: Turborepo Monorepo Architecture & Trade Core Engines
- Initialized Turborepo monorepo with 11 core packages (
@tradeos/types,@tradeos/db,@tradeos/trade-rfq, etc.). - Implemented PostgreSQL schema with Drizzle ORM and Row-Level Security (RLS).
- Setup Next.js 15 Web Storefront (
apps/webon port 3000) and Fumadocs Documentation Portal (apps/docson port 3001). - Achieved 100% test pass rate (107/107 unit tests).
2. Active Module Version Registry
| Module ID | Module Name | Package / App Path | Current Version | Status |
|---|---|---|---|---|
MOD-CORE-00 | Kernel Core & Types | packages/types, packages/db | v1.2.0 | OPERATIONAL |
MOD-TRADE-01 | RFQ & Packing Engine | packages/trade-rfq | v1.2.0 | OPERATIONAL |
MOD-OUTBOX-02 | Transactional Outbox | packages/outbox | v1.2.0 | OPERATIONAL |
MOD-COMM-03 | Commerce Core & Escrow | packages/commerce-core | v1.2.0 | OPERATIONAL |
MOD-CRM-04 | Twenty CRM Bridge | packages/twenty-bridge | v1.2.0 | OPERATIONAL |
MOD-DOC-05 | Proforma PDF Automation | packages/trade-docs | v1.1.0 | OPERATIONAL |
MOD-TRUST-06 | Compliance & EUDR | packages/trade-compliance | v1.1.0 | OPERATIONAL |
MOD-SEC-07 | Enterprise Security | packages/trade-security | v1.0.0 | OPERATIONAL |
MOD-GEO-08 | Geo Localization | packages/trade-geo | v1.0.0 | OPERATIONAL |
MOD-DOM-09 | Custom Domain Routing | packages/trade-domains | v1.0.0 | OPERATIONAL |
MOD-WEB-10 | Exporter Storefront Web | apps/web (Port 3000) | v1.2.0 | OPERATIONAL |
MOD-DOCS-11 | Fumadocs Portal | apps/docs (Port 3001) | v1.2.0 | OPERATIONAL |
MOD-SAMPLE-12 | Sample Commerce Engine | apps/web/app/sample | v1.2.0 | OPERATIONAL |
MOD-PACK-13 | Container Packing Advisor | apps/web/app/commodity | v1.2.0 | OPERATIONAL |
MOD-TELE-14 | Outbox & Telemetry Hub | apps/web/app/seller | v1.2.0 | OPERATIONAL |