Releases: GitGuardian/ggshield
v1.11.0
🚀 Features
🐛 Bug fixes
- cfbaf17 (docker) fix crash when scanning a non-local image
- 4224efd (import) standardize import format
- 9e782e1 (path) remove an useless IO operation
- b53da7c (setup) provide useful error message when API key is not latin-1 (#101)
- e844671 (tests) Make test_text_output pass on Windows
- ba91b89 (tests) fix test_status_cli on Windows
- 8b87f64 (tests) skip failing Windows tests for now
- 736febb (tests) fix some tests failing because test files were not created
- c9e63fd (tests) fix test_scan.py::test_cd_context_manager on Windows
- 518a946 (tests) make Docker tests pass on Windows
- bc5780a only show backtrace if GITGUARDIAN_CRASH_LOG is set
- 4a67841 fix Click warning about deprecated symbol
- 0082660 fix pre-receive hook error handling with GitLab Web UI
🔧 Chores and Improvements
- b09b5bd (ci) fix build job always running on Ubuntu
- d9231d2 (doc) fix outdated comments
- 76f4cd4 (gitlab-ci) remove unused definition
- d09c9a7 (release) 1.11.0
- 2574ff6 (tests) remove empty test file
- 8907772 (tests) add test for is_filepath_excluded()
- e59da7c (typing) fully type Config fields
- f5fcbc9 (typing) Remove typing errors in tests
- 20bdfe2 remove unnecessary backslashes
- d92e632 pin dependency versions
- 679d451 remove unused
show_secrets
arg from get_lines_from_content() - f03580c improve typing
- 6ae73f7 move validity translation to text_utils
- 80dd202 add brew command for easy install on 🍎 macos (#171)
v1.10.8
🚀 Features
🐛 Bug fixes
- 0e0f64e (cache) fix uncaught Exception when cache is created on a read-only FS
- 26830aa (docker) fix "docker save" failing on Windows (#161)
- 307d662 (docker) fix crash on Windows when saving Docker images (#160)
- e8cdd94 (tests) remove platform specific code
- fee7b07 (tests) support macos tmp dir to make tests pass
- e7047f4 (ci) stop to tag every Docker images as latest
🔧 Chores and Improvements
📦 Other
- 316d72f Update doc/pre-receive.sample
Co-authored-by: Aurelien Gateau [email protected]
fix(ci): stop to tag every Docker images as latest
chore(output_handler): refactor output handling
- Remove unnecessary empty methods from OutputHandler
- Move code writing to stdout or to the specified file to OutputHandler
- Move code computing the exit code to OutputHandler
- Rename concrete classes from ${FORMAT}Handler to ${FORMAT}OutputHandler and their files from ${format}_output.py to ${format}_output_handler.py
- Add docstrings to OutputHandler methods
- 621a6bb (pre-commit) add description to hooks (#153)
- 8796fbc Unbreak unit tests (#154)
- chore: update cassettes and snapshots
Fixes #148
Use GitGuardian test tokens instead of SendGrid Key.
Do not reuse cassettes between tests, it's confusing and feels brittle.
Do not activate pytest-socket by default, only turn it on in the CI. This way one can update VCR cassettes by removing the cassette files, no need to edit the pyproject.toml file. Proposed changes still need to not do any network access for the CI to pass.
Make exclude tests easier to understand: all runs are now expected to exit with 0 and we check stdout to verify if the normally ignored files are there or not. Factorize code creating the normally ignored test file.
- 4ac156b (README) fix azure pipelines link (#152)
- 23b6402 fix(ci) no secret found no more displayed if secrets found (#147)
- fix(ci) do not display "no secret found" when secrets are found
Co-authored-by: [email protected] [email protected]
Co-authored-by: agateau-gg [email protected]
fix(tests): fix tests failure on macOS because of /tmp dir
v1.10.7
v1.10.6
🚀 Features
- f7c4718 (cache) only create/update cache if there are new entries
- 2bd8013 (release) add .pyz support through shiv. implements #109
🐛 Bug fixes
- 0c6857e (release) fix release notary not finding the latest release
🔧 Chores and Improvements
- f71d5b1 (release) 1.10.6
- 27e0b3c (deps) update hooks and dev deps
- d8ee302 (workflow) update jobs to push ggshield formula on both gitguardian's tap
📦 Other
Update jobs to push ggshield formula on both GitGuardian's taps
🔧 Chores and Improvements
- 4b62880 (release) 1.10.7
v1.10.5
v1.10.4
v1.10.3
v1.10.2
🚀 Features
- 2795c3c (validity) add validity display for json output
- 04798c1 (validity) add validity support for text_output
- 5bffadd (json_output) add pre and post line indices
- 434d26d (pre-receive) add pre-receive timeout configuration env variable and make sure the exit code is 0
🐛 Bug fixes
🔧 Chores and Improvements
📦 Other
v1.10.1
v1.10.0
🚀 Features
- 8990fda (scan) add --ignore-default-excludes to exclude some patterns by default
- 0fe22e7 (scan) add a --exclude option
🐛 Bug fixes
- 089bae3 (ci) fix commit range for gitlab merge request pipelines
- 0df0e2f (scan) path should not ignore not added files even when running on a git repository
- 9ffb488 (config) do not turn keys of type set into list in update_config()
🔧 Chores and Improvements
- 4af8e69 (readme) add information on ignoring files and detectors
- 787aa88 (deps) update pygitguardian
- 69f4fea (version) bump minor version
- de838d8 (tests) add ipdb as the default debugger for tests
- 5101734 (test) add TEST_GITGUARDIAN_API_KEY to CONTRIBUTING.md
📦 Other
- 428ea05 (gitlab) add warning about MR pipelines
- 765c04a (ggshield) add validity check and reorganize tests
- d83f208 (ggshield) add pytest-socket
- f3c480e Merge pull request #118 from Sayrus/fix-documentation-samples
docs(pre-receive): fix filenames and python version