Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

chore: release v0.1.5

rmyndharis768278d86535
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8b17671ac..1dd2a091b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [0.1.5] - 2026-04-27
+
+### Fixed
+
+- **First-boot crash on SQLite**: Data DB now defaults to `synchronize=true` for SQLite so the embedded
+ database "just works" on first boot. Resolves `SQLITE_ERROR: no such table: sessions` that appeared on
+ fresh installs without `DATABASE_SYNCHRONIZE=true`.
+- **PostgreSQL boot crash on `main` connection**: `AuditLog.metadata` now uses `simple-json` instead of
+ the dynamic `jsonColumnType()`. The `main` connection is always SQLite, so it must not switch to
+ `jsonb` when `DATABASE_TYPE=postgres`. Fixes `DataTypeNotSupportedError: Data type "jsonb" in
+ "AuditLog.metadata" is not supported by "sqlite" database`.
+- **Operator env vars ignored**: `data/.env.generated` no longer overrides `process.env` or project
+ `.env`. Loading order is now `process env > .env > data/.env.generated`, so values from Docker /
+ shell / systemd take precedence over Dashboard-saved config.
+
+### Changed
+
+- **Auto-run migrations on boot**: PostgreSQL data DB now runs pending migrations automatically; SQLite
+ also runs migrations when the user opts out of `synchronize`.
+- **Production migration scripts**: Added `migration:run:prod`, `migration:revert:prod`, and
+ `migration:show:prod` that operate from `dist/` so they can be executed inside the production
+ container (which strips `ts-node`).
+
## [0.1.4] - 2026-02-26
### Changed
diff --git a/package-lock.json b/package-lock.json
index d025e2f7e..e6686a762 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "openwa",
- "version": "0.1.4",
+ "version": "0.1.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "openwa",
- "version": "0.1.4",
+ "version": "0.1.5",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
@@ -3288,32 +3288,6 @@
}
}
},
- "node_modules/@nestjs-modules/ioredis/node_modules/@nestjs/typeorm": {
- "version": "10.0.2",
- "resolved": "https://registry.npmjs.org/@nestjs/typeorm/-/typeorm-10.0.2.tgz",
- "integrity": "sha512-H738bJyydK4SQkRCTeh1aFBxoO1E9xdL/HaLGThwrqN95os5mEyAtK7BLADOS+vldP4jDZ2VQPLj4epWwRqCeQ==",
- "license": "MIT",
- "optional": true,
- "peer": true,
- "dependencies": {
- "uuid": "9.0.1"
- },
- "peerDependencies": {
- "@nestjs/common": "^8.0.0 || ^9.0.0 || ^10.0.0",
- "@nestjs/core": "^8.0.0 || ^9.0.0 || ^10.0.0",
- "reflect-metadata": "^0.1.13 || ^0.2.0",
- "rxjs": "^7.2.0",
- "typeorm": "^0.3.0"
- }
- },
- "node_modules/@nestjs-modules/ioredis/node_modules/reflect-metadata": {
- "version": "0.1.14",
- "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.14.tgz",
- "integrity": "sha512-ZhYeb6nRaXCfhnndflDK8qI6ZQ/YcWZCISRAWICW9XYqMUwjZM9Z0DveWX/ABN01oxSHwVxKQmxeYZSsm0jh5A==",
- "license": "Apache-2.0",
- "optional": true,
- "peer": true
- },
"node_modules/@nestjs-modules/ioredis/node_modules/uuid": {
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
diff --git a/package.json b/package.json
index ae35b5ff0..848ccaa18 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "openwa",
- "version": "0.1.4",
+ "version": "0.1.5",
"description": "Open Source WhatsApp API Gateway - Free, Self-Hosted HTTP API for WhatsApp",
"author": "Yudhi Armyndharis & OpenWA Contributors",
"private": true,