diff --git a/.github/workflows/discord-release-notify.yml b/.github/workflows/discord-release-notify.yml index abd0d164..c025175a 100644 --- a/.github/workflows/discord-release-notify.yml +++ b/.github/workflows/discord-release-notify.yml @@ -57,7 +57,7 @@ jobs: 'Authorization': `Bearer ${apiKey}`, }, body: JSON.stringify({ - model: 'deepseek-chat', + model: 'deepseek-v4-flash', max_tokens: maxTokens, temperature, messages: [{ role: 'user', content: prompt }], diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..641d4671 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,77 @@ +# Changelog + +All notable changes to Velxio will be documented in this file. +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). + +## [2.0.1] - 2026-04-22 + +### Added +- Enhanced electrical simulation with ngspice-WASM engine for accurate analog circuit analysis +- Expanded component catalog with 44 SPICE-compatible parts including logic gates, transistors, op-amps, regulators, and electromechanical components +- Added 40 new circuit examples demonstrating analog, digital, and electromechanical concepts +- Introduced custom web components for electronic elements (relays, resistors, capacitors, inductors, transistors) +- Implemented ESP32 ADC waveform simulation with periodic 12-bit waveform look-up tables and interpolation +- Added voltmeter and ammeter instrument components for real-time circuit measurements +- Created comprehensive end-to-end tests for electrical simulation including capacitor charging, rectifier behavior, and waveform analysis +- Added GitHub Actions workflow for circuit simulation testing on every push and PR + +### Changed +- Renamed all components to use 'velxio-' prefix for consistency +- Enabled electrical simulation by default (always-on SPICE mode) instead of requiring manual activation +- Enhanced LED brightness simulation to reflect actual current flow from SPICE calculations +- Updated backend to handle unhandled asyncio exceptions and prevent process crashes +- Improved component metadata generation to prevent CI drift and enforce up-to-date metadata +- Refactored property synchronization in simulation parts to use event-based system +- Expanded ADC pin mapping to support all 18 board types for full microcontroller integration + +### Fixed +- Fixed sitemap generation to include all circuit examples for better SEO visibility +- Resolved floating input node issues in RC low-pass filter circuits that caused SPICE singular matrix errors +- Updated proxy configuration to use 127.0.0.1 for improved compatibility +- Fixed metadata regeneration to properly include custom components in the component picker +- Improved backend entrypoint script to ensure clean container restarts when processes die + +## [2.0.1] - 2026-04-17 + +### Added +- Added ATtiny85 support with examples and simulation tests +- Added BMP280 sensor component with circuit preview and SVG representation +- Added example detail pages with improved SEO and sitemap generation +- Added MicroPython support for RP2040 (Pico), ESP32, ESP32-S3, and ESP32-C3 boards +- Added ability to upload precompiled firmware files (.hex, .bin, .elf) directly into the emulator +- Added ability to remove boards from workspace with confirmation dialog +- Added I2C sensor support with slave emulation for MPU6050, BMP280, DS1307, and DS3231 sensors +- Added ESP32 WiFi/BLE emulation with ESP-IDF compilation pipeline +- Added VS Code extension skeleton for local simulation +- Added comprehensive documentation for ESP32 GPIO sensor simulation, Docker infrastructure, and MicroPython implementation +- Added auto-compile feature that triggers compilation when pressing Play if code changed or no firmware loaded +- Added share functionality for projects and examples with visibility toggle +- Added component metadata overrides and enhanced property controls +- Added new CI/CD workflows for backend unit tests, end-to-end tests, and automated Discord release notifications +- Added Docker multi-architecture support (amd64 + arm64) and pre-built ESP-IDF toolchain image + +### Changed +- Enhanced auto-compile to use board's file group for WiFi detection instead of legacy global files +- Updated CircuitPreview component and implemented ShareModal using createPortal +- Enhanced Arduino pin tracing in DynamicComponent and updated LittleFS WASM initialization +- Enhanced ESP-IDF compiler library resolution logic and added support for dynamic library detection +- Enhanced wire connection handling and GND checks for components +- Enhanced logging for library loading and WiFi progress +- Updated Docker build processes with optimized build contexts and multi-architecture support +- Changed WiFi SSID normalization to match QEMU access points for reliable ESP32 WiFi connection +- Refactored I2C slave tests for ESP32 with improved event handling and ACK/NACK responses + +### Fixed +- Fixed container restart issue by monitoring both backend and nginx processes +- Fixed project saving to use active board files/kind and improved error messages +- Fixed ESP32 boot stability with deterministic instruction counting +- Fixed ESP32 Run button to auto-compile and recover firmware after page refresh +- Fixed LED ground check to require cathode wired to GND (or LOW GPIO) to light up +- Fixed MPU6050Slave I2C handling with improved WHO_AM_I read tracking +- Fixed ESP32 WiFi SSID/channel alignment with QEMU access_points array +- Fixed RISC-V toolchain paths for ESP32-C3 compilation +- Fixed ESP-IDF Python requirements installation in Docker +- Fixed SaveProjectModal to prevent saving to `/api/projects/none` when project ID is invalid +- Fixed ESP32 compilation by adding missing dependencies (cmake, ninja-build, git, packaging, libusb) + +[2.0.1]: https://github.com/davidmonterocrespo24/velxio/releases/tag/v2.0.1