HttpExceptionHandler — standardized JSON error response (error, detail, contextId) for any unhandled HttpException, preserving the exception's original status code (429, 503, ...) instead of falling through to the default handler as 500. Registered after the more specific handlers (AccessDeniedExceptionHandler, NotFoundExceptionHandler, ...).ExceptionHandlerCompilerPass now sorts exception handlers by the priority attribute of the anzu_systems_common.logs.exception_handler tag (high → low). Handlers without an explicit priority keep the default 0; the built-in HttpExceptionHandler registers with -100, so more specific handlers always take precedence:$definition->addTag(AnzuSystemsCommonBundle::TAG_EXCEPTION_HANDLER, ['priority' => -100]);
anzu_mongo_app_log_collection was renamed to anzu_mongo_journal_log_collectionapp was renamed to journal
Before: $routes
->add('anzu_common.logs.app_list', '/api/adm/v1/log/app')
->methods([Request::METHOD_GET])
->controller([LogController::class, 'getAppLogs'])
;
$routes
->add('anzu_common.logs.app_get_one', '/api/adm/v1/log/app/{id}')
->methods([Request::METHOD_GET])
->controller([LogController::class, 'getOneAppLog'])
;
Now:
$routes
->add('anzu_common.logs.journal_list', '/api/adm/v1/log/journal')
->methods([Request::METHOD_GET])
->controller([LogController::class, 'getJournalLogs'])
;
$routes
->add('anzu_common.logs.journal_get_one', '/api/adm/v1/log/journal/{id}')
->methods([Request::METHOD_GET])
->controller([LogController::class, 'getOneJournalLog'])
;
Before:
$logsConfig
->app()
->ignoredExceptions([
NotFoundHttpException::class,
AccessDeniedException::class,
UnauthorizedHttpException::class,
ValidationException::class,
])
->mongo()
->uri(env('ANZU_MONGODB_APP_LOG_URI'))
->username(env('ANZU_MONGODB_APP_LOG_USERNAME'))
->password(env('ANZU_MONGODB_APP_LOG_PASSWORD'))
->database(env('ANZU_MONGODB_APP_LOG_DB'))
->ssl(env('ANZU_MONGODB_APP_LOG_SSL')->bool())
->collection('appLogs')
;
Now:
$logsConfig
->app()
->ignoredExceptions([
NotFoundHttpException::class,
AccessDeniedException::class,
UnauthorizedHttpException::class,
ValidationException::class,
])
;
$logsConfig
->journal()
->mongo()
->uri(env('ANZU_MONGODB_APP_LOG_URI'))
->username(env('ANZU_MONGODB_APP_LOG_USERNAME'))
->password(env('ANZU_MONGODB_APP_LOG_PASSWORD'))
->database(env('ANZU_MONGODB_APP_LOG_DB'))
->ssl(env('ANZU_MONGODB_APP_LOG_SSL')->bool())
->collection('appLogs')
;
anzusystems:user:sync-base for loading basic user set (depends on user_sync_data configuration)BaseUserDto to UserDto, added UserTracking and TimeTracking fieldsmapDataFn to findByApiParams and findByApiParamsWithInfiniteListing functionsROLE_SUPER_ADMIN instead of ROLE_ADMIN to grant full accessHow can I help you explore Laravel packages today?