---
title: "symfony/monolog-bundle v4.0.0 Breaking Changes on Packagist"
description: "What each symfony/monolog-bundle release removed, renamed or changed: 22 breaking changes in 1 version on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/symfony/monolog-bundle
last_updated: 2026-12-04
---

# symfony/monolog-bundle breaking changes

symfony/monolog-bundle v4.0.0 (November 27, 2025) is its newest release with breaking changes, 22 of them. The first: Drops support for Monolog versions below 3.5 in symfony/monolog-bundle v4.0.0. Every breaking API change we have recorded in symfony/monolog-bundle on Packagist: 22 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v4.1.0`, released September 12, 2026. MIT license. [Source repository](https://github.com/symfony/monolog-bundle)

Packages on Packagist run on PHP. [PHP end of life dates](https://since.dev/calendar/php.md).

## symfony/monolog-bundle v4.0.0 breaking changes

symfony/monolog-bundle v4.0.0, released November 27, 2025: 22 breaking changes.

- **Removed**  

The release no longer supports Monolog below 3.5; upgrade Monolog before using this version. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed**  

The release no longer supports Symfony below 7.3; upgrade Symfony before using this version. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed**  

The release no longer supports PHP below 8.2, so PHP 8.2 or later is required. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed** `console_formater_options`  

Use console_formatter_options instead in configuration. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed** `DebugHandler`  

Support for DebugHandler is removed, so code relying on it must change. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed** `DebugHandlerPass`  

The compiler pass is removed and code that uses it will break. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed** `elasticsearch`  

Use the elastica or elastic_search type instead of elasticsearch. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed** `excluded_404s`  

Use excluded_http_codes instead of excluded_404s in configuration. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed** `mongo`  

Use the mongodb type instead of mongo. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed** `monolog.activation_strategy.not_found`  

The abstract service definition is removed, so configuration that references it must be updated. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed** `monolog.handler.fingers_crossed.error_level_activation_strategy`  

The abstract service definition is removed, so configuration that references it must be updated. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed** `raven`  

Use a service type with sentry/sentry-symfony instead of the raven type. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed** `sentry`  

Use a service type with sentry/sentry-symfony instead of the sentry type. [github.com](https://github.com/symfony/monolog-bundle/releases/tag/v4.0.0)
- **Removed** `Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\DebugHandlerPass`  

Symfony\\Bundle\\MonologBundle\\DependencyInjection\\Compiler\\DebugHandlerPass was removed in symfony/monolog-bundle v4.0.0 [packagist.org](https://packagist.org/packages/symfony/monolog-bundle#v4.0.0)
- **Removed** `Symfony\Bundle\MonologBundle\SwiftMailer\MessageFactory`  

Symfony\\Bundle\\MonologBundle\\SwiftMailer\\MessageFactory was removed in symfony/monolog-bundle v4.0.0 [packagist.org](https://packagist.org/packages/symfony/monolog-bundle#v4.0.0)
- **Signature changed** `Symfony\Bundle\MonologBundle\DependencyInjection\Configuration`  

Was class Configuration implements ConfigurationInterface; now final class Configuration implements ConfigurationInterface. [packagist.org](https://packagist.org/packages/symfony/monolog-bundle#v4.0.0)
- **Signature changed** `Symfony\Bundle\MonologBundle\DependencyInjection\MonologExtension`  

Was class MonologExtension extends Extension; now final class MonologExtension extends Extension. [packagist.org](https://packagist.org/packages/symfony/monolog-bundle#v4.0.0)
- **Signature changed** `Symfony\Bundle\MonologBundle\DependencyInjection\MonologExtension::getNamespace`  

Was public function getNamespace(); now public function getNamespace(): string. [packagist.org](https://packagist.org/packages/symfony/monolog-bundle#v4.0.0)
- **Signature changed** `Symfony\Bundle\MonologBundle\DependencyInjection\MonologExtension::getXsdValidationBasePath`  

Was public function getXsdValidationBasePath(); now public function getXsdValidationBasePath(): string. [packagist.org](https://packagist.org/packages/symfony/monolog-bundle#v4.0.0)
- **Signature changed** `Symfony\Bundle\MonologBundle\DependencyInjection\MonologExtension::load`  

Was public function load(array $configs, ContainerBuilder $container); now public function load(array $configs, ContainerBuilder $container): void. [packagist.org](https://packagist.org/packages/symfony/monolog-bundle#v4.0.0)
- **Signature changed** `Symfony\Bundle\MonologBundle\MonologBundle`  

Was class MonologBundle extends Bundle; now final class MonologBundle extends Bundle. [packagist.org](https://packagist.org/packages/symfony/monolog-bundle#v4.0.0)
- **Signature changed** `Symfony\Bundle\MonologBundle\MonologBundle::build`  

Was public function build(ContainerBuilder $container); now public function build(ContainerBuilder $container): void. [packagist.org](https://packagist.org/packages/symfony/monolog-bundle#v4.0.0)

## Related packages

- [symfony/asset](https://since.dev/packages/packagist/symfony/asset.md)
- [symfony/browser-kit](https://since.dev/packages/packagist/symfony/browser-kit.md)
- [symfony/cache](https://since.dev/packages/packagist/symfony/cache.md)
- [symfony/config](https://since.dev/packages/packagist/symfony/config.md)
- [symfony/console](https://since.dev/packages/packagist/symfony/console.md)
- [symfony/css-selector](https://since.dev/packages/packagist/symfony/css-selector.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
