Skip to content

Releases: gdanko/enpass

v0.4.4

20 Aug 00:10
Compare
Choose a tag to compare
v0.4.4 Pre-release
Pre-release

Bug Fixes

  • All debug logs should now use the new format

v0.4.3

19 Aug 23:57
Compare
Choose a tag to compare
v0.4.3 Pre-release
Pre-release

Changes

  • Use the prefixed formatter module to format the output logging
  • Put the logger configuration in util
  • The cobra PreRun and Run funcs do not need to return anything

To Do

  • I just found that the root command needs to configure the logger too since some of the debug messages are not consistent :(

v0.4.2

19 Aug 23:15
Compare
Choose a tag to compare
v0.4.2 Pre-release
Pre-release

Features

  • Add a color module to allow me to color the output
  • Color list with cyan and show with red (for default output only right now)

Bug Fixes

  • With the original package, if you specify --log error, the output wouldn't show since it used loggerInfo() to display the output. I removed using the logger for default output and user the color module to provide a similar output.

v0.4.1

18 Aug 18:56
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release

Features

  • Use the gorm engine for database operations as it's far more flexible than just writing SQL code

Bug Fixes

  • Silence the gorm logger until I can make its log levels align with the application's

To Do

  • Align the gorm logger's level with the application's
  • See if I need to explicitly close the database since gorm v2 removed .Close()

v0.3.0

16 Aug 19:57
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Bug Fixes

  • Logging was not working properly.
  • The --sensitive flag did not work because I was using LIKE and LIKE is case-insensitive.

Major Code Changes

  • Use SQL GLOB for case-sensitive searches because LIKE is case-insensitive.
  • Revamp the logging as I found it to be over-complicated.
  • Created a function to handle the creating the SQL statements for stuff like --title

To Do

  • Look into using gorm for database functionality.

v0.2.3

15 Aug 21:29
Compare
Choose a tag to compare
v0.2.3 Pre-release
Pre-release

Features

  • Added the ability to search by the record's subtitle (login). This functions identically to --category and --title

v0.2.2

15 Aug 21:12
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release

Bug Fixes

  • Fixed a bug where you'd see no results if you used either --category or --title only once. The queries were overcomplicated.

v0.2.1

15 Aug 20:31
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

Features

  • You can now use wildcards for --title and --category, regardless of how many times you specify it on the command line.

To Do

  • Add search flag for subtitle (login)

v0.2.0

15 Aug 19:52
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Features

  • Added an --orderby flag to sort results on any combination of title, category, login
  • Search based on title and/or category
  • If you specify a single title or category, you can specify wildcards, e.g., GitHub% or %Amaz%
  • Removed the concept of filtering because I think this is a more flexible method
  • Added a --sensitive flag to force case-sensitive search when using --title or --category

To Do

  • Right now, wildcards only work if the user uses --title or --category once. I will add code to support it so you end up with something like title LIKE %foo% OR title LIKE %bar OR title = baz
  • Remove wildcards for category because that's just stupid

v0.1.6

15 Aug 01:22
Compare
Choose a tag to compare
v0.1.6 Pre-release
Pre-release

Add a --full flag to version which shows OS and arch