diff --git a/CHANGELOG.md b/CHANGELOG.md index a0ca387a..a9f2f99b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Upgrade CrowdSec from 1.7.5 to 1.7.6 - **BREAKING:** Commits are now BLOCKED if staticcheck or other fast linters find issues - Pre-commit hooks now run golangci-lint with essential linters (~11s runtime) - Test files (`_test.go`) excluded from staticcheck (matches CI behavior) diff --git a/Dockerfile b/Dockerfile index 4824e8c8..dd6b18df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -210,7 +210,7 @@ ARG TARGETOS ARG TARGETARCH # CrowdSec version - Renovate can update this # renovate: datasource=github-releases depName=crowdsecurity/crowdsec -ARG CROWDSEC_VERSION=1.7.5 +ARG CROWDSEC_VERSION=1.7.6 RUN apt-get update && apt-get install -y --no-install-recommends \ git clang lld \ @@ -264,7 +264,7 @@ WORKDIR /tmp/crowdsec ARG TARGETARCH # CrowdSec version - Renovate can update this # renovate: datasource=github-releases depName=crowdsecurity/crowdsec -ARG CROWDSEC_VERSION=1.7.5 +ARG CROWDSEC_VERSION=1.7.6 # Note: Debian slim does NOT include tar by default - must be explicitly installed RUN apt-get update && apt-get install -y --no-install-recommends \ diff --git a/docs/plans/crowdsec_source_build.md b/docs/plans/crowdsec_source_build.md index de0b16c9..c0232284 100644 --- a/docs/plans/crowdsec_source_build.md +++ b/docs/plans/crowdsec_source_build.md @@ -34,7 +34,7 @@ ARG TARGETOS ARG TARGETARCH # CrowdSec version - Renovate can update this # renovate: datasource=github-releases depName=crowdsecurity/crowdsec -ARG CROWDSEC_VERSION=1.7.5 +ARG CROWDSEC_VERSION=1.7.6 RUN apk add --no-cache git clang lld RUN xx-apk add --no-cache gcc musl-dev @@ -199,7 +199,7 @@ ARG TARGETOS ARG TARGETARCH # CrowdSec version - Renovate can update this # renovate: datasource=github-releases depName=crowdsecurity/crowdsec -ARG CROWDSEC_VERSION=1.7.5 +ARG CROWDSEC_VERSION=1.7.6 # hadolint ignore=DL3018 RUN apk add --no-cache git clang lld @@ -597,8 +597,8 @@ rm ./cscli_test ./crowdsec_test **CrowdSec Version Pinning:** -- Current: `v1.7.5` (January 2026 release) -- expr-lang in v1.7.5: Uses patched `v1.17.7` +- Current: `v1.7.6` (January 2026 release) +- expr-lang in v1.7.6: Uses patched `v1.17.7` - Post-patch: `v1.17.7` (forced upgrade via `go get`) **Potential Issues:** @@ -859,7 +859,7 @@ docker exec cscli parsers list ```bash # Clone CrowdSec -git clone --depth 1 --branch v1.7.5 https://github.com/crowdsecurity/crowdsec.git +git clone --depth 1 --branch v1.7.6 https://github.com/crowdsecurity/crowdsec.git cd crowdsec # Patch expr-lang @@ -868,11 +868,11 @@ go mod tidy # Build binaries CGO_ENABLED=1 go build -o crowdsec \ - -ldflags "-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=v1.7.5" \ + -ldflags "-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=v1.7.6" \ ./cmd/crowdsec CGO_ENABLED=1 go build -o cscli \ - -ldflags "-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=v1.7.5" \ + -ldflags "-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=v1.7.6" \ ./cmd/crowdsec-cli # Verify expr-lang version