Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@ZackeryRSmith ZackeryRSmith released this 22 Feb 14:06

Cval release 2.0.0

Changelog

  • Fixed typo in module regex
  • Added additional info in errors and warnings (makes debugging much easier)
  • The ability to allow specific variables from the global or local scope (and the ability to allow all variables)
  • Fixed a scope bug. Cval used to need both global and local scopes to be passed
  • Updated tests.py
  • Fixed PYPI repo: Cval logo wouldn't load
  • Added more examples to the README
  • Removed gscope and lscope arguments. They aren't very intuitive, they have since been replaced by allowed_global_vars and allowed_local_vars
  • Added new error type Warning
  • Cval now checks if the arguments you've passed could cause any security vulnerability. Cval now watches out for those issues, and will raise a warning just to be safe.

Please report any bugs/exploits here

Install

Unix and Mac
python3 -m pip install cval==2.0.0
Windows
py -m pip install cval==2.0.0