pghero 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pghero might be problematic. Click here for more details.

Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +59 -55
  3. data/lib/pghero/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9540e38d2818cd4d7e80bb4668c01428a09220fb20d2b490d0f4ba011e1b24d9
4
- data.tar.gz: effb66375120aa74fa72ac2a79f0a55b86a92884de2a4f56aa5b98aa7b4b8ba1
3
+ metadata.gz: e1eb28c7ae995ccdc8fcc30dec3c42f3abb1463981b89a85ed9a8b8b53dba4ce
4
+ data.tar.gz: 0c0b1e34f2f12c46055a15c937b282048b99036ce6b535ac2445bd83b4d7ac67
5
5
  SHA512:
6
- metadata.gz: 898e8d18dd48170989ab2e77223fafdffc3737ecc5a4bf6de38db3fa585558b3fe75eb191ea7bfe5c6ce59494c7c36cf90b180a433356bb1b060959b2107638d
7
- data.tar.gz: 12b4741e079e4087fc559a520568fb4986767dd623d62fa9ed59b61d5969269388852be8e6a4f255eae0ecfd726d030931427dd2230289a9c901e34e4f18960e
6
+ metadata.gz: fc924cde46b89d3d64649f8df7abbe81538892ba0839c4983ad0e67522c36ee4b0ee52673c3d79977cfac05413c846d821fb25d885ba33693e2d01c6de042f8b
7
+ data.tar.gz: 790d0cc392a123ac30ae59868a80eb1239adbcf091a53c0edd9cbabb6426f0e86d11d25ac8fbc0c85619c90f766c46a67a49e439467b8c47f960482e8d04c10d
@@ -1,23 +1,27 @@
1
- ## 2.4.0
1
+ ## 2.4.1 (2019-11-21)
2
+
3
+ - Fixed file permissions on `highlight.pack.js`
4
+
5
+ ## 2.4.0 (2019-11-11)
2
6
 
3
7
  - Added `invalid_constraints` method
4
8
  - Added `spec` option
5
9
  - Added `override_csp` option
6
10
  - Show all databases in Rails 6 when no config
7
11
 
8
- ## 2.3.0
12
+ ## 2.3.0 (2019-08-18)
9
13
 
10
14
  - Added support for Postgres 12 beta 1
11
15
  - Added methods and tasks for cleaning up stats
12
16
  - Dropped support for Rails < 5
13
17
 
14
- ## 2.2.1
18
+ ## 2.2.1 (2019-06-04)
15
19
 
16
20
  - Added `config_path` option
17
21
  - Fixed error with sequences when temporary tables
18
22
  - Fixed error when `config.action_controller.include_all_helpers = false`
19
23
 
20
- ## 2.2.0
24
+ ## 2.2.0 (2018-09-03)
21
25
 
22
26
  - Added check for connections idle in transaction
23
27
  - Improved duplicate index logic to detect more duplicates
@@ -25,64 +29,64 @@
25
29
  - Fixed error with large number of sequences
26
30
  - Bumped `total_connections_threshold` to 500 by default
27
31
 
28
- ## 2.1.1
32
+ ## 2.1.1 (2018-04-24)
29
33
 
30
34
  - Added `explain_timeout_sec` option
31
35
  - Fixed error with unparsable sequences
32
36
  - Stopped throwing `Same sequence name in multiple schemas` error
33
37
 
34
- ## 2.1.0
38
+ ## 2.1.0 (2017-11-30)
35
39
 
36
40
  - Fixed issue with sequences in different schema than table
37
41
  - No longer throw errors for unreadable sequences
38
42
  - Fixed replication lag for Amazon Aurora
39
43
  - Added `vacuum_progress` method
40
44
 
41
- ## 2.0.8
45
+ ## 2.0.8 (2017-11-12)
42
46
 
43
47
  - Added support for Postgres 10 replicas
44
48
  - Added support for pg_query 1.0.0
45
49
  - Show queries with insufficient privilege on live queries page
46
50
  - Default to table schema for sequences
47
51
 
48
- ## 2.0.7
52
+ ## 2.0.7 (2017-10-28)
49
53
 
50
54
  - Fixed issue with sequences in different schema than table
51
55
  - Fixed query details when multiple users have same query hash
52
56
  - Fixed error with invalid indexes in non-public schema
53
57
  - Raise error when capture query stats fails
54
58
 
55
- ## 2.0.6
59
+ ## 2.0.6 (2017-09-24)
56
60
 
57
61
  - More robust methods for multiple databases
58
62
  - Added support for `RAILS_RELATIVE_URL_ROOT` for Linux and Docker
59
63
 
60
- ## 2.0.5
64
+ ## 2.0.5 (2017-09-14)
61
65
 
62
66
  - Fixed error with sequences in different schemas
63
67
  - Better advice
64
68
 
65
- ## 2.0.4
69
+ ## 2.0.4 (2017-08-28)
66
70
 
67
71
  - Fixed `AssetNotPrecompiled` error
68
72
  - Do not silently ignore sequence danger when user does not have permissions
69
73
 
70
- ## 2.0.3
74
+ ## 2.0.3 (2017-08-22)
71
75
 
72
76
  - Added SQL to recreate invalid indexes
73
77
  - Added unused index marker to Space page
74
78
  - Fixed `capture_query_stats` on Postgres < 9.4
75
79
 
76
- ## 2.0.2
80
+ ## 2.0.2 (2017-08-09)
77
81
 
78
82
  - Fixed error with suggested indexes
79
83
  - Fixed error with `pg_replication_slots`
80
84
 
81
- ## 2.0.1
85
+ ## 2.0.1 (2017-08-08)
82
86
 
83
87
  - Fixed capture space stats
84
88
 
85
- ## 2.0.0
89
+ ## 2.0.0 (2017-08-08)
86
90
 
87
91
  New features
88
92
 
@@ -113,27 +117,27 @@ PgHero.with(:database2) { PgHero.running_queries }
113
117
  - Removed options from `connection_sources` method
114
118
  - Removed `locks` method
115
119
 
116
- ## 1.7.0
120
+ ## 1.7.0 (2017-05-01)
117
121
 
118
122
  - Fixed migrations for Rails 5.1+
119
123
  - Added `analyze`, `analyze_tables`, and `analyze_all` methods
120
124
  - Added `pghero:analyze` rake task
121
125
  - Fixed system stats display issue
122
126
 
123
- ## 1.6.5
127
+ ## 1.6.5 (2017-04-19)
124
128
 
125
129
  - Added support for Rails API
126
130
  - Added support for Amazon STS
127
131
  - Fixed replica check when `hot_standby = on` for primary
128
132
 
129
- ## 1.6.4
133
+ ## 1.6.4 (2017-03-12)
130
134
 
131
135
  - Only show connection charts if there are connections
132
136
  - Fixed duplicate indexes for multiple schemas
133
137
  - Fixed display issue for queries without word break
134
138
  - Removed maintenance tab for replicas
135
139
 
136
- ## 1.6.3
140
+ ## 1.6.3 (2017-02-09)
137
141
 
138
142
  - Added 10 second timeout for explain
139
143
  - No longer show autovacuum in long running queries
@@ -142,36 +146,36 @@ PgHero.with(:database2) { PgHero.running_queries }
142
146
  - Removed Chartkick gem dependency for charts
143
147
  - Fixed error when primary database is not PostgreSQL
144
148
 
145
- ## 1.6.2
149
+ ## 1.6.2 (2016-10-26)
146
150
 
147
151
  - Suggest GiST over GIN for `LIKE` queries again (seeing better performance)
148
152
 
149
- ## 1.6.1
153
+ ## 1.6.1 (2016-10-24)
150
154
 
151
155
  - Suggest GIN over GiST for `LIKE` queries
152
156
 
153
- ## 1.6.0
157
+ ## 1.6.0 (2016-10-20)
154
158
 
155
159
  - Removed mostly inactionable items (cache hit rate and index usage)
156
160
  - Restored duplicate indexes to homepage
157
161
  - Fixed issue with exact duplicate indexes
158
162
  - Way better `blocked_queries` method
159
163
 
160
- ## 1.5.3
164
+ ## 1.5.3 (2016-10-06)
161
165
 
162
166
  - Fixed Rails 5 error with multiple databases
163
167
  - Fixed duplicate index detection with expressions
164
168
 
165
- ## 1.5.2
169
+ ## 1.5.2 (2016-10-01)
166
170
 
167
171
  - Added support for PostgreSQL 9.6
168
172
  - Fixed incorrect query start for live queries in transactions
169
173
 
170
- ## 1.5.1
174
+ ## 1.5.1 (2016-09-27)
171
175
 
172
176
  - Better tune page for PostgreSQL 9.5
173
177
 
174
- ## 1.5.0
178
+ ## 1.5.0 (2016-09-21)
175
179
 
176
180
  - Added user to query stats (opt-in)
177
181
  - Added user to connection sources
@@ -179,52 +183,52 @@ PgHero.with(:database2) { PgHero.running_queries }
179
183
  - Added visualize button to explain page
180
184
  - Better charts for system stats
181
185
 
182
- ## 1.4.2
186
+ ## 1.4.2 (2016-09-06)
183
187
 
184
188
  - Fixed `wrong constant name` error in development
185
189
  - Added different periods for system stats
186
190
 
187
- ## 1.4.1
191
+ ## 1.4.1 (2016-08-25)
188
192
 
189
193
  - Removed external assets
190
194
 
191
- ## 1.4.0
195
+ ## 1.4.0 (2016-08-24)
192
196
 
193
197
  - Updated for Rails 5
194
198
  - Fixed error when `pg_stat_statements` not enabled in `shared_libaries`
195
199
 
196
- ## 1.3.2
200
+ ## 1.3.2 (2016-08-03)
197
201
 
198
202
  - Improved performance of query stats
199
203
 
200
- ## 1.3.1
204
+ ## 1.3.1 (2016-07-10)
201
205
 
202
206
  - Improved grouping of query stats
203
207
  - Added `blocked_queries` method
204
208
 
205
- ## 1.3.0
209
+ ## 1.3.0 (2016-06-27)
206
210
 
207
211
  - Added query hash for better query stats grouping
208
212
  - Added sequence danger check
209
213
  - Added `capture_query_stats` option to config
210
214
 
211
- ## 1.2.4
215
+ ## 1.2.4 (2016-05-06)
212
216
 
213
217
  - Fixed user methods
214
218
 
215
- ## 1.2.3
219
+ ## 1.2.3 (2016-04-20)
216
220
 
217
221
  - Added schema to queries
218
222
  - Fixed deprecation warning on Rails 5
219
223
  - Fix for pg_query >= 0.9.0
220
224
 
221
- ## 1.2.2
225
+ ## 1.2.2 (2016-01-20)
222
226
 
223
227
  - Better suggested indexes
224
228
  - Removed duplicate indexes noise
225
229
  - Fixed partial and expression indexes
226
230
 
227
- ## 1.2.1
231
+ ## 1.2.1 (2016-01-07)
228
232
 
229
233
  - Better suggested indexes
230
234
  - Removed unused indexes noise
@@ -233,7 +237,7 @@ PgHero.with(:database2) { PgHero.running_queries }
233
237
  - Fixed suggested indexes for replicas
234
238
  - Fixed issue w/ suggested indexes where same table name exists in multiple schemas
235
239
 
236
- ## 1.2.0
240
+ ## 1.2.0 (2015-12-31)
237
241
 
238
242
  - Added suggested indexes
239
243
  - Added duplicate indexes
@@ -243,38 +247,38 @@ PgHero.with(:database2) { PgHero.running_queries }
243
247
  - Added configurable cache hit rate threshold
244
248
  - Show all connections in connections tab
245
249
 
246
- ## 1.1.4
250
+ ## 1.1.4 (2015-12-08)
247
251
 
248
252
  - Added check for transaction ID wraparound failure
249
253
  - Added check for autovacuum danger
250
254
 
251
- ## 1.1.3
255
+ ## 1.1.3 (2015-10-21)
252
256
 
253
257
  - Fixed system stats
254
258
 
255
- ## 1.1.2
259
+ ## 1.1.2 (2015-10-18)
256
260
 
257
261
  - Added invalid indexes
258
262
  - Fixed RDS stats for aws-sdk 2
259
263
 
260
- ## 1.1.1
264
+ ## 1.1.1 (2015-07-23)
261
265
 
262
266
  - Added `tables` option to `create_user` method
263
267
  - Added ability to sort query stats by average_time and calls
264
268
  - Only show unused indexes with no index scans in UI
265
269
 
266
- ## 1.1.0
270
+ ## 1.1.0 (2015-06-26)
267
271
 
268
272
  - Added historical query stats
269
273
 
270
- ## 1.0.1
274
+ ## 1.0.1 (2015-04-17)
271
275
 
272
276
  - Fixed connection bad errors
273
277
  - Restore previous connection properly for nested with blocks
274
278
  - Added analyze button to explain page
275
279
  - Added explain button to live queries page
276
280
 
277
- ## 1.0.0
281
+ ## 1.0.0 (2015-04-11)
278
282
 
279
283
  - More platforms!
280
284
  - Support for multiple databases!
@@ -284,61 +288,61 @@ PgHero.with(:database2) { PgHero.running_queries }
284
288
  - Added `kill_long_running_queries` method
285
289
  - Added env vars for settings
286
290
 
287
- ## 0.1.10
291
+ ## 0.1.10 (2015-03-20)
288
292
 
289
293
  - Added connections page
290
294
  - Added message for insufficient privilege
291
295
  - Added `ip` to `connection_sources`
292
296
 
293
- ## 0.1.9
297
+ ## 0.1.9 (2015-01-25)
294
298
 
295
299
  - Added tune page
296
300
  - Removed minimum size for unused indexes
297
301
 
298
- ## 0.1.8
302
+ ## 0.1.8 (2015-01-19)
299
303
 
300
304
  - Added `total_percent` to `query_stats`
301
305
  - Added `total_connections`
302
306
  - Added `connection_stats` for Amazon RDS
303
307
 
304
- ## 0.1.7
308
+ ## 0.1.7 (2014-11-12)
305
309
 
306
310
  - Added support for pg_stat_statments on Amazon RDS
307
311
  - Added `long_running_query_sec`, `slow_query_ms` and `slow_query_calls` options
308
312
 
309
- ## 0.1.6
313
+ ## 0.1.6 (2014-10-09)
310
314
 
311
315
  - Added methods to create and drop users
312
316
  - Added locks
313
317
 
314
- ## 0.1.5
318
+ ## 0.1.5 (2014-09-03)
315
319
 
316
320
  - Added system stats for Amazon RDS
317
321
  - Added code to remove unused indexes
318
322
  - Require unused indexes to be at least 1 MB
319
323
  - Use `pg_terminate_backend` to ensure queries are killed
320
324
 
321
- ## 0.1.4
325
+ ## 0.1.4 (2014-08-31)
322
326
 
323
327
  - Reduced long running queries threshold to 1 minute
324
328
  - Fixed duration
325
329
  - Fixed wrapping
326
330
  - Friendlier dependencies for JRuby
327
331
 
328
- ## 0.1.3
332
+ ## 0.1.3 (2014-08-04)
329
333
 
330
334
  - Reverted `query_stats_available?` fix
331
335
 
332
- ## 0.1.2
336
+ ## 0.1.2 (2014-08-03)
333
337
 
334
338
  - Fixed `query_stats_available?` method
335
339
 
336
- ## 0.1.1
340
+ ## 0.1.1 (2014-08-03)
337
341
 
338
342
  - Added explain
339
343
  - Added query stats
340
344
  - Fixed CSS issues
341
345
 
342
- ## 0.1.0
346
+ ## 0.1.0 (2014-07-23)
343
347
 
344
348
  - First major release
@@ -1,3 +1,3 @@
1
1
  module PgHero
2
- VERSION = "2.4.0"
2
+ VERSION = "2.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pghero
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-11 00:00:00.000000000 Z
11
+ date: 2019-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0'
202
202
  requirements: []
203
- rubygems_version: 3.0.3
203
+ rubygems_version: 3.0.6
204
204
  signing_key:
205
205
  specification_version: 4
206
206
  summary: A performance dashboard for Postgres