Looking at the code base.
https://deepforest.readthedocs.io/en/latest/_modules/deepforest/main.html#deepforest.predict_file
it actually looks like dataset.TreeDataset() is the problem here, because utilities.read_file is definitely flexible enough. The docstring of predict_file should be updated and the argument name should be changed (but a deprecation warning added until 2.0), but its the dataset class, which the user really never sees that often that can be updated. I think this would still be considered a patch.
Looking at the code base.
https://deepforest.readthedocs.io/en/latest/_modules/deepforest/main.html#deepforest.predict_file
it actually looks like dataset.TreeDataset() is the problem here, because utilities.read_file is definitely flexible enough. The docstring of predict_file should be updated and the argument name should be changed (but a deprecation warning added until 2.0), but its the dataset class, which the user really never sees that often that can be updated. I think this would still be considered a patch.