Current version: 0.4.2

Changelog

v0.4.2 - 2025-01-11

  • Mount Debugbar::Engine automatically from the gem to simplify setup - See #51
  • Fix error if ActiveCable is not available - See #53

Attention needed

It's not breaking (yet) but if you have the following block in your config/routes.rb, please remove it!

1- if defined? Debugbar
2- mount Debugbar::Engine => Debugbar.config.prefix
3- end

v0.4.1 - 2025-01-07

  • Small fix when response is not set (2227f4d7)

v0.4.0 - 2025-01-07

  • Track HTTP calls made by the app - See #48
    • Learn more: https://debugbar.dev/docs/http
  • Handle multi-processes service (cluster mode in Puma) - See #45
    • Learn more: https://debugbar.dev/docs/puma-configuration
  • Ignore OPTIONS requests - See 08e7ee06
  • ⚠️ Automatically set action_cable.disable_request_forgery_protection to true - See 449fc496
  • Some design tweak (like the select input to choose the request)

v0.3.3 - 2024-06-15

  • Allow nonce to be set for content security policies - See #38

v0.3.2 - 2024-05-04

  • 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

v0.3.1 - 2024-05-01

  • 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

v0.3.0 - 2024-03-31

  • 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

Breaking changes

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 configuration t debugbar_javascript, you must now pass it to debugbar_body.

1<!DOCTYPE html>
2<html>
3 <head>
4 ...
5+ <%= debugbar_head %>
6 </head>
7 
8 <body>
9 ...
10- <%= debugbar_javascript %>
11+ <%= debugbar_body %>
12 </body>
13</html>

v0.2.0 - 2024-02-28

  • Introduce polling in case someone cannot use ActiveCable - See 8b262be7
    • https://debugbar.dev/docs/polling-mode
  • 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

Breaking changes

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.

1- <%= debugbar_javascript channelName: "something_else", cable: {prefix: "custom-prefix"} %>
2+ <%= debugbar_javascript prefix: "custom-prefix", cable: {channelName: "something_else"} %>

v0.1.0 - 2024-02-13

  • Initial release 🎉