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/immudbImmudb 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