Ray Serve is changing fast! You’re probably running the latest pip release and not the nightly build, so please ensure you’re viewing the correct version of this documentation.
As of Ray 1.4, Serve has a new API centered around the concept of “Deployments.” Deployments offer a more streamlined API and can be declaratively updated, which should improve both development and production workflows. The existing APIs have not changed from Ray 1.4 and will continue to work until Ray 1.5, at which point they will be removed (see the package reference if you’re not sure about a specific API). Please see the migration guide for details on how to update your existing Serve application to use this new API and as always we welcome feedback on Slack, GitHub, or the Ray forum!