Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 3.18 KB

CHANGELOG.md

File metadata and controls

68 lines (48 loc) · 3.18 KB

Changelog

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 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>

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 🎉