Question about update. v. 1.25.0 to?

i have a somewhat older vaultwarden running via docker on a synology. currently installed is:

Server Installed 1.25.0
Web Installed 2.28.1
DatabaseSQLite 3.35.4

could i theoretically update from version 1.25.0 directly to the current version 1.30.5 or do i have to install one of the major updates first 1.26, 1.27, 1.28, etc…?
what else do i need to consider?

i am grateful for your support