Skip to content

Releases: GitGuardian/ggshield

v1.11.0

29 Mar 09:59
Compare
Choose a tag to compare

🚀 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

31 Jan 09:49
Compare
Choose a tag to compare

🚀 Features

  • b865bff (docker) add a --docker-timeout option (#161)

🐛 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

  • 387c8a4 (release) 1.10.8
  • 22690b7 (docs) add GITGUARDIAN_API_URL to pre-receive hook

📦 Other

  • 316d72f Update doc/pre-receive.sample

Co-authored-by: Aurelien Gateau [email protected]

  • cedee18 Merge pull request #162 from GitGuardian/jeremy/-/ci-docker-images-tag

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]

  • d36f9f9 Merge pull request #146 from GitGuardian/phililippe/fix-tests-tmp-macos

fix(tests): fix tests failure on macOS because of /tmp dir

v1.10.7

25 Nov 14:59
Compare
Choose a tag to compare

🔧 Chores and Improvements

v1.10.6

25 Nov 14:37
Compare
Choose a tag to compare

🚀 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

  • 0bfdcbe Merge pull request #145 from pierrelalanne/plalanne/-/handle-new-homebrew-tap

Update jobs to push ggshield formula on both GitGuardian's taps

🔧 Chores and Improvements

v1.10.5

18 Nov 17:56
Compare
Choose a tag to compare

🐛 Bug fixes

  • c4ac7a3 (patch_parsing) lines starting with backslash
  • acb3ce6 (filter) stop to list FS to exclude files to scan

🔧 Chores and Improvements

📦 Other

  • b2e1a1b Merge pull request #139 from GitGuardian/jeremy/-/exclude-patterns-with-regex

fix(filter): stop to list FS to exclude files to scan

  • ba71c6f Merge pull request #137 from GitGuardian/mmillet/-/fix_lines_parsing

fix(patch_parsing): lines starting with backslash

v1.10.4

05 Nov 13:33
Compare
Choose a tag to compare

🐛 Bug fixes

  • 69204a9 (pre-receive) never run standalone mode. fixes exit 1 on interrupt

🔧 Chores and Improvements

v1.10.3

02 Nov 16:32
Compare
Choose a tag to compare

🚀 Features

  • 53754e0 (pre-receive) try to diff against HEAD
  • 146d982 (pre-receive) add max-hook configurable by env variable

🔧 Chores and Improvements

  • a9759ed (version) bump patch version

v1.10.2

02 Nov 14:39
Compare
Choose a tag to compare

🚀 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

  • 5024f35 (api-status) add API URL to api-status
  • 31849a8 (git) ignore invalid utf8

🔧 Chores and Improvements

  • 8d3a84c (version) bump patch version
  • d2000a4 (actions) ensure brew is updated

📦 Other

  • de45d6b (README) marketing fix
  • 4bac36d (ggshield) document GITGUARDIAN_CRASH_LOG
  • d4f1605 (README) small documentation fixes

v1.10.1

29 Oct 12:55
Compare
Choose a tag to compare

🔧 Chores and Improvements

  • f17a439 (actions) use the proper github token for updating brew

v1.10.0

29 Oct 12:30
Compare
Choose a tag to compare

🚀 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

  • 88fa8bb (contributing) add instruction for message check pre-commit hook
  • 00c8dbf (scan) make the help of repo cmd clearer
  • 2bcccf2 (README) update pre-receive docs
  • 1fb057b (pre-receive) fix filenames and python version