Skip to content

Instantly share code, notes, and snippets.

@jchris
Created April 8, 2025 17:44
Show Gist options
  • Save jchris/0df2c0436bb492e850d08a6782497771 to your computer and use it in GitHub Desktop.
Save jchris/0df2c0436bb492e850d08a6782497771 to your computer and use it in GitHub Desktop.
new release for Fireproof

Fireproof 0.20.0 Changelog

Major Changes

React Hooks Refactoring

  • Added support for granular document update methods (merge, replace, reset) alongside the legacy updateDoc
  • Improved TypeScript type definitions in types.ts

Cloud Protocol Implementation

  • Added new cloud protocol support with HTTP and WebSocket connections
  • Implemented fpcloud: protocol scheme for remote database access
  • Added message types for data, metadata, and write-ahead log (WAL) operations
  • Implemented secure key management for cloud communications

Storage Architecture

  • New attachable store implementation for better remote storage integrations
  • Enhanced key management with V2 serialized meta keys
  • Improved connection management for remote storage

Core Database Enhancements

  • Added support for attaching external storage
  • Improved subscription model for real-time updates

Security Improvements

  • Enhanced key management for encrypted data storage
  • Added key propagation/gossip protocol for distributed metas
  • Improved serialization/deserialization of metadata with keys

File Structure

  • Major reorganization of code structure in the src directory
  • Clear separation between core database and storage implementations

Developer Experience

  • Better TypeScript types throughout the codebase
  • Enhanced error reporting and logging
  • Improved abstractions for different storage backends
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment