Skip to content

Latest commit

 

History

History
164 lines (92 loc) · 2.86 KB

CHANGELOG.md

File metadata and controls

164 lines (92 loc) · 2.86 KB

Change Log

The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.

3.0.0

Added

  • Support for Symfony 7.0

Removed

  • Drop support for Symfony 4.4
  • Drop support for Symfony 5.3

2.1.0

Added

  • Support for Symfony 6.2, 6.3 and 6.4
  • Support for PHP 8.2 and 8.3
  • Allow to set type and priority for compiler passes in TestKernel::addTestCompilerPass

2.0.0

Added

  • Support for multiple routing files via TestKernel::addRoutingFile
  • Support for a fully functional symfony kernel with the usage of the Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait
  • Cleanup of the cache and log directory after kernel shutdown
  • Support for PHP 8.1
  • Support for Symfony 6.1

Removed

  • AppKernel::setRootDir
  • BaseBundleTestCase. Instead extend the KernelTestCase from Symfony directly

Changed

  • Signature of TestKernel::addTestCompilerPass to accept a single CompilerPass instead of an array
  • Renamed AppKernel to TestKernel
  • Renamed TestKernel::addBundle to TestKernel::addTestBundle
  • Renamed TestKernel::addCompilerPasses to TestKernel::addTestCompilerPass
  • Renamed TestKernel::setRoutingFile to TestKernel::addTestRoutingFile
  • Renamed TestKernel::addConfigFile to TestKernel::addTestConfig
  • Renamed TestKernel::setProjectDir to TestKernel::setTestProjectDir
  • Renamed private properties

Fixed

  • Usage of sys_get_temp_dir in TestKernel::getCacheDir and TestKernel::getLogDir directory

1.8.1

Fixed

  • Symfony 6 compatibility issues

1.8.0

Added

  • Support for Symfony 6
  • Support for adding config with closures

Fixed

  • Routing with the Kernel
  • Deprecation error in Symfony 5.3

1.7.0

Added

  • Support for PHP 8
  • Automatically add framework.router.utf8: true on Symfony >= 5.1

1.6.1

Fixed

  • Catching exception in BaseBundleTestCase::ensureKernelShutdown()

1.6.0

Added

  • Support for Symfony 5

1.5.0

Added

  • Support for PHPUnit 8

1.4.0

Added

  • Aliases can be made public with the PublicServicePass.

1.3.1

Fixed

  • Show our dependencies directly in require section of composer.json.

1.3.0

Added

  • Adding compiler pass support.
  • Adding support for making services public.

1.2.3

Fixed

  • Symfony 3.4/4.0 fix with annotations.

1.2.2

Changed

  • Only disable annotations if they are not installed.

1.2.1

Fixed

  • Better fix for annotation issue with Symfony 3.3.

1.2.0

Added

  • Allow tests with PHPUnit6

1.1.0

Added

  • AppKernel::setProjectDir and AppKernel::setRootDir

Changed

  • %kernel.project_dir% is now the directory of your root. (The directory with your composer.json)

1.0.2

Fixed

  • Fix for Symfony 3.3. We do not need cache on annotation.

1.0.1

Fixed

  • Bug with cache when running multiple tests

1.0.0

Initial release