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, andreactivateEmployeemutations (they existed but were missing from the payroll feature page), plus the Employee Bank Accounts contract.
Changed¶
- Employee bank accounts —
Employeeno longer carries a directbankAccountIdFK. Bank accounts attach viaBankAccount.sourceType = EMPLOYEES+sourceId = <employeeId>, matching every other entity. RemovedbankAccountIdfrom theEmployeetype,EmployeeInput, andEmployeeUpdateInput, and thebankAccountresolver fromEmployee. See Employee Bank Accounts.
Fixed¶
-
Migrations¶
drop_employee_bank_account_id(down_revision:expand_unified_tax_rate) — repoints any existingemployees.bank_account_idlink ontobank_accounts(source_type='EMPLOYEES'), then drops theemployees.bank_account_idcolumn and its FK.
Frontend impact¶
- Stop sending/reading
bankAccountIdonEmployee/EmployeeInput/EmployeeUpdateInput, and stop selecting theemployee.bankAccountfield — all removed. - Manage an employee's bank accounts through the existing bank-account surface scoped by
source:
findBankAccountsBySourceId(sourceId: employeeId, sourceType: EMPLOYEES)to list, andcreateBankAccount/updateBankAccount/deleteBankAccountwithBankAccountInput.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
bankAccountIdschema surface was never part of a released version. Deploy the migration (drop_employee_bank_account_id) with this release.