Commit Graph

421 Commits

Author SHA1 Message Date
kaidaguerre
137e438bdc Resource references in depdency mods must be fully qualified. Locals in dependency mods cannot be referenced. Support transitive dependencies referencing variables from different versions of same mod. Closes #3335. Closes #3336. Closes #3337 2023-04-14 12:37:32 +01:00
Puskar Basu
97bff47bc5 Show plugin name with stream in the progress bar during plugin update. Closes #3241 2023-04-13 14:44:42 +01:00
kai
62488d3849 Add ctx to ModInstaller functions. #3291 2023-04-13 14:41:05 +01:00
kai
48e6d532c6 Merge branch 'v0.19.x'
# Conflicts:
#	pkg/modinstaller/mod_installer.go
2023-04-13 14:30:01 +01:00
Binaek Sarkar
473a3e08b9 Fixes issue where mod install/update continues installation even with unsatisfied requirements. Closes #3291 2023-04-06 18:42:39 +01:00
Puskar Basu
21c17521ba Fix build issues (#3310) 2023-04-06 14:28:20 +05:30
Aaronstotle
17a00353ae Add check to the mod init function so users are aware if it's run in the home directory or if there are a large number of non-mod files in the path. Closes #2562 2023-04-06 09:10:41 +01:00
kai
abb1574843 v0.19.4-alpha.0 2023-04-04 16:23:40 +01:00
kai
1f77b1b8bb Merge branch 'v0.19.x' 2023-04-04 15:55:06 +01:00
kaidaguerre
e1703b9c75 Add dependency_path to steampipe_mod so it is possible to tell if a mod is a dependency mod. Closes #3304 2023-04-04 15:51:48 +01:00
kai
be5219d446 Merge branch 'v0.19.x'
# Conflicts:
#	pkg/steampipeconfig/modconfig/mod_resources.go
2023-04-04 15:48:05 +01:00
Puskar Basu
dce08bb01c Fix invalid output format error when running dashboard if output is set in terminal options. Closes #3293 2023-04-04 15:45:54 +01:00
kaidaguerre
dd08d9d8a4 Support mods requiring different versions of the same mod. Resources from transitive dependencies should not added the mod resource map #3302 (#3303) 2023-04-04 15:08:27 +01:00
kai
37b1f05f38 Merge branch 'v0.19.x' 2023-04-04 13:41:54 +01:00
Binaek Sarkar
3837311ca6 Fixes issue where installing transitive mod dependencies leaves the lock file in a bad state. Closes #3285 2023-04-03 14:28:08 +01:00
kai
7a79e93c9d v0.20.0-alpha.3 2023-03-31 15:16:26 +01:00
Binaek Sarkar
299697ae2f Updates in cache configuration to allow disabling of all caching on server. Closes #3258
STEAMPIPE_CACHE environment variable resolves to service cache enabled as well as client cache enabled

service cache enabled is used by the plugin manager to enable/disable caching on the plugins during startup (runtime toggle is not allowed) - with a max_ttl

client cache enabled is used to enable/disable the cache on the database connection (fdw)
A TTL can also be set on the client side capped to max_ttl on the server
2023-03-31 15:12:25 +01:00
kai
b94a47cc6f Fix rendering issues when running .inspect. Closes #3268 2023-03-24 17:02:19 +00:00
Binaek Sarkar
a5c56bebe2 Fixes issue where spinner was not showing up in interactive prompt while a query was executing. Closes #3259 2023-03-24 14:43:23 +00:00
kai
6d7bb2ae81 Merge branch 'v0.19.x'
# Conflicts:
#	CHANGELOG.md
#	pkg/version/version.go
2023-03-24 14:30:29 +00:00
Puskar Basu
bbdd306574 v0.19.3 2023-03-24 19:00:34 +05:30
Puskar Basu
a8841f5790 Fix issue where steampipe variable list json output was returning wrong values for value_default and value fields. Closes #3265 2023-03-24 18:49:25 +05:30
Binaek Sarkar
be36276fd8 Add deprecation warnings for connection.options "connection" and global terminal options. CLoses #3246 2023-03-23 14:43:06 +00:00
kai
994c2eed36 v0.20.0-alpha.2 2023-03-21 16:54:17 +00:00
kai
39cd67ed89 Fix crash on shutdown if init not complete. Fixes #3252 2023-03-21 16:53:17 +00:00
Binaek Sarkar
e4dbced826 Updates to workspace profile - add additional properties and command specific options blocks. Closes #3223 2023-03-21 12:00:47 +00:00
kai
668157df8f v0.20.0-alpha.1 2023-03-20 17:20:07 +00:00
kai
9f66908085 Fix clone_foreign_schema function to set table options. #3236 2023-03-20 16:15:39 +00:00
kai
a81328e15e v0.20.0-alpha.0 2023-03-16 15:28:50 +00:00
kai
ed0b34d49a v0.19.2 2023-03-16 15:28:50 +00:00
kaidaguerre
df9c3a253a Optimize RefreshConnections by cloning schemas where possible. Optimize plugineManager.Get when retrieving multiple connections from same plugin. Closes #3236 2023-03-16 14:43:56 +00:00
kaidaguerre
039ae30800 When creating a query snapshot, respect the snapshot-title arg when assigning a title to the dashboard. Closes #3233 2023-03-16 14:37:22 +00:00
kaidaguerre
b62db94989 When creating a query snapshot, respect the snapshot-title arg when assigning a title to the dashboard. Closes #3233 2023-03-16 14:35:31 +00:00
kai
97fe81875f v0.19.2 2023-03-16 13:17:40 +00:00
kaidaguerre
86246ed927 Only call RefreshConnections on service startup or after a file watching event. Closes #3229 2023-03-15 16:33:23 +00:00
Puskar Basu
6c4782c26f Fixes issue where we didn't get a proper uninstall help message for plugins that failed to load. First draft of Failed Plugin table. Closes #3212 2023-03-15 14:53:52 +00:00
Binaek Sarkar
ee8b6647c4 Rationalising 'status hooks'. Do not show spinner when setting status, instead require an explicit Show. #2432 2023-03-14 11:48:14 +00:00
Puskar Basu
8cb5935a36 Add query column in introspection tables to populate FullName if a QueryProvider references a named query. Closes #3161 2023-03-13 15:32:51 +00:00
Patrick Decat
fff3689ca8 Set minimum connection to 0, as thousands of connections are created if it is unset 2023-03-13 14:25:39 +00:00
kaidaguerre
92396d77c0 Remove connection pool min size. Remove need to create empty mod introspection tables if introspection is not enabled. Remove connection pool min size. Closes #3207
* Remove all references to prepared statements
* remove sessionInitWaitGroup
2023-03-09 16:55:08 +00:00
kai
e493bea2ed v0.19.1 2023-03-09 15:57:20 +00:00
kai
9358051bed Fix Service Stop failing if invoked directly after a schema change notification. Closes #3206 2023-03-09 15:55:43 +00:00
kai
2c676b6074 v0.19.0 2023-03-09 12:39:45 +00:00
kai
e18de94c7a v0.19.0-rc.11 2023-03-08 12:29:58 +00:00
kai
e065a916d5 Update FDW to 1.6.2: Fix nil reference panic when a scan fails to start - do not add an iterator to Hub.runningIterators until scan is started successfully. 2023-03-08 12:29:32 +00:00
kai
5ae56e90a0 v0.19.0-rc.10 2023-03-08 11:15:57 +00:00
kai
948d70388f Update executeSqlInTransaction to rollback transaction in case of error
Do not create a new client in pluginManager.OnConnectionsChanged, instead pass a client in.
Do not pass appname to plugin manager command - instead plugin manager adds prefix the pg app name. #3184. #3185
2023-03-08 10:56:29 +00:00
kai
3000dc839a v0.19.0-rc.9 2023-03-07 17:36:01 +00:00
kaidaguerre
075fafec09 Use single Steampipe Postgres notification channel (#3191) 2023-03-07 17:34:41 +00:00
kaidaguerre
16fd991ee1 Fix tuple concurrently updated error when running multiple instances of steampipe dashboard concurrently. Closes #3188
* Add transaction to executeSqlAsRoot
* Add function executeInTransaction
* Add locking to ensureCommandSchema
* Add locking to ensureTempTablePermissions
* Add locking round schema update queries
2023-03-07 10:29:42 +00:00