Releases: tag1consulting/goose-eggs
Releases · tag1consulting/goose-eggs
v0.5.1
v0.5.0
v0.4.1
0.4.1 June 16, 2022
- introduce
validate_page
to validate a page without loading static assets, an alternative tovalidate_and_load_static_assets
v0.4.0
v0.3.1
v0.3.0
0.3.0 October 26, 2021
- find forms identified with either
id=
ordata-drupal-selector=
- API change: introduce
SearchParamsBuilder
to buildSearchParams
objects
o ReplacesSearchParams::keys
,SearchParams::update_keys
,SearchParams::update_url
,SearchParams::update_submit
,SearchParams::update_title
o Builder pattern is:SearchParams::builder().keys("foo").url("custom/url").submit("Search").build();
- API change: introduce
LoginBuilder
to buildLogin
objects
o ReplacesLogin::username
,Login::password
,Login::username_password
,Login::url
,Login::title
,Login::url_title
,Login::update_username
,Login::update_password
,Login::update_username_password
,Login::update_url
,Login::update_title
,Login::update_url_title
o Builder pattern is:Login::builder().username("username").password("password").url("custom/login/url").build();
- API change: introduce
ValidateBuilder
to buildValidate
objects
o ReplacesValidate::new
,Validate::status
,Validate::title
,Validate::text
,Validate::texts
,Validate::title_text
,Validate::title_texts
,Validate::header
,Validate::headers
,Validate::redirect
,Validate::update_status
,Validate::update_title
,Valudate::update_text
,Validate::update_texts
,Validate::update_header
,Validate::update_header
o Builder pattern is:Validate::builder().status(200).text("foo").redirect(true).build();
- API change: remove
Header
struct, instead using a simple (&str, &str) tuple
o RemovesHeader
and all associated functions
o Builder pattern to validate headers isValidate::builder().header("cache").header_value("x-generator", "Drupal 7").build();
v0.2.0
v0.1.12
0.1.12 August 22, 2021
- clippy cleanups: don't borrow references that are immediately dereferenced by the compiler: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
- update
load_static_elements()
to use case-insensitive regex to find local static elements (images, js, and css) both with relative and absolute paths - match user-login-form even when it has additional classes
v0.1.11
0.1.11 August 4, 2021
- remove extra and incorrect cut and paste example for
SearchParams::keys
- match headers
<head>
that include other attributes, such as<head profile="..">
v0.1.10
0.1.10 August 2, 2021
- escape form element name so regex compiles if name includes characters such as
[]
- introduce drupal-specific
get_encoded_form_values
to efficiently load multiple encoded form values - introduce drupal-specific
search
function, configured withSearchParams
object controlling the search keys, and optionally setting a custom url and title for the search form page, and a custom submit button for the search form - add
examples/umami
, converting the example from Goose to use Goose Eggs for load testing Drupal 9 demo install profile