1.3 KiB
1.3 KiB
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2026-07-25
Added
- First stable release of the Node.js companion to the
pgmorbacPostgreSQL extension. hasPermissionand org-scope helpers backed bymorbac.is_allowed.withMorbacContextfor running queries under the acting user so RLS applies.- PostgREST data proxy with per-route permissions and a hard page-size cap.
morbacMigrations()loader that ships the bundled extension SQL.- Fastify management routes for orgs, roles, rules, users, global rules, activities, and delegations.
- PostgREST-style list-query parsing with allowlisted sort/filter columns.
- JSON schema response fragments and shared domain types.
- Unattributed org target:
UNATTRIBUTED,OrgTargetandOrgSelectionexpress a specific organisation, records with no org, or every org at once. hasAnyPermissionwraps themorbac.has_permissioncapability probe for UI gating.withMorbacContextaccepts an org selection, serialised tomorbac.org_idswhere a JSON null element names the unattributed bucket.