Digest authentication support, deprecated in 2.0.0, has been
removed (Jeremy Evans #307)
requiring rack/mock_session, deprecated in 2.0.0, has been removed
(Jeremy Evans #307)
Minor enhancements:
The original_filename for Rack::Test::UploadedFile can now be
set even if the content of the file comes from a file path
(Stuart Chinery #314)
Add Rack::Test::Session#restore_state, for executing a block
and restoring current state (last request, last response, and
cookies) after the block (Jeremy Evans #316)
Make Rack::Test::Methods support default_host method similar to
app, which will set the default host used for requests to the app
(Jeremy Evans #317#318)
Allow responses to set cookie paths not matching the current
request URI. Such cookies will only be sent for paths matching
the cookie path (Chris Waters #322)
Ignore leading dot for cookie domains, per RFC 6265 (Stephen Crosby
#329)
Avoid creating empty multipart body if params is empty in
Rack::Test::Session#env_for (Ryunosuke Sato #331)
2.0.2 / 2022-06-28
Bug fixes:
Fix additional incompatible character encodings error when building
uploaded bodies (Jeremy Evans #311)
2.0.1 / 2022-06-27
Bug fixes:
Fix incompatible character encodings error when building uploaded
file bodies (Jeremy Evans #308#309)
2.0.0 / 2022-06-24
Breaking changes:
Digest authentication support is now deprecated, as it relies on
digest authentication support in rack, which has been deprecated
(Jeremy Evans #294)
Rack::Test::Utils.build_primitive_part no longer handles array
values (Jeremy Evans #292)
Rack::Test::Utils module methods other than build_nested_query
and build_multipart are now private methods (Jeremy Evans #297)
Rack::MockSession has been combined into Rack::Test::Session,
and remains as an alias to Rack::Test::Session, but to keep some
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on rack-test to permit the latest version.
Changelog
Sourced from rack-test's changelog.
... (truncated)
Commits
867a6f1
Release 2.1.044e8be4
Update History.md5a2a3bf
Don't raise error with empty params and multipart headerfebbea4
Update CHANGELOG79c5077
Fix tests when rack master branch is used70f4db2
Ignore leading dot when merging cookies73c7174
Bump cgi version in Ruby 3.1 CI test8fb4fb2
Add CI for Ruby 3.210e7040
Test JRuby 9.4 in CI2036831
change order of arguments forassert_equal
example in READMEDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show