Skip to content

Commit 60456bb

Browse files
Update documentation and version
1 parent 78df19a commit 60456bb

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

docs/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All **user-facing**, notable changes will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.18.0] - 2026-01-19
8+
### Added
9+
- `auxiliary_endpoints_v2` - new syntax for defining auxiliary endpoints with more options
10+
### Changed
11+
- now requires Python version 3.10 or higher
12+
713
## [1.17.0] - 2024-11-05
814
### Added
915
- Memory profiler (memray) can be enabled and managed at runtime by endpoints.

docs/user_guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ def explain(self, x: float, y: float) -> dict[str, float]:
146146
```
147147

148148
If you need more control over those endpoints, you can define `auxiliary_endpoints_v2` method instead.
149+
At this moment this new syntax is incompatible with original `auxiliary_endpoints` - you can use only one
150+
or the other in the same job.
149151
`auxiliary_endpoints_v2` returns list of `EndpointConfig`s that allows choosing between defining endpoints
150152
as POST and GET as well as full control over where arguments are coming from(body, query, path) and can
151153
pass additional arguments to FastAPI to handle additional use cases such as tagging endpoints.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "racetrack_job_runner"
3-
version = "1.17.0" # should be in sync with src/racetrack_job_wrapper/__init__.py
3+
version = "1.18.0" # should be in sync with src/racetrack_job_wrapper/__init__.py
44
description = "Racetrack Job Runner"
55
license = {text = "Apache License 2.0"}
66
authors = [
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
name = 'racetrack_job_wrapper'
2-
__version__ = "1.17.0" # should be in sync with pyproject.toml
2+
__version__ = "1.18.0" # should be in sync with pyproject.toml

0 commit comments

Comments
 (0)