Skip to content

Releases

p2p-webapp v1.0.0

Choose a tag to compare

@zot zot released this 03 Dec 02:19

p2p-webapp v1.0.0

The first stable release of p2p-webapp - a Go application for hosting peer-to-peer web applications.

Highlights

  • Stable API: The TypeScript client library API is now stable
  • Protocol Change: connect() now returns client instance with version and connected getters
  • Server Version Exposure: Clients can check the server version during connection

Changes Since v1.0.0-rc10

  • Add client connect options with onClose callback
  • Add version getter exposing server version
  • Add connected getter for connection state
  • Add unread message badges for room chat
  • Add download spinner indicator for file retrieval
  • Add delete button to file browser with reference-aware block cleanup
  • Fix fallback file transfer and add configurable stream timeout
  • Update API reference documentation

Installation

Download the binary for your platform:

  • Linux (amd64): p2p-webapp-linux-amd64
  • Windows (amd64): p2p-webapp-windows-amd64.exe
  • macOS Intel: p2p-webapp-darwin-amd64
  • macOS Apple Silicon: p2p-webapp-darwin-arm64

Make it executable (Linux/macOS):

chmod +x p2p-webapp-*

Run the demo:

./p2p-webapp

Full Changelog: v1.0.0-rc10...v1.0.0

p2p-webapp v1.0.0-rc11

Pre-release

Choose a tag to compare

@zot zot released this 26 Nov 18:20

p2p-webapp v1.0.0-rc11

Release candidate 11 with file management improvements and stream reliability fixes.

Bug Fixes

  • Fix fallback file transfer when downloading files from remote peers

Improvements

  • Add configurable stream timeout for peer connections (default 30s)
  • Document ipfsGetTimeout and streamTimeout config options

New Features

  • Add delete button to file browser for files and directories
  • Implement reference-aware IPFS block cleanup (only deletes blocks with no remaining references)

Installation

Download the binary for your platform:

  • Linux (amd64): p2p-webapp-linux-amd64
  • Windows (amd64): p2p-webapp-windows-amd64.exe
  • macOS Intel: p2p-webapp-darwin-amd64
  • macOS Apple Silicon: p2p-webapp-darwin-arm64

Make it executable (Linux/macOS):

chmod +x p2p-webapp-*

Run the demo:

./p2p-webapp

Full Changelog: v1.0.0-rc10...v1.0.0-rc11

v1.0.0-rc10

v1.0.0-rc10 Pre-release
Pre-release

Choose a tag to compare

@zot zot released this 26 Nov 15:02

Changes

  • Demo App: Enhanced peer list with connection status indicators
    • Show contacts with status (green = in topic, gray = offline)
    • Add CSS for status dot indicators
    • Track connection status in peer data structure
    • Create unified renderPeerList() function
    • Simplify connection checking (remove unreliable ping-based check)

Downloads

Platform File
Linux (amd64) p2p-webapp-linux-amd64
Windows (amd64) p2p-webapp-windows-amd64.exe
macOS Intel p2p-webapp-darwin-amd64
macOS Apple Silicon p2p-webapp-darwin-arm64

p2p-webapp v1.0.0-rc9

Choose a tag to compare

@zot zot released this 25 Nov 16:01

p2p-webapp v1.0.0-rc9

Release candidate 9 with stability improvements for DHT operations and connection management.

Bug Fixes

  • Fix panic from closing already-closed streamReaderDone channel using sync.Once
  • Improve DHT discovery logging and skip peers with no addresses

Improvements

  • Spawn DHT operations in goroutines instead of running synchronously (sync hygiene improvement)
  • Add retry logic to advertiseTopic for resilience to temporary network issues

Documentation

  • Updated CLAUDE.md with "never commit without permission" guideline
  • Updated CLAUDE.md with shared queue processing guidelines
  • Updated release.md noting that build/release/* files are not committed

Installation

Download the binary for your platform:

  • Linux (amd64): p2p-webapp-linux-amd64
  • Windows (amd64): p2p-webapp-windows-amd64.exe
  • macOS Intel: p2p-webapp-darwin-amd64
  • macOS Apple Silicon: p2p-webapp-darwin-arm64

Make it executable (Linux/macOS):

chmod +x p2p-webapp-*

Run the demo:

./p2p-webapp

Full Changelog: v1.0.0-rc8...v1.0.0-rc9

p2p-webapp v1.0.0-rc8

p2p-webapp v1.0.0-rc8 Pre-release
Pre-release

Choose a tag to compare

@zot zot released this 25 Nov 14:36

p2p-webapp v1.0.0-rc8

Bug fix release that fixes a panic that could occur during stream reconnection.

Bug Fixes

  • Fix panic from closing already-closed streamReaderDone channel
    • When multiple readFromStream goroutines existed due to stream reconnection, both would try to close the same channel causing a panic

Installation

Download the binary for your platform:

  • Linux (amd64): p2p-webapp-linux-amd64
  • Windows (amd64): p2p-webapp-windows-amd64.exe
  • macOS Intel: p2p-webapp-darwin-amd64
  • macOS Apple Silicon: p2p-webapp-darwin-arm64

Make it executable (Linux/macOS):

chmod +x p2p-webapp-*

Run the demo:

./p2p-webapp

Full Changelog: v1.0.0-rc7...v1.0.0-rc8

p2p-webapp v1.0.0-rc7

Choose a tag to compare

@zot zot released this 24 Nov 21:40

p2p-webapp v1.0.0-rc7

Release candidate 7 includes DHT bootstrap implementation and significant workflow improvements.

New Features

  • DHT Bootstrap: Comprehensive DHT peer discovery implementation with automatic bootstrap workflow
  • Release Agent: Automated release workflow for version bumping and binary distribution

Improvements

  • CRC Workflow: Added design-maintainer agent for bidirectional traceability between code and design
  • Peer Manager: Enhanced DHT bootstrap functionality with proper error handling and retry logic
  • Documentation: Major updates to developer guide with synchronization hygiene patterns
  • Test Coverage: Added comprehensive test design specifications for DHT bootstrap (343 lines)

Documentation

  • Expanded developer guide with Go concurrency best practices
  • Updated requirements and design documentation
  • Enhanced user manual with detailed feature descriptions
  • Added sequence diagrams for DHT bootstrap and pubsub communication

Installation

Download the binary for your platform:

  • Linux (amd64): `p2p-webapp-linux-amd64` (50 MB)
  • Windows (amd64): `p2p-webapp-windows-amd64.exe` (50 MB)
  • macOS Intel: `p2p-webapp-darwin-amd64` (51 MB)
  • macOS Apple Silicon: `p2p-webapp-darwin-arm64` (49 MB)

Make it executable (Linux/macOS):
```bash
chmod +x p2p-webapp-*
```

Run the demo:
```bash
./p2p-webapp
```


Full Changelog: v1.0.0-rc6...v1.0.0-rc7

v1.0.0-rc6: DHT Peer Discovery and Auto-Retry

Choose a tag to compare

@zot zot released this 23 Nov 21:05

New Features

  • Active DHT peer lookup when adding peers with unknown addresses
  • Automatic retry every 5 seconds for disconnected added peers
  • Persistent peer tracking for reliable connections

Improvements

  • Two-tier reconnection strategy (peerstore → DHT)
  • Enhanced logging for DHT operations and reconnections (use -v or -vv)
  • Fixes geographically separated peer discovery issue

What's Changed

This release enables true global P2P connectivity via the IPFS DHT network and ensures persistent connections to important peers even with intermittent connectivity.

When you add a peer to your contact list, p2p-webapp will now:

  1. Attempt immediate connection if addresses are known
  2. Perform DHT lookup if addresses are unknown
  3. Retry connection every 5 seconds if the peer is disconnected
  4. Continue retrying until the peer is removed from the contact list

Perfect for geographically separated peers or peers with unstable connections!

Installation

Download the appropriate binary for your platform:

  • Linux (x64): p2p-webapp-linux-amd64
  • Windows (x64): p2p-webapp-windows-amd64.exe
  • macOS Intel: p2p-webapp-darwin-amd64
  • macOS Apple Silicon: p2p-webapp-darwin-arm64

Make the binary executable (macOS/Linux):
```bash
chmod +x p2p-webapp-*
```

Run the demo:
```bash
./p2p-webapp
```

Verify version:
```bash
./p2p-webapp version

Output: p2p-webapp version 1.0.0-rc6

```

Full Changelog: v1.0.0-rc5...v1.0.0-rc6

Release Candidate 5: Test Design Infrastructure

Choose a tag to compare

@zot zot released this 23 Nov 12:10

Test Design Infrastructure

This release completes the CRC modeling test design workflow with comprehensive test specifications and improved connection management testing.

Test Design System

  • 9 comprehensive test design files with 152 test cases total
  • Complete test traceability linking specs → CRC cards → sequences → test designs
  • 100% coverage of all CRC responsibilities and sequence diagrams
  • Automated test-designer agent integration into design workflow

Connection Management Testing

  • Behavioral integration tests using real libp2p connection pressure
  • Helper functions for creating peers with custom connection managers
  • Tests verify actual pruning behavior within libp2p's limitations
  • Documentation of libp2p watermark heuristics and edge cases

Process Improvements

  • Designer agent now enforces test-designer invocation (mandatory)
  • Updated CLAUDE.md with explicit test design workflow
  • Registered test-designer and gap-analyzer as top-level agents
  • Fixed agent frontmatter for proper discovery

Test Files Generated

  • test-Server.md (9 test cases)
  • test-PeerManager.md (14 test cases)
  • test-Peer.md (22 test cases)
  • test-WebSocketHandler.md (18 test cases)
  • test-BundleManager.md (13 test cases)
  • test-P2PWebAppClient.md (29 test cases)
  • test-ConfigLoader.md (15 test cases)
  • test-ProcessTracker.md (13 test cases)
  • test-WebServer-CommandRouter.md (21 test cases)
  • traceability-tests.md (test traceability map)

All tests passing ✅


🤖 Generated with Claude Code

Release Candidate 4: Connection Management and Contact List

Choose a tag to compare

@zot zot released this 23 Nov 10:18

New Features

Connection Management API

Applications can now explicitly manage peer connection priorities using libp2p's BasicConnMgr:

  • addPeers(peerIds): Protect and tag peer connections to ensure they remain active
  • removePeers(peerIds): Remove protection and priority from peer connections

Contact List UI (Demo)

The demo application now includes a contact list feature:

  • Manage protected peer connections through an intuitive modal interface
  • Add/remove peer IDs with validation
  • Session-only persistence (contacts cleared on browser close)
  • Visual feedback for protected connections

Technical Details

Connection Protection: Prevents the connection manager from closing specific peer connections, ensuring they remain active even during connection pruning.

Connection Tagging: Assigns priority values (100) to protected peers, allowing the connection manager to make informed decisions about which connections to maintain.

Use Cases:

  • Maintain connections to critical relay nodes
  • Ensure application-specific peers stay connected
  • Control peer connections in testing scenarios
  • Prioritize connections to frequently-used peers

What's Changed

  • Add addPeers() and removePeers() methods to TypeScript client library
  • Implement connection management in Go backend (protocol, handlers, peer operations)
  • Add unit tests for connection management functionality
  • Create contact list UI in demo application with modal interface
  • Update all documentation (specs, design, API reference, developer guide, user manual)

Full Changelog

Commit: f3e998f - Add connection management and contact list feature

🤖 Generated with Claude Code

Release Candidate 3: PubSub Reliability, Dual-CID StoreFile, and File Notifications

Choose a tag to compare

@zot zot released this 21 Nov 21:18

Breaking Changes

  • storeFile API: Now returns {fileCid: string, rootCid: string} instead of just a string
    • TypeScript: async storeFile(path, content): Promise<StoreFileResponse>
    • Go: StoreFile(filepath string, content []byte, directory bool) (string, string, error)
    • Allows clients to persist the peer's root directory CID for session restoration

New Features

PubSub Reliability Improvements

  • Mesh Formation Wait: Subscribe() now waits up to 2 seconds for GossipSub mesh to form
    • Ensures peers can communicate immediately after subscribe returns
    • Prevents message loss from publishing before mesh is ready
  • Direct Peers: Automatically configure existing peers as direct peers
    • Guarantees mesh connectivity between all peers in the same process
  • Exponential Backoff Retry: Manual peer connections retry with exponential backoff
    • Up to 15 seconds with backoff: 100ms, 200ms, 400ms, 800ms...
    • Improves connection reliability on slow networks
  • Optimized GossipSub Parameters: Tuned for small/local networks
    • Heartbeat: 50ms initial delay, 500ms interval
    • Degree parameters: D=2, Dlo=1

File Availability Notifications

  • Enhanced logging for file update notifications
  • Lock-free notification publishing to prevent deadlocks
  • Demo UI auto-refreshes file browser when files change
  • Configurable via fileUpdateNotifyTopic setting

Improvements

  • Demo UI improvements: Auto-refresh file lists on notifications
  • Better error messages and verbose logging throughout
  • Documentation updates: README, specs, design files, developer guide

Installation

Download the appropriate binary for your platform:

  • Linux: p2p-webapp-linux-amd64
  • Windows: p2p-webapp-windows-amd64.exe
  • macOS Intel: p2p-webapp-darwin-amd64
  • macOS Apple Silicon: p2p-webapp-darwin-arm64

Make the binary executable (Linux/macOS):
```bash
chmod +x p2p-webapp-*
```

Run the demo:
```bash
./p2p-webapp demo
```