No module is ever completely removed from darktable, in order to preserve backward compatibility (when aan old edit is opened with a recent version of the software).
You can:
- adjust the correction in the lens correction module; use the TCA overwrite option:
darktable 4.2 user manual - lens correction - then adjust chromatic aberrations, as described here
- if that was not enough, enable raw chromatic aberration (if working with Bayer-mosaiced raw data); you’ll likely have to re-adjust lens correction and chromatic aberrations afterwards;
- finally, you still have defringe.
If you are worried it’ll ever become hard-deprecated (so not even the module search functionality will show it), create a style where it is enabled, and apply it in the future as needed.