Skip to content

This release includes 3 breaking changes for platform teams planning a safe upgrade.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

dash ffmpeg hls live-streaming multithreading opencv
+13 more
picamera2 python real-time screen-capture streaming twitch video video-processing video-stabilization video-streaming webrtc-video youtube yt-dlp

Affected surfaces

deps breaking_upgrade

Summary

AI summary

Raised minimum Python version to 3.10+ and removed automatic OpenCV installation.

Full changelog

This release significantly enhances VidGear’s robustness, developer experience, and future readiness. The primary focus is on adding comprehensive type hints across all public APIs, modernizing dependencies, and deeply restructuring documentation to improve clarity, navigation, and accessibility.

📓 Complete Release Notes can be found here ↗️


VidGear is free and open source and will always remain so. ❤️

It is something I am doing with my own free time. But so much more needs to be done, and I need your help to do this. For just the price of a cup of coffee 🍵, you can make a difference 🤝

What's Changed (Highlights)

New Features ✨

  • Core:
    • Type Hints: Added comprehensive type hints to function signatures and return types across all API modules for improved code readability and IDE support.
  • Docs:
    • Docker Guide: Added a comprehensive new guide, detailing the challenges of containerizing VidGear, particularly around building OpenCV with correct GStreamer and FFmpeg support.
    • Sponsor Recognition: Added prominent sponsor section in the README.md and a new dedicated "Our Sponsors" page to highlight and thank supporters.

Updates/Improvements ⚡️

  • Core:
    * Migrated from deprecated pkg_resources to packaging library for version parsing to ensure compatibility with future Python versions.
    * Replaced yt_dlp dependency with yt-dlp[default].

Breaking Updates/Changes 💥

  • Setup.py:
    • 💣 Raised minimum Python version requirement from 3.8+ to 3.10+ to ensure long-term support.
    • 💣 VidGear no longer installs opencv-python automatically as a dependency when installed from source. Users must now manually install their preferred OpenCV binaries (e.g., opencv-python, opencv-contrib-python) as a prerequisite.
  • StreamGear:
    • 💣 The terminate() method is now formally deprecated and will be removed in a future release. The close() method should be used instead for safer process termination.

Bug-fixes 🐛

  • Core:
    • Various minor bug fixes and improvements across the codebase as part of the type hint additions and dependency updates.
    • .gitignore expanded to standard Python template (covers caches, build, virtualenvs, packaging artifacts, IDE metadata).
    • Increased consistency in logging and error surfacing.

Breaking Changes

  • Raised minimum Python version requirement from 3.8+ to 3.10+
  • VidGear no longer installs opencv-python automatically; users must install OpenCV binaries manually
  • Deprecated `terminate()` method in StreamGear; use `close()` instead

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track A Pure-Python Computer Vision Library That's Fast and Minimal

Get notified when new releases ship.

Sign up free

About A Pure-Python Computer Vision Library That's Fast and Minimal

All releases →

Related context

Earlier breaking changes

  • vidgear-0.3.5 Deprecated enablePiCamera boolean flag; replaced with explicit api=Backend.PIGEAR enumeration syntax.

Beta — feedback welcome: [email protected]