1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-13 04:11:09 +00:00
actix-web/actix-test/CHANGES.md
Matt Palmer 758ae1dac1
actix-test: allow the configuration of the TestServer address (#3351)
* actix-test: allow the configuration of the TestServer address

This is useful if you're running (say) Selenium tests against a running TestServer, and the Selenium workers are Docker containers elsewhere in the network.
Not a *particularly* common use case, perhaps, but one that I can attest happens every now and then.

* Update CHANGES.md

* Adjust default listen address to avoid test failures

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-06-09 19:07:08 +00:00

2.4 KiB

Changes

Unreleased

  • Add TestServerConfig::listen_address() method.

0.1.4

  • Add TestServerConfig::rustls_0_23() method for Rustls v0.23 support behind new rustls-0_23 crate feature.
  • Add TestServerConfig::disable_redirects() method.
  • Various types from awc, such as ClientRequest and ClientResponse, are now re-exported.
  • Minimum supported Rust version (MSRV) is now 1.72.

0.1.3

  • Add TestServerConfig::rustls_0_22() method for Rustls v0.22 support behind new rustls-0_22 crate feature.

0.1.2

  • Add TestServerConfig::rustls_021() method for Rustls v0.21 support behind new rustls-0_21 crate feature.
  • Add TestServerConfig::workers() method.
  • Add rustls-0_20 crate feature, which the existing rustls feature now aliases.
  • Minimum supported Rust version (MSRV) is now 1.68 due to transitive time dependency.

0.1.1

  • Add TestServerConfig::port() setter method.
  • Minimum supported Rust version (MSRV) is now 1.59 due to transitive time dependency.

0.1.0

  • Minimum supported Rust version (MSRV) is now 1.57 due to transitive time dependency.

0.1.0-beta.13

  • No significant changes since 0.1.0-beta.12.

0.1.0-beta.12

  • Rename TestServerConfig::{client_timeout => client_request_timeout}. #2611

0.1.0-beta.11

  • Minimum supported Rust version (MSRV) is now 1.54.

0.1.0-beta.10

  • No significant changes since 0.1.0-beta.9.

0.1.0-beta.9

  • Re-export actix_http::body::to_bytes. #2518
  • Update actix_web::test re-exports. #2518

0.1.0-beta.8

  • No significant changes since 0.1.0-beta.7.

0.1.0-beta.7

  • Fix compatibility with experimental io-uring feature of actix-rt. #2408

0.1.0-beta.6

  • No significant changes from 0.1.0-beta.5.

0.1.0-beta.5

  • Updated rustls to v0.20. #2414
  • Minimum supported Rust version (MSRV) is now 1.52.

0.1.0-beta.4

  • Minimum supported Rust version (MSRV) is now 1.51.

0.1.0-beta.3

  • No significant changes from 0.1.0-beta.2.

0.1.0-beta.2

  • No significant changes from 0.1.0-beta.1.

0.1.0-beta.1

  • Move integration testing structs from actix-web. #2112