Changelog
All notable changes to this project (since 2026-02-19) are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Added
- New flag
--data-augmentation(seetpplc --helpfor details) - Added math functions, distribution types and functions, and tree types and functions to the library. The code is in separate library files (
math.tppl,distributions.tpplandtrees.tppl) in thesrc/lib/directory. - Added diversification model example for the birth-death diffusion (BDD) model, version 2 (analogous to ClaDS2).
- Added diversification model versions with hard-coded delayed sampling.
- Added constant-rate birth-death (CRBD) model using weights based on analytical likelihood rather than simulation.
- Python interface: Introduced
CompileArgumentsandRunArgumentsclasses for handling compile and run arguments.RunArgumentscan now be serialized to and deserialized from JSON files for easier reuse and reproducibility.
Changed
- Moved the functions
exp,log,sqrt,minInt,maxInt,floor,ceil,roundfrom thestandard.tppllibrary file tomath.tppl. - Python interface: Compile arguments now mirrors the arguments used by
tpplcfor improved consistency and alignment between interfaces.
Deprecated
Removed
- Removed the
Treetype from thestandard.tppllibrary file. An identical type, calledClockTree, is now in thetrees.tppllibrary file. This change allows a more convenient interface, in that a user can synonymize a local customTreetype withClockTree, or any other tree type in the standard library that is appropriate for the model script. - Jupyter interface: Removed legacy syntax highlighting support that was only compatible with older Jupyter Notebook versions.
Fixed
- Changed the
rhoparameter (leaf sampling probability) in the data files for the diversification model scripts from2.0to0.5.
Security
v0.3
Added
- New flag
--infer-time(seetpplc --helpfor details) - Add a changelog to the webside
Changed
- The
debugstatement now accepts multiple arguments
Deprecated
Removed
Fixed
- Using
debugto print strings no longer crashes