-
Fix Rubocop offenses.
-
Remove older Ruby and Rails versions from the CI and add newer versions.
-
Update dependencies.
- Fix collisions with other gems in
Rails.backtrace_cleaner
-
Add support to Ruby 3.
-
Drop support for Ruby 2.4.
-
Small improvement to the README.
-
Add ability to provide custom backtrace cleaner.
-
Make it possible to use the gem without rails (see here).
-
Refactor tests to use a different gemfile for each Rails version.
-
Fix compatibility with latest
master
branch of Rails. -
Bug fixes.
-
Improve backtrace cleaner silencers for
:app
level. When .level is set to:app
, only display files withinRails.root
. When set to:rails
, only display files outside ofRails.root
; -
Add mininum Ruby version to gemspec.
- Minor fixes and improvements such as adding Rails 4.0.0 to the CI and adding
dependency versions in
gemspec
.
-
Fix a bug in the
.ignore_cached_queries
option (#30); -
Add
.query_type
option to display the trace only for DB read or write queries; -
Add
.suppress_logging_of_db_reads
option. When enabled, all DB read queries (SELECT) are suppressed from the log; -
Refactor in an attempt to make the code easier to read, test and maintain;
-
Setup RSpec and SQLite 3 with in-memory DB for testing;
-
Setup Rubocop and fix all offenses;
-
Setup Travis CI to test the project with multiple Ruby and Rails versions;
-
Drop support for Rails 3 and Ruby 2.2;
-
Remove Gemfile.lock from the repository to prevent dependency issues;
-
Improve and expand README;
-
Other minor improvements.
- Enable colorization of output log - thanks @ihinojal
-
Track queries from 'lib' or 'engines' folders. Thanks to @amalkov
-
Updates to log formatting to make it look better. Thanks to @carsonreinke
Merge pull request #13 from mtyeh411/fix_root_trace_filter
Fixed Rails 4.2 backtrace_cleaner root filter with sql-logging gem
Thank you @mtyeh411
Support for ignoring ActiveRecord
cached queries that show up in the log with a CACHE
prefix.
ActiveRecordQueryTrace.ignore_cached_queries = true
See this Pull-Request for additional notes on how these cached queries can also be skipped from the log file:
Thank you to @tinynumbers for this contribution.
Unavailable. Sorry, I was not keep tracking of history prior to 1.4