github remix-run/remix cli@0.6.0
cli v0.6.0

3 hours ago

Minor Changes

  • Add remix db rollback, which reverts applied migrations by running their down.sql.

    Database.migrate() already accepted direction, to, step, and dryRun, but the CLI never passed them, so a migration's down.sql was unreachable from remix db--to only bounds forward progress. rollback reverts newest first, bounded by --step <count> (default 1) or --to <migration>, which reverts back through that migration inclusive. --dry-run reports what would be reverted without running it. It also takes --migrations, --journal-table, and --connection-env (see #11723).

  • Add a shared assets section to remix.json, export loadConfig(fileOrDirectory) from remix/cli, and add remix assets. The command lists browser-reachable assets as stable URL-to-file mappings, while remix assets inspect <url-or-file> explains the mapping, file type, access rules, and status for one URL or file path (see #11726).

Patch Changes

Don't miss a new remix release

NewReleases is sending notifications on new releases.