Skip to content

Latest commit

 

History

History
97 lines (68 loc) · 4.56 KB

CHANGELOG.md

File metadata and controls

97 lines (68 loc) · 4.56 KB

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!

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

v0.4.1 - 2025-01-07

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

v0.4.0 - 2025-01-07

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.

<!DOCTYPE html>
<html>
  <head>
    ... 
+    <%= debugbar_head %>
  </head>
    
  <body>
    ...
-    <%= debugbar_javascript %>
+    <%= debugbar_body %>
  </body>
</html>

v0.2.0 - 2024-02-28

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.

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

v0.1.0 - 2024-02-13

  • Initial release 🎉