Skip to content

RELEASE v2.2.1

Choose a tag to compare

@Samuel1698 Samuel1698 released this 14 May 01:42
· 183 commits to main since this release

✨ Added

  • viewport --diagnose argument will look at your current .env and config.ini and look for errors.
  • browser_handler can now deal with dropped/lost connection while attempting to download the ChromeDrivers/GeckoDrivers.
  • Option to take screenshot on errors (Deleted after LOG_DAYS).
  • Test coverage now at 100% with 300 tests.

🔥Changed

  • config and env validation now a separate validate_config.py file.
  • Rewrite config.ini comments for brevity.
  • restart_handler now checks if invoked from within a terminal and replaces itself, otherwise it will detach into the background. viewport --restart still detaches into the background.
  • viewport -r will only restart if there's already a script running.
  • Fully validate relevant .env variables when using the monitoring api.

🐛 Fixed

  • Argument parsing now exclusively parses expected arguments.
  • log_error bad function call with e=None now correctly uses None instead.

Commit Difference
CHANGELOG


The full release is a copy of the entire repo. It's the same as cloning from the terminal.
The minimal is just what's needed to run the script - no tests or development files.
The no api is the same as minimal except it also does not include monitoring.py nor the html, css, and js files to run it.