Alternative for the bundle_deploy

After version 0.20.0, what is the recommended alternative for the bundle_deploy functionality that was removed?

I am referring to the code that was previously located here: