Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release VidGear Stable v0.2.3 #262

Merged
merged 23 commits into from
Oct 27, 2021
Merged

Release VidGear Stable v0.2.3 #262

merged 23 commits into from
Oct 27, 2021

Conversation

abhiTronix
Copy link
Owner

@abhiTronix abhiTronix commented Oct 27, 2021

Description

New vidgear stable release is here with focus on bug fixes and improvements to its APIs. πŸŽ‰

Key Changes:

πŸ““ Complete Release Notes can be found here ↗️

New Features ✨

  • CamGear:
    • Added support for 4K Streaming URLs.
  • Helper:
    • Implemented logging ColorFormatter string alignment.

Updates/Improvements ⚑️

  • CamGear:
    • Replaced youtube-dl with yt-dlp as pafy backend.
      • Implemented hack to trick pafy into assuming yt-dlp as youtube-dl.
      • Replaced youtube-dl dependency with yt-dlp.
      • Replaced youtube-dl imports with yt-dlp.
        -Helper:
    • Enabled logging for check_WriteAccess method.
  • Maintenance:
    • Added .gitignore for specifying intentionally untracked files to ignore
    • Added .gitattributes to manage how Git reads line endings.
    • Introduced python short-circuiting for handling logging logic in APIs.

Breaking Updates/Changes πŸ’₯

  • check_WriteAccess will now return as invalid path if writing directory does not exists. This will effect output file handling in WriteGear and StreamGear APIs.

Bug-fixes πŸ›

  • StreamGear:
  • WriteGear:
    • Fixed bug in -disable_force_termination attribute logic which accidentally disables force termination.
  • WebGear_RTC:
    • Fixed name 'VideoStreamTrack' is not defined bug.
  • Setup.py:
    • Fixed TypeError bug.
    • Fixed invalid latest_version retrieval.
  • Helper:
    • Fixed check_WriteAccess failing to recognize correct permission for writing the output file on windows platform.
      • Implemented separate logic for Windows and *nix platforms.
    • Fixed bug in check_WriteAccess that throws OSError while handling URLs.

Requirements / Checklist

Related Issue

#254
#259
#260
#261
#246
#251
#248

Context

VidGear's next milestone release i.e. v0.2.3 with main focus on critical bug fixes, performance improvements for its API, , user-friendly docs and lots of under the hood enhancements.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

abhiTronix and others added 22 commits September 2, 2021 21:38
…Vboivin] (Fixed #248)

- 🎨 Removed the extra '%' character from the naming convention for segment files.
- 🎨 Removed the Windows carriage returns from the shell scripts to be able to execute them on Linux. 
- ⚑️ Used stream_count variable to alter template for hls segment filenames.
- πŸ”– Bumped vidgear version to `0.2.3`.
- πŸ’‘ Updated code comments and reformatted code.
- πŸ”₯ Setup: Removed redundant code.
- πŸ—‘οΈ Support for the Bash Uploader will be deprecated on February 1st, 2022. See: https://docs.codecov.com/docs/about-the-codecov-bash-uploader
- ⚑️ Added commands for signature and SHASUM verification to ensure integrity of the Uploader before use.
- 🎨 Replaced related bash commands.
)

- πŸ“ Added new ScreenGear with WebGear_RTC API bonus example.
- 🚸 Added warning for ScreenGear outputting RGBA frames instead of default BGR frames with `mss` backend.
- ✏️ Several internal and external webpage links typos fixed.
- ♿️ Updated admonitions.

CI :
- πŸ‘· Added wildcard to skip CI tests for doc(`.md`) files.
- πŸ‘· Added `.md` files to Codecov ignore list.
…identally disables force termination. (Fixes #259)

- βš—οΈ Introduced experimental python short-circuiting for handling logging.
- πŸ”Š Enabled logging for `check_WriteAccess` method in WriteGear, StreamGear and NetGear.
- πŸ’‘ Improved code comments.

Helper:
- πŸ› Fixed check_WriteAccess failing to recognize correct permission for writing the output file on windows platform. (Fixes #260)
- ⚑️ Implemented separate logic for Windows and *nix platforms.
- πŸ₯… Improved warnings and error handling in `check_WriteAccess`.
- πŸ’₯ `check_WriteAccess` will now throw error if writing directory not present.
- 🎨 Added logging parameter to `check_WriteAccess`.
- βž• Added `stat` import.

Docs:
- πŸ“ Fixed bugs in WriteGear's Compression Mode with Live Audio Input example.
- πŸ“ Added warnings for properly formatting output_params when assigning external audio-source in WriteGear.

CI:
- πŸ‘· Replaced `env` with `export` in ci_linux.yml.
- πŸ‘· Replaced `bubkoo/needs-more-info@v1` with `wow-actions/needs-more-info@v1`.
…handling URLs.

Docs:
- ✨ Added support for `hl_lines` argument for highlighting specific code lines.
- πŸ“ Added depreciation notice for Python 3.6 legacies.
- 🚸 Restructured docs to make it more user-friendly.
- 🎨 Updated, Extended and Improved context.
- ✏️ Fixed several typos.

WriteGear: πŸ’‘ Improved code comments.

CamGear: ⚑️ Added support for `4K` videos.

Maintenance: πŸ™ˆ Added more entries to `.gitignore` for ignoring unwanted files.
…dings.

- 🚸 Enabled `auto` default behavior, in case people don't have `core.autocrlf` set.
- 🎨 Enforced LF line-endings for selective files types.
- ⚑️ Added Binary data files that specifies they are not text, and git should not try to change them.
- ♿️ Added Language aware diff headers.
- ♿️ Added Linguist language overrides.
- πŸ’„ Added drop-shadow effects for slate theme to improve visibility.
- ✏️ Fixed context and typos.
- 🎨 Some minor tweaks to docs UI.
- 🎨 Center aligned logging Levelname and Classname.
- ⚑️ Changed `%` formatting style with modern `{`.
- 🎨 Re-added `asctime` value to Formatter string.
- 🎨 Re-arranged parameter positions in Formatter string.

Docs:
- πŸ› Fixed "drop-shadow" property via `filter` function conflicting with sidecard button.
- πŸ’„ Added new CSS classes for image, admonitions and code highlight in dark theme.
- πŸ’„ Updated `changelog.md` and `custom.css`.
#261)

- ⚑️ Implemented hack to trick pafy into assuming `yt-dlp` as `youtube-dl`.
- πŸš‘οΈ Using `sys.modules` to present `yt-dlp` as `youtube-dl`.
- ⚑️ `yt-dlp` is a youtube-dl fork based on the now inactive youtube-dlc.
- ⚑️ `yt-dlp` python API functions exactly similar to `youtube-dl`.
- βž• Replaced `youtube-dl` dependency with `yt-dlp`.
- βž• Replaced `youtube-dl` imports with `yt-dlp`.
- πŸ“ Updated docs and code comments.
- 🍱 Update vidgear's banner image.
@abhiTronix abhiTronix added BUG πŸ› Vidgear api's error, flaw or fault ENHANCEMENT ⚑ New Feature/Addition/Improvement MAINTENANCE πŸ—οΈ Just sorting things out! WORK IN PROGRESS 🚧 currently been worked on. NEW RELEASE πŸ”₯ New Release. Yay! DOCS πŸ“œ Issue/PR is related to vidgear docs. labels Oct 27, 2021
@abhiTronix abhiTronix added this to the 0.2.3 milestone Oct 27, 2021
@abhiTronix abhiTronix merged commit 99ffcec into master Oct 27, 2021
@abhiTronix abhiTronix deleted the testing branch October 27, 2021 03:55
@abhiTronix abhiTronix added SOLVED 🏁 This issue/PR is resolved now. Goal Achieved! and removed WORK IN PROGRESS 🚧 currently been worked on. labels Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG πŸ› Vidgear api's error, flaw or fault DOCS πŸ“œ Issue/PR is related to vidgear docs. ENHANCEMENT ⚑ New Feature/Addition/Improvement MAINTENANCE πŸ—οΈ Just sorting things out! NEW RELEASE πŸ”₯ New Release. Yay! SOLVED 🏁 This issue/PR is resolved now. Goal Achieved!
Projects
None yet
1 participant