Releases: tag1consulting/goose-eggs
Releases · tag1consulting/goose-eggs
v0.6.0
What's Changed
- Match absolute and relative paths with and without leading slash by @jeremyandrews in #57
- add inverse validation functions by @jeremyandrews in #58
- Decode the HTML before loading static assets by @alecsmrekar in #60
- Update goose and depedencies by @jeremyandrews in #63
Full Changelog: 0.5.1...0.6.0
v0.5.1
0.5.1 January 28, 2023
- in
drupal::log_in
o allowform_id
other than the default ofuser_login_form
o properly validate status code if configured
o propery post login to configured path
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="..">