Skip to content

v1.1.0

Choose a tag to compare

@stevebauman stevebauman released this 15 Oct 14:11
· 6 commits to master since this release
59ba454

Added

  • Support for custom screenshot drivers through Screenshot::extend() and Screenshot::driver(), with Chrome as the default - #3
  • A shared Contracts\Factory interface for typed injection, with a fake that records captures across all drivers - #3
  • A0, A1, A2, A6, Tabloid, and Ledger PDF paper sizes - #4

Breaking Changes

  • Inject DirectoryTree\Screenshot\Contracts\Factory instead of the concrete Screenshot class when resolving screenshots through Laravel's container.
  • Register custom drivers using Screenshot::extend() instead of replacing the Contracts\Driver binding.
  • Screenshot::fake() now returns ScreenshotManagerFake instead of ScreenshotFake. Existing facade capture and assertion calls continue to work.