# Deprecation policy

Channel: release; package: 2.2.0; source: 084b5032b7d014f12b65b4b947cf61a840970bf4

Page: https://remilab.ai/rfx/project/deprecation-policy/
Source: https://github.com/bk-squared/rfx/blob/084b5032b7d014f12b65b4b947cf61a840970bf4/docs/public/project/deprecation-policy.mdx

rfx follows semantic versioning for its public API: the names in
`rfx.__all__`, documented `Simulation` methods and arguments, and names
documented on the public pages. Names starting with `_` and undocumented
modules are internal and may change in any release.

A public name is removed or renamed only in a major release. Before removal,
it keeps working for at least one minor release and emits a
`DeprecationWarning` naming its replacement and the major release that
removes it.

A moved import path works the same way. For example, the time-step names
formerly imported from `rfx.core.yee`, such as `update_e` and `update_h`,
now live in `rfx.stepping.yee`. The old paths still return the same objects,
with a warning that they will be removed in rfx 3.0.

Each deprecation and removal has a changelog entry of type `deprecated` or
`removed`.

Python shows `DeprecationWarning` raised from code in `__main__` by default.
Elsewhere, use `python -W default::DeprecationWarning` or pytest's warnings
summary to see these warnings.

On 2026-11-03, rfx 2.1.0 removed the ADI solver (`solver="adi"`) in a minor release. The `adi_cfl_factor` parameter stays for one release and refuses any value. The 2.0.0 documentation marked ADI as experimental and announced its removal for 2.1, so this removal did not wait for 3.0.
