Grip

Latest version: v4.6.2

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

4.6.2

Bugs fixed

- Support Werkzeug 3 by using a default encoding of UTF-8 ([377](https://github.com/joeyespo/grip/ issues/377) - thanks, [daniel-eichinger-bl][]!)

4.6.1

Bugs fixed

- Fix "ImportError: cannot import name 'safe_join' from 'flask'" when using Flask 2.1.0+ ([360](https://github.com/joeyespo/grip/pull/360) - thanks, [bryce-carson][]!)

4.6.0

Notable changes

- Update output and **fix style issues**
- Add support for **Python 3.7, 3.8, 3.9, 3.10**
- Improve handling of PDFs and other binary files
- Fix deprecation warnings from newer dependency versions

Deprecations

- End-of-life [Python versions](https://devguide.python.org/#status-of-python-branches) no longer intentionally supported
- Python 2.6, 2.7 (Python 2 compatibility will be removed entirely in the next major release)
- Python 3.0, 3.1, 3.2, 3.3 ([275](https://github.com/joeyespo/grip/pull/275) - thanks, [svisser][]!), 3.4, 3.5, 3.6
- Current [dependency versions](requirements.txt) (more recent versions will be required in the next major release)

Bugs fixed

- Fix typo in error message ([266](https://github.com/joeyespo/grip/pull/266) - thanks, [Godron629][]!)
- Update HTML/CSS scaffold to match GitHub ([297](https://github.com/joeyespo/grip/pull/297) - thanks, [phyllisstein][]!)
- Fix tests by adding a missing `USER_CONTEXT` argument to one of the `GitHubRenderer` calls
- Serve non-`text/` MIME types as raw files for better handling of, e.g. PDF files ([234](https://github.com/joeyespo/grip/pull/234) - thanks, [wvspee][]!)
- Fix style parsing, which caused some styles to be missing ([347](https://github.com/joeyespo/grip/issues/347))

Other changes

- Readme: Update to correct `--no-inline` option ([267](https://github.com/joeyespo/grip/issues/267) - thanks, [TomDLT][]!)
- Readme: Fix links to Grip class ([276](https://github.com/joeyespo/grip/issues/276) - thanks, [jacebrowning][]!)
- Readme: Clarify that this sends your markdown to GitHub ([251](https://github.com/joeyespo/grip/issues/251) - thanks, [courajs][]!)
- Update `pytest` usages (see [pytest 3.0.0 changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst#300-2016-08-18))
- Add `.pytest_cache` to `.gitignore` ([287](https://github.com/joeyespo/grip/pull/287) - thanks, [svisser][]!)
- Add `.venv` and `.idea` to `.gitignore` and clean up
- Add `flake8` test dependency and fix linting errors ([299](https://github.com/joeyespo/grip/pull/299))
- Add `pytest` test dependency ([294](https://github.com/joeyespo/grip/pull/294) - thanks, [Methacrylon][]!)
- License: Distribute LICENSE file ([274](https://github.com/joeyespo/grip/pull/274) - thanks, [synapticarbors][]!)
- License: Update year

4.5.2

- Enhancement: Show more helpful error message on TLSV1_ALERT_PROTOCOL_VERSION to help people through ([262](https://github.com/joeyespo/grip/pull/262))
- Docs: Use smaller header for patch version titles in CHANGES.md

4.5.1

- Bugfix: Don't print "Downloading" from `--export` when using `--quiet`
- Cleanup: Move `quiet` kwarg of `export()` to the end like the other API methods
- Readme: Document `quiet` kwarg of `export()`
- Readme: Document `quiet` kwarg of `render_page()`

4.5.0

- Enhancement: Show warning if no styles are collected ([265](https://github.com/joeyespo/grip/pull/265))
- Bugfix: Don't print "Exporting" from `--export` when using `--quiet` ([247](https://github.com/joeyespo/grip/pull/247) - thanks, [kagof][]!)
- Bugfix: Fix style parsing ([265](https://github.com/joeyespo/grip/pull/265))
- Bugfix: Loosen up the style URLs matching ([265](https://github.com/joeyespo/grip/pull/265))
- Internals: Fix `_strip_url_params` method name typo ([254](https://github.com/joeyespo/grip/pull/254) - thanks, [jwilk][]!)
- Readme: Fix syntax highlighting in README ([264](https://github.com/joeyespo/grip/pull/264) - thanks, [jwilk][]!)
- Readme: Remove Gratipay :frowning_face: ([Article](https://gratipay.news/the-end-cbfba8f50981))
- Readme: Tweak Contributing copy
- Tests: Wrap map() with list() for multiple iteration for Python 3 support
- Tests: Call `Popen.communicate()` only once
- Tests: Regenerate render output
- Cleanup: PEP8
- Thanks: [jwilk][] for getting the GitHub repo to finally show the right Language stats :smiley: ([263](https://github.com/joeyespo/grip/pull/263))

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.