batch is transactional https://developers.cloudflare.com/d1/worker-api/d1-database/#batch
Cloudflare Docs
To interact with your D1 database from your Worker, you need to access it through the environment bindings provided to the Worker (env).

d1 execute --file with the same result--experimental-backend flag, and wrangler d1 info no longer returns the version. Have all beta DBs been silently upgraded to the new backend?version info and will fix.version is shown in wrangler d1 info only if it's an alpha database. So, since you are not seeing it your database is not alpha. If you send me the database ID (DM) I can check its version and confirm to you.