Skip to content

Releases

DentalERP 3.2.0

Choose a tag to compare

@abinauv abinauv released this 18 Nov 01:30
4e7d200

DentalERP 3.2.0 adds a full audit trail. Every change to your clinic's records, and every sign-in, is logged with who made it, when, and what changed. Upgrading from 3.1.0 runs one small database migration.

Highlights

  • Who changed what, and when. Reports → Audit Log now records every create, edit and delete on patients, appointments, treatments, prescriptions, invoices, payments, inventory, lab orders, staff, settings and the rest. Each entry shows:
    • who made the change, and whether from the web app, the mobile app or the patient portal;
    • the record by name, e.g. "Meera Pillai (PAT20240010)" or "INV-202611-0042";
    • each changed field, old → new, e.g. "Status: SCHEDULED → CANCELLED".
  • Sign-ins are logged, for staff on the web and in the mobile app, and for patients in the portal.
  • Secrets stay out of the log. Passwords, API keys and tokens show only that they changed. That includes the SMTP password and SMS key saved under Settings → Communications. Aadhaar, PAN and bank account numbers show only their last four digits. A save that fails and is undone isn't logged.
  • A better Audit Log page. It searches record names, values and people, filters by more kinds of record and action, exports the changes to CSV, and is translated into German.
  • The dashboard's pending count is fixed. Under "Today's appointments", "pending" used to count every booking from tomorrow on. It now counts today's patients not yet seen.

Before 3.2.0, the audit log held only AI actions, data imports and automations. Those entries are kept and still show on the page.

Upgrading

./backup.sh
# edit .env: DENTAL_ERP_VERSION="3.2.0"
docker compose pull && docker compose up -d
  • One migration, 20261118120000_audit_log_record_changes. It adds two columns and an index to the audit log table, and takes moments.
  • The audit log now grows with use. Each entry is about 1 KB, indexes included, so a clinic making 300 changes a day adds about 120 MB a year. Nothing prunes it. How long to keep audit records is your clinic's decision.
  • No configuration changes.

The full list of changes is in the changelog.

Docker images: ghcr.io/abinauv/dental-erp:3.2.0 (also 3.2, 3 and latest), for linux/amd64 and linux/arm64.

DentalERP 3.1.0

Choose a tag to compare

@abinauv abinauv released this 17 Nov 01:45
dd52975

DentalERP 3.1.0 closes the gaps left after 3.0.0: every dead button now leads somewhere, scheduled messages are sent, staff can reset and change their passwords, and errors from the server come in the user's language. It also fixes two security issues. Upgrading from 3.0.0 runs one small database migration.

Highlights

  • No more dead links. New pages for insurance claims (create, view, edit, and the whole status workflow), inventory items, lab orders, and editing invoices, treatments and treatment plans; refunds and supplier editing in dialogs.
  • Scheduled email and SMS are sent. The app now sends them itself within a minute of their time, with a "Send later" option on the Communications page. Each clinic sends through its own email and SMS settings.
  • Passwords. "Forgot password?" on the sign-in page, password changes in Settings → Profile, each clinic's password rules enforced, and staff whose password an admin set (or an import created) choose their own at the next sign-in.
  • Errors in your language. Messages from the server follow the user's language, and are fully translated into German.
  • A new README with screenshots, a feature overview and an FAQ.

Security

  • Invitation and email-verification links were readable in the email log by any signed-in staff member; someone could accept a pending invitation meant for a colleague. They're now logged with the token removed, and the upgrade removes the tokens already logged.
  • Those tokens are now generated with the system's cryptographic random generator.
  • The communication-triggers endpoint no longer accepts a built-in default secret.

Upgrading

./backup.sh
# edit .env: DENTAL_ERP_VERSION="3.1.0"
docker compose pull && docker compose up -d

Before you upgrade:

  • Password rules apply to new passwords. A clinic that never saved its rules (Settings → Security) gets the defaults shown there: 8+ characters with upper and lower case, a number and a symbol. Existing passwords keep working.
  • Imported staff who never changed their temporary password must choose one at their next sign-in.
  • Scheduled messages start going out. Any more than 24 hours overdue are cancelled rather than sent late.
  • Automated patient messages (reminders, birthday wishes, payment and lab notices) can now reach patients whenever the communication triggers run.
  • Email: for "Forgot password?" to work, give each clinic email settings or set SMTP_* in .env.
  • Leave REDIS_URL unset in the Docker Compose setup.

The full list of changes is in the changelog.

Docker images: ghcr.io/abinauv/dental-erp:3.1.0 (also 3.1, 3 and latest), for linux/amd64 and linux/arm64.

DentalERP 3.0.0

Choose a tag to compare

@abinauv abinauv released this 11 Nov 12:59
f019aa2

A major version because of the browser requirements below. Docker Compose
installs upgrade as usual: no database migrations and no configuration
changes.

Changed

  • Browser support: Safari 16.4+, Chrome and Edge 111+, Firefox 128+. The
    app's styles move to Tailwind CSS 4 (from 3.4), which relies on CSS features
    (cascade layers, @property, color-mix()) that older browsers lack; in
    them the app renders unstyled or broken. The look is unchanged in supported
    browsers.
  • Tailwind CSS 4: the configuration moves from tailwind.config.js into
    app/globals.css (@theme), PostCSS uses @tailwindcss/postcss instead of
    tailwindcss + autoprefixer, and tailwindcss-animate is replaced by
    tw-animate-css.
  • Prisma 7 (from 5.22). The app reaches MySQL through Prisma's MariaDB driver
    adapter (@prisma/adapter-mariadb) instead of Prisma's native query engine.
    The generated client lives in lib/generated/prisma (created by
    npm install; import from @/lib/generated/prisma/client, or .../enums
    for enums), and the CLI's settings are in prisma.config.ts.
  • npm run db:migrate and npm run db:push regenerate the client themselves
    (Prisma 7's commands no longer do), and npm run db:seed runs
    prisma db seed.
  • The Docker image is about 85 MB larger (664 MB). It still carries the Prisma
    CLI for migrate deploy, and Prisma 7's CLI loads more packages, although
    the app no longer needs Prisma's query engine.

Added

  • Visual snapshot tests for checking UI-wide changes against the UI as it
    was (npm run visual:baseline / npm run visual:compare, see
    TEST_PLAN.md): every page, plus menus, dialogs, toasts and focus states,
    on desktop, phone and in dark mode. Not run in CI.

Fixed

  • Each app instance could open up to three connection pools of
    connection_limit connections (one per server bundle). It now opens one,
    and opens its connections at start-up, so each instance holds exactly
    DB_CONNECTION_LIMIT.
  • The AI suggestions' count of unconfirmed appointments for tomorrow always
    came out as zero.
  • The demo users created by npm run db:seed couldn't sign in.
  • SELF_HOSTING.md showed image versions with a leading v (v1.0.0), a tag
    that doesn't exist; the images are tagged 3.0.0, 3.0, 3 and latest.

Upgrading

  • Before upgrading, check that the browsers your clinic uses are supported
    (see above). On iPhones and iPads, Safari updates with the system, so they
    need iOS/iPadOS 16.4 or later.
  • No database migrations. DATABASE_URL keeps its format and its
    connection_limit, pool_timeout, connect_timeout and socket
    parameters; other Prisma-specific parameters are ignored.
  • The connection to MySQL is encrypted only when DATABASE_URL has
    sslaccept=strict (verify the server certificate), sslaccept=accept_invalid_certs
    or sslcert=<CA file>. If your database requires TLS, add one of them. The
    bundled Docker Compose setup doesn't need it.
  • Prisma no longer reads .env itself. The npm scripts load it; when running
    a script directly, use npx tsx --env-file-if-exists=.env <script>.

Docker images

ghcr.io/abinauv/dental-erp:3.0.0 (also 3.0, 3 and latest), for linux/amd64 and linux/arm64. With Docker Compose: take a backup, set DENTAL_ERP_VERSION="3.0.0" in .env, then docker compose pull && docker compose up -d. The migrate service runs before the app starts; this release has no migrations.

DentalERP 2.1.2

Choose a tag to compare

@abinauv abinauv released this 10 Nov 14:33
1e3449c

Security

  • Dependency overrides for the two open advisories: exceljs's uuid is raised
    to 11.1.1 (exceljs's latest release still pins uuid 8; the affected v3/v5/v6
    functions were never called), and the ESLint tooling's minimatch to 11
    (development only).

Fixed

  • Automated and system messages were never sent: appointment reminders,
    birthday wishes, payment reminders, lab-ready notifications, review
    requests, clinic-signup verification emails, staff invitations (and
    resends), and the settings "send test message" button. Each failed before
    sending because its log row was written without a clinic, which the
    database rejected. They now record the clinic. Messages sent by hand from
    the Communications page were not affected.
  • Template emails only use templates that belong to the sender's clinic.
  • Removing a device on the Devices page did nothing: the page waited for a
    confirmation dialog that it never displayed.
  • The AI settings page shows whether the AI provider's credentials are
    configured, instead of always saying "Check .env".
  • The AI analytics endpoints (patient segments, no-show risk, inventory and
    cash-flow forecasts) answer a signed-in user without the right role with
    403 instead of 401.

Changed

  • Removed about 200 unused imports, variables, functions and validation
    schemas flagged by code scanning. No behaviour change. DAILY_DOMAIN is
    dropped from the docs: the app never read it (Daily.co room URLs come from
    its API).

Upgrading

  • No migrations or configuration changes. Automated reminders, signup
    verification emails and staff invitations start sending once SMTP/SMS is
    configured; check your templates and trigger settings before upgrading if
    you don't want them to start.

Docker image: ghcr.io/abinauv/dental-erp:2.1.2 (linux/amd64 and linux/arm64).

DentalERP 2.1.1 (security)

Choose a tag to compare

@abinauv abinauv released this 10 Nov 03:12
28b9904

Security

  • SMS and email history (GET /api/communications/sms and /email) returned
    every clinic's messages, not just the caller's: any signed-in staff member
    could read other clinics' patient phone numbers, email addresses and message
    text. Both are now scoped to the caller's clinic. Present since the first
    release.
  • The SMS log no longer stores patient-portal login codes: the code is masked
    in the log, while the patient still receives it.
  • Message history filters are validated: limit is capped at 1000 and invalid
    dates are rejected.

Upgrading

  • No migrations or configuration changes. Upgrade promptly: every earlier
    release exposes other clinics' message history to signed-in staff.

Docker image: ghcr.io/abinauv/dental-erp:2.1.1 (linux/amd64 and linux/arm64).

DentalERP 2.1.0

Choose a tag to compare

@abinauv abinauv released this 10 Nov 01:14
0131e48

Fixed

  • Staff created by a data import can now sign in. Each was given a random
    temporary password that was never shown to anyone; the import result now
    lists them once, with a copy button, for the admin to hand out.
  • Staff import maps role names like "Lab Tech" or "accountant" onto the
    app's roles. Unknown roles (e.g. "Nurse", which used to fail the row) import
    as receptionists.

Security

  • Rate limits on the mobile token, patient OTP, public booking and public
    payment endpoints no longer trust the client-supplied first
    X-Forwarded-For entry, which let a client pick a fresh rate-limit key per
    request behind a proxy that appends to that header. They now use the same
    rules as the sign-in limiter, and IPv6 clients are limited per /64.
  • Patient portal OTPs are stored as an HMAC keyed with NEXTAUTH_SECRET
    instead of the code itself, compared in constant time, and generated from a
    cryptographic source instead of Math.random(). Codes requested before the
    upgrade (valid for 5 minutes) stop working; patients request a new one.
  • The patient portal no longer falls back to a built-in signing secret when
    NEXTAUTH_SECRET is unset in production; it refuses to sign instead.

Added

  • TRUSTED_PROXIES (optional): the addresses or CIDR ranges of your reverse
    proxies, for setups where the proxy appends to X-Forwarded-For or there is
    more than one hop. Not needed behind the bundled Caddy config. See
    SELF_HOSTING.md.

Changed

  • Dependency updates: Next.js 16.4.5, Better Auth 1.7.18, @hookform/resolvers
    7, nodemailer 10.3.1, lucide-react 1.70, the AWS and Anthropic SDKs, and
    (development) jsdom 31, @testing-library/jest-dom 7, Vite 8.3.6, Vitest 5.1
    and @types/node 26. GitHub Actions moved to setup-node 7, upload-artifact 7,
    docker/metadata-action 6 and docker/login-action 4.

Upgrading

  • No database migrations and no required configuration changes. Set
    TRUSTED_PROXIES only if your reverse proxy appends to X-Forwarded-For
    (see SELF_HOSTING.md).

Docker image: ghcr.io/abinauv/dental-erp:2.1.0 (linux/amd64 and linux/arm64). Upgrading from 2.0.x: pull the new image; there are no migrations.

DentalERP 2.0.1

Choose a tag to compare

@abinauv abinauv released this 08 Nov 12:27
249c2f4

Fixed

  • Clinics are no longer capped at 3 staff, 100 patients and 500 MB of
    storage. Clinic signup put every clinic on the hosted edition's FREE plan,
    whose caps a self-hosted install had no way to raise. New clinics are
    unlimited, and a migration lifts the caps on existing ones.

Removed

  • The public /pricing page, which listed hosted-edition plans that cannot be
    bought for a self-hosted install.

Upgrading

  • Apply the database migration 20261108120000_self_hosted_unlimited
    (npx prisma migrate deploy; with Docker Compose, the migrate service runs
    it).

Docker image: ghcr.io/abinauv/dental-erp:2.0.1 (linux/amd64 and linux/arm64). Upgrading from 2.0.0: pull the new image and let the Compose migrate service apply the migration before the app starts.

DentalERP 2.0.0

Choose a tag to compare

@abinauv abinauv released this 08 Nov 06:30
5a74edb

Added

  • Internationalization across the client UI with next-intl and clinic-aware
    formatters; en-IN, en-US, and a full de-DE locale (German on core
    flows, English fallback elsewhere).
  • Pluggable tax providers (lib/tax): India GST (CGST/SGST/IGST), EU VAT, and
    US sales tax, selected by country.
  • Per-country seed data and geography (prisma/seed-data/{IN,US,DE}, region
    lists for address fields) and clinic-timezone-aware calendar sync.
  • Staff Documents tab (uploads via the storage driver), an Add-Supplier form,
    billing-report Excel export, and an AI API-key status check.
  • Outlook Calendar integration (Microsoft Graph), alongside Google Calendar.
  • Background job queue (BullMQ) for email/SMS dispatch and communication
    triggers, with a zero-config inline fallback when REDIS_URL is unset.
  • Single sign-on via OIDC, enabled by configuration (OIDC_ISSUER); no change
    to the credentials login when unset.
  • Choice of AI provider via AI_PROVIDER: OpenRouter (default), Anthropic, or
    Amazon Bedrock.
  • Structured JSON logging (pino) to stdout, replacing ad-hoc console.* in
    server code.
  • Dependabot (npm + GitHub Actions) and a CodeQL analysis workflow.
  • Community health files: Code of Conduct, this changelog, and CODEOWNERS.

Changed

  • Node.js 24 LTS is now required to run the app (the Docker image is built
    on node:24-alpine). Node 22.22.2+ still works for development.
  • Authentication migrated from next-auth to Better Auth. Existing passwords are
    preserved (bcrypt); the mobile Bearer-token and patient-OTP paths are
    unchanged. Better Auth's own sign-up endpoints are disabled: accounts are
    only created by clinic signup, invitations, staff management and import.
  • Dependency majors: date-fns 4, lucide-react 1, @hookform/resolvers 6, and
    (development) ESLint 10, TypeScript 7, Vite 8, Vitest 5, jsdom 30.

Removed

  • The subscription page. The self-hosted edition has no paid plans.

Security

  • Brute-force throttling on staff login and the mobile-token endpoint.
  • Rate limiting on patient OTP send/verify, AI chat, public booking and the
    public payment endpoints; shared across instances via Redis when
    REDIS_URL is set.
  • Payment gateway webhooks only settle successful payments; signed failure
    events (for example Razorpay payment.failed) are acknowledged and ignored.
  • A gateway order can only settle the invoice it was created for, Razorpay
    payments must be captured or authorized, and gateway signatures are compared
    in constant time.
  • Analytics report export (HTML) escapes all request and database text, and
    fetches its data in-process instead of from a host taken from the request.
  • The video-room API only acts on the caller's own hospital's consultations.
  • Staff Aadhaar/PAN numbers, salary, bank details, date of birth and home
    address are only returned to admins and to the staff member themselves.
  • Deactivating a staff member, or resetting their password, ends their web
    sessions; mobile tokens stop working as soon as the user or their clinic is
    deactivated.
  • Email address validation no longer backtracks quadratically on long input.
  • nodemailer 10.1.4 (address-parser fixes).

Upgrading

  • Run on Node.js 24.
  • Apply database migrations (npx prisma migrate deploy; with Docker Compose,
    the one-shot migrate service runs it): 20261027120000_add_invoice_tax_components,
    20261029120000_add_staff_document, 20261029130000_add_better_auth and
    20261105120000_sync_credential_accounts, in that order.
  • No environment variable changes are required: Better Auth reuses
    NEXTAUTH_SECRET and NEXTAUTH_URL.
  • Web users are signed out once by the auth migration and sign in again with
    their existing password. Mobile app sessions are unaffected.

Docker image: ghcr.io/abinauv/dental-erp:2.0.0 (linux/amd64 and linux/arm64). Pin DENTAL_ERP_VERSION="2.0.0" in your .env.