Skip to content

Releases: tag1consulting/goose-eggs

v0.5.1

28 Jan 07:14
Compare
Choose a tag to compare

0.5.1 January 28, 2023

  • in drupal::log_in
    o allow form_id other than the default of user_login_form
    o properly validate status code if configured
    o propery post login to configured path

v0.5.0

24 Jan 08:41
Compare
Choose a tag to compare

0.5.0 January 24, 2023

  • add support for building with rustls via the rustls-tls feature
  • API change: update goose to 0.17
  • API change: Box TransactionError to avoid over-allocating memory on the stack (to match goose 0.17.0)
  • load_static_elements logs asset loading in multiple groups: css, js and img

v0.4.1

16 Jun 08:41
b123fe1
Compare
Choose a tag to compare

0.4.1 June 16, 2022

  • introduce validate_page to validate a page without loading static assets, an alternative to validate_and_load_static_assets

v0.4.0

01 May 07:16
ecae2f1
Compare
Choose a tag to compare

0.4.0 May 1, 2022

  • update goose to 0.16

v0.3.1

02 Nov 09:24
aabeff8
Compare
Choose a tag to compare

0.3.1 November 2, 2021

  • update goose to 0.15

v0.3.0

26 Oct 11:12
73fbd23
Compare
Choose a tag to compare

0.3.0 October 26, 2021

  • find forms identified with either id= or data-drupal-selector=
  • API change: introduce SearchParamsBuilder to build SearchParams objects
    o Replaces SearchParams::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 build Login objects
    o Replaces Login::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 build Validate objects
    o Replaces Validate::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 Removes Header and all associated functions
    o Builder pattern to validate headers is Validate::builder().header("cache").header_value("x-generator", "Drupal 7").build();

v0.2.0

05 Oct 07:26
77edb18
Compare
Choose a tag to compare

0.2.0 October 5, 2021

  • API change: update goose to 0.14

v0.1.12

22 Aug 06:13
fc65775
Compare
Choose a tag to compare
v0.1.12 Pre-release
Pre-release

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

04 Aug 06:49
Compare
Choose a tag to compare
v0.1.11 Pre-release
Pre-release

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

02 Aug 14:20
Compare
Choose a tag to compare
v0.1.10 Pre-release
Pre-release

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 with SearchParams 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