- Allow nonce to be set for content security policies - See #38
- Improved Debug panel (to be in par with Queries panel) - See #36
- Better SQL dialect detection - See c40e2405
- Add timings to SQL queries 🎨 - See ebf8edcd
- Add
active_record.adapter
config to help frontend format SQL queries - See #35 - Add
minimized
config key to start the debugbar minimized - See 2046b054 - Use
:null_session
to disable forgery protection when using polling - See #27
- Add support for Turbo Drive - See #25 and #26
- Fix error "undefined method `adapter_name' for ActiveJob:Module" for Rails < 7.1 - See #24
- Limit the number of request to 25, configurable with
maxRequests
option - See 664f2c11
In order to support Turbo Drive, I had to split the helper into two parts. Before the JavaScript file was loaded, directly in the body, but it has to be loaded in the head now.
If you were passing configuation t debugbar_javascript
, you must now pass it to debugbar_body
.
<!DOCTYPE html>
<html>
<head>
...
+ <%= debugbar_head %>
</head>
<body>
...
- <%= debugbar_javascript %>
+ <%= debugbar_body %>
</body>
</html>
- Introduce polling in case someone cannot use ActiveCable - See 8b262be7
- Show more timings information (total time, DB runtime and CPU time) - See c02531ed
- Move main middleware higher in the chain - See 7ca51c10
- Silence debugbar routes for quieter logs - See efe491bd
The frontend configuration was slightly modified. If you customized the prefix for the debugbar routes or the channelName, you must update your config. Prefix is at the root, and channelName is nested under the cable key.
- <%= debugbar_javascript channelName: "something_else", cable: {prefix: "custom-prefix"} %>
+ <%= debugbar_javascript prefix: "custom-prefix", cable: {channelName: "something_else"} %>
- Initial release 🎉