Skip to content

2.2.2

Latest

Choose a tag to compare

@ashleykleynhans ashleykleynhans released this 16 Nov 09:31
Immutable release. Only release title and notes can be modified.
b8f718e

Docker Image

docker pull ghcr.io/ashleykleynhans/faceswap-api:2.2.2

Changes in 2.2.2

Changed

  • Bump dependencies to latest: fastapi 0.162.2 -> 0.163.1, numpy 2.5.4 -> 2.5.5, onnxruntime 1.31.1 -> 1.32.0, pytest-asyncio 1.4.1.post1 -> 1.5.0
  • Bump RELEASE to 2.2.2 (docker-bake.hcl, app/main.py)

Changes in 2.2.1

Changed

  • Bump dependencies to latest: fastapi 0.162.0 -> 0.162.2, pydantic 2.14.2 -> 2.14.3
  • Bump RELEASE to 2.2.1 (docker-bake.hcl, app/main.py)

Changes in 2.2.0

Changed

  • Bump dependencies to latest: pydantic 2.14.1 -> 2.14.2, onnxruntime 1.31.0 -> 1.31.1, torch 2.14.1 -> 2.15.0, torchvision 0.29.1 -> 0.29.2, python-multipart 0.0.32 -> 0.0.33, pytest 9.1.1 -> 9.2.0, pytest-asyncio 1.4.1 -> 1.4.1.post1
  • Bump CUDA from 13.0.3 to 13.2.1 and PyTorch CUDA wheel from 2.14.1+cu130 to 2.15.0+cu132
  • Bump RELEASE to 2.2.0 (docker-bake.hcl, app/main.py)

Changes in 2.1.8

Changed

  • Bump dependencies to latest: fastapi 0.146.0 -> 0.162.0, pytest-asyncio 1.4.0 -> 1.4.1
  • Bump RELEASE to 2.1.8 (docker-bake.hcl, app/main.py)

Changes in 2.1.7

Changed

  • Bump dependencies to latest: fastapi 0.143.0 -> 0.146.0, Pillow 12.3.0 -> 13.0.0, pytest-mock 3.16.0 -> 3.17.0
  • Bump RELEASE to 2.1.7 (docker-bake.hcl, app/main.py)

Changes in 2.1.6

Changed

  • Bump dependencies to latest: fastapi 0.142.2 -> 0.143.0, pydantic 2.13.5 -> 2.14.1, numpy 2.5.3 -> 2.5.4, onnx 1.23.1 -> 1.23.2, onnxruntime 1.30.0 -> 1.31.0
  • Bump RELEASE to 2.1.6 (docker-bake.hcl, app/main.py)

Changes in 2.1.5

Changed

  • Bump dependencies to latest: fastapi 0.141.1 -> 0.142.2, insightface 2.0 -> 2.1, lmdb 2.3.0 -> 3.0.0, onnx 1.23.0 -> 1.23.1, torch 2.14.0 -> 2.14.1, torchvision 0.29.0 -> 0.29.1, python-dotenv 1.2.3 -> 1.2.4, pytest-mock 3.15.1 -> 3.16.0
  • Bump PyTorch CUDA wheel from 2.14.0+cu130 to 2.14.1+cu130
  • Bump RELEASE to 2.1.5 (docker-bake.hcl)

Changes in 2.1.4

Changed

  • Bump uvicorn requirement from >=0.53.0 to >=0.54.0
  • Bump onnx from 1.22.0 to 1.23.0
  • Bump RELEASE to 2.1.4 (docker-bake.hcl)

Changes in 2.1.3

Changed

  • Bump protobuf requirement from >=7.36.1 to >=7.36.2
  • Bump RELEASE to 2.1.3 (docker-bake.hcl)

Changes in 2.1.2

Fixed

  • Fix StarletteDeprecationWarning from fastapi.testclient/starlette.testclient with httpx: update pytest.ini filterwarnings to ignore starlette.exceptions.StarletteDeprecationWarning (Using httpx with starlette.testclient is deprecated; install httpx2 instead)

Changed

  • Bump RELEASE to 2.1.2 (docker-bake.hcl)

Changes in 2.1.1

Changed

  • Bump dependencies to latest: uvicorn 0.52.4 -> 0.53.0, insightface 1.0.1 -> 2.0, onnxruntime 1.29.0 -> 1.30.0, tqdm 4.70.0 -> 4.70.1
  • Verify GitHub Actions at latest major: actions/checkout v7, actions/setup-python v7, docker/setup-buildx-action v4, docker/login-action v4, actions/upload-artifact v7

Changes in 2.1.0

Added

  • Port alphaface_256 from FaceFusion 3.9.0: new 256x256 face swapper (AlphaFace, Non-Commercial, 2026) with arcface_128 warp template, raw embedding (no converter), L2-normalized target blending, 256x256/512x512/768x768/1024x1024 resolutions
  • 14 face swap models (was 13)

Changed

  • Bump RELEASE to 2.1.0 (docker-bake.hcl, app/main.py)

Changes in 2.0.6

Changed

  • Bump CUDA from 12.6.3 to 13.0.3 (ubuntu22.04 -> ubuntu24.04) and PyTorch from 2.13.0+cu126 to 2.14.0+cu130

Changed (dependencies)

  • Update Python dependencies to latest: Pillow 12.3.0, PyYAML 6.0.3, addict 2.4.0, future 1.0.0, lmdb 2.3.0, lpips 0.1.4, numpy 2.5.3, onnxruntime 1.29.0, opencv-python 5.0.0.93, protobuf 7.36.1, scikit-image 0.26.0, scipy 1.18.1, tb-nightly 2.21.0a20251023, torch 2.14.0, torchvision 0.29.0, tqdm 4.70.0, yapf 0.43.0, python-dotenv 1.2.3, python-multipart 0.0.32
  • Bump pydantic to 2.13.5

Fixed

  • Bump CI Python to 3.12 for numpy>=2.5.3 compatibility (numpy 2.5.x requires Python>=3.12)
  • Relax tb-nightly pin (nightly only publishes a* versions, no stable 2.21.0)
  • Add --break-system-packages to pip installs/uninstalls for PEP 668 on ubuntu24.04 base image

What's new in 2.0.5

Changed

  • Bump CUDA from 12.4.1 to 12.6.3 and PyTorch from 2.6.0+cu124 to 2.13.0+cu126
  • Bump uvicorn requirement from >=0.52.3 to >=0.52.4

What's new in 2.0.4

Changed

  • Bump fastapi requirement from >=0.140.0 to >=0.141.1
  • Bump uvicorn requirement from >=0.52.0 to >=0.52.3

What's new in 2.0.0

Added

  • Migrated from Flask to FastAPI with uvicorn, async lifespan, and auto-generated OpenAPI docs at /docs
  • VRAM-safe async job queue (asyncio.Queue with single serial worker)
  • 13 face swap models with enhanced FaceFusion-based swap pipeline
  • Face selector: 7 sort orders, gender filter, age range filter
  • docker-bake.hcl with provenance and SBOM attestations
  • GitHub Actions CI workflow and Dependabot configuration
  • 201 tests with zero warnings