Skip to content

2.0.0

Choose a tag to compare

@nebfield nebfield released this 20 Jul 13:04

Changelog

Breaking Changes

  • Python ≥ 3.13 required (was ≥ 3.9)
  • Pydantic v1 → v2 — schema classes rewritten to use pydantic v2 APIs
  • pandas ≥ 2.1 (was pinned at 1.5.3), numpy ≥ 2.0 now required

Build & Tooling

  • Migrated package manager from Poetry to uv (#64)
  • Updated dependency constraints: pandera>=0.17, typer>=0.9, ruamel-yaml>=0.17.32, pydantic>=2.0, pandas>=2.1, numpy>=2.0

ssf-morph Web App

  • Upgraded Pyodide from v0.26.4 to v0.29.4 (Python 3.13, numpy 2.2.5) to match the library's updated requirements
  • Fixed micropip wheel loading — newer micropip requires absolute URLs; added wheel() helper using self.location.href
  • Fixed ruamel.yaml → ruamel-yaml Pyodide package name (renamed in 0.28+)
  • Added stop button to cancel in-progress format or validation runs
  • Added quick validate mode (first 1 M rows) alongside full validation
  • Added time estimates for format (apply) and validation operations
  • Added split rules and expanded edit rules (rename, find/replace, extract) to the column config form
  • Chunked file I/O and reduced buffer copies to improve performance on large files
  • Various UI and wording improvements

Core Library

  • Restructured config schema: new FileConfig, SplitConfig, EditConfig, ColumnConfig, and Formatconfig Pydantic models
  • New Validator class wrapping validation logic with configurable chunk size and sample size
  • Fixed: coerce_dtype errors are now deduplicated with dtype errors (same root cause)
  • Fixed: Typer 0.26.3 changed exit code for argument-less commands from 0 → 2; tests updated accordingly

Documentation & Deployment

  • Added docs/gwas-sumstats-tools-doc/ with full CLI and UI documentation, tutorials, and test data
  • Added GitHub Actions workflow to publish docs
  • Updated Helm chart (ingress, namespace, API version)
  • Updated Dockerfile and Dockerfile.docs