<commit_before>= Mechanize CHANGELOG

=== Unreleased

* New Features
  * Mechanize#start and Mechanize#shutdown (Thanks, <NAME>!)
  * Added Mechanize::Agent#allowed_error_codes for setting an Array
    of status codes which should not raise an error. #248 Laurence Rowe.
  * `File.save` now takes an optional second Hash argument, this includes
    an `overwrite` option which when set to true will overwrite the original
    file if it exists, otherwise fall back to the default behaviour. #219

* Minor enhancements
  * Added Mechanize::Download#save_as as an alias to #save. #246
  * Fix documentation for `Mechanize::Page` element matchers. #269

* Bug fix
  * Mechanize#cert and Mechanize#key now return the values set by
    #cert= and #key=. #244, #245 (Thanks, <NAME>!)
  * Mechanize no longer submits disabled form fields.  #276 by <NAME>,
    #279 by <NAME>.
  * Mechanize::File#save now behaves like Mechanize::Download#save in
    that it will create the parent directory before saving.
    #272, #280 by <NAME>
  * Ensure `application/xml` is registered as an XML parser in
    `PluggableParser`, not just `text/xml`. #266 James Gregory
  * Mechanize no longer attempts to follow redirects in non HEAD/GET
    requests. See RFC 2616#10.3. #281

=== 2.5.2

* New Features
  * Mechanize::CookieJar#save_as takes a keyword option "session" to say
    that session cookies should be saved.  Based on #230 by <NAME>.

* Minor enhancements
  * Added Mechanize#follow_redirect= as an alias to redirect_ok=.

* Bug fix
  * Fixed casing of the Mac Firefox user-agent alias to match Linux Firefox.<commit_msg>updated changes for 262<commit_after>= Mechanize CHANGELOG

=== Unreleased

* New Features
  * Mechanize#start and Mechanize#shutdown (Thanks, <NAME>!)
  * Added Mechanize::Agent#allowed_error_codes for setting an Array
    of status codes which should not raise an error. #248 Laurence Rowe.
  * `File.save` now takes an optional second Hash argument, this includes
    an `overwrite` option which when set to true will overwrite the original
    file if it exists, otherwise fall back to the default behaviour. #219
  * DirectorySaver::save_to now accepts an option to decode filename. #262

* Minor enhancements
  * Added Mechanize::Download#save_as as an alias to #save. #246
  * Fix documentation for `Mechanize::Page` element matchers. #269

* Bug fix
  * Mechanize#cert and Mechanize#key now return the values set by
    #cert= and #key=. #244, #245 (Thanks, <NAME>!)
  * Mechanize no longer submits disabled form fields.  #276 by <NAME>,
    #279 by <NAME>.
  * Mechanize::File#save now behaves like Mechanize::Download#save in
    that it will create the parent directory before saving.
    #272, #280 by <NAME>
  * Ensure `application/xml` is registered as an XML parser in
    `PluggableParser`, not just `text/xml`. #266 James Gregory
  * Mechanize no longer attempts to follow redirects in non HEAD/GET
    requests. See RFC 2616#10.3. #281

=== 2.5.2

* New Features
  * Mechanize::CookieJar#save_as takes a keyword option "session" to say
    that session cookies should be saved.  Based on #230 by <NAME>.

* Minor enhancements
  * Added Mechanize#follow_redirect= as an alias to redirect_ok=.

* Bug fix
  * Fixed casing of the Mac Firefox user-agent alias to match Linux Firefox.
{'fraction_non_alphanumeric': 0.08371109096403748, 'fraction_numerical': 0.031429434874584466, 'mean_word_length': 3.9476831091180866, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3570642', 'n_tokens_mistral': 1041, 'n_tokens_neox': 942, 'n_words': 423}