Releases: rmyndharis/OpenWA
Releases · rmyndharis/OpenWA
v0.1.6
v0.1.5
Fixed
- First-boot crash on SQLite: Data DB now defaults to
synchronize=truefor SQLite so the embedded
database "just works" on first boot. ResolvesSQLITE_ERROR: no such table: sessionsthat appeared on
fresh installs withoutDATABASE_SYNCHRONIZE=true. - PostgreSQL boot crash on
mainconnection:AuditLog.metadatanow usessimple-jsoninstead of
the dynamicjsonColumnType(). Themainconnection is always SQLite, so it must not switch to
jsonbwhenDATABASE_TYPE=postgres. FixesDataTypeNotSupportedError: Data type "jsonb" in "AuditLog.metadata" is not supported by "sqlite" database. - Operator env vars ignored:
data/.env.generatedno longer overridesprocess.envor project
.env. Loading order is nowprocess 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 ofsynchronize. - Production migration scripts: Added
migration:run:prod,migration:revert:prod, and
migration:show:prodthat operate fromdist/so they can be executed inside the production
container (which stripsts-node).
v0.1.4
Changed
- ESLint 10 upgrade: Upgraded
eslintand@eslint/jsfrom v9 to v10 in both root and dashboard - Dependency updates: Merged Dependabot PRs for 6 root packages, 2 dashboard packages, and
@types/node24→25 - Dashboard peer deps: Added
.npmrcwithlegacy-peer-deps=trueforeslint-plugin-react-hooksESLint 10 compatibility
Fixed
- Dashboard lint: Fixed
no-useless-assignmenterror inInfrastructure.tsxcaught by ESLint 10's new rule - Auto-formatting: Applied Prettier fix to
whatsapp-web-js.types.ts
v0.1.3
Fixed
- Node 22 LTS upgrade: Upgraded CI, release workflow, and Dockerfile from Node 20 to Node 22 (current LTS)
- Lockfile compatibility: Regenerated
package-lock.jsonwith npm 10 to match CI runtime - TypeScript type conflicts: Fixed
whatsapp-web.jstype mismatches after dependency update usingOmit<>pattern - ESLint peer dependency: Pinned
@eslint/jsandeslintto v9 to resolve Dependabot-introduced peer conflict - CI npm audit: Changed audit level from
hightocritical— high-severity findings are all in unfixable transitive dependencies
Changed
- Dependency updates: Merged Dependabot PRs for 12 npm packages, 6 dashboard packages, and 5 GitHub Actions
- GitHub Actions: Upgraded
actions/checkoutv4→v6,actions/setup-nodev4→v6,actions/upload-artifactv4→v6,docker/build-push-actionv5→v6,codecov/codecov-actionv4→v5
v0.1.1
Added
- Unit Tests: 94 new tests across auth, session, message, and webhook modules (110 total, ~17% coverage)
- Release Workflow:
release.ymlGitHub Actions — tag-triggered with test gate, GitHub Release, and Docker semver tagging - SDK Scaffolds: JavaScript/TypeScript and Python client libraries in
sdk/directory - New hook events:
webhook:queued(after queue add) andwebhook:delivered(after actual delivery)
Fixed
- [P1] Idempotency Key: Made
generateIdempotencyKeydeterministic by removingDate.now(). Keys are now content-based for proper deduplication - [P2] Webhook Processor: Added
lastTriggeredAtupdate andwebhook:delivered/webhook:errorhooks after queue delivery - [P2] Hook Semantics: Added
webhook:queuedevent for queue mode;webhook:afternow only fires in direct mode - [P2] QueueModule DI: Added
TypeOrmModule.forFeature([Webhook])andHooksModuleimports for proper dependency injection - [P3] Message Processor: Changed placeholder to throw error so BullMQ correctly marks job as failed