Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: standard
maturin_args: "--find-interpreter"
- name: free-threaded
maturin_args: "--interpreter 3.13t 3.14t"
maturin_args: "--interpreter 3.14t"
platform:
- runner: ubuntu-latest
target: x86_64
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
- name: standard
maturin_args: "--find-interpreter"
- name: free-threaded
maturin_args: "--interpreter 3.13t 3.14t"
maturin_args: "--interpreter 3.14t"
platform:
- runner: ubuntu-22.04
target: x86_64-unknown-linux-musl
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
maturin_args: ""
cargo_args: ""
- name: free-threaded
maturin_args: "--interpreter 3.13t 3.14t"
maturin_args: "--interpreter 3.14t"
cargo_args: "--no-default-features"
platform:
- target: x64
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
- name: standard
maturin_args: "--find-interpreter"
- name: free-threaded
maturin_args: "--interpreter 3.13t 3.14t"
maturin_args: "--interpreter 3.14t"
platform:
- runner: macos-latest
target: x86_64
Expand Down
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ abi3-py314 = ["pyo3/abi3-py314"]
[dependencies]
tokio = "1.52.2"
tokio-util = "0.7.18"
pyo3 = { version = "0.28.3", features = [
pyo3 = { version = "0.29.0", features = [
"indexmap",
"multiple-pymethods",
"extension-module",
"generate-import-lib",
"experimental-async",
] }
pyo3-async-runtimes = { version = "0.28.0", features = [
pyo3-async-runtimes = { version = "0.29.0", features = [
"tokio-runtime",
"unstable-streams",
] }
Expand All @@ -47,11 +47,11 @@ serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1"
serde_urlencoded = "0.7.1"
indexmap = { version = "2.13.0", features = ["serde"] }
bytes = "1.11.1"
arc-swap = "1.9.0"
http = "1.4.0"
bytes = "1.12.1"
arc-swap = "1.9.2"
http = "1.4.2"
http-body-util = "0.1.3"
wreq = { version = "6.0.0-rc.29", features = [
wreq = { version = "6.0.0-rc", features = [
"query",
"form",
"json",
Expand All @@ -67,13 +67,13 @@ wreq = { version = "6.0.0-rc.29", features = [
"ws",
"parking_lot",
] }
wreq-util = { version = "3.0.0-rc.12", features = ["emulation-compression"] }
wreq-util = { version = "3.0.0-rc", features = ["emulation-compression"] }
hickory-resolver = "0.25.2"
cookie = "0.18"
mimalloc = { version = "0.1.43", default-features = false, features = [
"local_dynamic_tls",
], optional = true }
tikv-jemallocator = { version = "0.6.1", default-features = false, features = [
tikv-jemallocator = { version = "0.7.0", default-features = false, features = [
"disable_initial_exec_tls",
], optional = true }

Expand Down
12 changes: 6 additions & 6 deletions docs/source/getting-started/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,31 +74,31 @@ Due to the complexity of **TLS** encryption and the widespread adoption of **HTT

---

`Chrome100` `Chrome101` `Chrome104` `Chrome105` `Chrome106` `Chrome107` `Chrome108` `Chrome109` `Chrome110` `Chrome114` `Chrome116` `Chrome117` `Chrome118` `Chrome119` `Chrome120` `Chrome123` `Chrome124` `Chrome126` `Chrome127` `Chrome128` `Chrome129` `Chrome130` `Chrome131` `Chrome132` `Chrome133` `Chrome134` `Chrome135` `Chrome136` `Chrome137` `Chrome138` `Chrome139` `Chrome140` `Chrome141` `Chrome142` `Chrome143` `Chrome144` `Chrome145` `Chrome146` `Chrome147`
`Chrome100` `Chrome101` `Chrome104` `Chrome105` `Chrome106` `Chrome107` `Chrome108` `Chrome109` `Chrome110` `Chrome114` `Chrome116` `Chrome117` `Chrome118` `Chrome119` `Chrome120` `Chrome123` `Chrome124` `Chrome126` `Chrome127` `Chrome128` `Chrome129` `Chrome130` `Chrome131` `Chrome132` `Chrome133` `Chrome134` `Chrome135` `Chrome136` `Chrome137` `Chrome138` `Chrome139` `Chrome140` `Chrome141` `Chrome142` `Chrome143` `Chrome144` `Chrome145` `Chrome146` `Chrome147` `Chrome148` `Chrome149`

- :fontawesome-brands-edge: **Edge**

---

`Edge101` `Edge122` `Edge127` `Edge131` `Edge134` `Edge135` `Edge136` `Edge137` `Edge138` `Edge139` `Edge140` `Edge141` `Edge142` `Edge143` `Edge144` `Edge145`, `Edge146` `Edge147`
`Edge101` `Edge122` `Edge127` `Edge131` `Edge134` `Edge135` `Edge136` `Edge137` `Edge138` `Edge139` `Edge140` `Edge141` `Edge142` `Edge143` `Edge144` `Edge145` `Edge146` `Edge147` `Edge148`

- :fontawesome-brands-firefox: **Firefox**

---

`Firefox109` `Firefox117` `Firefox128` `Firefox133` `Firefox135` `FirefoxPrivate135` `FirefoxAndroid135` `Firefox136` `FirefoxPrivate136` `Firefox139` `Firefox142` `Firefox143` `Firefox144` `Firefox145` `Firefox146` `Firefox147` `Firefox148` `Firefox149`
`Firefox109` `Firefox117` `Firefox128` `Firefox133` `Firefox135` `FirefoxPrivate135` `FirefoxAndroid135` `Firefox136` `FirefoxPrivate136` `Firefox139` `Firefox142` `Firefox143` `Firefox144` `Firefox145` `Firefox146` `Firefox147` `Firefox148` `Firefox149` `Firefox150` `Firefox151`

- :fontawesome-brands-safari: **Safari**

---

`SafariIos17_2` `SafariIos17_4_1` `SafariIos16_5` `Safari15_3` `Safari15_5` `Safari15_6_1` `Safari16` `Safari16_5` `Safari17_0` `Safari17_2_1` `Safari17_4_1` `Safari17_5` `Safari18` `SafariIPad18` `Safari18_2` `Safari18_3` `Safari18_3_1` `SafariIos18_1_1` `Safari18_5` `Safari26` `Safari26_1` `Safari26_2` `SafariIos26` `SafariIos26_2` `SafariIPad26` `SafariIpad26_2`
`SafariIos17_2` `SafariIos17_4_1` `SafariIos16_5` `Safari15_3` `Safari15_5` `Safari15_6_1` `Safari16` `Safari16_5` `Safari17_0` `Safari17_2_1` `Safari17_4_1` `Safari17_5` `Safari17_6` `Safari18` `SafariIPad18` `Safari18_2` `Safari18_3` `Safari18_3_1` `SafariIos18_1_1` `Safari18_5` `Safari26` `Safari26_1` `Safari26_2` `Safari26_3` `Safari26_4` `SafariIos26` `SafariIos26_2` `SafariIPad26` `SafariIpad26_2`

- :fontawesome-brands-opera: **Opera**

---

`Opera116` `Opera117` `Opera118` `Opera119` `Opera120` `Opera121` `Opera122` `Opera123` `Opera124` `Opera125` `Opera126` `Opera127` `Opera128` `Opera129` `Opera130`
`Opera116` `Opera117` `Opera118` `Opera119` `Opera120` `Opera121` `Opera122` `Opera123` `Opera124` `Opera125` `Opera126` `Opera127` `Opera128` `Opera129` `Opera130` `Opera131`

- :material-web: **OkHttp**

Expand All @@ -122,4 +122,4 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
[requests]: https://github.com/psf/requests
[httpx]: https://github.com/encode/httpx
[Buffer]: https://docs.python.org/3/c-api/buffer.html
[GIL]: https://docs.python.org/3/c-api/init.html#thread-and-gil-management
[GIL]: https://docs.python.org/3/c-api/init.html#thread-and-gil-management
18 changes: 18 additions & 0 deletions python/wreq/emulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class Profile(Enum):
Chrome145 = auto()
Chrome146 = auto()
Chrome147 = auto()
Chrome148 = auto()
Chrome149 = auto()

# Microsoft Edge versions
Edge101 = auto()
Expand All @@ -84,6 +86,7 @@ class Profile(Enum):
Edge145 = auto()
Edge146 = auto()
Edge147 = auto()
Edge148 = auto()

# Firefox versions
Firefox109 = auto()
Expand All @@ -104,6 +107,8 @@ class Profile(Enum):
Firefox147 = auto()
Firefox148 = auto()
Firefox149 = auto()
Firefox150 = auto()
Firefox151 = auto()

# Safari versions
SafariIos17_2 = auto()
Expand All @@ -118,6 +123,7 @@ class Profile(Enum):
Safari17_2_1 = auto()
Safari17_4_1 = auto()
Safari17_5 = auto()
Safari17_6 = auto()
Safari18 = auto()
SafariIPad18 = auto()
Safari18_2 = auto()
Expand All @@ -128,6 +134,8 @@ class Profile(Enum):
Safari26 = auto()
Safari26_1 = auto()
Safari26_2 = auto()
Safari26_3 = auto()
Safari26_4 = auto()
SafariIos26 = auto()
SafariIos26_2 = auto()
SafariIPad26 = auto()
Expand Down Expand Up @@ -159,6 +167,7 @@ class Profile(Enum):
Opera128 = auto()
Opera129 = auto()
Opera130 = auto()
Opera131 = auto()


@final
Expand Down Expand Up @@ -228,6 +237,8 @@ class Emulation:
Chrome145: ClassVar[Profile] = Profile.Chrome145
Chrome146: ClassVar[Profile] = Profile.Chrome146
Chrome147: ClassVar[Profile] = Profile.Chrome147
Chrome148: ClassVar[Profile] = Profile.Chrome148
Chrome149: ClassVar[Profile] = Profile.Chrome149

# Microsoft Edge versions
Edge101: ClassVar[Profile] = Profile.Edge101
Expand All @@ -248,6 +259,7 @@ class Emulation:
Edge145: ClassVar[Profile] = Profile.Edge145
Edge146: ClassVar[Profile] = Profile.Edge146
Edge147: ClassVar[Profile] = Profile.Edge147
Edge148: ClassVar[Profile] = Profile.Edge148

# Firefox versions
Firefox109: ClassVar[Profile] = Profile.Firefox109
Expand All @@ -268,6 +280,8 @@ class Emulation:
Firefox147: ClassVar[Profile] = Profile.Firefox147
Firefox148: ClassVar[Profile] = Profile.Firefox148
Firefox149: ClassVar[Profile] = Profile.Firefox149
Firefox150: ClassVar[Profile] = Profile.Firefox150
Firefox151: ClassVar[Profile] = Profile.Firefox151

# Safari versions
SafariIos17_2: ClassVar[Profile] = Profile.SafariIos17_2
Expand All @@ -282,6 +296,7 @@ class Emulation:
Safari17_2_1: ClassVar[Profile] = Profile.Safari17_2_1
Safari17_4_1: ClassVar[Profile] = Profile.Safari17_4_1
Safari17_5: ClassVar[Profile] = Profile.Safari17_5
Safari17_6: ClassVar[Profile] = Profile.Safari17_6
Safari18: ClassVar[Profile] = Profile.Safari18
SafariIPad18: ClassVar[Profile] = Profile.SafariIPad18
Safari18_2: ClassVar[Profile] = Profile.Safari18_2
Expand All @@ -292,6 +307,8 @@ class Emulation:
Safari26: ClassVar[Profile] = Profile.Safari26
Safari26_1: ClassVar[Profile] = Profile.Safari26_1
Safari26_2: ClassVar[Profile] = Profile.Safari26_2
Safari26_3: ClassVar[Profile] = Profile.Safari26_3
Safari26_4: ClassVar[Profile] = Profile.Safari26_4
SafariIos26: ClassVar[Profile] = Profile.SafariIos26
SafariIos26_2: ClassVar[Profile] = Profile.SafariIos26_2
SafariIPad26: ClassVar[Profile] = Profile.SafariIPad26
Expand Down Expand Up @@ -323,6 +340,7 @@ class Emulation:
Opera128: ClassVar[Profile] = Profile.Opera128
Opera129: ClassVar[Profile] = Profile.Opera129
Opera130: ClassVar[Profile] = Profile.Opera130
Opera131: ClassVar[Profile] = Profile.Opera131

def __init__(
self,
Expand Down
9 changes: 9 additions & 0 deletions src/emulate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ define_enum!(
Chrome145,
Chrome146,
Chrome147,
Chrome148,
Chrome149,

Edge101,
Edge122,
Expand All @@ -67,6 +69,7 @@ define_enum!(
Edge145,
Edge146,
Edge147,
Edge148,

Firefox109,
Firefox117,
Expand All @@ -86,6 +89,8 @@ define_enum!(
Firefox147,
Firefox148,
Firefox149,
Firefox150,
Firefox151,

SafariIos17_2,
SafariIos17_4_1,
Expand All @@ -99,6 +104,7 @@ define_enum!(
Safari17_2_1,
Safari17_4_1,
Safari17_5,
Safari17_6,
Safari18,
SafariIPad18,
Safari18_2,
Expand All @@ -109,6 +115,8 @@ define_enum!(
Safari26,
Safari26_1,
Safari26_2,
Safari26_3,
Safari26_4,
SafariIos26,
SafariIos26_2,
SafariIPad26,
Expand Down Expand Up @@ -138,6 +146,7 @@ define_enum!(
Opera128,
Opera129,
Opera130,
Opera131,
);

define_enum!(
Expand Down
Loading