Skip to content

2.5.0

Released: TBD

Highlights

  • Employee bank accounts now work exactly like client/supplier/company accounts: attached to the employee via the bank-accounts table, shown in their own tab, with support for multiple accounts per employee.

Added

  • Documented the updateEmployee, terminateEmployee, and reactivateEmployee mutations (they existed but were missing from the payroll feature page), plus the Employee Bank Accounts contract.

Changed

  • Employee bank accountsEmployee no longer carries a direct bankAccountId FK. Bank accounts attach via BankAccount.sourceType = EMPLOYEES + sourceId = <employeeId>, matching every other entity. Removed bankAccountId from the Employee type, EmployeeInput, and EmployeeUpdateInput, and the bankAccount resolver from Employee. See Employee Bank Accounts.

Fixed

-

Migrations

  • drop_employee_bank_account_id (down_revision: expand_unified_tax_rate) — repoints any existing employees.bank_account_id link onto bank_accounts (source_type='EMPLOYEES'), then drops the employees.bank_account_id column and its FK.

Frontend impact

  • Stop sending/reading bankAccountId on Employee / EmployeeInput / EmployeeUpdateInput, and stop selecting the employee.bankAccount field — all removed.
  • Manage an employee's bank accounts through the existing bank-account surface scoped by source: findBankAccountsBySourceId(sourceId: employeeId, sourceType: EMPLOYEES) to list, and createBankAccount / updateBankAccount / deleteBankAccount with BankAccountInput.sourceType = EMPLOYEES, sourceId = employeeId. Render them in a "Bank accounts" tab on the employee detail page (mirrors the client/supplier tab).
  • updateEmployee(employee: EmployeeUpdateInput!) is available for editing employees.

Versioning notes

  • Bumped with uv run python scripts/bump_version.py 2.5.0 --changelog-stub.
  • MINOR rather than MAJOR: payroll has not appeared in any prior changelog, so the removed bankAccountId schema surface was never part of a released version. Deploy the migration (drop_employee_bank_account_id) with this release.