Skip to content

Commit ea36905

Browse files
leliaclaude
andcommitted
Release 2.7.2
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 35b64f2 commit ea36905

4 files changed

Lines changed: 38 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Changelog
22

3+
## 2.7.2
4+
5+
### Fixed: package timestamps were truncated
6+
7+
- `Package.created_at` stripped its `" (Coordinated Universal Time)"` suffix with
8+
`str.strip()`, which treats its argument as a set of characters rather than a
9+
suffix. Timestamps beginning with `Tue` lost their leading `T`, and timestamps
10+
that carried no such suffix lost a trailing `T`. The suffix is now removed with
11+
`str.removesuffix()`.
12+
13+
### Fixed: notification delivery could hang a pipeline indefinitely
14+
15+
- Slack, Teams, Jira, generic webhook and GitLab commit-status requests were sent
16+
without a timeout. `requests` blocks forever by default, so an unresponsive
17+
endpoint could hold a run open until the CI job itself timed out. All of these
18+
calls now use an explicit 30 second timeout.
19+
20+
### Fixed: two internal guards did nothing under `python -O`
21+
22+
- A manifest upload checked its organization slug with `assert`, which the
23+
interpreter removes entirely in optimised mode. It is now an explicit check that
24+
raises with a readable message. A second, redundant `assert` was removed.
25+
26+
### Fixed: a debug message was written to stdout
27+
28+
- Duplicate packages in a scan's SBOM artifacts printed to stdout, which also
29+
carries machine-readable output such as SARIF. The message is now logged at
30+
debug level.
31+
32+
### Changed: configuration messages follow the CLI logger
33+
34+
- `config.py` logged through the root logger, so its warnings and errors ignored
35+
the configured log level and format. They now use the `socketcli` logger like
36+
the rest of the CLI.
37+
338
## 2.7.1
439

540
### Changed: bump pinned @coana-tech/cli to 15.10.36

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66

77
[project]
88
name = "socketsecurity"
9-
version = "2.7.1"
9+
version = "2.7.2"
1010
requires-python = ">= 3.11"
1111
license = {"file" = "LICENSE"}
1212
dependencies = [

socketsecurity/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__author__ = "socket.dev"
2-
__version__ = "2.7.1"
2+
__version__ = "2.7.2"
33
USER_AGENT = f"SocketPythonCLI/{__version__}"

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)