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
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Release

on:
push:
branches: [main]

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: google-github-actions/release-please-action@v4.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.0.0"
}
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Changelog

All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/).

This changelog is managed by [release-please](https://github.com/googleapis/release-please).

### Development history

The following work was completed before the first versioned release:

- Project scaffolding with uv, hatchling, ruff, pyright strict, mypy strict
- CI workflow (lint, typecheck, test matrix across Python 3.10-3.13)
- OpenAPI spec pinned to commit e614f35 (2026-11-21)
- 24 Pydantic v2 models generated from the Trigger.dev OpenAPI spec (Tier 1)
- 16 typed exception classes covering all HTTP status codes
- Sync Client with 22 endpoint methods across tasks, runs, and schedules
- 101 unit tests with full type coverage
- README with installation, quick start, and feature examples
26 changes: 26 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"packages": {
".": {
"release-type": "python",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": false,
"include-v-in-tag": true,
"changelog-sections": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "perf", "section": "Performance"},
{"type": "docs", "section": "Documentation"},
{"type": "chore", "section": "Chores", "hidden": false},
{"type": "test", "hidden": true},
{"type": "ci", "hidden": true},
{"type": "build", "hidden": true},
{"type": "refactor", "hidden": true},
{"type": "style", "hidden": true}
],
"extra-files": [
"src/triggerdev/_version.py"
]
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
4 changes: 2 additions & 2 deletions src/triggerdev/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
TriggerDevError,
UnprocessableEntityError,
)
from triggerdev._version import __version__

__all__ = [
"APIConnectionError",
Expand All @@ -38,6 +39,5 @@
"ServiceUnavailableError",
"TriggerDevError",
"UnprocessableEntityError",
"__version__",
]

__version__ = "0.0.0"
1 change: 1 addition & 0 deletions src/triggerdev/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.0.0" # x-release-please-version
6 changes: 4 additions & 2 deletions tests/test_version.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import re

from triggerdev import __version__


def test_version_is_string() -> None:
assert isinstance(__version__, str)


def test_version_is_set() -> None:
assert __version__ == "0.0.0"
def test_version_is_semver() -> None:
assert re.match(r"^\d+\.\d+\.\d+$", __version__)