- Adding support for rails 7.2. Mostly this was fixing the deprecation of
request.show_exceptions?
and support the various values ofRails.application.config.action_dispatch.show_exceptions
.
- Ensure
decode_rack_response
always calls#close
on the Rack body in tests, as some middleware might be applying a BodyProxy
- Exclude versions of Rails 7 which were incompatible with the pbbuilder ActionView handler, as pbbuilder cannot work there at all
- Fix decode_rack_response to be compatible with Rack response body wrappers (and conform to the Rack SPEC)
- Adding frozen_string_literal: true to all files.
- revert - include
test/
folder in a final gem distribution
- Don't include
test/
folder in a final gem distribution - Format dummy app code with standardrb
- Adding #controller_name methods to Metal/Base controller (used for instrumentation)
- Include
ActionController::Caching
with Base controller/helpers
- Allow a custom exception handling proc to be assigned using
RailsTwirp.unhandled_exception_handler
- Update configuration and tests for Rails 7 compatibility
- Handle exceptions more like the Rails controllers do it, do not capture all of them as if they were Twirp exceptions