Skip to content

Releases: KernAIO/module-hr

v0.24.5

Choose a tag to compare

@github-actions github-actions released this 10 Sep 02:01

0.24.5

Patch Changes

  • a3a8793: Announce the entities an approval decision actually moves: a final decision on leave also announces leave_request and leave_balance (the deadline sweep too), a regularization decision announces regularization and the rebuilt attendance_day, a cancellation of approved leave announces the ledger reversal via leave_balance, and a retention-horizon save announces retention_run so a second admin's save arrives without a reload.

v0.24.4

Choose a tag to compare

@github-actions github-actions released this 06 Sep 14:31

0.24.4

Patch Changes

  • chore: check the packed tarball can resolve its own imports

v0.24.3

Choose a tag to compare

@github-actions github-actions released this 06 Sep 14:27

0.24.3

Patch Changes

  • chore(renovate): drop dead @kernhq automerge rule

v0.24.2

Choose a tag to compare

@github-actions github-actions released this 06 Sep 12:01

0.24.2

Patch Changes

  • a148c63: Scope the demo seeder's emptiness guard to the workspace.

    The guard left workspace_id to 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

Choose a tag to compare

@github-actions github-actions released this 06 Sep 11:34

0.24.1

Patch Changes

  • 946bc52: Give the seeded leave types icons that exist.

    palmtree, thermometer, baby and circle-minus are 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.mjs is the only thing that sees this, and it is the
    reason it exists.

v0.24.0

Choose a tag to compare

@github-actions github-actions released this 06 Sep 11:23

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

Choose a tag to compare

@github-actions github-actions released this 06 Sep 10:51

0.23.10

Patch Changes

  • build: force one @kernhq/kernel copy with pnpm.overrides

v0.23.9

Choose a tag to compare

@github-actions github-actions released this 06 Sep 10:40

0.23.9

Patch Changes

  • build(deps): raise @kernhq/testing to ^0.1.14

v0.23.8

Choose a tag to compare

@github-actions github-actions released this 06 Sep 09:56

0.23.8

Patch Changes

  • test: fail on a tenant table with no policy, not only an unforced one

v0.23.7

Choose a tag to compare

@github-actions github-actions released this 05 Sep 19:24

0.23.7

Patch Changes

  • bbccf84: Peer @kernhq/contracts@^0.8.0, which adds archivedAt to WorkspaceSummary. A caret on 0.x does
    not cross a minor, so the previous ^0.7.0 could not reach it.