Download Latest Version v0.3.0.zip (136.4 kB)
Email in envelope

Get an email when there's a new version of SIPS

Home / v0.3.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-10-27 1.8 kB
v0.3.0.tar.gz 2021-10-27 103.0 kB
v0.3.0.zip 2021-10-27 136.4 kB
Totals: 3 Items   241.2 kB 0

This release has breaking changes. It drops support for the BoltDB-based database system in favor of Postgres and SQLite3. There is a manual migration that must be run in order to not lose data.

Replacement of BoltDB with Postgres/SQLite3

BoltDB had a lot of problems (#15, [#17]), along with just generally being more difficult to deal with. After some deliberation, it has been removed and support for Postgres and SQLite3 was added instead. The SQLite3 support is not enabled by default. In order to add that support, the various pieces of the project must be compiled with the sqlite3 build tag enabled. The new -dbdriver flag chooses which database driver to use, and the special list argument to that flag will print a list of available drivers in either of the command-line utilities.

With this change, a manual migration process must be run to move data from an old BoltDB database to one of the new ones. To run the migration to move to a Postgres instance, for example:

  1. Stop any existing SIPS instances.
  2. Run sipsctl migrate frombolt -db "$NEW_DATABASE_URL" -boltdb "$PATH_TO_OLD_DATABASE"

What's Changed

Full Changelog: https://github.com/DeedleFake/sips/compare/v0.2.0...v0.3.0

Source: README.md, updated 2021-10-27