Skip to content

Beta 0.3

Choose a tag to compare

@foxcpp foxcpp released this 29 May 10:12
· 162 commits to master since this release
v0.3.0
79a321d

This release is a small incremental improvement over 0.2, it does not introduce many new features, but rather cleans some things up and fixes some bugs.

Also, I think overall go-imap-sql is stable enough to be considered "beta" instead of "alpha".

New features

  • go-imap-sql can now uses bcrypt instead of sha3-512 for passwords, sha3-512 can be used if selected via configuration (0bc84f7, 5b7f6f4, d4e61b5, f87c5fc)
  • Passwords can be set to null value to disable authentication for an account (6f8a9c0)

Improvements

  • GetOrCreateUser is now atomic (6f8a9c0)
  • Content-Type, Importance, List-Post header fields are added to static cache set now (1d8f57b, 13313b2)
  • Errors happened during authentication are not hidden as "invalid credentials" now (0f172cf)

Bugfixes

  • SQLite3 options are not set in DSN (bd8b3b0)
    This makes them apply for all "connections" and fixes permanent database locking when it is opened by somebody.
  • go-imap is updated to latest version (with emersion/go-imap#254) (11af4fd)
    This fixes header fields improperly matched during search.
  • go-imap-sql was not saving body properly in some cases when ExternalStore is used, this is fixed now (b9864f1)

Interface changes

  • Mailbox.UidNext is unexported (68033b7)
  • Per-component version constants are removed (add0ce9)

imapsql-ctl

  • All drivers are enabled by default now (48d17af)