Changelog - 2026-10-17
PATCH in upper case, log levels, no pagination, no NaN count
Bug FixIn one line. Four defects are fixed. None of them changes a public signature.
typescript
import { BaseHelper } from '@venizia/ignis-helpers/core';
const logger = new BaseHelper({ scope: 'OrderService' }).logger;
const orderId = 'ORD-1';
logger.error('[create] Failed | id: %s', orderId); // now console.error, not console.infoWhat changed
- The fetcher verb shortcuts send upper-case methods.
get,post,put,patchanddeleteon a fetcher pass theRequestMethodsvalues. The Fetch standard upper-cases every method exceptPATCH, sofetcher.patch()used to send a lowercasepatchfrom a browser, and a strict router answers that with 405.doRequestwas never affected. - Each log level reaches its own console method.
Loggerwritesdebug,info,warnanderrorthroughconsole.debug,console.info,console.warnandconsole.error. Before, every level went throughconsole.info, so the browser's level filter and any error-reporting hook onconsole.errormissed ARDOR's errors. getManyReferenceaccepts a missingpagination. It treats it as{}, likegetListalready did, instead of throwingCannot destructure property 'page'.- A missing count header gives
undefined. For a non-list request,countis the integer inx-response-count, orundefinedwhen the header is absent or not a number. Before, it wasNaN.
Who is affected
- An application that filters the console by level. Debug lines now go to
console.debug, which browsers hide under the default filter, so enable the Verbose level to see them. Errors now show under the Errors filter. - Everyone else. No action needed.