Skip to content

Releases: rmyndharis/OpenWA

v0.1.6

17 May 11:27

Choose a tag to compare

Release v0.1.6

v0.1.5

27 Apr 06:16

Choose a tag to compare

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).

v0.1.4

26 Feb 04:13

Choose a tag to compare

Changed

  • ESLint 10 upgrade: Upgraded eslint and @eslint/js from v9 to v10 in both root and dashboard
  • Dependency updates: Merged Dependabot PRs for 6 root packages, 2 dashboard packages, and @types/node 24→25
  • Dashboard peer deps: Added .npmrc with legacy-peer-deps=true for eslint-plugin-react-hooks ESLint 10 compatibility

Fixed

  • Dashboard lint: Fixed no-useless-assignment error in Infrastructure.tsx caught by ESLint 10's new rule
  • Auto-formatting: Applied Prettier fix to whatsapp-web-js.types.ts

v0.1.3

18 Feb 01:44

Choose a tag to compare

Fixed

  • Node 22 LTS upgrade: Upgraded CI, release workflow, and Dockerfile from Node 20 to Node 22 (current LTS)
  • Lockfile compatibility: Regenerated package-lock.json with npm 10 to match CI runtime
  • TypeScript type conflicts: Fixed whatsapp-web.js type mismatches after dependency update using Omit<> pattern
  • ESLint peer dependency: Pinned @eslint/js and eslint to v9 to resolve Dependabot-introduced peer conflict
  • CI npm audit: Changed audit level from high to critical — 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/checkout v4→v6, actions/setup-node v4→v6, actions/upload-artifact v4→v6, docker/build-push-action v5→v6, codecov/codecov-action v4→v5

v0.1.1

17 Feb 14:33

Choose a tag to compare

Added

  • Unit Tests: 94 new tests across auth, session, message, and webhook modules (110 total, ~17% coverage)
  • Release Workflow: release.yml GitHub 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) and webhook:delivered (after actual delivery)

Fixed

  • [P1] Idempotency Key: Made generateIdempotencyKey deterministic by removing Date.now(). Keys are now content-based for proper deduplication
  • [P2] Webhook Processor: Added lastTriggeredAt update and webhook:delivered/webhook:error hooks after queue delivery
  • [P2] Hook Semantics: Added webhook:queued event for queue mode; webhook:after now only fires in direct mode
  • [P2] QueueModule DI: Added TypeOrmModule.forFeature([Webhook]) and HooksModule imports for proper dependency injection
  • [P3] Message Processor: Changed placeholder to throw error so BullMQ correctly marks job as failed