Repository navigation
Releases: KernAIO/module-hr
Release list
v0.24.5
0.24.5
Patch Changes
- a3a8793: Announce the entities an approval decision actually moves: a final decision on leave also announces
leave_requestandleave_balance(the deadline sweep too), a regularization decision announcesregularizationand the rebuiltattendance_day, a cancellation of approved leave announces the ledger reversal vialeave_balance, and a retention-horizon save announcesretention_runso a second admin's save arrives without a reload.
v0.24.4
0.24.4
Patch Changes
- chore: check the packed tarball can resolve its own imports
v0.24.3
0.24.3
Patch Changes
- chore(renovate): drop dead @kernhq automerge rule
v0.24.2
0.24.2
Patch Changes
-
a148c63: Scope the demo seeder's emptiness guard to the workspace.
The guard left
workspace_idto row-level security. The transaction is bound to the workspace, so
on a correctly-configured instance RLS scopes it — and on any database whose owner can bypass a
policy it does not, so the guard saw the previous workspace's rows and reported an empty workspace
as used. Measured on a development database: the first workspace filled, and every one after it was
created empty while the log said "workspace not empty". The predicate is written out now, and each
seeder's test seeds a second workspace in the same database, which is what reproduces it.
v0.24.1
0.24.1
Patch Changes
-
946bc52: Give the seeded leave types icons that exist.
palmtree,thermometer,babyandcircle-minusare all real lucide icons and none of them is
in@kernhq/ui's registry, which is a hand-maintained subset — so each rendered as a blank square
with nothing thrown.scripts/check-icons.mjsis the only thing that sees this, and it is the
reason it exists.
v0.24.0
0.24.0
Minor Changes
-
a3f4b5c: Fill a workspace created with example content: five departments, eight positions, twelve people with
employments and managers, four leave types with a year's entitlement in the ledger, seven leave
requests (four decided, three waiting) and a week of attendance for three of them.Nobody seeded here has a Kern account — a person is HR's noun and an account is core's, and inventing
accounts would put strangers in the workspace's member list and mention picker. The one exception is
a person for whoever asked for the demo, so the directory has a face they recognise.Written through the module's own services (
changeEmployment,LedgerService.append,
AttendanceService.record/recomputeDay) so the derived rows agree with the raw ones: a balance is
the sum of the ledger and an attendance day is computed from punches, not written beside them.
v0.23.10
0.23.10
Patch Changes
- build: force one @kernhq/kernel copy with pnpm.overrides
v0.23.9
0.23.9
Patch Changes
- build(deps): raise @kernhq/testing to ^0.1.14
v0.23.8
0.23.8
Patch Changes
- test: fail on a tenant table with no policy, not only an unforced one
v0.23.7
0.23.7
Patch Changes
- bbccf84: Peer
@kernhq/contracts@^0.8.0, which addsarchivedAttoWorkspaceSummary. A caret on 0.x does
not cross a minor, so the previous^0.7.0could not reach it.