Releases: cloudflare/workers-types
v3.19.0
v3.18.0
Minor Changes
- #307
0721beb
Thanks @autodecl-bot! - Updated auto-generated types @ 2022-10-21
Patch Changes
-
#301
17b6d16
Thanks @caass! - Improve theIncomingRequestCfProperties
type.Previously, this type was based on our docs, which didn't include some fields. Now we've gone through the code that generates these fields and ensured that every property matches up.
Additionally, we added examples and documentation for almost everything, so it should be more clear exactly what a certain property is or isn't.
v3.17.0
Minor Changes
- #294
fba318b
Thanks @Frederik-Baetens! - Updated auto-generated types @ 2022-10-13
Patch Changes
-
#280
6e55069
Thanks @WalshyDev! - Make clientTcpRtt optional -
#288
4fe75b2
Thanks @florianmartens! - Add 'origin-auth' to RequestInitCfPropertiesImage interface. This changes fixes types for users attempting to fetch images from authenticated sources. Before this fix, users had to manually extend the fetch interface to satisfy the TS compiler. -
#275
c9e2084
Thanks @KianNH! - chore: add corporateProxy to request.cf.botManagement -
#285
b6a5d1a
Thanks @sid405! - Fix return type of D1PreparedStatement.all
v3.16.0
Minor Changes
- #273
bc80605
Thanks @autodecl-bot! - Updated auto-generated types @ 2022-08-30
v3.15.0
v3.14.1
Patch Changes
- #245
bf5d870
Thanks @jacobbednarz! - Added support forisEUCountry
property onIncomingRequestCfProperties
v3.14.0
v3.13.0
v3.12.0
Minor Changes
-
#247
2cdc8cf
Thanks @iveelsm! - Allow for cacheTags to be passed on fetch requestsAllowing cacheTags within the workers process to be processed as part of a standard fetch has been a highly requested feature. This new object within the request initialization will allow for supplemental Cache-Tag headers to be returned so that they can be stored with the relevant content. This will allow for better control over Purge by Tag mechanisms within the workers processes.
Implementation:
- Adds a new object to the
cf.d.ts
declaration.
- Adds a new object to the
v3.11.0
Minor Changes
- #236
9409be6
Thanks @autodecl-bot! - Updated auto-generated types @ 2022-05-11