Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

Added

  • Triclinic and Monoclinic lattice system classes, completing coverage of all seven 3D lattice systems in unitcell.unitcell.
  • Trigonal as the preferred name for the trigonal system described with rhombohedral axes (Rhombohedral is now an alias of Trigonal).
  • All lattice system classes (Triclinic, Monoclinic, Orthorhombic, Tetragonal, Trigonal/Rhombohedral, Hexagonal, Cubic) are now importable directly from the top-level unitcell package.
  • BCC and FCC classes for the body- and face-centered cubic lattices, subclasses of Cubic. Any sites passed in are repeated at each centering offset, so a multi-atom basis (e.g. diamond's two-atom basis) is replicated at every lattice point.
  • lattice_type argument on Monoclinic ('S' base-centered), Orthorhombic ('S', 'B' body-centered, 'F' face-centered), Tetragonal ('B') and Cubic ('B', 'F'), selecting a non-primitive centering; each defaults to 'P' (primitive) and raises ValueError on a symbol not valid for that lattice system. BCC and FCC are now defined as Cubic subclasses that pass lattice_type='B'/lattice_type='F' as their defaults.

Changed

Deprecated

  • Tetragona is deprecated in favor of the correctly spelled Tetragonal

Removed

Fixed

  • Fixed the misspelled Tetragona class name (now Tetragonal).

Security

0.1.1 - 2026-08-11

Added

  • Documentation site (built with zensical, compatible with MkDocs/Material) covering installation, quickstart, and API reference, published via GitHub Pages.
  • CHANGES.md changelog.
  • docs optional dependency group in pyproject.toml.

Changed

  • README now links to the published documentation.

0.1.0 - 2026-08-11

Added

  • Initial release.