Skip to content

v2.0.0-pre.2 — Public pre-release of Pryv.io v2

Pre-release
Pre-release

Choose a tag to compare

@perki perki released this 10 Apr 10:16
· 809 commits to master since this release

What is this?

This is the first public pre-release of Open Pryv.io v2 — a ground-up rewrite of the Pryv.io core server with pluggable storage, single-image Docker deployment, and built-in multi-core support.

Pre-release: This version is under active development. For the last stable v1 release, see the release/1.9.3 branch.

Major changes from v1

  • Pluggable storage engines — MongoDB, PostgreSQL, SQLite, InfluxDB, filesystem, rqlite. Engines are plugins under storages/engines/ with manifest-driven configuration.
  • Unified master process — single bin/master.js manages N API workers + M HFS workers + optional previews worker. Single Docker image (pryvio/core) replaces multi-container orchestration.
  • Built-in user registration — no external service-register needed. Registration fully self-contained via PlatformDB (rqlite).
  • Built-in MFA — SMS-based two-factor authentication as mfa.* API methods (activate, confirm, challenge, verify, deactivate, recover).
  • rqlite for PlatformDB — distributed platform storage for single- and multi-core deployments with Raft consensus.
  • Multi-core deployments — HTTP 421 wrong-core routing, DNS-based or DNSless topology, platform-config-snapshot hash comparison for drift detection.
  • Backup, restore & integrity — engine-agnostic backup to JSONL+gzip, per-user integrity verification with SHA-256 hashes.

Quick start

docker run -d --name pryv-core \
  -p 3000:3000 \
  -e http__ip=0.0.0.0 \
  -e dnsLess__isActive=true \
  -e "dnsLess__publicUrl=http://localhost:3000/" \
  -e auth__adminAccessKey=my-admin-key \
  pryvio/core:2.0.0-pre

Detailed changelogs

Migration from v1

To migrate data from a v1 (open-pryv.io 1.x) deployment, use dev-migrate-v1-v2.

Requirements

  • Node.js 22.x
  • MongoDB 4.2+ or PostgreSQL 14+
  • just (task runner)