Changelog#

0.15.0 (2026-08-25)#

Features#

0.14.0 (2026-05-07)#

Features#

0.13.0 (2026-04-27)#

Features#

  • add flag to persist test output for all tests (fa16b22)

  • pytest: add configuration for persisting test artifacts (20f9dcc)

  • pytest: show test nodeid in terminal summary logs (3dd923d)

Documentation#

  • update logging configuration documentation (e5df028)

0.12.4 (2026-03-29)#

Bug Fixes#

  • ensure BytesLoggerFactory uses JSON processors (0d92f14)

Documentation#

  • document output redirection and update install command (9937e30)

0.12.3 (2026-03-28)#

Bug Fixes#

  • resolve streams lazily to survive pytest capture phase resets (f36562b)

0.12.2 (2026-03-23)#

Bug Fixes#

  • artifact directory paths work with the latest pytest plugin utils (27ab414)

0.12.1 (2026-03-18)#

Bug Fixes#

  • handle exc_info for JSON logging and pytest output gracefully (a9f1f61)

  • remove fastapi-ipware as a baseline dependency (#104) (aa4de89)

Documentation#

  • clarify exception handling in log processor comments (0807c5c)

  • readme: specify minimum version for beautiful-traceback (b5734ef)

0.12.0 (2026-03-05)#

Features#

  • pytest_plugin: add output capture and subprocess logging (429f286)

  • pytest_plugin: add slow test reporting with duration (2e108db)

  • pytest_plugin: support structured exception output with beautiful_traceback (b360cc1)

  • pytest: add results.json output with failure details (e2ae752)

Bug Fixes#

  • pytest_plugin: improve failed test reporting in summary (9deefbf)

Documentation#

  • clarify subprocess capture usage in testing section (22109b2)

  • pytest_plugin: clarify exc_to_json output structure (b957dcf)

  • simplify subprocess capture docs and remove fd capture fixture tests (7403893)

0.11.0 (2026-02-17)#

Features#

  • hook: log uncaught thread exceptions with structlog (0058136)

  • hook: log when replacing custom excepthooks in install (dc6670a)

  • pytest_plugin: persist passing test output based on PERSIST_FAILED_ONLY (3227db3)

  • pytest_plugin: show summary of captured structlog outputs (2f10ce1)

  • pytest: add –no-structlog flag to disable capture (a069d43)

  • pytest: log output capture start with test id and mode (f08dd1f)

Bug Fixes#

  • pytest_plugin: disable plugin in pdb and trace mode (59658a5)

  • pytest_plugin: remove empty artifact dirs after test run (0f9d629)

  • pytest_plugin: skip fd capture when output capture disabled (6d56fdb)

  • pytest_plugin: skip tests do not create output files (07ae9ff)

  • pytest_plugin: strip ANSI codes from captured output files (5ae7151)

  • pytest_plugin: use artifact dir util, update output handling (8092ba6)

Documentation#

  • add local.md placeholder file (5eec0c8)

  • clarify fd-level and subprocess output capture usage (05ef7d4)

  • document exception hook for uncaught exception logging (8344143)

0.10.0 (2026-02-06)#

Features#

  • add configure_logger finalization to prevent reinit (da0123d)

Bug Fixes#

  • disable structlog logger cache for testing scenarios (c481cdd)

  • let’s try to generate a build to test GHA permissions (bd222fd)

  • logging: handle PlaceHolder in loggerDict and clear handlers (ad9a2fa)

  • remove empty log call in configure_logger (9889b45)

  • remove warning for loggers without handlers (642cf9e)

Documentation#

  • document logger finalization with finalize_configuration option (9c11374)

0.9.0 (2026-02-04)#

Features#

  • add global exception hook to log uncaught exceptions (7fbdb59)

  • add trace method to LoggerWithContext protocol (2ea73b3)

  • trace: add TRACE to structlog LEVEL_TO_NAME and patch output loggers (59f5dd4)

Bug Fixes#

  • pytest_plugin: ensure stdlib logging streams are redirected during capture (5ba64a9)

  • pytest_plugin: improve capture config errors and logging (54789c3)

  • remove PYTHON_ENV and env auto-detect from configure_logger (9bc900d)

  • use keyword argument for logger_name in get_logger (80b79d2)

Documentation#

  • add AGENT.md with coding and workflow guidelines (0dc9e46)

  • add CLAUDE.md and update readme generation prompt (9bfd2fd)

  • add TODOs and sample pydantic settings for logging config (276d25b)

  • update installation instructions for structlog-config (882eb89)

0.8.0 (2026-01-20)#

Features#

  • add playground script for interactive logging setup (c24621b)

Bug Fixes#

  • gracefully fallback if beautiful_traceback is not used (1a18e65)

Documentation#

  • add MIT license to project (83591cf)

0.7.0 (2025-11-06)#

Features#

  • add custom formatter for whenever library (#64) (0431812)

  • rplace pretty_traceback with beautiful_traceback (#66) (bb736bf)

0.6.0 (2025-11-06)#

Features#

  • add minimal structlog-config usage example script (0b6c2e6)

  • examples: add FastAPI structured logging and error demos (3148a40)

  • pytest_plugin: support persistent logs dir and test coverage (1212de9)

  • pytest-plugin: add per-test log capture and print on failure (7315e0e)

Bug Fixes#

  • use fastapi-ipware for client IP extraction in logger (137896f)

Documentation#

  • add new coding rules, prompts, and instructions for dev workflow (f233418)

  • add optional FastAPI dependency to README and pyproject.toml (db54988)

  • add pytest plugin section for capturing logs on failure (936b968)

  • pytest_plugin: expand usage docs and clarify plugin behavior (ff5db76)

  • trace: document and clarify TRACE log level integration (2d14a4d)

0.5.0 (2025-10-31)#

Features#

  • levels: add is_debug_level and improve level comparison (e19c196)

0.4.2 (2025-09-26)#

Bug Fixes#

  • do not require fastapi in order to use this package (3d5cb8f)

0.4.1 (2025-09-24)#

Bug Fixes#

  • expose client_ip_from_request function in main package (#47) (78cc727)

  • remove unused get_client_addr function from fastapi_access_logger (#46) (29060a2)

Documentation#

  • Add concise “JSON Logging for Production” documentation (#45) (03cae6d)

0.4.0 (2025-09-24)#

Features#

  • improved client IP extraction with ipware for FastAPI access logger (#39) (facdd36)

0.3.0 (2025-09-08)#

Features#

  • suppress noisy stripe info logs in stdlib config (163ac57)

Bug Fixes#

  • improve static asset detection for image and icon files (421d2e3)

Documentation#

  • better usage docs (ccc585e)

  • explain custom TRACE logging level and usage (aa8afb3)

  • readme typo (806256d)

0.2.0 (2025-08-05)#

Features#

  • add custom TRACE log level and logger extension (73e0551)

  • call setup_trace in configure_logger to enable tracing (85ee622)

  • global level override always set on std loggers, override static overrides if lower (a7b66ea)

  • patch structlog to support custom trace log level (35c1dca)

Bug Fixes#

  • ensure TRACE log level is properly registered and utilized in logger (87dc788)

  • include .js.map in static asset request detection (ff9bb4a)

Documentation#

  • clarify description of PYTHONASYNCIODEBUG constant (2e2e0e9)

  • ipython logging adjustment (1990a7c)

  • update README with detailed logging setup instructions (746fb8f)

0.1.0 (2025-04-14)#

Features#

  • add PathPrettifier for structlog path formatting (b54bc58)

  • add RenameField processor for log key renaming (a07bf36)

  • add structured access logging for FastAPI requests (37d506d)

  • allow loggers to be configured from environment variables (417acf1)

  • configure loggers via env variables in env_config.py (2b920c4)

  • debug log static asset requests in FastAPI logger (d8e5ee0)

  • determine which optional packages are installed (7e062e2)

  • improve CI workflow and project setup (2338dd0)

  • update logger config for testing and add is_pytest function (fe579ca)

Bug Fixes#

  • dynamically pull the LOG_LEVEL from env for testing (0cceb7c)

  • ensure copier uses current HEAD for updates (20b9f9d)

Documentation#

  • add comments to middleware and formatter functions (bf43006)

  • add FastAPI access logger section to README.md (93c6d98)

  • elaborate on FastAPI Access Logger usage and benefits (aa4223e)

  • update project description and keywords in pyproject.toml (6424d8a)