v2.1 Release Notes¶
This document describes all new features and changes in the release. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Release Overview¶
- Structured JSON logging via Nautobot's built-in
setup_structlog_logging(): all loggers now emit JSON in production with each query log field (operation_type,operation_name,user,duration_ms,status, etc.) as a top-level key instead of a packed string.
v2.1.0 (2026-02-19)¶
Added¶
- Added structlog JSON logging support:
setup_structlog_logging()integration innautobot_config.pyroutes all loggers (django,nautobot,django.request, andnautobot_graphql_observability.graphql_query_log) through a single structlog handler. Withplain_format=False(production default), all log output is emitted as structured JSON. The query log middleware now emits operation metadata as discreteextrafields (operation_type,operation_name,user,duration_ms,status, etc.) rather than a flat key=value string, so each field appears as a top-level JSON key in log aggregators.structlog.stdlib.ExtraAdder()is appended to the formatter'sforeign_pre_chainto promote these fields automatically.