-
Notifications
You must be signed in to change notification settings - Fork 3
Changelog
Make shutdown work with older and newer mariadb images.
Make sorting of snapshots and dbs alphabetical on windows.
(This is really v1.2.0 but I forgot to unpublish a test-version from npm in time so that version cannot be re-published).
- Postgres can be started without setting a password.
- Add mv (rename) with tab-completion for snapshots and database.
- Improved levenshtein suggestion for misspelled engines, snapshots and dbs.
- Any migrations runs automatically on upgrade.
- Tested and works well on windows.
- Better support on mac.
- Removed nconf as a dependency.
- Engines deicide if shutdown is called multiple times or not.
- sider db list -s works again.
- Completer tab completion on sider db start -p.
- Completion works with no snapshots or dbs.
- sider engine remconf with no settings.
- Mariadb now supports version setting.
- Postgres now supports version setting.
- Be explicit about version=latest as default with sider db list -s.
- A migration for removing accidentally added synthetic properties to the snapshot/spec.json files.
- Proper ctrl+c shutdown on windows.
Sider assumed there would only be valid folders inside the snapshots base-dir. But running sider snapshot add empty in some terminal and sider snapshot list in another at the same time will cause the empty snapshot to be invalid (started but not stopped = no specs.json file). Changed so that a valid snapshot is when there is a specs.conf file inside it. sider snapshot add empty writes out the specs.json file as the last step, so sider snapshot list won't see it until it shuts down cleanly.
This makes sider less brittle.
Add mongodb as an engine.
Major rewrite of the internals, commands and storage format. Needs a migration when updating (supplied in the upgrade process).
sider db start is split into two commands: sider db clone and sider db start.
sider snapshot add -e is split out into it's own command: sider snapshot empty.
Settings can now be made on the snapshots as well (previously only on engine and database).
sider db list and sider snapshot list now has a dynamic table that ellipsizes if the terminal width is too small.
Completion is pure bash - stopping the annoying delay of using the npm tabtab package.
Unified the format for storage on disk. All data are kept in spec.json files and the actual datadir is always in a subfolder named /files.
Removed the possibility to set what subfolders dbs, snapshots and engines stored their data. Now it's only possible to specify the root-folder which sider owns completely.
commanderjs has been ditched for a home-grown solution. cli-table has been ditched for a dynamic home-grown solution. tabtab has been replaced by a pure bash solution.
Adding tab-tab completion
Fixing npm audit warnings
Adding mariadb support
Add start with empty database
Adding sider db eject
Bugfix: .siderrc was not actually read
Port is no longer included in the db path, but stored as a config parameter.
Make listing of settings optional via sider db list -s.
Add sider db and engine setconf, getconf and remconf for setting settings.
Add option to persist settings when starting a db.
Adding postgres as a new database type.
In the unlikely event that you've installed V0.0.1 (not on npm) you need to manually run a migration before the rest of the migrations are run: curl -sS https://raw.githubusercontent.com/jonaslu/sider/e32610679ac29d3d3dc7a6ebe3dea10e6457afb9/migrations/v0.0.1-v0.0.2/index.js | node
First version