Skip to content

Releases: scheb/2fa

v5.1.0

21 Aug 13:31
Compare
Choose a tag to compare

Allow to pass default template variables when creating instance of DefaultTwoFactorFormRenderer

v5.0.1

03 Aug 18:39
Compare
Choose a tag to compare

The main branch was changed to 5.x.

Besides that, some minor fixes and optimizations worth mentioning:

  • Provide license in export (sub-packages) 14dfed4
  • Remove unused dependency from authenticator class a5d9ebf
  • PHP version constraint >=7.2.5 to allow PHP8 c12ac18
  • Fix scheb/2fa-google-authenticator package name in suggestions 38ee16b
  • Fix endroid/qr-code being a non-dev dependency of the scheb/2fa all-in-one package f7cd92f
  • Add test to ensure composer.json configurations are in sync 94ff439
  • Work around conflict in integration tests with doctrine/persistence v2 and too old doctrine/doctrine-bundle d902221

v5.0.0

04 Jun 09:47
Compare
Choose a tag to compare

With version 5, the bundle is now available under its new package name scheb/2fa.

To limit the number of dependencies you're pulling into your project, the bundle was split into multiple packages, which are available under the new name of scheb/2fa. You need to migrate from scheb/two-factor-bundle (version 4) to scheb/2fa (version 5).

See the instructions to upgrade from 4.x to 5.x.

New Features

  • Added support for Symfony Mailer component #3, thanks to @philomather
  • Added ability to influence under which condition it's allowed to flag a trusted device #6, thanks to @mike240se for the suggestion
  • Added experimental support for the experimental "authenticator"-based security, which was introduded in Symfony 5.1 #5, thanks to @wouterj for support
  • Sub-package scheb/2fa-qr-code provides QR code image rendering

Behavioral Changes

  • Replaced config option csrf_token_generator with a simpler enable_csrf: true #13
  • Moved the preparation state of two-factor providers into the TwoFactorToken #7

Technical Changes

  • Restructuring of the bundle into sub-packages and improved CI #1, thanks to @Spomky
  • Dropped support for old Symfony versions, minimum required version is now Symfony 4.4
  • Minimum required PHP version is now 7.2.5