Skip to content

Latest commit

 

History

History
99 lines (66 loc) · 3.04 KB

File metadata and controls

99 lines (66 loc) · 3.04 KB

[Unreleased]

0.8.1 - 2026-06-16

  • Respect the XDG Base Directory spec for the cache location. Cache now lives at $XDG_CACHE_HOME/rails-diff (defaulting to ~/.cache/rails-diff) instead of ~/.rails-diff/cache. The old cache directory is no longer used and can be removed (PR #37).

0.8.0 - 2026-03-26

  • --ref now accepts rails --version output (e.g., --ref "Rails 7.2.3" is converted to v7.2.3).

0.7.0 - 2026-03-17

  • Replace diffy with difftastic for better diff output with syntax highlighting.
  • Add --ref option to compare against a specific tag, branch, or commit SHA (--commit is kept as an alias).
  • [BUGFIX] --commit (now --ref) failed with shallow clones when the ref wasn't locally available.

0.6.0 - 2025-07-25

  • Add --only option to only include specific files or directories in the diff.
  • Add rails-diff dotfiles to compare dotfiles (configuration files) in the repository.
  • [BUGFIX] --fail-on-diff wasn't aborting with errors on diff.

0.5.0 - 2025-03-10

  • Don't abort process on bundle check failure.
  • Add optional debug logs.
rails-diff file Gemfile --debug

or

DEBUG=1 rails-diff file Gemfile

0.4.1 - 2025-03-05

  • Bump rack and uri minor versions.

0.4.0 - 2025-03-05

  • Respect ~/.railsrc file when generating new rails apps (PR #4). Thanks @marcoroth 🎉
  • Use array version of system to avoid command injection.
  • Update cache keys to be shorter.
  • Improve log messages.

0.3.0 - 2025-02-23

  • Allow passing options to generate the new application
rails-diff file Gemfile --new-app-options="--database=postgresql"

0.2.1 - 2025-02-22

  • Add missing version command
  • Consistent error messages
  • Ensure rails path exists and dependencies are installed

0.2.0 - 2025-02-21

  • Allow comparing a specific commit
rails-diff file Dockerfile --commit 3e7640
  • Allow failing the command when there are diffs
rails-diff file Dockerfile --fail-on-diff
  • Return no output when there's no diff

M## 0.1.1 - 2025-02-21

  • Fix generator differ

0.1.0 - 2025-02-21

  • Initial release