Releases: Shopify/spoom
Releases · Shopify/spoom
v1.3.1
What's Changed
🐛 Bug Fixes
- Fix removing first method in class by @skipkayhil in #538
🛠 Other Changes
- Centralize Ruby Version to
.ruby-version
by @jenshenny in #533 - Fix RBI requires by @Morriar in #535
- Update deprecation warnings to be correct by @matthewarkin in #539
- Regenerate RBI files for all gems by @Morriar in #542
New Contributors
- @jenshenny made their first contribution in #533
- @skipkayhil made their first contribution in #538
Full Changelog: v1.3.0...v1.3.1
v1.3.0
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
🛠 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
- @Korri made their first contribution in #504
- @p-linnane made their first contribution in #509
Full Changelog: v1.2.4...v1.3.0
v1.2.4
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
intoignore_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
- Mark redefined ERB methods as
override
by @Morriar in #434 - Refactor plugin base tests by @Morriar in #444
- Bump version to v1.2.4 by @andyw8 in #463
Full Changelog: v1.2.3...v1.2.4
v1.2.3
What's Changed
✨ Enhancements
🐛 Bug Fixes
- preserve trailing whitespace when bumping sigil by @jakebrady5 in #428
🛠 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
- @jakebrady5 made their first contribution in #428
Full Changelog: v1.2.2...v1.2.3
v1.2.2
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
v1.2.0
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 thanbundle("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
What's Changed
✨ Enhancements
- Update Sorbet segfault handling by @bitwise-aiden in #279
- Add Sorbet killed handling by @bitwise-aiden in #280
🐛 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