Skip to content

Release Notes

0.2.7 [2026-08-24]

Enhancements:

  • Added gear classification metadata (function, modality, organ, species, therapeutic_area) to manifest.json.
  • Added output_configuration with enforce_file_version_match to manifest.json.
  • Updated gear description in manifest.json to provide a more detailed summary of gear capabilities.
  • Updated license from Other to MIT in manifest.json.

Fixes:

  • Wrapped rt-utils imports in try/except ModuleNotFoundError blocks in image_helper.py, rtstruct.py, and rtstruct_builder.py to allow the module to load outside of the Docker container environment.

Maintenance:

  • Migrated base Docker image from python:3.12-slim-trixie to flywheel/python:3.12-wolfi-build.
  • Replaced apt-get system package installation with apk (Alpine) equivalents in Dockerfile.
  • Switched from pip to uv pip for dependency installation in Dockerfile.
  • Moved rt-utils to a separate uv pip install --no-deps step in Dockerfile to avoid dependency conflicts.
  • Removed rt-utils>=1.2.7,<2 and dataclasses==0.6 from pyproject.toml dependencies; added opencv-python>=4.13.0.92.
  • Updated dev dependencies to fix vulnerabilities.

Documentation:

  • Updated README.md links for ohif_config.json instructions to point to the new Flywheel documentation URL.
  • Reformatted CONTRIBUTING.md for improved line length consistency.

0.2.6 [2025-11-04]

Enhancements:

  • Added non-root user (flywheel) to Docker container for improved security
  • Added requirements-dev.txt to .dockerignore for development dependencies
  • Implemented multi-stage Docker build for development and production images

Fixes:

  • Fixed comparison of NaN values using np.isnan() instead of is np.nan in volume calculations

Maintenance:

  • Migrated from flywheel-gear-toolkit to fw-gear>=0.3.2 library
  • Migrated from poetry to uv for dependency management
  • Migrated build system from poetry.core.masonry.api to hatchling.build
  • Migrated pyproject.toml to PEP 621 format
  • Updated python from 3.12.7 to 3.12.12
  • Updated Docker base image from python:3.12-slim-bullseye to python:3.12-slim-trixie
  • Removed deprecated libgl1-mesa-glx dependency from Dockerfile
  • Updated pre-commit hooks: replaced poetry_export with pyproject_export, added eolfix hook, reordered ruff_format and ruff hooks
  • Improved Docker container security by setting file ownership to flywheel user

Documentation:

  • Updated CONTRIBUTING.md to reflect migration from poetry to uv
  • Updated documentation links to new Flywheel documentation URLs
  • Fixed whitespace issues in README.md and documentation files
  • Added detailed pre-commit hook descriptions in CONTRIBUTING.md

0.2.5 [2024-10-22]

Fixes:

  • Fixed RTSTRUCT file extraction to search recursively in nested directories instead of only the top level
  • Fixed DICOM file validation to check for any matching SOPs instead of requiring all SOPs to match

Maintenance:

  • Updated python from 3.12.6 to 3.12.7

0.2.4 [2024-10-02]

Maintenance:

  • Added CI/CD configuration with .gitlab-ci.yml for automated testing and deployment
  • Added pre-commit hooks configuration for code quality checks including ruff, pytest, hadolint, and linters
  • Added project infrastructure files including Dockerfile, pyproject.toml, and requirements.txt
  • Updated python to 3.12
  • Added dependencies flywheel-gear-toolkit, flywheel-sdk, fw-file, rt-utils, pandas, simpleitk, shapely, and python-gdcm

Documentation:

  • Added comprehensive documentation using MkDocs including overview, usage guide, FAQ, and API reference
  • Added README.md with gear description, inputs, configuration options, and workflow diagrams
  • Added CONTRIBUTING.md with development setup and contribution guidelines
  • Added release notes documentation in docs/release_notes.md