Skip to content

Releases: wintercms/wn-dusk-plugin

v2.1.0

11 Apr 02:35
f5e73ef

Choose a tag to compare

Security fixes

  • The stub user controller that the Dusk plugin uses to act as logged in users has been moved. Its routes are also now only loaded when the app environment is specifically dusk. This prevents inadvertent access to these actions under very specific circumstances that could potentially allow someone to sidestep user authentication.
  • The automatic configuration provided by Dusk no longer accepts environment variables (except for APP_URL and APP_KEY) to prevent external environment variables from overriding the defaults.

New features

  • Added the ability to dump HTML source in Dusk tests.

Changes

  • Ensure that the cache is cleared on each Dusk test to prevent cache bleeding between tests.

Bug fixes

  • Fixed SMTP connection being established in default Dusk config when using the Mailer, due to the upgraded mail config in Winter core not being applied in Dusk.
  • Fixed stub user controller routing.

Documentation

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

30 Nov 08:09

Choose a tag to compare

Breaking changes

  • This plugin now only supports Winter v1.2 and Laravel 9.