Skip to content

Commit 6b71cdf

Browse files
authored
chore(release): 3.0.0 (#102)
* chore(release): 3.0.0 Version refs (version.py, __init__.py, pyproject.toml, action.yml image tag) and CHANGELOG entry only, per the release process. Signed-off-by: lelia <2418071+lelia@users.noreply.github.com> * chore(release): regenerate uv.lock for 3.0.0 uv.lock records the project's own version; uv sync --frozen fails on the pyproject mismatch without the regen. Signed-off-by: lelia <2418071+lelia@users.noreply.github.com> * chore(release): bump Socket CLI to 2.6.0 in the heavy image Version ref bump folded into the release PR (was briefly #103). Signed-off-by: lelia <2418071+lelia@users.noreply.github.com> * chore(release): bump socketdev SDK to 3.5.0 Constraint + lock only; the core-tool-watch typed-params migration remains in #99, which rebases on this. Signed-off-by: lelia <2418071+lelia@users.noreply.github.com> * chore(release): bump Socket CLI to 2.6.3 in the heavy image Adopts the post-outage CLI release bundling the final pending PRs, so 3.0.0 ships a current pin without needing a back-to-back Basics release. Signed-off-by: lelia <2418071+lelia@users.noreply.github.com> --------- Signed-off-by: lelia <2418071+lelia@users.noreply.github.com>
1 parent a73d84d commit 6b71cdf

7 files changed

Lines changed: 59 additions & 6 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,59 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
88

99
## [Unreleased]
1010

11+
## [3.0.0] - 2026-08-06
12+
13+
Major release: Trivy-backed scanning returns, now built and published through
14+
Socket's own supply chain.
15+
16+
### Added
17+
- Container image and Dockerfile scanning (Trivy) restored in the pre-built
18+
GitHub Action and Docker images. Trivy now comes from a **Socket-built
19+
distribution** — rebuilt from unmodified upstream source (v0.73.0) by
20+
Socket's own release pipeline and pinned by digest in the Dockerfiles
21+
(`TRIVY_IMAGE` build arg; overridable for builds without registry access).
22+
- `latest` and `latest-heavy` floating Docker tag aliases. Exact version tags
23+
remain immutable registry-side; pin an exact version or digest for
24+
reproducible pipelines.
25+
- End-to-end integration test for the Trivy connector (fixture Dockerfile scan
26+
through `--dockerfiles`), plus smoke-test assertions that the bundled trivy
27+
matches the pinned version and can execute the connector's scan path.
28+
29+
### Changed
30+
- **Behavioral (the reason this is a major):** Trivy-backed scanning was
31+
intentionally disabled in the 2.x pre-built images following the March 2026
32+
upstream Trivy supply-chain incident, and documented as such throughout the
33+
project. With this release it is deliberately re-enabled: configurations
34+
that set Trivy parameters (`--images`, `--dockerfiles`,
35+
`trivy_vuln_enabled`, …) will begin producing container/Dockerfile findings
36+
again, so pipelines that gate on findings should expect new results on the
37+
first run after upgrading.
38+
- OSS toolchain refresh: TruffleHog 3.96.0, OpenGrep v1.26.0 (SAST rule
39+
updates may shift findings), uv 0.12.1, gosec v2.28.0, Go 1.26.5
40+
(app-tests), Socket CLI 2.6.3 (heavy image), and the socketdev Python SDK to
41+
3.5.0 (typed fail-closed batch purl parameters; adopted by core-tool-watch in
42+
a follow-up). Runtime bases (`python:3.12`,
43+
`node:22`) are unchanged.
44+
- Docker Hub publish credentials are now scoped to the `publish` GitHub
45+
environment (deployment restricted to `main` and `v*` tags) instead of
46+
repo-level secrets.
47+
- Manual re-publish (`workflow_dispatch`) is recovery-only: re-pushing an
48+
already-published version tag is rejected by the registry's immutable-tag
49+
rule.
50+
- Dependabot no longer tracks the trivy base image; Trivy updates flow through
51+
Socket's release process, never independent bumps.
52+
- CI: GitHub Actions dependency updates (#95, #96).
53+
54+
### Fixed
55+
- The app-tests image had been unbuildable since the repository layout
56+
migration (stale source references, wrong build context, dereferenced npm
57+
symlinks, corrupt `uv.lock`) — repaired and building in CI again.
58+
- Documentation: removed the now-outdated "temporarily ships without Trivy"
59+
notices repo-wide (they described the intentional 2.x posture); APT install
60+
instructions now use upstream's `generic` distribution (required since
61+
Trivy v0.72.0); warnings against Trivy 0.69.4–0.69.6 retained for native
62+
installs.
63+
1164
## [2.2.1] - 2026-07-30
1265

1366
### Fixed

‎Dockerfile.heavy‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG PYTHON_VERSION=3.12
33
ARG TRUFFLEHOG_VERSION=3.96.0
44
ARG UV_VERSION=0.12.1
55
ARG OPENGREP_VERSION=v1.26.0
6-
ARG SOCKET_CLI_VERSION=2.5.8
6+
ARG SOCKET_CLI_VERSION=2.6.3
77
# Socket-built Trivy, pinned by digest — see the note in ./Dockerfile.
88
ARG TRIVY_IMAGE=ghcr.io/socketdev/trivy:0.73.0@sha256:e3d9d5f10250cb73b0ea9446ae1191c0f2da2f5e6173eac08a840b1812f02e0b
99

‎action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: "Socket"
44

55
runs:
66
using: "docker"
7-
image: "docker://ghcr.io/socketdev/socket-basics:2.2.1"
7+
image: "docker://ghcr.io/socketdev/socket-basics:3.0.0"
88
env:
99
# Core GitHub variables (these are automatically available, but we explicitly pass GITHUB_TOKEN)
1010
GITHUB_TOKEN: ${{ inputs.github_token }}

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "socket_basics"
3-
version = "2.2.1"
3+
version = "3.0.0"
44
description = "Socket Basics with integrated SAST, secret scanning, and container analysis"
55
readme = "README.md"
66
requires-python = ">=3.10"

‎socket_basics/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .socket_basics import SecurityScanner, main
1313
from .core.config import load_config_from_env, Config
1414

15-
__version__ = "2.2.1"
15+
__version__ = "3.0.0"
1616
__author__ = "Socket.dev"
1717
__email__ = "support@socket.dev"
1818

‎socket_basics/version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.2.1"
1+
__version__ = "3.0.0"

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)