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
9 changes: 7 additions & 2 deletions bfabric/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Minor breaking changes are still possible in `1.X.Y` but we try to announce them

## \[Unreleased\]

## \[1.24.2\] - 2026-11-18

### Fixed

- `OAuthCredentialProvider` processes sharing one token cache file (web app workers, an unpickled client in a job worker, several CLI processes) no longer each refresh the same token: refreshes are serialised by a `<cache>.lock` file and the others adopt the refreshed token, so B-Fabric no longer rejects the reused refresh token and revokes all of the user's sessions. A token passed in (or restored by unpickling) only replaces the cached one if it expires later.
- `TokenCache.save` uses a unique temporary file per write, so several threads saving the same cache at once no longer fail with `FileNotFoundError`.

## \[1.24.1\] - 2026-11-10

### Fixed
Expand All @@ -18,8 +25,6 @@ Minor breaking changes are still possible in `1.X.Y` but we try to announce them
- `use_client` reports a `ValueError`, `OSError`, YAML error or HTTP error status from the command or from loading the config (e.g. no config file yet) as one `Error:` line instead of a traceback; the new `report_user_errors` context manager applies the same handling elsewhere.
- An unknown config environment (e.g. a typo in `--config-env`) raises a `ValueError` listing the available environments instead of a `KeyError`.
- On a CPU without the features polars needs (e.g. AVX2), importing polars through `bfabric` raises polars' `RuntimeWarning` telling you to install `polars[rtcompat]`, instead of the process dying with "Illegal instruction".
- `OAuthCredentialProvider` processes sharing one token cache file (web app workers, an unpickled client in a job worker, several CLI processes) no longer each refresh the same token: refreshes are serialised by a `<cache>.lock` file and the others adopt the refreshed token, so B-Fabric no longer rejects the reused refresh token and revokes all of the user's sessions. A token passed in (or restored by unpickling) only replaces the cached one if it expires later.
- `TokenCache.save` uses a unique temporary file per write, so several threads saving the same cache at once no longer fail with `FileNotFoundError`.

## \[1.24.0\] - 2026-10-05

Expand Down
2 changes: 1 addition & 1 deletion bfabric/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "bfabric"
description = "Python client for the B-Fabric API"
readme = "README.md"
version = "1.24.1"
version = "1.24.2"
license = { text = "GPL-3.0" }
authors = [
{ name = "Christian Panse", email = "cp@fgcz.ethz.ch" },
Expand Down
Loading