All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Break Versioning.
2.3.1 - 2026-01-23
- Allow command callbacks to run with both Dry CLI 1.3 and 1.4 (1.4 corrects a longstanding bug regarding argument passing to command callbacks, which we had previously worked around here). (Tim Riley in #41)
2.3.0 - 2025-11-12
2.3.0.beta2 - 2025-10-17
- Drop support for Ruby 3.1.
2.3.0.beta1 - 2025-10-03
- Change shared context name in generated
spec/support/requests.rbto avoid a RuboCop RSpec offense. (Aaron Allen in #40)
2.2.1 - 2024-11-12
- Modify
Gemfilevia abefore "install"hook on thehanamiCLI. This ensures that testing-related gems are installed as part of runninghanami new. (Tim Riley in #30)
2.2.0 - 2024-11-05
- Only enhance
generateCLI commands if the relevant gems are bundled. (Paweł Świątkowski, Seb Wilgosz in #29)
2.2.0.rc1 - 2024-10-29
- As part of
hanami install, adddatabase_cleaner-sequelto theGemfileand generate DatabaseCleaner configuration inspec/support/db.rbandspec/support/db/cleaning.rb. (Tim Riley in #28)
- Only enhance
generateCLI commands if the relevant gems are bundled. (Seb Wilgosz in #26)
2.2.0.beta1 - 2024-07-16
- Include
Dry::Monads[:result]in tests viasupport/operations.rb. (Sean Collins)
- Drop support for Ruby 3.0
- In generated
spec_helper.rb, require all files underspec/support/in a loop, rather than via manual requires. (Sean Collins in #24)
2.1.0 - 2024-02-27
2.1.0.rc3 - 2024-02-16
2.1.0.rc2 - 2023-11-08
- Skip generating tests for
hanami generatewhen--skip-testsCLI option is given. (Tim Riley) - Install Capybara and generate
spec/support/capybara.rbinhanami installhook. (Tim Riley)
- Add explanatory code comments to
spec/support/rspec.rbgenerated inhanami installhook. (Tim Riley)
2.1.0.rc1 - 2023-11-01
- Generate spec for
hanami generate partcommand. (Luca Guidi)
- Default request spec to expect 404, now that
hanami newdoesn't generate a default root route anymore. (Luca Guidi)
2.1.0.beta1 - 2023-06-29
2.0.1 - 2022-12-25
- Official support for Ruby 3.2. (Luca Guidi)
2.0.0 - 2022-11-22
- Use Zeitwerk to autoload the gem. (Tim Riley)
- Support RSpec 3.12. (Luca Guidi)
2.0.0.rc1 - 2022-11-08
- Follow
hanamiversioning. (Luca Guidi)
3.11.0.beta4 - 2022-10-24
- Generate slice specs under
spec/slices/[slice_name]/. (Luca Guidi in #9)
3.11.0.beta3 - 2022-09-21
- Hook into
hanami newandhanami generateto respect name pluralization. (Luca Guidi) - Hook into
hanami generate actionto generate action specs. (Luca Guidi)
3.11.0.beta2 - 2022-08-16
- Hook into
hanami generate sliceto generate a slice directory in spec/ along with a placeholder base action spec. (Luca Guidi in #5)
3.11.0.beta1 - 2022-07-20
- Hook into
hanami installto setup RSpec + Rack::Test. (Luca Guidi)