Commit Graph

491 Commits

Author SHA1 Message Date
kai
48a08fed43 Cleanup temp plugin file for plugin manager. Closes #3292 2023-05-19 16:06:48 +01:00
kai
40343641e2 v0.20.2 2023-05-19 15:47:20 +01:00
kaidaguerre
dd1c36b514 Re-add support for legacy command schema. Closes #3457 2023-05-19 15:45:38 +01:00
cbruno10
c327ef08fa Fix typo in log message when failing to resolve dependencies (#3453) 2023-05-19 12:49:15 +01:00
kai
25429fcb77 v0.20.1. Update FDW version to v1.7.1 to work around bad Linux Arm build of FDW v1.70. Closes #3455 2023-05-19 12:18:58 +01:00
Puskar Basu
60c9cfb7cc v0.20.1-alpha.0 2023-05-19 14:41:54 +05:30
kai
15dd76f0a7 Do not raise 'all connections in search path are in error' error if there are no existing connections in search path 2023-05-18 18:02:27 +01:00
kai
079f7635f6 v0.20.0 2023-05-18 17:39:38 +01:00
kai
db7f5cf904 Update 'waiting for connections' message. #3394 2023-05-18 17:26:23 +01:00
kai
15b07cfb71 do not delete legacy command schema 2023-05-18 16:59:11 +01:00
kai
7753d5385d If custom is search path is set, only fail a query if ALL connections are in error 2023-05-18 16:54:56 +01:00
kai
5be1f7fdb7 v0.20.0-rc.4 2023-05-18 15:41:19 +01:00
kai
e117adfc0e update FDW to v1.7.0 2023-05-18 15:40:35 +01:00
Binaek Sarkar
42847ec327 Prevent the writing of zero length 'plugins/versions.json'. Closes #3448 2023-05-18 15:12:45 +01:00
Binaek Sarkar
e5e8105657 Fixes issue where caching is still enabled for plugins compiled with SDKv4. Closes #3427 2023-05-18 15:02:49 +01:00
Binaek Sarkar
0fa28fcaf3 Introduces SQL functions to easily manipulate caching functionality. Closes #3442 2023-05-18 14:59:44 +01:00
kai
8ec8c76907 Fix .connection meta-command in interactive returning an empty table #3449 2023-05-18 14:56:24 +01:00
kaidaguerre
fab91ebd7d Fix steampipe plugin list not printing the Missing Plugin and Failed Plugin tables. Closes #3439 2023-05-18 14:50:58 +01:00
Binaek Sarkar
68db840c92 Fixes issue where not being able to open the browser results in a fatal error during login. Closes 3437 2023-05-18 14:50:28 +01:00
kai
323b5dc1db v0.20.0-rc.3 2023-05-18 10:41:49 +01:00
kai
3b1e99182a Replace all '...' with ellipsis … in terminal output. Closes #3441 2023-05-18 10:41:27 +01:00
kai
3a05c039ba Update FDW to v1.7.0-rc.7 2023-05-18 10:36:05 +01:00
kai
f7be761c5c Fix NRE when inspecting introspection tables. Closes #3440 2023-05-18 10:34:51 +01:00
kai
3d1423b235 Fix typo in constants.ForeighTableSettings. Update updateScanMetadataMaxId to use new table name. #3416 2023-05-18 08:57:31 +01:00
kai
027abfb4f9 v0.20.0-rc.2 2023-05-17 16:00:23 +01:00
Binaek Sarkar
1a45bfa1c5 Do not show deprecation warnings for require blocks in 'mod.sp'. Closes #3429 2023-05-17 15:36:17 +01:00
kai
f09997da80 Remove formatting from connection validaiton errors. #3432 2023-05-17 15:24:11 +01:00
Binaek Sarkar
6d73804f3a Fixes issue where 'internal' would be added twice in the search_path if one is mentioned in the non default search path. Closes #3397 2023-05-17 15:19:45 +01:00
kaidaguerre
7703975883 Refactor/fix connection and plugin validation during refreshConnections - ensure failed connections are set to 'error' in connection state. Closes #3432 2023-05-17 14:43:27 +01:00
Binaek Sarkar
9653db55da Drops legacy 'internal' and 'steampipe_command' schema. Closes #3403 2023-05-17 13:31:37 +01:00
kaidaguerre
ef0662d974 Set mod name in resource metadata for pseudo-resources. Closes #3405 2023-05-17 13:18:38 +01:00
Binaek Sarkar
6c1393fdb7 Fixes issue where 'plugin-manager' incorrectly executes scheduled tasks (e.g. update check). Closes #3421 2023-05-17 13:16:40 +01:00
Puskar Basu
3d0c976131 Fix error message when connecting to steampipe cloud if login token has expired or become corrupted. Closes #3418 2023-05-17 13:14:57 +01:00
kaidaguerre
f4b5d64d71 Fix interactive timing output not including scan metadata (hydrate calls/ rows). Closes #3420 2023-05-17 11:29:04 +01:00
kai
ff3c736616 v0.20.0-rc.1 2023-05-16 17:18:05 +01:00
kaidaguerre
5fdf6920cf Add support for connecting to a steampipe server which does not have connection state table (i.e. it is a pre v0.20.0 version). Closes #3414 2023-05-16 17:15:13 +01:00
kaidaguerre
4635640f4e Remove 'steampipe_command' schema and move settings and scan_metadata foreign tables to 'steampipe_internal' schema. Closes #3416 2023-05-16 17:12:44 +01:00
kaidaguerre
dcd0ced93a Update refresh connections to write comments for exemplar schemas first, followed by remaining schemas. Closes #3413 2023-05-16 14:13:02 +01:00
Binaek Sarkar
6db9656e5a Ensure plugin-manager command does not execute scheduled tasks - avoid deprecation warnings which make the plugin manager GRPC startup fail. Closes #3410 2023-05-15 15:59:41 +01:00
kai
2209ce9ada v0.20.0-rc.0 2023-05-15 13:08:41 +01:00
kaidaguerre
b0b2c62338 Add support for 'import_schema' property in connection config, controlling whether to create a postgres schema for a steampipe connection. Closes #3407
Rename 'connection_state' table to 'steampipe_connection_state'. #3403
Rename 'internal' table to 'steampipe_internal
Remove 'Connection' property from ConnectionState
2023-05-15 13:07:36 +01:00
Binaek Sarkar
9980427e83 Fixes issue where deprecation warning was not shown for using 'options.connection' in 'connection' block. Closes #3223. 2023-05-11 11:40:08 +01:00
kaidaguerre
40804a3201 Execute RefreshConnections asyncronously and optimise for high connection count. Add connection_state table.
- Execute RefreshConnections asyncronously
- Add connection_state table to indicate the loading state of connections
- Optimise RefreshConnections by cloning connection schemas
- Add locking to ensure only a single instance of RefreshConnections runs
- Start executing queries without waiting for connections to load, add smart error handling to wait for required connection
- Optimise autocomplete for high connection count
- Autocomplete and inspect data available before all conections are refreshed
- Update file watcher to respond to CHMOD, so thaat it pickes up deletion of file contents

 Closes #3394
 Closes #3267
2023-05-10 09:05:08 +01:00
Binaek Sarkar
3cf30ba45d Fixes issue where 'mod install' on an existing mod would sometimes corrupt the 'mod.sp' file.
Closes #3376
Closes #3383
Closes #3280
Closes #2676
2023-05-09 22:34:09 +01:00
Puskar Basu
b2a3a4fbfe Detect older versions of MacOS and warn that Steampipe does not support them. Closes #3256 2023-05-09 13:43:07 +01:00
Puskar Basu
746fcc80a6 Fixes issue where workspace introspection option was boolean instead of control/info/none. Closes #3389 2023-05-09 13:40:36 +01:00
Binaek Sarkar
e1cbdf9c6b Updates the default content written to 'default.spc' and remove deprecated blocks. Closes #3391 2023-05-09 13:39:56 +01:00
Binaek Sarkar
8a084a002e Fixes issue where an empty spinner is shown. Closes #3378 2023-05-05 11:18:08 +01:00
Puskar Basu
414664080c Fixes issue where network failures during plugin install was returning 0 exit code. Closes #3367 2023-05-05 11:02:41 +01:00
kai
176c58676c Merge branch 'v0.19.x'
# Conflicts:
#	pkg/constants/db.go
2023-04-27 15:30:06 +01:00