github HemmeligOrg/Hemmelig.app v5.0.0
OMG SQLite

latest releases: v5.19.27, v5.19.26, v5.19.25...
17 months ago

This is a breaking BREAKING release. Important to read this:
Hemmelig has changed from using Redis to SQLite as a backend. This will make it easier going forward creating a more feature rich application.

However, this means you have to get rid of your Redis instance, and setting the volume for your sqlite database file when you start the docker container. This is added to the docker-compose file. Example of bare minimum docker run:

docker run -p 3000:3000 -d --name=hemmelig \
   -v ./data/hemmelig/:/var/tmp/hemmelig/upload/files \ # For the file uploads
   -v ./database/:/home/node/hemmelig/database/ \       # For the sqlite database
   hemmeligapp/hemmelig:v5.0.0

If you wish to migrate from Redis to SQLite, feel free to do so. We have not created a migrator for this. One drawback here is that you have to reset all passwords for the users as we have removed validator.escape(), which means the passwords will change a bit before being hashed.

Important changes

  • refactor: change from cra to vite by @bjarneo in #169
  • feat: add sqlite as a database using prisma orm by @bjarneo in #170

Full Changelog: v4.4.0...v5.0.0

Don't miss a new Hemmelig.app release

NewReleases is sending notifications on new releases.