Skip to content

v2.2.2

Compare
Choose a tag to compare
@tattali tattali released this 06 Apr 04:15
· 38 commits to main since this release
768ecac

What have been done so far:

Documentation

  • Rework README.md to clarify the meaning of the bundle
  • Create a new logo with mobile detect and symfony bundle
  • Update sf-toolbar image

CI

  • Drop Travis CI support in favour of Github Actions Workflow
  • Linter / Formatter and Static Analysis: PHP-CS-Fixer, PHP_CodeSniffer, phpstan
  • Drop Coveralls support in favour of Codecov

Configuration

  • Convert services to YAML files
  • Use class names as ids in services to respect new best practices and alias to old ids
  • Rename mobile_detect.cookie_httponly to mobile_detect.cookie_httpOnly
  • Drop mobile_detect.mobile_detector.class, mobile_detect.device_view.class, mobile_detect.request_response_listener.class, mobile_detect.twig.extension.class

Improvements

  • Create MobileDetectorInterface interface of Mobile_Detect fully compatible with mobiledetect/mobiledetectlib >=2.8.15
  • Create MobileDetectBundle\DeviceDetector\MobileDetectorInterface service to quickly access the lib
  • Add an is_windows_os in the twig extension
  • Add an rules_list in the twig extension

Drops

  • Drop active support for Symfony <5.1 see Legacy version to use the bundle
  • Drop support for PHP <7.2.5
  • Drop support for mobiledetect/mobiledetectlib <2.8.15
  • Drop support for Symfony 2.8 and <3.4 (non flex version)
  • Drop psr-0 in favour of psr-4 and rename namespace as neutral MobileDetectBundle\

Others

  • Move the Main bundle to src and tests to tests folders
  • Add small Makefile
  • Enable active support of mobiledetect/mobiledetectlib >=2.8.15
  • Clean php-doc with php8 compatible types and remove unnecessary documentation
  • Add native php typing where it’s possible
  • Rename cookieSamesite by cookieSameSite in whole project

Full Changelog: v2.2.1...v2.2.2