ci(deps): update pre-commit hooks
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| crate-ci/typos | repository | minor |
v1.28.4 -> v1.31.1
|
| gitleaks/gitleaks | repository | minor |
v8.22.0 -> v8.24.3
|
| golangci/golangci-lint | repository | minor |
v2.0.2 -> v2.1.5
|
| python-jsonschema/check-jsonschema | repository | minor |
0.30.0 -> 0.33.0
|
⚠️ WarningSome dependencies could not be looked up. Check the Dependency Dashboard for more information.
Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.
Release Notes
crate-ci/typos (crate-ci/typos)
v1.31.1
[1.31.1] - 2025-03-31
Fixes
-
(dict) Also correct
typtotype
v1.31.0
[1.31.0] - 2025-03-28
Features
- Updated the dictionary with the March 2025 changes
v1.30.3
[1.30.3] - 2025-03-24
Features
- Support detecting
go.workandgo.work.sumfiles
v1.30.2
[1.30.2] - 2025-03-10
Features
- Add
--highlight-wordsand--highlight-identifiersfor easier debugging of config
v1.30.1
[1.30.1] - 2025-03-04
Features
-
(action) Create
v1tag
v1.30.0
[1.30.0] - 2025-03-01
Features
- Updated the dictionary with the February 2025 changes
v1.29.10
[1.29.10] - 2025-02-25
Fixes
- Also correct
contaminentascontaminant
v1.29.9
[1.29.9] - 2025-02-20
Fixes
- (action) Correctly get binary for some aarch64 systems
v1.29.8
[1.29.8] - 2025-02-19
Features
- Attempt to build Linux aarch64 binaries
v1.29.7
[1.29.7] - 2025-02-13
Fixes
- Don't correct
implementors
v1.29.6
[1.29.6] - 2025-02-13
Features
- Updated the dictionary with the January 2025 changes
v1.29.5
[1.29.5] - 2025-01-30
Internal
- Update a dependency
v1.29.4
[1.29.4] - 2025-01-03
v1.29.3
[1.29.3] - 2025-01-02
v1.29.2
v1.29.1
[1.29.1] - 2025-01-02
Fixes
- Don't correct
deriver
v1.29.0
[1.29.0] - 2024-12-31
Features
- Updated the dictionary with the December 2024 changes
Performance
- Sped up dictionary lookups
gitleaks/gitleaks (gitleaks/gitleaks)
v8.24.3
Changelog
-
107a418Add support for GitLab Runner Tokens (Routable) (#1820) -
7fac002bump repo version in pre-commit example (#1815) -
4b54104Fix currentLine out of bounds error (#1810) -
af7d5bcadd support for Azure DevOps platform in SCM detection and link (#1807) -
3e8cd2dAdd MaxMind license key rule (#1771) -
ddcc753implement new openai regex pattern (#1780) -
9708e65A first attempt adding hooks.slack.com/triggers/ (#1792) -
198e410feat(generic): tweak false-positives (#1803) -
e273a97chore: tweak logging and readme for GITLEAKS_CONFIG_TOML feature (#1802) -
a503b58feat: add option to set config from env var with toml content (#1662)
v8.24.2
What's Changed
- Fix
platformflag being ignored withgitleaks detectby @rgmz in https://github.com/gitleaks/gitleaks/pull/1765 - Make AddFinding public by @bplaxco in https://github.com/gitleaks/gitleaks/pull/1767
- FIX upgrade x/crypto to 0.31.0 to get rid of CVE-2024-45337 by @cgoessen in https://github.com/gitleaks/gitleaks/pull/1768
- Upgrade rs/zerolog, spf13/cobra, and spf13/viper by @rgmz in https://github.com/gitleaks/gitleaks/pull/1769
- Infer
report-formatfromreport-pathextension if no value is provided by @rgmz in https://github.com/gitleaks/gitleaks/pull/1776 -
generic-api-key: ignore csrf-tokens by @rgmz in https://github.com/gitleaks/gitleaks/pull/1779 - Prevent Yocto/BitBake false positives with generic-api-key rule by @Okeanos in https://github.com/gitleaks/gitleaks/pull/1783
- Fix decoded line allowlist by @zricethezav in https://github.com/gitleaks/gitleaks/pull/1788
- Readme badge revisions by @jessp01 in https://github.com/gitleaks/gitleaks/pull/1744
- feat(regexp): use standard regexp by default, make go-re2 opt-in by @twpayne in https://github.com/gitleaks/gitleaks/pull/1798
- gore2 release tags by @zricethezav in https://github.com/gitleaks/gitleaks/pull/1801
New Contributors
- @cgoessen made their first contribution in https://github.com/gitleaks/gitleaks/pull/1768
- @Okeanos made their first contribution in https://github.com/gitleaks/gitleaks/pull/1783
- @jessp01 made their first contribution in https://github.com/gitleaks/gitleaks/pull/1744
- @twpayne made their first contribution in https://github.com/gitleaks/gitleaks/pull/1798
Full Changelog: https://github.com/gitleaks/gitleaks/compare/v8.24.0...v8.24.2
v8.24.1
v8.24.0
Changelog
-
c2afd56Make paths and fingerprints platform-agnostic (#1622) -
818e32fAdd Sonar rule (#1756) -
3fa5a3aMinor false positive improvements (#1758) -
2020e6aAdd support for streaming DetectReader (#1760) -
9122a2dchore: Update github.com/wasilibs/go-re2 to v1.9.0 (#1763) -
398d0c4docs: describe extended rules take precedence over base rules (#1563) -
ae26efffeat(git): disable link generation (#1748) -
c6424a6added sourcegraph token rule (#1736) -
6411402feat(config): add rule for .p12 files (#1738) -
d71d95dadd deno.lock to default exclusions (#1740)
v8.23.3
Changelog
-
3188ad6Don't exit with error if git repacking is required (#1711) -
7fc11bbrefactor(config): use non-capture groups for allowlists (#1735) -
36c52c6chore: Enhancecurl-auth-userto detect empty usernames or passwords (#1726) -
1f323d8fix(cmd): read log-opts before GitLogCmd (#1730)
v8.23.2
Changelog
-
d88bc09facebook keyword -
3fdaefdfix(meraki): restrict keyword case (#1722) -
f3ae52efeat(generic-api-key): detect base64 (#1598) -
d6a828agreat branch name (#1721) -
d2ffffefix(git): remove .git suffix for links (#1716) -
a43dc0dchore: refine generic-api-key fps + trace logging (#1720) -
69ed20efix(generate): move newline out of char range (#1719) -
52b895anewline literal (#1718) -
3f4d91fbuild: support either stdlib or 3rd-party regexp (#1706) -
049f5b2chore(detect): update trace logging (#1713) -
7a6183dfeat(git): redact passwords from remote URL (#1709) -
3c7f3f0feat(git): include link in report (#1698) -
0e3f4f7chore: reduce generic-api-key fps (#1707) -
3ed8567blorp -
e977850added new rule for cisco meraki api key (#1700) -
ad7a4fbfeat: general fp tweaks (#1703) -
b2cf03cchore(generate): use \x60 instead of literal (#1702) -
a3f623cchore(regex): simplify secretPrefix, suffix (#1620) -
cc71bb1update version for pre-commit in README.md (#1699)
v8.23.1
Changelog
-
7bad9f7chore(gcp): add firebase example keys to the gcp-api-key allowlists (#1635) -
977236cfix: unaligned 64-bit atomic operation panic (#1696) -
a211b16force push to master everyday -
0e5f644feat(config): disable extended rule (#1535) -
f320a60style: prevent globbing and word splitting (#1543) -
c4526b2refactor(generic-api-key): remove hard-coded 'magic' (#1600) -
748076dchore(generate): add failing test case (#1690)
v8.23.0
Changelog
-
db8e5e6feat(generate): use multiple allowlists (#1691) -
973c794chore(rules): include fps in reference (#1471) -
f0d4499Add comma as operator for GenerateSemiGenericRegex (#1679) -
ab38a46refactor: central logger (#1692) -
b022d1cfriendship ended with tines
READ THIS!!! The default gitleaks config now uses [[rules.allowlists]]
### ⚠️ In v8.21.0 `[rules.allowlist]` was replaced with `[[rules.allowlists]]`.
### This change was backwards-compatible: instances of `[rules.allowlist]` still work.
#
### You can define multiple allowlists for a rule to reduce false positives.
### A finding will be ignored if _ANY_ `[[rules.allowlists]]` matches.
[[rules.allowlists]]
description = "ignore commit A"
### When multiple criteria are defined the default condition is "OR".
### e.g., this can match on |commits| OR |paths| OR |stopwords|.
condition = "OR"
commits = [ "commit-A", "commit-B"]
paths = [
'''go\.mod''',
'''go\.sum'''
]
### note: stopwords targets the extracted secret, not the entire regex match
### like 'regexes' does. (stopwords introduced in 8.8.0)
stopwords = [
'''client''',
'''endpoint''',
]
[[rules.allowlists]]
### The "AND" condition can be used to make sure all criteria match.
### e.g., this matches if |regexes| AND |paths| are satisfied.
condition = "AND"
### note: |regexes| defaults to check the _Secret_ in the finding.
### Acceptable values for |regexTarget| are "secret" (default), "match", and "line".
regexTarget = "match"
regexes = [ '''(?i)parseur[il]''' ]
paths = [ '''package-lock\.json''' ]
v8.22.1
Changelog
-
b69b515Entropy trace (#1659) -
7357adcbuild: add 'toolchain' to go.mod (#1682) -
4c3da6erefactor(detect): create readUntilSafeBoundary + add tests (#1676) -
dbe3746twitter really does suck ass now -
7edfc6bchore(tests): test cases for generate.go (#1623) -
efe40cafix: only use non-empty secret groups (#1632) -
7cb5f6fbuild: upgrade sprig v2->v3 (#1674) -
2930537fix: generate report file even if no findings (#1673)
golangci/golangci-lint (golangci/golangci-lint)
v2.1.5
Due to an error related to Snapcraft, some artifacts of the v2.1.4 release have not been published.
This release contains the same things as v2.1.3.
v2.1.4
Due to an error related to Snapcraft, some artifacts of the v2.1.3 release have not been published.
This release contains the same things as v2.1.3.
v2.1.3
- Linters bug fixes
-
fatcontext: from 0.7.2 to 0.8.0
-
- Misc.
- migration: fix
nakedret.max-func-lines: 0 - migration: fix order of
staticchecksettings - fix: add
go.modhash to the cache salt - fix: use diagnostic position for related information position
- migration: fix
v2.1.2
- Linters bug fixes
-
exptostd: from 0.4.2 to 0.4.3 -
gofumpt: from 0.7.0 to 0.8.0 -
protogetter: from 0.3.13 to 0.3.15 -
usetesting: from 0.4.2 to 0.4.3
-
v2.1.1
The release process of v2.1.0 failed due to a regression inside goreleaser.
The binaries of v2.1.0 have been published, but not the other artifacts (AUR, Docker, etc.).
v2.1.0
- Enhancements
- Add an option to display absolute paths (
--path-mode=abs) - Add configuration path placeholder (
${config-path}) - Add
warn-unusedoption forfmtcommand - Colored diff for
fmtcommand (golangci-lint fmt --diff-colored)
- Add an option to display absolute paths (
- New linters
- Add
funcorderlinter https://github.com/manuelarte/funcorder
- Add
- Linters new features or changes
-
go-errorlint: from 1.7.1 to 1.8.0 (automatic error comparison and type assertion fixes) -
⚠️ goconst:ignore-stringsis deprecated and replaced byignore-string-values -
goconst: from 1.7.1 to 1.8.1 (new options:find-duplicates,eval-const-expressions) -
govet: addhttpmuxanalyzer -
nilnesserr: from 0.1.2 to 0.2.0 (detect more cases) -
paralleltest: from 1.0.10 to 1.0.14 (checks only_test.gofiles) -
revive: from 1.7.0 to 1.9.0 (support kebab case for setting names) -
sloglint: from 0.9.0 to 0.11.0 (autofix, new optionmsg-style, suggestslog.DiscardHandler) -
wrapcheck: from 2.10.0 to 2.11.0 (new optionreport-internal-errors) -
wsl: from 4.6.0 to 4.7.0 (cgo files are always excluded)
-
- Linters bug fixes
-
fatcontext: from 0.7.1 to 0.7.2 -
gocritic: fiximportshadowchecker -
gosec: from 2.22.2 to 2.22.3 -
ireturn: from 0.3.1 to 0.4.0 -
loggercheck: from 0.10.1 to 0.11.0 -
nakedret: from 2.0.5 to 2.0.6 -
nonamedreturns: from 1.0.5 to 1.0.6 -
protogetter: from 0.3.12 to 0.3.13 -
testifylint: from 1.6.0 to 1.6.1 -
unconvert: update to HEAD
-
- Misc.
- Fixes memory leaks when using go1.(N) with golangci-lint built with go1.(N-X)
- Adds
golangci-lint-fmtpre-commit hook
- Documentation
- Improvements
- Updates section about vscode integration
python-jsonschema/check-jsonschema (python-jsonschema/check-jsonschema)
v0.33.0
- Update vendored schemas: bitbucket-pipelines, buildkite, circle-ci, compose-spec, github-workflows, mergify, renovate, taskfile, woodpecker-ci (2025-04-11)
- A new option,
--force-filetype, is now supported and allows users to explicitly specify which parser should be used for instance files. Thanks :user:mschoettle! (🇵🇷 557, :issue:341)
v0.32.1
- Fix the
check-meltanohook to usetypes_or. Thanks :user:edgarrmondragon! (🇵🇷 543)
v0.32.0
- Update vendored schemas: circle-ci, compose-spec, dependabot, github-workflows, gitlab-ci, mergify, renovate, taskfile (2025-03-25)
- Add Meltano schema and pre-commit hook. Thanks :user:
edgarrmondragon! (:issue:540) - Add Snapcraft schema and pre-commit hook. Thanks :user:
fabolhak! (:issue:535)
v0.31.3
- Update vendored schemas: circle-ci, github-workflows, mergify, renovate, taskfile (2025-03-07)
v0.31.2
- Update vendored schemas: dependabot, github-workflows, gitlab-ci, mergify, renovate, woodpecker-ci (2025-02-19)
v0.31.1
- Update vendored schemas: buildkite, cloudbuild, compose-spec, mergify, renovate (2025-01-26)
- Update the
gitlabandrenovatehooks to use--regex-variant nonunicode. Thanks :user:quentin-agand :user:Callekfor reporting! (:issue:516, :issue:518) - Update the required
ruamel.yamlversion to a range,>=0.18.10,<0.19.0.
v0.31.0
-
Update vendored schemas: azure-pipelines, bamboo-spec, buildkite, circle-ci, dependabot, gitlab-ci, mergify, readthedocs, renovate, taskfile (2025-01-07)
-
Drop support for Python 3.8
-
Rename
--format-regexto--regex-variantand convert--format-regexto a deprecated alias. It will be removed in a future release. -
Regular expression interpretation in
"pattern","patternProperties", and"format": "regex"usages now uses unicode-mode JS regular expressions by default. (:issue:353)- Use
--regex-variant nonunicodeto get non-unicode JS regular expressions, the default behavior from previous versions. - Custom validators may be impacted by the new regular expression
features. Validators are now always modified with the
jsonschemalibrary'sextend()API to control thepatternandpatternPropertieskeywords.
- Use
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.