From d00c7a6180d710652f97fa766c6b594ef0239e5f Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Sun, 3 Nov 2024 11:50:43 -0800 Subject: [PATCH] sandwich-webdriver: release 0.3.0.0 --- sandwich-webdriver/CHANGELOG.md | 13 +++++++++++++ sandwich-webdriver/package.yaml | 6 +++--- sandwich-webdriver/sandwich-webdriver.cabal | 12 ++++++------ 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/sandwich-webdriver/CHANGELOG.md b/sandwich-webdriver/CHANGELOG.md index 28fce3f4..0c8dc073 100644 --- a/sandwich-webdriver/CHANGELOG.md +++ b/sandwich-webdriver/CHANGELOG.md @@ -2,6 +2,19 @@ # Unreleased +# 0.3.0.0 + +* BREAKING CHANGE: switch most monads away from using `MonadBaseControl IO` and switch to `MonadUnliftIO`. We also remove `MonadThrow` constraints, relying only on `MonadIO` for throwing exceptions. +* Fix window positioning commands to use window.devicePixelRatio. +* Add support for introducing Selenium dependencies using Nix with `sandwich-contexts`. +* Improve Haddocks and simplify module structure. +* Export `getDownloadDirectory` accessor for `WebDriver`. +* Be able to obtain dependencies like `ffmpeg` and `Xvfb` on demand. +* Clean up dependencies and fix some warnings on MacOS and Windows. +* Be able to pass a custom Firefox profile in `Capabilities`. +* Remove `hoistExample` helper which didn't belong in this package. +* Support video recording flags `--error-videos`/`--individual-videos`. + # 0.2.3.1 * Binary fetching: don't create the toolsRoot directory unless necessary. diff --git a/sandwich-webdriver/package.yaml b/sandwich-webdriver/package.yaml index 026e5bd2..95c15ea5 100644 --- a/sandwich-webdriver/package.yaml +++ b/sandwich-webdriver/package.yaml @@ -1,5 +1,5 @@ name: sandwich-webdriver -version: 0.2.3.1 +version: 0.3.0.0 github: "codedownio/sandwich" license: BSD3 author: "Tom McLaughlin" @@ -35,8 +35,8 @@ dependencies: - random - retry - safe -- sandwich >= 0.1.0.3 -- sandwich-contexts +- sandwich >= 0.3.0.0 +- sandwich-contexts >= 0.3.0.0 - string-interpolate - text - time diff --git a/sandwich-webdriver/sandwich-webdriver.cabal b/sandwich-webdriver/sandwich-webdriver.cabal index 1f59547f..3e67170c 100644 --- a/sandwich-webdriver/sandwich-webdriver.cabal +++ b/sandwich-webdriver/sandwich-webdriver.cabal @@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.36.0. +-- This file has been generated from package.yaml by hpack version 0.37.0. -- -- see: https://github.com/sol/hpack name: sandwich-webdriver -version: 0.2.3.1 +version: 0.3.0.0 synopsis: Sandwich integration with Selenium WebDriver description: Please see the . category: Testing @@ -97,8 +97,8 @@ library , random , retry , safe - , sandwich >=0.1.0.3 - , sandwich-contexts + , sandwich >=0.3.0.0 + , sandwich-contexts >=0.3.0.0 , string-interpolate , text , time @@ -182,8 +182,8 @@ test-suite sandwich-webdriver-test , random , retry , safe - , sandwich >=0.1.0.3 - , sandwich-contexts + , sandwich >=0.3.0.0 + , sandwich-contexts >=0.3.0.0 , sandwich-webdriver , string-interpolate , text