FAQ: Backward Compatibility
When it comes to client server compatibility in RavenDB, there are two valid rules.
- The server version is within the same Major and Minor range as the client version
- The server version is greater than the client version, but the Major version must match
4.0client will work with a
4.5server since the server is greater than the client
4.5client will work with a
4.5server since both the client and the server are in the same Major and Minor range
4.0.2client will work with a
4.0.1server since both the client and the server are in the same Major and Minor range
4.5client will NOT work with a
4.0server since the client is greater than the server
3.xclient will NOT work with a
4.0server since both the client's and the server's Major version do not match
Same Major Version
To properly upgrade your applications and server, we advise you to upgrade the server first, then the clients. This way, your applications will keep working as before and you can update them one-by-one if needed.
Different Major Version
Upgrading to a different Major version necessitates upgrading the server and all clients in lockstep. Please visit migration guide section talking about migration from 3.x.