flux_updater 1.0.0
flux_updater: ^1.0.0 copied to clipboard
OTA update system for Flux applications with bytecode diff, version control, and seamless hot-reload capabilities.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2026-01-06 #
Added #
- FluxUpdateManager - Main client for checking and applying OTA updates
- OTA Server - Shelf-based REST API server for release management
POST /releases- Upload new releaseGET /releases/:appId/latest- Get latest version infoGET /patches/:appId/:from/:to- Download incremental patchGET /chunks/:appId/:version- Download full bytecode chunk
- Bytecode Diffing - XOR + GZip compression for efficient patch delivery (~5-10% of full size)
- Version Control - Semantic versioning with rollback support
- Code Signing - HMAC-SHA256 signature generation and verification
- CLI Tools
flux_updater compile- Compile Flux source to bytecodeflux_updater release- Create signed release packageflux_updater push- Upload release to OTA serverflux_updater info- Display bytecode file information
- ChunkSerializer - Binary serialization/deserialization for bytecode chunks
- DiffManager - Efficient binary diff generation and application
- VersionManager - Local version tracking and rollback management
- SignatureUtils - Cryptographic utilities for code signing
Security #
- HMAC-SHA256 signature verification for all releases
- Integrity checks on downloaded patches and chunks
- Secure key management utilities
Documentation #
- Complete API reference
- Quick start guide
- App Store compliance guidelines (iOS/Android)
- Architecture overview