Skip to content

Releases: GhostTypes/ff-5mp-api-py

Release 1.2.2

28 Apr 00:16

Choose a tag to compare

Fixed

  • Replaced netifaces (source-only on PyPI) with ifaddr (pure-Python, wheels everywhere) for network interface enumeration. Fixes installation failure on Python 3.14 / Home Assistant 2026.4.x where netifaces==0.11.0 cannot build, which previously caused from flashforge import ... to raise ImportError at module load and broke the Home Assistant config flow with "Invalid handler specified" — even for manual setup paths that didn't use discovery. Reported in ff-5mp-hass#10.
  • Synced flashforge.__version__ with pyproject.toml (was stuck at 1.1.1).

Changed

  • Added Python 3.14 to the supported versions classifier list.

Full Changelog: v1.2.1...v1.2.2

Release 1.2.1

23 Mar 21:19

Choose a tag to compare

Fixed

  • Increased currentPrintSpeed and printSpeedAdjust validation limit from 200 to 1000 to support AD5X printers reporting speeds up to 500 (contributed by @spawnegit)
  • Replaced per-request aiohttp.ClientSession() creation with shared HTTP session across all control modules (control.py, files.py, info.py, job_control.py), fixing connection churn and respecting the configured timeout
  • Increased default HTTP timeout from 5s to 15s to prevent timeouts during print operations

Changed

  • Extracted duplicate try/except aiohttp.ContentTypeError JSON parsing pattern into a shared json_from_response() helper in api/network/utils.py
  • Release workflow now includes curated changelog entry alongside auto-generated commit notes in GitHub Releases

What's Changed

  • Fix AD5X print speed validation, shared HTTP session, and timeout by @spawnegit in #12
  • fix: shared HTTP session and json_from_response helper across all controls by @GhostTypes in #13

New Contributors

Full Changelog: v1.2.0...v1.2.1

Release 1.2.0

21 Mar 19:21

Choose a tag to compare

Full Changelog: v1.1.1...v1.2.0

v1.1.1

10 Mar 01:55

Choose a tag to compare

Fixed

  • Fixed AD5X /detail response parsing for newer firmware fields including camera, clearFanStatus, coordinate, extrudeCtrl, and moveCtrl
  • Made raw printer detail parsing tolerant of additional future firmware fields instead of failing validation
  • Added regression coverage for extended AD5X detail payloads

Release 1.1.0

09 Mar 00:54

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.2...v1.1.0

Release 1.0.2

26 Dec 19:50

Choose a tag to compare

Full Changelog: v1.0.1...v1.0.2

Release 1.0.1

25 Dec 02:27

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

02 Nov 20:26

Choose a tag to compare

v1.0.0: Initial PyPI release

FlashForge Python API - Comprehensive library for controlling FlashForge 3D printers

Features:
- HTTP API client for modern FlashForge printers
- TCP/G-code client for legacy communication
- UDP-based printer discovery
- Full async/await support
- Type-safe Pydantic models
- Support for Adventurer 5M Series and Adventurer 4

Published to PyPI: https://pypi.org/project/flashforge-python-api/