It would be interesting to make be able to deploy firebase function with version, e.g: exports.assistant_<version>.
And deploy it with firebase deploy --only functions:assistant_<version>, in this way we could refer in Dialogflow to specific function and smoothly migrate from one version to another.