Skip to content

Releases: lmika/dynamo-browse

v0.4.0

02 Mar 22:50
Compare
Choose a tag to compare

New Features

  • Added a new "related item" picker which can be used to quickly run pre-defined queries from a picker. This is something that can be configured via extensions (please see the documentation).
  • Upgraded to Tamarin 1.4.0. This will break existing extension scripts.

Improvements

  • Started working on field completion for the sa and da commands. This is currently beta and will require additional work in the future (not to mention extending this to other commands).
  • Added the result count and time of last query to the right-hand-side of the status bar
  • Added the -where option for the mark command, to mark rows that match a query expression.
  • Added the marked builtin to query expressions, which will return as a list all the items that are marked.
  • Added the key binding M to toggle marked/unmarked rows.
  • Added the key binding C to copy table to clipboard.
  • Added the clone command back.
  • Added Ctrl+V as a keyboard shortcut in the editor prompt mode, which will paste the contents of the pasteboard with all whitespace stripped. Useful for when you need to paste something from a file or command-line output while editing a query.

v0.3.0

31 Jul 11:09
ed53173
Compare
Choose a tag to compare

Improvements

  • Added the -all flag to the export command, which will export all items matching the query to a file.

v0.2.1

03 Jul 02:47
Compare
Choose a tag to compare

Improvements

  • Added the between operator to query expressions.
  • Added the "using" query expression suffix to specify which index to query, or to force a scan. This is required if query planning has found multiple indices that can potentially be used.
  • Rewrote query expressions types to allow for functions to be defined once, and be useful in queries that result in DynamoDB queries, and evaluation.
  • Added some test functions around time and summing numbers. These are not considered stable and will most likely change in the future (they won't be documented).
  • Added the -to type flag to set-attr which will set the attribute to the value of a query expression.

Bug Fixes

  • Fixed a bug in the "del-attr" command which was not honouring marked rows in a similar way to "set-attr": it was only deleting attributes from the first row.
  • Fixed a small race conditions in the unit tests which were occasionally causing "script is already running" errors. This was fixed by adding a small delay for scheduled scripts that are to be executed immediately. Delay is 500 msec so shouldn't affect actual usage too much.
  • Fixed the package name in the Go module.

v0.2.0

08 Mar 10:36
Compare
Choose a tag to compare

New Features

  • Tamarin scripts can be written to define new commands or key bindings.
  • The next page of results from a query or scan can be retrieved by pressing >.

Improvements

  • Query expressions have been extended to support more constructs like in, is and sub-references.
  • The query expression planner now recognises GSIs, and will use them if the expression can be executed as a query over an index.
  • Rebinding a key will no longer clear other keys for the old or new bindings.
  • Rewrote the foreground job dispatcher to reduce the occurrence of the progress indicator showing up when no job was running.
  • Refreshing a result-set will update the columns to that of the result-set if they haven't been rearranged.

Bug Fixes

  • Fixed a bad value error when trying to set default-limit without specifying a value. Calling set now without specifying a value will display the current setting value (with a few exceptions like set ro).
  • Fixed query expressions so that true, false and null are treated as literal values instead of attribute names.
  • Fixed a bug in the query planning logic which was incorrectly determine that an expression of the form sort_key ^= "string", with no partition key, could be executed as a query instead of a scan.

v0.1.1

18 Nov 11:48
Compare
Choose a tag to compare

Improvements

  • Completed most aspects of the expression language. (#33)
  • Added a prompt to confirm quitting when pressing Esc or Ctrl+C
  • Fixed the table prompt to not quit app on Esc when invoked with the table command.

Bug Fixes

  • Enabled CGO for release builds so that copy to clipboard does not panic in the MacOS Homebrew release.

v0.1.0

21 Oct 22:27
Compare
Choose a tag to compare

Features

  • Added the ability to show, hide, rearrange, and delete columns in the result-set table (#18)
  • Added the ability to add new columns derived from the result of a query expression (#18)
  • Added a read-only mode setting and flag (#24)
  • Added a default limit for query results setting and flag (#28)
  • Added a progress indicator for long running operations such as queries (#23)
  • Added the mark command to mark all rows, unmark all rows, and toggle marked rows (#23)

Improvements

  • Query expressions involving the partition and sort key that can be executed as DynamoDB queries on the main table are now executed as a DynamoDB queries, instead of scans (#22)
  • Long running operations can now be cancelled by pressing Ctrl-C (#34)
  • Query expression language now supports conjunction, disjunction, and dot references

Bug Fixes

  • Fixed a bug which was not properly detecting whether MacOS was in light mode
  • Fixed a bug which was breaking the filter within the table-selection mode
  • Fixed seg. faults while in view mode with no table selected
  • Fixed the query language syntax in which ^= was treated as two tokens (#32)
  • Fixed the back-stack service to prevent duplicate views from being pushed onto the back-stack

v0.0.3

02 Sep 23:59
ce04590
Compare
Choose a tag to compare

Features:

  • New back-stack for going to the previously viewed query, filter, or table by pressing Backspace.
  • Last viewed query, filter, or table is restored when passing in the name of a workspace.
  • Pressing c will now copy the currently viewed item to the pasteboard.
  • Pressing w will now adjust the size of the currently viewed item viewport. This will be cycled between 5 different layouts.
  • New rebind command, which can be used to rebind keys.
  • New RC file, which can be used to execute commands on startup.

Fixes

  • Fixed the display of misleading errors that appear after attempting to set attributes.

v0.0.2

29 Jul 23:19
Compare
Choose a tag to compare
  • Fixed some styling which was making it it impossible to read the table header while running dynamo-browse in a terminal with a black background.
  • Added the "quit" command and made"q" an alias.
  • Added an item status column in the items table so that the status of items are not distinguished by colouring alone.

v0.0.1

20 Jul 10:38
Compare
Choose a tag to compare

Initial release of dynamo-browse.