immudb v0.7.0 Release Notes

Release Date: 2020-08-10 // over 3 years ago
  • πŸ”„ Changelog

    [v0.7.0] - 2020-08-10

    πŸ› Bug Fixes

    • πŸ‘‰ userlist returns wrong message when logged in as immudb with single database
    • πŸ‘‰ use dedicated logger for store
    • πŸ›  fix compilation error in corruption checker test
    • race condition in token eviction
    • 0️⃣ chose defaultdb on user create if not in multiple db mode
    • πŸ‘‰ user list showing only the superadmin user even when other user exist
    • πŸ›  fix multiple services config uninstall
    • skip loading databases from disk when in memory is requested
    • 0️⃣ if custom port is <= 0 use default port for both immudb and immugw
    • πŸ›  fix immugw failing to start with nil pointer dereference since gRPC dial options are inherited (bug was introduced in commit a4477e2)
    • βœ‚ remove os.Exit(0) from disconnect method
    • πŸ›  fix DefaultPasswordReader initialization. fixes #404
    • πŸ›  fix travis build sleep time
    • ⚠ use the correct server logger and use a dedicated logger with warning level for the db store
    • cmd/immuadmin/command: fix user list output to support multiple databases (with permissions) for the same user
    • pkg/auth: if new auth token is found in outgoing context it replaced the old one
    • pkg/client: use database set internally database name
    • pkg/client: inherit dial options that came from constructor
    • pkg/fs: don't overwrite copy error on Close malfunction. Sync seals the operation–not Close.
    • pkg/gw: fix client option construction with missing homedirservice
    • pkg/server: added os file separator and db root path
    • pkg/server: avoid recursion on never ending functionality. Further improvements can be done (#427)
    • pkg/server/server: change user pass , old password check
    • pkg/service: restore correct config path
    • pkg/store: fix count method using a proper NewKeyIterator

    πŸ”„ Changes

    • πŸ”¨ refactor immuclient test
    • πŸ›  fix tokenService typos
    • βž• add use database gw handler
    • spread token service usage
    • ✨ enhance immudb server messages during start
    • 🌲 capitalize immudb stop log message for consistency reasons
    • βœ‚ remove permission leftovers and useless messages in client server protocol
    • 🌲 log immudb user messages during start to file if a logfile is specified
    • 🌲 use debug instead of info for some log messages that are not relevant to the user
    • πŸ”– versioning token filename
    • βž• add auditor single run mode
    • πŸ›  fix conflicts while rebasing from master
    • βœ‚ remove user commands from immuclient
    • βž• add unit tests for zip and tar
    • πŸ›  fix test
    • πŸ‘Œ improve command ux and fix changepassword test. Closes #370
    • πŸ”„ change insert user to use safeset instead of set
    • βœ‚ remove useless quitToStdError and os.exit calls
    • βœ‚ remove sleep from tests
    • 0️⃣ use 0.0.0.0 instead of 127.0.0.1 as default address for both immudb and immugw
    • using cobra command std out
    • 🚚 move immuadmin and immuclient service managing to pkg
    • βž• add homedir service
    • βœ… rewrite tests in order to use pkg/server/servertest
    • βž• add codecov windows and freebsd ignore paths
    • πŸ›  fix typo in UninstallManPages function name
    • βž• add coveralls.io stage
    • πŸ”¨ refactor immuadmin service to use immuos abstraction
    • βž• add coverall badge
    • βž• add filepath abstration, use it in immuadmin backup and enhance coverage for backup test
    • βž• add os and filepath abstraction and use it in immuadmin backup command
    • πŸ›  fix codecov ignore paths
    • βœ‚ remove os wrapper from codecov.yml
    • πŸ›  fix go test cover coverall
    • πŸ›  fix immuclient tests
    • βž• add empty clientTest constructor
    • πŸ–¨ user list client return a printable string
    • βž• add unexpectedNotStructuredValue error. fixes #402
    • βž• add failfast option in test command
    • πŸ›  fix contributing.md styling
    • βœ‚ remove tests from windows CI
    • βž• add go-acc to calculate code coverage and fix go version to 1.13
    • πŸ”¨ refactor immuclient test, place duplicated code in one place
    • βž• add an explicit data source on terminal reader
    • βœ… TestHealthCheckFails if grpc is no fully closed
    • βž• add options to tuning corruption checking frequency, iteration and single iteration
    • cmd: immugw and immudb use process launcher for detach mode
    • cmd: token is managed as a string. fixes #453
    • cmd: fix typo in command messages
    • cmd: enhance PrintTable function to support custom table captions and use such captions in immuadmin user and database list commands
    • cmd: restore error handling in main method
    • cmd/helper: add doc comment for the PrintTable function
    • cmd/immuadmin: immuadmin user sub-commands use cobra, tests
    • cmd/immuadmin/command: remove useless auth check in print tree command
    • cmd/immuadmin/command: fix text alignment and case
    • cmd/immuadmin/command: move command line and his command helper method in a single file
    • cmd/immuadmin/command: automatically login the immuadmin user after forced password change is completed
    • cmd/immuadmin/command: remove silent errors in immuadmin
    • cmd/immuadmin/command: move options as dependency of commandline struct
    • cmd/immuadmin/command: user and database list use table printer
    • cmd/immuclient/command: remove useless comment
    • cmd/immuclient/immuc: inject homedir service as dependency
    • cmd/immugw/command: use general viper.BindPFlags binding instead of a verbose bindFlags solution
    • βœ… cmd/immutest/command: inject homedir service as dependency
    • pkg/client/options: add options fields and test
    • pkg/client/timestamp: removed unused ntp timestamp
    • pkg/fs: utilise filepath directory walk for copy
    • pkg/fs: traceable copy errors
    • pkg/fs: create file copy with flags from the start, in write-only mode
    • pkg/server: add corruption checker random indexes generator missing dependency
    • pkg/server: improve tests
    • pkg/server: mtls test certificates system db as immuserver property improve tests
    • pkg/server: make DevMode default false and cleanup call to action message shwon right after immudb start
    • pkg/server: immudb struct implements immudbIf interface, fixes previous tests
    • pkg/server: add corruption checker random indexes generator dependency
    • pkg/store/sysstore: remove useless method

    πŸ”¨ Code Refactoring

    • βž• add immuadmin services interfaces and terminal helper
    • βœ‚ remove custom errors inside useDatabase and createDatabase services. Fixes #367
    • πŸ›  handle in idiomatic way errors in changePermission grpc service. Fixes #368
    • decoupled client options from server gateway constructor
    • πŸ”¨ refactor detach() method in a process launcher service
    • decouple manpage methods in a dedicated service
    • cmd: move database management commands from immuclient to immuadmin. Fixes #440
    • cmd/immuadmin/command: using c.PrintfColorW instead c.PrintfColor to increase cobra.cmd integration for tests
    • cmd/immuadmin/command: move checkLoggedInAndConnect, connect, disconnect from server to login file
    • cmd/immuadmin/command: remove useless argument in Init and improve naming conventions

    πŸ”‹ Features

    • βž• add multiple databases support
    • cmd/helper: add table printer
    • cmd/helper: add PrintfColorW to decouple writer capabilities
    • βœ… cmd/immutest: allow immutest to run on remote server
    • pkg/client: add token service

    Downloads

    🐳 Docker image
    🐳 https://hub.docker.com/r/codenotary/immudb

    Immudb Binaries

    File SHA256
    πŸš€ immudb-v0.7.0-darwin-amd64
    πŸš€ immudb-v0.7.0-linux-amd64
    πŸš€ immudb-v0.7.0-linux-amd64-static
    πŸš€ immudb-v0.7.0-linux-s390x
    πŸš€ immudb-v0.7.0-windows-amd64.exe

    Immugw Binaries

    File SHA256
    πŸš€ immugw-v0.7.0-darwin-amd64
    πŸš€ immugw-v0.7.0-linux-amd64
    πŸš€ immugw-v0.7.0-linux-amd64-static
    πŸš€ immugw-v0.7.0-linux-s390x
    πŸš€ immugw-v0.7.0-windows-amd64.exe

    Immuclient Binaries

    File SHA256
    πŸš€ immuclient-v0.7.0-darwin-amd64
    πŸš€ immuclient-v0.7.0-linux-amd64
    πŸš€ immuclient-v0.7.0-linux-amd64-static
    πŸš€ immuclient-v0.7.0-linux-s390x
    πŸš€ immuclient-v0.7.0-windows-amd64.exe

    Immuadmin Binaries

    File SHA256
    πŸš€ immuadmin-v0.7.0-darwin-amd64
    πŸš€ immuadmin-v0.7.0-linux-amd64
    πŸš€ immuadmin-v0.7.0-linux-amd64-static
    πŸš€ immuadmin-v0.7.0-linux-s390x
    πŸš€ immuadmin-v0.7.0-windows-amd64.exe