NEWS


medfit 0.16.0

Added

Fixed

Removed

medfit 0.15.0

Native engine defaults flipped (0.15.0)

Behavior change for fit_sem() and fit_mediation(engine = "native"). An unset fixed_x now means the exogenous observed variables (lavaan's fixed.x = TRUE) and an unset meanstructure now means TRUE, so a default native fit matches a default lavaan::sem() fit. This is the flip announced in 0.14.0 and in [BREAKING] #329; FALSE and NULL stay valid values, and an explicit argument is always kept as given.

medfit 0.14.1

Outcome ledger for native zero-product fits and MBCO

Literal zero/nonzero certificates for native zero-product fits (D2)

Branch map and raw cap for native zero-product fits (D3)

Covariance-stage evidence for native fits (D4)

medfit 0.14.0

Native engine defaults change in 0.15.0

medfit 0.15.0 changes two defaults of fit_sem() and fit_mediation(engine = "native") so that a default native fit matches a default lavaan fit: fixed_x becomes the exogenous observed variables (lavaan's fixed.x = TRUE) and meanstructure becomes TRUE. 0.14.0 changes no result; it warns and lets you opt in. The schedule: 0.14.0 warns, and 0.15.0, at least two months after 0.14.0 (the notice runs on GitHub; both stay GitHub-only releases), flips both defaults together. FALSE and NULL stay valid values in every release.

New features

Bug fixes

medfit 0.13.0

Bug fixes

medfit 0.12.0

New features

Bug fixes

medfit 0.11.1

New features

Bug fixes

medfit 0.11.0

New features

Bug fixes

Lifecycle

Documentation

medfit 0.10.0

New features

Supported class for a product (limits)

A model with a product is fitted only inside the class below; anything else is an error that names the feature and says it is not yet supported with products. A model without a product keeps every 0.9.0 capability.

medfit 0.9.0

New features

Behavior changes

Documentation

medfit 0.8.0

New features

Behavior changes

Bug fixes

Documentation

medfit 0.7.0

medfit 0.7.0 adds an experimental native maximum-likelihood structural equation engine. It is released on GitHub and r-universe only and is not submitted to CRAN.

New features

Bug fixes

Behavior change

Documentation

Dependencies

medfit 0.6.0

New features

Documentation

medfit 0.5.0

Two fixes change results (marked Behavior change below): serial te() and pm() now sum every path (#81), and confint(parm = "paths") finds path rows by name instead of by position (#82). Both correct wrong output, so they ship without a deprecation period. Ecosystem: probmed and RMediation call neither function and their test suites pass against this release. The same bugs are present in CRAN 0.3.2; see #83 for workarounds.

New features

Bug fixes

Documentation

medfit 0.4.0

New features

Details and limitations

Bug fixes

Internal

medfit 0.3.2 (2026-07-23)

CRAN patch release. No new features; CI/lint compatibility, CRAN compliance, and Rd documentation fixes only (no change to exported function behavior).

CRAN pretest fix

CI and lint

CRAN compliance

medfit 0.3.1

New features

medfit 0.3.0

New features

Bug Fixes

Internal

CRAN compliance and dependencies

medfit 0.2.1 (2026-06-18)

CRAN patch release. No new features; documentation and compliance fixes only (all changes forward-ported to 0.3.0).

CRAN compliance and documentation

medfit 0.2.0

New features

Bug Fixes

Internal

medfit 0.1.0

Initial CRAN release

Overview

medfit provides S7-based infrastructure for fitting mediation models, extracting path coefficients, and performing bootstrap inference. It serves as the foundation package for the mediationverse ecosystem.

Major Features

User-Friendly API

Effect Extractors

Model Fitting and Extraction

Bootstrap Inference

Tidyverse and Base R Integration

S7 Class Architecture

Input Validation

Documentation

Testing and Quality

Ecosystem