Skip to content

Releases: jorgerojas26/lazysql

v0.3.4

22 Jan 01:18
65b46fa
Compare
Choose a tag to compare

Changelog

  • 977be51 Add a function to compute the default config filename
  • bbbdfab Always set focus to the results table after executing a query
  • d0acf68 Check the XDG_CONFIG_HOME env variable before calling os.UserConfigDir
  • 35fbda1 Do not return an error if the config file doesn't exist
  • 7863f75 Introduce a way to support user defined configurations
  • 20f3e82 Merge pull request #142 from svanharmelen/feat/config
  • 4cdd909 Merge pull request #149 from svanharmelen/fix/pagination
  • 6feb35c Merge pull request #151 from svanharmelen/fix/pagination
  • 65b46fa Merge pull request #154 from jorgerojas26/fix/delete-row
  • 44b15f3 Update the pagination logic for queries done from the SQL editor
  • 5e86d90 Use the "real" offset to calculate the currently shown records
  • a1e9873 Use the config dir returned by os.UserConfigDir()
  • b19278b chore: update comment
  • eb408f2 fix: delete appended rows
  • 1c592d8 fix: keep changed cell color state
  • 7c840ca fix: undo mark to delete row
  • f63c5f8 refactor: check for inserted rows logic

v0.3.3

03 Jan 00:07
Compare
Choose a tag to compare

Changelog

  • 2ff4289 Add ability to run commands before trying to connect
  • a186b99 Add connecting to database by connectionString given as an argument to cli
  • 0277c94 Add error to function signature and handle exiting in main func
  • 1a63a95 Add some documentation about the command options to the readme
  • b3b9c8b Added refresh command mapping
  • a20e3ca Cleanup the postgres code a little (don't use named returns)
  • 4863c95 Fix a bug that didn't take any where clauses into account
  • 20eb422 Fix import order
  • 28bef63 Fix linter issues by returning errors using fmt.Errorf
  • 8ae1464 Match README style better
  • c8d061a Merge pull request #119 from gytic/usage-info
  • d4cd01f Merge pull request #120 from Kuchteq/main
  • 78be965 Merge pull request #123 from gytic/refresh-tree
  • ab19ca5 Merge pull request #129 from svanharmelen/feat/commands
  • 76bac19 Merge pull request #141 from svanharmelen/chore/file_names
  • 34430fb Merge pull request #144 from SysIntruder/feat/mssql
  • b087ec7 Merge pull request #145 from svanharmelen/fix/pagination-info
  • 47b6745 Move initializing connection from command line arguments to a ArgConnection.go
  • f69ecc7 Rename files to the more commenly used (in Go projects) snake_case
  • ac8969d Replace Fprintln to log.Fatal on errors
  • f00e68f Switch bash to console in usage README
  • 23c863f Update Readme usage section
  • ce4bbdd Use the Database name in connection struct
  • d963b8b add: connect to DB info
  • 2e25071 add: keyboard shortcut hint
  • c0e5767 add: refresh logic for tree
  • bc697eb add: tutorial for editing a column
  • b08f1aa added refresh keybinding inside tree view
  • 31d429c added: usage information sections
  • 682d8e7 adjust: G201: SQL string formatting (gosec), increment use ++, remove unused const
  • 689ccb7 adjust: MsSQL -> MSSQL
  • cf12f9b adjust: move ParseURL from models into config, and rename it into ParseConfigURL
  • 4d9fd5b adjust: remove comment
  • b83eba8 adjust: remove errorlist pkg since the errors is not returned, but logged
  • ab57a00 change refresh table shortcut (to R)
  • 27c8a72 change to switch when checking arguments length
  • 273ef9a chore: fix linter issue
  • ec09e7f convert version to flag, print custom usage and error on multiple connection_urls
  • e080d02 feat: add 'N' and 'P' keybinding to tree node search navigation
  • dde61eb feat: add copy to clipboard to sidebar
  • 609747b feat: added mssql driver
  • f74b442 feat: errorlist helper
  • 03a2780 feat: extend config
  • d3c13ee fix output to stderr on error
  • e9c93a7 fix typo
  • b62215a fix: Mssql ExecutePendingChanges syntax and parameter count
  • 4e8067b fix: help display on 2 lines
  • 7e14647 fix: refresh not working when table was selected
  • d9b5b5d fix: remove schema from table name
  • 0a89296 fix: small readability upgrades
  • 18cba71 fix: typos and missing words
  • eef6d80 resolved comments

v0.3.2

30 Nov 17:08
Compare
Choose a tag to compare

Changelog

  • ae12f20 Add a few missing comparators to the list
  • 5fb2ffe Do not try to recover from panics, but use the return values
  • 66333e2 Fix a copy/base bug in the query editor
  • 2f7e9f4 Fix a linter error about shadowing the error type
  • d785827 Fix query to get primary column names for postgres
  • 4bb8bc3 Improved the sorting solution by updating to Go 1.23
  • be5bf20 Make the active button stand out in more terminal themes
  • 4418296 Make the items in the tree alphabetically ordered
  • 4ef1330 Merge pull request #126 from svanharmelen/fix/primary-keys
  • ddf5664 Merge pull request #127 from svanharmelen/feat/confirmation
  • f39d68c Merge pull request #128 from svanharmelen/feat/ilike
  • 91ff9f3 Merge pull request #130 from svanharmelen/feat/order-tree
  • 643ebed Merge pull request #131 from svanharmelen/fix/copy-paste
  • 23ef40a Merge pull request #132 from svanharmelen/fix/linter-error
  • 105fddb Merge pull request #133 from svanharmelen/feat/errors
  • 906ecd5 fix: modal border background

v0.3.1

30 Oct 20:03
bb04dd3
Compare
Choose a tag to compare

Changelog

  • 6b9a0bf Feat: Refresh the current table.
  • 13cf5ea Merge pull request #115 from pro0o/feat/refresh-current-table
  • bb04dd3 Merge pull request #116 from jorgerojas26/fix-primary-key-extraction
  • 095b83a fix: extract primary key information
  • 2fee6ee fix: get column index by name not working on sorted tables

v0.3.0

27 Oct 15:14
cc376a9
Compare
Choose a tag to compare

Changelog

  • 1390fe7 Merge branch 'main' into results-sidebar
  • 213b63b Merge branch 'main' into set-value-modal
  • 517685d Merge branch 'main' into set-value-modal
  • ff19a8e Merge branch 'main' into set-value-modal
  • aebceda Merge pull request #100 from prochac/fix-cursor-errs
  • c4ac8f1 Merge pull request #103 from jorgerojas26/results-sidebar
  • cc376a9 Merge pull request #110 from jorgerojas26/set-value-modal
  • 44619e6 Merge pull request #114 from felipebueno/esc-to-close-help-modal
  • 5b63d08 Pressing Escape close the Help Modal
  • 8c50b79 add tests for queriesInTransaction
  • 6e055df chore: changes event name
  • 9e8fd49 chore: converts magic strings into constants
  • 2305a74 chore: creates a custom theme
  • 17f3d84 chore: fix lint
  • 765cafc chore: fix lint errors
  • ddd1022 chore: linter
  • 5bfeb76 chore: make constants have a prefix
  • 9792cca chore: make constants private
  • 88a97da chore: removes some magic strings
  • 0e19547 chore: simplify if statements
  • acefcbb feat: add column type to the input title
  • 857943d feat: add menu modal to select a value
  • 810d11c feat: add scrolling behavior
  • cabef15 feat: add set value menu to the sidebar
  • f943e48 feat: add sidebar
  • 2085cd9 feat: edit sidebar input fields
  • 4069b0b feat: edits are commitable
  • 3c68acb feat: makes sidebar taller
  • a5e6a4f feat: makes sidebar toggleable when focused
  • f13c824 feat: menu modal fixed width
  • eb4f81f feat: null, empty and default italics style
  • e46fa6b feat: support NULL, DEFAULT and EMPTY values
  • 2088995 fix: cell background color on set value
  • 51f45c8 fix: editor results table not being shown
  • 4fb4a36 fix: error handing for row cursors
  • 9c693f5 fix: focusing when is hide
  • 856be0a fix: makes sidebar a tview frame to fix bg color
  • 9bbda7b fix: postgres get records
  • fdd6e9b fix: return back the pagination
  • 176b826 fix: return from connection form to selection
  • 7c8e501 make sidebar a bit smaller
  • 8471afa return transaction rollback error

v0.2.9

04 Sep 17:13
7cd8dd2
Compare
Choose a tag to compare

Changelog

  • 7cd8dd2 Merge pull request #99 from jorgerojas26/tree-colors
  • 9c69379 feat: changes tree title color
  • 7d23ae6 feat: improves selected node color calculation logic
  • 74bec9c fix: postgres schema names color in tree
  • b75994e improves code readability

v0.2.8

04 Sep 16:18
ea2ea76
Compare
Choose a tag to compare

Changelog

  • ea2ea76 Merge pull request #96 from jorgerojas26/tree-input-filter
  • 2635c56 feat: add found count and improved colors
  • 3e7720f feat: add input filter to tree

v0.2.7

31 Aug 01:16
d9469eb
Compare
Choose a tag to compare

Changelog

  • 5104f92 Merge branch 'clipboard-cgo-error' into refactor-dml
  • be92c60 Merge branch 'main' into refactor-dml
  • a48cf25 Merge branch 'main' into refactor-dml
  • d9469eb Merge pull request #73 from jorgerojas26/refactor-dml
  • cfd8452 add quit button to connection selection
  • f5bda70 feat: add SortAsc and SortDesc to keybind system
  • 52f7b79 feat: add all keymaps to keymap system and fix lint warnings
  • 6690fe8 fix: linter issues
  • 04acbd2 i don't know what i am doing

v0.2.6

30 Aug 05:26
Compare
Choose a tag to compare

Changelog

  • e4be84b Add Blue HelpStatusBar
  • 6a35093 Add HelpModal
  • 56cdfc2 Add HelpStatus Updata based on context
  • 3394631 Add Keymap Descriptions
  • 0749981 Fix colorBorder and colorSelected errors
  • 2ae3d98 Fix newtext compile errors
  • 058d7ca Merge pull request #94 from jorgerojas26/clipboard-cgo-error
  • 686462e Merge pull request #95 from jorgerojas26/status-bar
  • 70aaefd Update components/HelpModal.go
  • b878c8c Update components/HelpModal.go
  • c7b2982 Update components/HelpModal.go
  • d2629f7 Update components/HelpStatus.go
  • 508235a Update components/HelpStatus.go
  • 09a6ca7 add constant varables for Editor and HelPage string instead of string literals
  • 3e186fe feat: changes help status text color
  • cfe06e3 feat: improved help modal ui, removed help status bar
  • 9dd8e99 fix: cgi linter error

v0.2.5

29 Aug 18:32
79f4961
Compare
Choose a tag to compare

Changelog

  • fdc532c Fixes sqlite cgo error (#86)
  • 5f231e9 Merge branch 'main' into empty-table-append
  • 1ab707d Merge branch 'main' into empty-table-append
  • db6461f Merge branch 'main' into fix-colors
  • 8f3f6e3 Merge pull request #70 from jorgerojas26/fix-colors
  • fa2c6be Merge pull request #72 from jorgerojas26/empty-table-append
  • f87ebfe Merge pull request #75 from ccoVeille/pre-commit
  • f801157 Merge pull request #76 from ccoVeille/golangci-lint
  • 76348ae Merge pull request #92 from jorgerojas26/clipboard-cgo-error
  • 79f4961 Merge pull request #93 from jorgerojas26/clipboard-cgo-error
  • ff1e0e6 add a temporary fix to mysql driver GetTableColumns
  • 280d93e chore: fix import orders
  • 76b10e5 chore: fix typos and style
  • 6f22fa1 chore: no uppercase constant in Go
  • f0e8b75 chore: remove dot import and use type alias
  • 2fb9a4f chore: remove else when previous if ends with a return
  • e6ff2b3 chore: remove suspicious blank imports
  • 76f23b2 chore: remove type or default value when obvious
  • ff0a6f5 chore: use Go canonical way to return errors
  • 0110f98 chore: use go initialism for variable name
  • 9fa9e27 chore: use the canonical name for error variable
  • 32801a9 ci: add golangci-lint configuration file
  • 451cce7 ci: enable golang-lint in GitHub actions
  • eb50649 ci: enable more linters
  • dd94704 fix: add sqlite and postgres blank import drivers with a comment
  • 54df60a fix: allows appending a new row to an empty table
  • 5a45711 fix: catch errors reported by errcheck linter
  • b5c64eb fix: make sure to catch all errors in drivers
  • 2b0ffc4 fix: make sure to use the database name when getting table columns
  • 272bb12 fix: omit nil check (linter)
  • aba1453 fix: replace clipboard package
  • c72c846 fixes backspace behavior (#91)
  • 702f080 fixes theme colors