Skip to content

Releases: Shopify/spoom

v1.3.1

02 May 15:47
c5d28a5
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

🛠 Other Changes

New Contributors

Full Changelog: v1.3.0...v1.3.1

v1.3.0

26 Mar 21:18
f2b202f
Compare
Choose a tag to compare

What's Changed

🚧 Breaking Changes

✨ Enhancements

  • Add plugin to ignore ActionMailer::Preview classes by @Korri in #504
  • various: fix miscellaneous typos by @p-linnane in #509
  • Add CLI commands for detecting and remove dead code by @Morriar in #516

🐛 Bug Fixes

  • Mark methods called by MiniTest.setup as alive by @Morriar in #468

🛠 Other Changes

  • Fix failing CLI test by @andyw8 in #483
  • Better explanation for bump --dry by @Morriar in #490
  • Update Ruby and Bundler by @vinistock in #513
  • Remove dead method delete_line_part by @shopify-codedb in #519
  • Remove dead attr_writer nodes_nesting= by @shopify-codedb in #518
  • Remove dead attr_reader file_name by @shopify-codedb in #517
  • Remove dead method print_with_strictnesses by @shopify-codedb in #522
  • Remove dead method censor_project_path by @shopify-codedb in #523
  • Remove dead method nodes_strictnesses by @shopify-codedb in #525
  • Move all Sorbet related commands as subcommands by @Morriar in #524
  • Migrate dead code detection to Prism by @Morriar in #527

New Contributors

Full Changelog: v1.2.4...v1.3.0

v1.2.4

01 Mar 18:40
99d2d82
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Ignore more methods using deadcode plugins by @Morriar in #436
  • Ignore constants, classes and modules from dead code plugins by @Morriar in #437
  • Indexer calls internal methods of plugin base by @Morriar in #441
  • Rename ignore_class_names into ignore_classes_named by @Morriar in #442
  • Introduce more plugin rules by @Morriar in #446
  • Always strip prefix before name comparison with string DSL by @Morriar in #445
  • Make it easy to ignore direct subclasses of a class in dead code plugins by @Morriar in #438
  • Add plugin behavior on on_send by @Morriar in #450
  • Introduce dead code plugin loading mechanism by @Morriar in #453
  • Introduce Spoom::Deadcode::Remover by @Morriar in #452
  • Add minitest backtrace filter by @andyw8 in #457

🐛 Bug Fixes

🛠 Other Changes

Full Changelog: v1.2.3...v1.2.4

v1.2.3

01 Mar 18:49
e16b731
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

🐛 Bug Fixes

🛠 Other Changes

  • Fix sorbet-static-and-runtime version in tests by @egiurleo in #406
  • In test_helper, specify Sorbet version as a constant by @egiurleo in #408

New Contributors

Full Changelog: v1.2.2...v1.2.3

v1.2.2

01 Mar 18:49
9a6e21e
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Add a few Context::Bundler methods by @Morriar in #371
  • Add a few more Context::Git related methods by @Morriar in #370
  • Allow FileCollector to collect files depending on their MIME type by @Morriar in #372
  • Introduce indexing for dead code detection by @Morriar in #373
  • Deadcode: handle ERB files by @Morriar in #375

🐛 Bug Fixes

  • Do not list files ignored by Sorbet by @Morriar in #383
  • Do not use install path from global bundle config by @Morriar in #384

🛠 Other Changes

  • Remove Ruby LSP from Gemfile by @andyw8 in #353
  • Fix broken CLI test output by @egiurleo in #362
  • Update ruby.yml to skip bin/setup by @andyw8 in #364
  • Update RBIs for all gems by @Morriar in #368
  • Remove Ruby 2.7 support by @Morriar in #374
  • Remove dead attr_writer seen= by @shopify-codedb in #376
  • Remove dead attr_reader jsonrpc by @shopify-codedb in #377
  • Remove dead attr_reader method by @shopify-codedb in #378
  • Remove dead attr_reader method by @shopify-codedb in #380
  • Fix Ruby version requirements by @Morriar in #392
  • Add license to copied file from Rails by @Morriar in #393
  • Update test to reflect LSP changes by @bitwise-aiden in #401

New Contributors

  • @shopify-codedb made their first contribution in #376

Full Changelog: v1.2.1...v1.2.2

v1.2.1

01 Mar 18:49
8bd48be
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Use a better approach to collect files included by Sorbet by @Morriar in #322

Full Changelog: v1.2.0...v1.2.1

v1.2.0

01 Mar 18:48
a319b46
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

🛠 Other Changes

  • Split context concerns into mixins by @Morriar in #305
  • Move all Git helpers as methods on Context by @Morriar in #306
  • CLI commands use Context by @Morriar in #308
  • Move all Sorbet helpers as methods on Context by @Morriar in #307
  • Call bundle_install! rather than bundle("install") by @Morriar in #324
  • Always capture the error stream when running Context#srb_metrics by @Morriar in #326
  • Do not always call bundle_install! in TestWithProject by @Morriar in #325

Full Changelog: v1.1.16...v1.2.0

v1.1.16

01 Mar 18:48
72bcf6f
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

🐛 Bug Fixes

🛠 Other Changes

  • Remove bad value for continue-on-error by @Morriar in #258
  • Add Ruby 3.2 to CI matrix by @st0012 in #269
  • Add minitest/mock to test helper and regenerate RBI by @bitwise-aiden in #278
  • Use ruby/debug by @andyw8 in #292
  • Make Context.git_init return a ExecResult so the user can check if the command ran properly by @Morriar in #304
  • Some cleaning in the Git helpers by @Morriar in #303

New Contributors

Full Changelog: v1.1.15...v1.1.16

v1.1.15

01 Mar 18:48
61b1198
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Allow user to request full length sha when asking for the last Git commit by @Morriar in #257
  • Add shortcut to check if a context directory exists by @Morriar in #256

Full Changelog: v1.1.14...v1.1.15

v1.1.14

01 Mar 18:47
afe93e6
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

Full Changelog: v1.1.13...v1.1.14