Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge latest upstream #15

Merged
merged 454 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
454 commits
Select commit Hold shift + click to select a range
017d6fd
Added more space stats tests
ankane Jul 9, 2020
c5b4e44
Fixed tests on Travis
ankane Jul 9, 2020
f293eab
Enabled query stats on Travis
ankane Jul 9, 2020
16c0f3e
Test create user
ankane Jul 9, 2020
ef177fa
Improved user tests
ankane Jul 9, 2020
c3012e3
Added comments [skip ci]
ankane Jul 9, 2020
edcccf4
Added historical query stats and space stats to tests
ankane Jul 9, 2020
0ec8c74
Improved tests [skip ci]
ankane Jul 9, 2020
a401b65
Use database instead of module method
ankane Jul 9, 2020
422c57f
Better settings tests [skip ci]
ankane Jul 9, 2020
c269e75
Test capture_space_stats
ankane Jul 9, 2020
a0bb663
Test capture_query_stats
ankane Jul 9, 2020
2bcdc39
Improved test [skip ci]
ankane Jul 9, 2020
8e50e2c
Improved test
ankane Jul 9, 2020
8ea799e
Improved tests [skip ci]
ankane Jul 9, 2020
8722514
Improved sequence tests [skip ci]
ankane Jul 9, 2020
584858e
Improved index tests
ankane Jul 9, 2020
7cdc3e2
Test against more versions of Ruby and Active Record
ankane Jul 9, 2020
414984c
Test against multiple Postgres versions on Travis
ankane Jul 9, 2020
d94f943
Improved authentication docs [skip ci]
ankane Jul 9, 2020
8448a1a
Fixed error with Postgres 13
ankane Jul 9, 2020
9e9879d
Fixed tests on Travis
ankane Jul 9, 2020
5084ed1
Updated changelog [skip ci]
ankane Jul 9, 2020
ee9b944
Updated changelog [skip ci]
ankane Jul 9, 2020
3d71a26
Ensure calls > 0
ankane Jul 9, 2020
7f9acf9
Version bump to 2.6.0 [skip ci]
ankane Jul 9, 2020
308f6ad
Use focal to speed up tests
ankane Jul 9, 2020
b74c3c2
Fixed tests
ankane Jul 9, 2020
6fcc4d7
Added more tests
ankane Jul 9, 2020
7c6cfa5
Improved clean code
ankane Jul 9, 2020
e54bac7
Added database test
ankane Jul 9, 2020
fd8dd2b
Removed services config for Travis
ankane Jul 10, 2020
ac24c76
Added docs for capture_query_stats option - #327
ankane Jul 13, 2020
efc7eb9
Added database, user, and query_hash options to reset_query_stats method
ankane Jul 13, 2020
e25a56d
Prep for resetting query stats per database
ankane Jul 13, 2020
a624122
Fixed parameters
ankane Jul 13, 2020
7083667
Improved reset query stats tests
ankane Jul 13, 2020
f0ea619
Improved tests [skip ci]
ankane Jul 13, 2020
7a3cdbd
Better tests [skip ci]
ankane Jul 13, 2020
b8b0c68
Improved reset query stats with query hash test [skip ci]
ankane Jul 13, 2020
2868178
Cleaned up code [skip ci]
ankane Jul 13, 2020
3a4394b
Added comment [skip ci]
ankane Jul 13, 2020
2a677c2
Added improved query stats reset to permissions docs [skip ci]
ankane Jul 13, 2020
ba088b7
Added reset_instance_query_stats method
ankane Jul 13, 2020
c265b86
Added test for filter_data
ankane Jul 27, 2020
0aa9b6e
Better test [skip ci]
ankane Jul 27, 2020
91effbc
Added todo [skip ci]
ankane Jul 27, 2020
ae371d3
Updated test [skip ci]
ankane Jul 27, 2020
8f190fa
Try port for Travis
ankane Jul 27, 2020
14b67b3
Fixed CSRF vulnerability with non-session based authentication
ankane Aug 4, 2020
70a6b74
Version bump to 2.7.0 [skip ci]
ankane Aug 4, 2020
4c09396
Link to issue in changelog [skip ci]
ankane Aug 4, 2020
abe31c2
Fixed screenshot [skip ci]
ankane Aug 26, 2020
9cfb456
Added licenses directory [skip ci]
ankane Aug 27, 2020
0c91af6
Updated jquery and chart.js [skip ci]
ankane Aug 27, 2020
7b5a4e4
Updated nouislider [skip ci]
ankane Aug 27, 2020
a0ee519
Fixed error with cast_value - fixes #332
ankane Aug 27, 2020
8dba3e7
Updated changelog [skip ci]
ankane Aug 27, 2020
c34a18d
Fixed tests
ankane Aug 27, 2020
3fb8945
Removed slider outline for mouse events [skip ci]
ankane Aug 27, 2020
5c21838
Removed link [skip ci]
ankane Sep 2, 2020
ec2f126
Added health checks to docs
ankane Sep 8, 2020
248fac0
Version bump to 2.7.1 [skip ci]
ankane Sep 8, 2020
6621b10
Fixed error with historical query stats
ankane Sep 10, 2020
598d91e
Version bump to 2.7.2 [skip ci]
ankane Sep 10, 2020
c9aef38
Improved index suggestions when hash index present - #337
ankane Sep 28, 2020
ee2d70b
Improved index suggestions when GiST index present - #337
ankane Sep 28, 2020
b70679e
Fix for Rails 6.1, spec_name -> name.
huacnlee Sep 29, 2020
85e6bd0
Added note about updating pg_stat_statements [skip ci]
ankane Oct 8, 2020
ef20136
Updated Linux instructions to use /etc/os-release [skip ci]
ankane Oct 28, 2020
643339a
Test with Rails 6.1 [skip ci]
ankane Nov 3, 2020
f5b7960
Fixed deprecation warnings with Rails 6.1
ankane Nov 3, 2020
e5b2857
Merge branch 'master' of https://github.com/huacnlee/pghero into huac…
ankane Nov 3, 2020
0aed64c
Fixed Rails 6.1 deprecation warning [skip ci]
ankane Nov 3, 2020
b63d0b0
Allow numeric characters for GCP database id - fixes #345
ankane Nov 5, 2020
ebc926c
Fixed tests on Travis
ankane Nov 7, 2020
4482d35
Moved to GitHub Actions
ankane Nov 19, 2020
78ed874
Moved development dependencies out of gemspec
ankane Nov 19, 2020
593d240
Improved logic for covering indexes
ankane Nov 24, 2020
c9ced91
Improved covering index for inet_ops
ankane Nov 24, 2020
ef34f67
Updated changelog [skip ci]
ankane Nov 24, 2020
894f36a
Moved test [skip ci]
ankane Nov 24, 2020
1340c30
Version bump to 2.7.3 [skip ci]
ankane Nov 24, 2020
6ce005b
Test with Active Record 6.1 by default
ankane Dec 10, 2020
6304d84
Test with Ruby 3
ankane Dec 28, 2020
08a3cf4
Fixed CI
ankane Dec 28, 2020
968f1ab
Updated screenshot [skip ci]
ankane Jan 13, 2021
49c405f
Removed unneeded line [skip ci]
ankane Jan 13, 2021
349b565
Fixed error on redirect with Ruby 3
ankane Jan 13, 2021
961e152
Added controller tests
ankane Jan 26, 2021
535ca84
Test redirect
ankane Jan 26, 2021
b309841
Removed unneeded logic
ankane Jan 26, 2021
93f42bc
Removed extra file [skip ci]
ankane Jan 26, 2021
cb32b90
Fixed error with unparsable sequences - #356
ankane Feb 1, 2021
9db4211
Version bump to 2.7.4 [skip ci]
ankane Feb 1, 2021
9eaa22c
Ignore walsender type queries (#349)
bheemreddy181 Feb 3, 2021
f7184ec
Updated changelog and style [skip ci]
ankane Feb 3, 2021
048bb39
Use local var [skip ci]
ankane Feb 3, 2021
b87a064
Adjust time format in maintenance listing table to include year (#364)
samudary Mar 12, 2021
9bb0d6f
Make sure time fits on one line [skip ci]
ankane Mar 14, 2021
237ae34
Updated changelog [skip ci]
ankane Mar 14, 2021
83c4edd
Version bump to 2.8.0 [skip ci]
ankane Mar 14, 2021
720c479
Added support for pg_query 2.0 - fixes #370
ankane Mar 25, 2021
524e21b
Better pattern
ankane Mar 25, 2021
1014848
Version bump to 2.8.1 [skip ci]
ankane Mar 26, 2021
08c7fb8
Updated to Chartkick 4
ankane Apr 9, 2021
86ccacc
Updated library options for Chart.js 3 [skip ci]
ankane Apr 9, 2021
c9fd00a
Updated more library options for Chart.js 3 [skip ci]
ankane Apr 9, 2021
e8e233a
Fixed option [skip ci]
ankane Apr 9, 2021
3b451f2
Fixed language detection [skip ci]
ankane May 15, 2021
4f8dfd1
Renamed installation to documentation - closes #377 and closes #378 […
ankane May 15, 2021
b7ae40d
Fix typo (#384)
andyatkinson Jun 15, 2021
8cd4973
Craig is using HTTPS now apparently :) (#390)
andyatkinson Sep 9, 2021
bfe8d87
Fix sorting on Space Table (#397)
palexvs Oct 29, 2021
4bf97ba
Use variable for tables option [skip ci]
ankane Oct 29, 2021
4ef8d5f
Added docs on subpath - #145 #398 [skip ci]
ankane Nov 9, 2021
2d83c3c
Updated changelog [skip ci]
ankane Nov 16, 2021
ef740b7
Test with Active Record 7 rc1
ankane Dec 7, 2021
9b03508
Fixed deprecation warnings with Active Record 7
ankane Dec 7, 2021
8b11430
Updated comments [skip ci]
ankane Dec 7, 2021
f891ea5
Fixed CI
ankane Dec 7, 2021
0444c89
Test with Active Record 7 by default
ankane Dec 16, 2021
b1b6857
Version bump to 2.8.2 [skip ci]
ankane Dec 16, 2021
e77dea5
Use stub method [skip ci]
ankane Dec 28, 2021
26a70c5
Updated CI [skip ci]
ankane Dec 28, 2021
110aa0d
Test with Ruby 3.1 on CI
ankane Jan 7, 2022
81901f7
Fixed test warning [skip ci]
ankane Jan 11, 2022
a12c489
Updated Rails docs [skip ci]
ankane Jan 17, 2022
8342641
Fixed Docker link [skip ci]
ankane Jan 29, 2022
1cef17a
Fixed error with walsender queries on live queries page - fixes #394
ankane Mar 12, 2022
bb3f2d0
Added experimental support for Propshaft [skip ci]
ankane Mar 13, 2022
71773b9
Added support for google-apis-monitoring_v3
ankane May 2, 2022
5155757
Version bump to 2.8.3 [skip ci]
ankane May 2, 2022
f7b30f1
Added Debian 11 to Linux instructions - closes #414
ankane May 15, 2022
60973c9
Added Ubuntu 22.04 to Linux docs [skip ci]
ankane Jun 20, 2022
8ad27c7
Improved config pattern - fixes #424
ankane Sep 10, 2022
84af3a5
Fixed CI
ankane Sep 10, 2022
9dfef18
Dropped support for Ruby < 2.7 and Rails < 6
ankane Sep 11, 2022
e9ac173
Removed unneeded code [skip ci]
ankane Sep 11, 2022
9046e25
Dropped support for pg_query < 2
ankane Sep 11, 2022
a2ca10b
Dropped support for Linux packages for EOL versions [skip ci]
ankane Sep 11, 2022
32aeb8b
Changed capture_query_stats to only reset stats for current database …
ankane Sep 11, 2022
495d3ed
Added visualize_url option to config [skip ci]
ankane Sep 11, 2022
550b55d
Updated link [skip ci]
ankane Sep 12, 2022
8d91a4d
Improved status codes
ankane Sep 12, 2022
41a467b
Removed access_key_id, secret_access_key, region, and db_instance_ide…
ankane Sep 12, 2022
ba63858
Removed defined checks [skip ci]
ankane Sep 12, 2022
687ceaa
Dropped support for aws-sdk < 2 [skip ci]
ankane Sep 12, 2022
7374efb
Use to_h instead of Hash[]
ankane Sep 12, 2022
65fc825
Added quoting to identifiers for create_user and drop_user methods
ankane Sep 12, 2022
8660325
Improved url [skip ci]
ankane Sep 12, 2022
51abb3b
Updated gemspec [skip ci]
ankane Sep 13, 2022
87a07b1
Updated license year [skip ci]
ankane Sep 13, 2022
e294cad
Updated changelog [skip ci]
ankane Sep 13, 2022
b488d7e
Updated changelog [skip ci]
ankane Sep 13, 2022
73459f2
Improved code and tests to reset query stats
ankane Sep 13, 2022
5dd053e
Version bump to 3.0.0 [skip ci]
ankane Sep 13, 2022
943a236
Updated upgrading section [skip ci]
ankane Sep 13, 2022
d24a477
Added docs for visualize_url option [skip ci]
ankane Sep 13, 2022
9f77c9d
Updated docs for capture_query_stats config [skip ci]
ankane Sep 13, 2022
1e6d23d
Added note about host.docker.internal on Linux [skip ci]
ankane Sep 17, 2022
5b9bad6
Fixed message when database user does not have permission to reset qu…
ankane Oct 5, 2022
35b1874
Fixed flaky test
ankane Oct 5, 2022
65e3d2c
Version bump to 3.0.1 [skip ci]
ankane Oct 10, 2022
702fe4c
Added Postgres 15 to CI
ankane Oct 15, 2022
1f415e6
Improved Docker note [skip ci]
ankane Dec 14, 2022
a8c8bc8
Test with Ruby 3.2 on CI
ankane Dec 30, 2022
026508c
Fixed CI
ankane Dec 30, 2022
e981247
Check current query stats for explainable query [skip ci]
ankane Jan 5, 2023
65aa2bc
Added support for disabling explain and explain analyze
ankane Jan 5, 2023
5cf3a2a
Fixed CI
ankane Jan 5, 2023
a81bb01
Fixed explain error message leaking data
ankane Jan 5, 2023
80b638e
Version bump to 3.1.0 [skip ci]
ankane Jan 5, 2023
1104494
Added explain option to Docker docs [skip ci]
ankane Jan 5, 2023
f36538f
Updated tests for earlier versions of Postgres [skip ci]
ankane Jan 5, 2023
d9056a2
Removed reset button when historical query stats are enabled - #434
ankane Feb 1, 2023
0880dba
Added support for specifying retention period with clean_query_stats …
ankane Feb 1, 2023
1127fdb
Changed DAYS to KEEP_DAYS [skip ci]
ankane Feb 1, 2023
947961b
Added pghero:clean_space_stats rake task [skip ci]
ankane Feb 2, 2023
5a37874
Updated changelog [skip ci]
ankane Feb 2, 2023
e197872
Switched to require_relative [skip ci]
ankane Feb 2, 2023
731b2e3
Use float for KEEP_DAYS [skip ci]
ankane Feb 3, 2023
64d0b00
Use safe_load [skip ci]
ankane Feb 3, 2023
7664fca
Updated Chartkick and Chart.js [skip ci]
ankane Feb 3, 2023
301e4e7
Added support for pg_query 4 - fixes #443
ankane Feb 22, 2023
548e781
Updated query normalization in tests
ankane Feb 22, 2023
a5c7293
Use full width for slider [skip ci]
ankane Feb 22, 2023
ccd8f38
Version bump to 3.2.0 [skip ci]
ankane Feb 22, 2023
865ab2c
Improved handling of lock timeouts - fixes #444
ankane Feb 24, 2023
b4fcaca
Improved code [skip ci]
ankane Feb 24, 2023
96a7a39
Also handle statement timeouts [skip ci]
ankane Feb 24, 2023
957449d
DRY code
ankane Feb 24, 2023
639ccfd
Simplified code [skip ci]
ankane Feb 24, 2023
d7009e8
Simplified code [skip ci]
ankane Feb 24, 2023
c150e66
Added comment [skip ci]
ankane Feb 24, 2023
4d5be17
Removed extra queries
ankane Feb 24, 2023
7472577
Improved handling of lock timeouts on query details page [skip ci]
ankane Feb 24, 2023
d87d7e1
Added message when indexes not available [skip ci]
ankane Feb 24, 2023
3abf35f
Switched to insert_all! method
ankane Feb 25, 2023
968f85e
Removed unused variable [skip ci]
ankane Feb 25, 2023
d393ca3
Improved code [skip ci]
ankane Feb 25, 2023
8c31f30
Use quote_column_name [skip ci]
ankane Feb 25, 2023
c66c8a9
Use squish from Active Support [skip ci]
ankane Feb 25, 2023
ad6b9b2
Added todo [skip ci]
ankane Feb 25, 2023
0dab6bd
Improved code [skip ci]
ankane Feb 25, 2023
9f6faf7
Added tests for generators
ankane Feb 25, 2023
a20cdea
Simplified time params [skip ci]
ankane Feb 25, 2023
4b7a7b3
Improved style [skip ci]
ankane Feb 25, 2023
5138619
Updated noUiSlider to 15.7.0 [skip ci]
ankane Feb 25, 2023
834d2f8
Improved JavaScript code [skip ci]
ankane Feb 25, 2023
d673449
Improved code [skip ci]
ankane Feb 25, 2023
919760c
Improved code for chart options [skip ci]
ankane Feb 25, 2023
1d9de2c
Revert "Improved code for chart options [skip ci]"
ankane Feb 25, 2023
a557d49
DRY code [skip ci]
ankane Feb 25, 2023
a5d7d85
Use params for links [skip ci]
ankane Feb 25, 2023
759d85e
Added class for pie charts [skip ci]
ankane Feb 25, 2023
6433af1
Updated jQuery to 3.6.3 [skip ci]
ankane Feb 25, 2023
b30aeb6
Updated Highlight.js to 11.7.0 [skip ci]
ankane Feb 26, 2023
e16e43b
Updated changelog [skip ci]
ankane Feb 26, 2023
ccb1751
Improved handling of lock timeouts with sequences - fixes #444
ankane Feb 27, 2023
b9a23a7
Improved timeout pattern
ankane Feb 27, 2023
c9ba227
Version bump to 3.3.0 [skip ci]
ankane Mar 11, 2023
8ef8569
Fixed error with Uglifier - fixes #447
ankane Mar 14, 2023
879143c
Version bump to 3.3.1 [skip ci]
ankane Mar 16, 2023
8f456e3
Added Rails 7.1 to CI
ankane Mar 17, 2023
1c3a52e
Fixed error with suggested indexes and empty statements - fixes #450
ankane Mar 24, 2023
8a8240c
Version bump to 3.3.2 [skip ci]
ankane Apr 13, 2023
d08fdf4
Fixed error with load stats for Azure Flexible Server [skip ci]
ankane Apr 18, 2023
6aeeafa
Fixed error with system stats for Azure Database - fixes #452
ankane Apr 18, 2023
ea4bcda
Version bump to 3.3.3 [skip ci]
ankane Apr 18, 2023
af0615a
Permit configuration to use aliases (#455)
marcocarvalho Apr 29, 2023
7a0e6bc
Updated changelog [skip ci]
ankane Apr 29, 2023
44c29d8
Fixed error with Rails 7.1 - fixes #456 and fixes #461
ankane May 30, 2023
2a9033a
Added Postgres 16 to CI
ankane Jul 4, 2023
9a96bf7
Version bump to 3.3.4 [skip ci]
ankane Sep 5, 2023
ac00457
Removed badge [skip ci]
ankane Sep 6, 2023
770ec9e
Test with Rails 7.1.0.beta1
ankane Sep 13, 2023
9db8bce
Updated changelog [skip ci]
ankane Sep 30, 2023
b9cb204
Test with Rails 7.1
ankane Oct 5, 2023
69e8339
Added support for explaining normalized queries with Postgres 16
ankane Nov 27, 2023
f7f6d6d
Improved error message
ankane Nov 27, 2023
e20165a
Version bump to 3.4.0 [skip ci]
ankane Nov 28, 2023
2f8bbef
Updated checkout action and badge [skip ci]
ankane Dec 1, 2023
2c3b4a8
Updated badge [skip ci]
ankane Dec 1, 2023
7f25fee
Added config.load_defaults to test setup
ankane Dec 24, 2023
079f3e5
Test pg_query 4 on CI [skip ci]
ankane Dec 24, 2023
bef01d1
Test with Ruby 3.3 on CI
ankane Dec 26, 2023
d0bf6d6
Merge branch 'master' into instacart/master
mlarraz Jan 19, 2024
b44cd1d
Fix bad merge
mlarraz Jan 19, 2024
6252c64
Merge remote-tracking branch 'instacart/master' into latest
mlarraz Jan 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 27 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,38 @@ name: build
on: [push, pull_request]
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: 3.0
gemfile: Gemfile
postgres: 13
- ruby: 2.7
gemfile: gemfiles/activerecord60.gemfile
postgres: 12
- ruby: 2.6
gemfile: gemfiles/activerecord52.gemfile
postgres: 11
- ruby: 2.5
gemfile: gemfiles/activerecord51.gemfile
postgres: 10
- ruby: 2.4
gemfile: gemfiles/activerecord50.gemfile
postgres: 9.6
- ruby: 3.3
gemfile: Gemfile
postgres: 16
- ruby: 3.2
gemfile: Gemfile
postgres: 15
- ruby: 3.1
gemfile: gemfiles/activerecord70.gemfile
postgres: 14
- ruby: "3.0"
gemfile: gemfiles/activerecord61.gemfile
postgres: 12
- ruby: 2.7
gemfile: gemfiles/activerecord60.gemfile
postgres: 10
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- uses: ankane/setup-postgres@v1
with:
postgres-version: ${{ matrix.postgres }}
config: |
shared_preload_libraries = 'pg_stat_statements'
- run: createdb pghero_test
- run: bundle exec rake test
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- uses: ankane/setup-postgres@v1
with:
postgres-version: ${{ matrix.postgres }}
database: pghero_test
config: |
shared_preload_libraries = 'pg_stat_statements'
- run: bundle exec rake test
67 changes: 67 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
## 3.4.0 (2023-11-28)

- Added support for explaining normalized queries with Postgres 16
- Added Docker image for `linux/arm64`

## 3.3.4 (2023-09-05)

- Fixed support for aliases in config file

## 3.3.3 (2023-04-18)

- Fixed error with system stats for Azure Database

## 3.3.2 (2023-04-12)

- Fixed error with suggested indexes and empty statements

## 3.3.1 (2023-03-15)

- Fixed error with Uglifier

## 3.3.0 (2023-03-11)

- Improved handling of lock timeouts
- Improved syntax highlighting

## 3.2.0 (2023-02-21)

- Added support for pg_query 4
- Added `pghero:clean_space_stats` rake task
- Added support for specifying retention period with `clean_query_stats` and `clean_space_stats`
- Removed reset button when historical query stats are enabled

## 3.1.0 (2023-01-04)

- Fixed explain error message leaking data - [more info](https://github.com/ankane/pghero/issues/439)
- Explain analyze is now opt-in - [more info](https://github.com/ankane/pghero/issues/438)
- Added support for disabling explain and explain analyze
- Added support for visualize without explain analyze
- Added `explain_v2` method

## 3.0.1 (2022-10-09)

- Fixed message when database user does not have permission to reset query stats

## 3.0.0 (2022-09-13)

- Changed `capture_query_stats` to only reset stats for current database in Postgres 12+
- Changed `reset_query_stats` to only reset stats for current database (use `reset_instance_query_stats` to reset stats for entire instance)
- Added `visualize_url` option to config
- Removed `access_key_id`, `secret_access_key`, `region`, and `db_instance_identifier` methods (use `aws_` prefixed methods instead)
- Dropped support for Linux packages for EOL versions
- Dropped support for Ruby < 2.7 and Rails < 6
- Dropped support for pg_query < 2
- Dropped support for aws-sdk < 2

## 2.8.3 (2022-05-01)

- Added support for `google-apis-monitoring_v3`
- Added experimental support for Propshaft
- Fixed error with walsender queries on live queries page

## 2.8.2 (2021-12-15)

- Fixed sorting by name on space page when historical space stats are not enabled
- Fixed deprecation warnings with Active Record 7

## 2.8.1 (2021-03-25)

- Added support for pg_query 2
Expand Down
5 changes: 2 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ gemspec
gem "minitest", ">= 5"
gem "rake"

gem "activerecord", "~> 6.1.0"
gem "activerecord-import"
gem "activerecord", "~> 7.1.0"
gem "combustion"
gem "pg"
gem "pg_query"
gem "httparty"
gem "httparty"
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2014-2021 Andrew Kane, 2008-2014 Heroku (initial queries)
Copyright (c) 2014-2023 Andrew Kane, 2008-2014 Heroku (initial queries)

MIT License

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A performance dashboard for Postgres

:tangerine: Battle-tested at [Instacart](https://www.instacart.com/opensource)

[![Build Status](https://github.com/ankane/pghero/workflows/build/badge.svg?branch=master)](https://github.com/ankane/pghero/actions) [![Docker Pulls](https://img.shields.io/docker/pulls/ankane/pghero)](https://hub.docker.com/repository/docker/ankane/pghero)
[![Build Status](https://github.com/ankane/pghero/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/pghero/actions)

## Documentation

Expand Down
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ task default: :test
Rake::TestTask.new do |t|
t.libs << "test"
t.pattern = "test/**/*_test.rb"
t.warning = false # for google-protobuf (pg_query dependency)
end
Loading
Loading