Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
python: ["3.13", "3.14"]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
ref: ${{ github.event.release.tag_name }}

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.13"

Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.0.1 — 2026-08-15

### Changed

- Bumped CI actions: `actions/checkout` v4 → v7, `actions/setup-python` v5 → v7.
(Dev dependencies are unpinned ranges resolved at install time; runtime
`dependencies` remains empty — the published package is unchanged.)

## 1.0.0 — 2026-05-05

Initial release. Replaces the unmaintained `scanii.py` skeleton.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "scanii-python"
version = "1.0.0"
version = "1.0.1"
description = "Zero-dependency Python SDK for the Scanii content security API"
readme = "README.md"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/scanii/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0"
__version__ = "1.0.1"
4 changes: 3 additions & 1 deletion tests/test_client_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ def test_constants_match_openapi_spec(self):

class TestConstructor:
def test_key_and_secret_accepted(self):
from scanii._version import __version__

c = _make_client()
assert c._user_agent == "scanii-python/1.0.0"
assert c._user_agent == f"scanii-python/{__version__}"

def test_token_accepted(self):
c = ScaniiClient(token="mytoken", target=TARGET)
Expand Down