- Add option skip_request_body to skip the request body. Use this option when you don't want to persist the request body.
[Skipped]
will be persisted instead. - Add option skip_request_body_regexp to skip logging the body of requests matching a regexp.
- Renamed the option skip_body into skip_response_body. This is a breaking change!
- Renamed the option skip_body_regexp into skip_response_body_regexp. This is a breaking change!
- Fix Rails 7.1 warnings.
- Add option skip_body to skip the body for request responses. Use this option when you don't want to persist the response body.
[Skipped]
will be persisted instead. This is not a breaking change.
- Fix an issue in the middleware where the request body was not read correctly if there were encoding issues.
- Improved documentation about outboud request logging.
- Add option skip_body_regexp to skip logging the body of requests matching a regexp.
- Fix the CHANGELOG path in gemspec.
- Fixes Zeitwerk warning.
- Fixes the loading of concern into controllers.
- Fixes an important concurrency issue by removing instance variables in the rack middleware.
- Started using Zeitwerk.
- Removed RailsAdmin specific code.
- Improved RailsApiLogger class.
- Fixed the
.failed
scope.
- Added
started_at
,ended_at
andduration
methods.
Migrate your tables with:
add_column :inbound_request_logs, :started_at, :timestamp
add_column :inbound_request_logs, :ended_at, :timestamp
add_column :outbound_request_logs, :started_at, :timestamp
add_column :outbound_request_logs, :ended_at, :timestamp
- Added
formatted_request_body
andformatted_response_body
methods.
- Switch to a middleware solution.
- Initial release.