Release Notes — WUIC Framework v1.7.31
Date: 4 November 2026 Previous published version: 1.7.30 (2 November 2026) Backend: .NET 10 + IIS / Linux nginx Frontend: Angular 21
1.7.31 completes the host CRUD hooks on every database and fixes a series of defects found while developing the free apps. In short:
- host after hooks (
afterInsert,afterUpdate,afterDelete,afterRestore) called on SQL Server, MySQL, PostgreSQL and Oracle; - PostgreSQL and Oracle:
before*andcustomize*hooks called as on SQL Server and MySQL, CRUD errors with the same codes and statuses; - role-based notifications from server code, translated captions in the "Actions" menu,
{{x}}interpolation ininstant(), CSV import; - behaviour change: URL
filterInfo,pageInfoandsortInfoapply only to the page's route; - license: the machine fingerprint is computed from the machine only.
🗄️ Host CRUD hooks and errors on every database
- Host after hooks: CRUD handlers could declare
afterInsert,afterUpdate,afterDeleteandafterRestore, but the framework only calledbefore*andcustomize*. After hooks are now called after the successful statement on SQL Server, MySQL, PostgreSQL and Oracle;afterInsertreceives the record with the generated key. - Errors in after hooks: outside a caller's transaction the error goes to the error log and the operation stays valid (the record is already written); inside a caller's transaction the error propagates and the caller rolls everything back.
- Compatibility: in
IUtilityHostthe after methods have an empty default implementation, so existing hosts compile unchanged. - PostgreSQL and Oracle, before and customize hooks: on CRUD insert, update and delete they are now called as on SQL Server and MySQL. Previously a handler written for SQL Server did not run on these two databases.
- PostgreSQL and Oracle, CRUD errors: they go through
customizeExceptionand return the same code and status as SQL Server and MySQL for a rejection by abefore*hook,NOT NULL,UNIQUEand foreign key on delete. Previously they arrived as 500errors.server.unhandled. On OracleORA-02292(related data on delete) becomes 400errors.validation.failed, as on SQL Server and PostgreSQL. - SQL Server, rejection by a hook: the host's message arrives in
sqlMessage(previously "Exception has been thrown by the target of an invocation.", with the real text only in the stack).
🛡️ Security
The machine fingerprint used by the license is computed from the machine only: the WUIC_LICENSE_MACHINE_FINGERPRINT environment variable is no longer read. A license stays bound to the machine it was issued for.
🐛 Notable bug fixes
- Role-based notifications from server code: a notification queued by the server with
roleIds(anduserIds) now reaches the users of the roles, one notification per user and without duplicates. Previously only the notifications endpoint resolved roles, and a server call with roles only reached nobody. - List-grid, "Actions" menu: the caption of a table action is translated through
_wuic_translations(the metadata caption is the key, as in the parametric-dialog). Without a translation the original caption stays. - Translations with parameters:
TranslationManagerService.instant(key, params)replaces{{name}}placeholders like ngx-translate. A missing parameter leaves the placeholder;{0}/{1}work as before. - Import from CSV/TXT files: the import button treated every file as Excel and importing a CSV from the UI failed. A CSV/TXT is now imported as delimited text.
- Webhook hub menu items: the
menu.admin.webhook_*translations are inserted at startup also on databases created earlier, which showed the raw keys. - "Delete" on a row in inline editing: previously no request was sent (
Converting circular structure to JSONerror in the console). The server now receives only the record's data. - Report on a route without metadata:
GetReportreturns 404errors.metadata.route.not_foundinstead of a 500 error. - URL parameters and nested components (behaviour change):
filterInfo,pageInfoandsortInfofrom the query string apply only to the data sources of the page's route. Previously they also reached nested grids, dialogs and dashboard widgets of other routes: for example the rows grid in an invoice's edit form received the filter of the invoice list.
📦 Updated packages
| Package | From | To |
|---|---|---|
WuicCore (NuGet) |
1.7.30 | 1.7.31 |
Wuic.Webcore (NuGet) |
1.7.30 | 1.7.31 |
WuicOData (NuGet) |
1.7.30 | 1.7.31 |
RuntimeEfCore (NuGet) |
1.7.30 | 1.7.31 |
Wuic.MySqlProvider / Wuic.PostgresProvider / Wuic.OracleProvider (NuGet) |
1.7.30 | 1.7.31 |
wuic-framework-lib (npm) |
1.7.30 | 1.7.31 |
🔧 Recommended operational updates when upgrading
- Update the npm library and the NuGet packages together, as for every release.
- CRUD handlers with after hooks already declared: they now run. Check that they do not repeat work the application already did elsewhere (triggers, explicit calls after saving).
- PostgreSQL and Oracle installations: the host's
before*andcustomize*hooks now run here too. Check that their SQL is valid for these databases; clients that interpreted CRUD 500s now receive the SQL Server codes (for example 400errors.validation.failedon related data). - Pages that passed URL filters to nested components of other routes: URL parameters no longer reach those components. Set the filter on the nested component instead of the page's query string.
- New or cloned machine: the fingerprint changes, so a new license issued for the new fingerprint is needed.