Minor Changes
-
Add
remix db rollback, which reverts applied migrations by running theirdown.sql.Database.migrate()already accepteddirection,to,step, anddryRun, but the CLI never passed them, so a migration'sdown.sqlwas unreachable fromremix db—--toonly bounds forward progress.rollbackreverts newest first, bounded by--step <count>(default1) or--to <migration>, which reverts back through that migration inclusive.--dry-runreports what would be reverted without running it. It also takes--migrations,--journal-table, and--connection-env(see #11723). -
Add a shared
assetssection toremix.json, exportloadConfig(fileOrDirectory)fromremix/cli, and addremix assets. The command lists browser-reachable assets as stable URL-to-file mappings, whileremix assets inspect <url-or-file>explains the mapping, file type, access rules, and status for one URL or file path (see #11726).
Patch Changes
- Bumped
@remix-run/*dependencies: