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
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,19 @@ jobs:
# The audit and SBOM read a venv holding only the built wheel and its
# runtime dependencies, so test and build tools aren't listed.
- name: Audit runtime dependencies and write SBOM
env:
NAME: ${{ steps.check.outputs.name }}
VERSION: ${{ steps.check.outputs.version }}
run: |
pip install pip-audit==2.10.1 cyclonedx-bom==7.5.0
RUNTIME="${RUNNER_TEMP}/runtime"
python -m venv --without-pip "${RUNTIME}"
pip --python "${RUNTIME}/bin/python" install dist/*.whl
pip-audit --path "$("${RUNTIME}/bin/python" -c "import sysconfig; print(sysconfig.get_path('purelib'))")"
cyclonedx-py environment --pyproject pyproject.toml --mc-type library --output-format JSON --output-file sbom.cdx.json "${RUNTIME}/bin/python"
# cyclonedx-py gives the root component no purl.
jq --arg purl "pkg:pypi/${NAME}@${VERSION}" '.metadata.component.purl = $purl' sbom.cdx.json > "${RUNNER_TEMP}/sbom.cdx.json"
mv "${RUNNER_TEMP}/sbom.cdx.json" sbom.cdx.json

- name: Checksums
working-directory: dist
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-10-30)

No changes to the SDK's code.

### Changed
- The README's Client SDK links point to `@spreedly/composer-sdk-client`.
- The SBOM on the GitHub Release gives its root component the package's purl, `pkg:pypi/spreedly-composer-sdk-server@1.0.1`.

## 1.0.0 (2026-10-23)

First release as `spreedly-composer-sdk-server`. If you're upgrading from `dodgeball-server-sdk`, read **Changed** and **Removed**.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The Composer Server SDK for Python makes integration with the Composer API easy

## Related

Check out the [Client SDK](https://npmjs.com/package/@dodgeball/trust-sdk-client) for how to integrate Composer into your frontend applications.
Check out the [Client SDK](https://www.npmjs.com/package/@spreedly/composer-sdk-client) for how to integrate Composer into your frontend applications.

[Composer examples](https://github.com/spreedly/composer-examples) has a runnable example server for this SDK in `server/python`, and a web client that calls it.

Expand Down Expand Up @@ -227,7 +227,7 @@ At the default `INFO` level the SDK writes no request or response payloads: a su

| Parameter | Required | Description |
| --- | --- | --- |
| `source_token` | Either this or `session_id` | A token representing the device making the request. Obtained from the [Client SDK](https://npmjs.com/package/@dodgeball/trust-sdk-client). |
| `source_token` | Either this or `session_id` | A token representing the device making the request. Obtained from the [Client SDK](https://www.npmjs.com/package/@spreedly/composer-sdk-client). |
| `session_id` | Either this or `source_token` | The current session ID of the request. |
| `user_id` | No | The ID of the user in your database, once you know it (for example, after registration). |
| `use_verification_id` | No | `checkpoint` only. The ID of a verification the user already completed. See [useVerification](#useverification). |
Expand Down
2 changes: 1 addition & 1 deletion composer/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class RequestHeader:


# Keep in sync with the version in pyproject.toml
SDK_VERSION = "1.0.0"
SDK_VERSION = "1.0.1"

# API Configuration
DEFAULT_API_URL = "https://api.dodgeballhq.com/"
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 = "setuptools.build_meta"

[project]
name = "spreedly-composer-sdk-server"
version = "1.0.0"
version = "1.0.1"
description = "Composer Server SDK for Python"
readme = "README.md"
requires-python = ">=3.11"
Expand Down
Loading