Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Releases: cloudflare/workers-types

v3.19.0

19 Jan 21:07
c8d9533
Compare
Choose a tag to compare

Minor Changes

  • 0edd92e Thanks @mrbbot! - Merge and make optional all IncomingRequestCfPropertiesGeographicInformation properties

Patch Changes

v3.18.0

21 Oct 17:06
c0de39a
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #301 17b6d16 Thanks @caass! - Improve the IncomingRequestCfProperties 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

13 Oct 15:58
3d10885
Compare
Choose a tag to compare

Minor Changes

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

01 Sep 09:10
9731f04
Compare
Choose a tag to compare

Minor Changes

v3.15.0

30 Aug 15:32
5cdbb4f
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #259 38b7e0f Thanks @vlovich! - Fix DurableObject transaction get to properly return Promise<T | undefined> instead of Promise<T>

v3.14.1

10 Jul 10:15
35db01d
Compare
Choose a tag to compare

Patch Changes

v3.14.0

29 Jun 21:02
f661c28
Compare
Choose a tag to compare

Minor Changes

v3.13.0

17 Jun 01:32
Compare
Choose a tag to compare

Minor Changes

v3.12.0

15 Jun 09:16
92cbe57
Compare
Choose a tag to compare

Minor Changes

  • #247 2cdc8cf Thanks @iveelsm! - Allow for cacheTags to be passed on fetch requests

    Allowing 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.

v3.11.0

21 May 04:19
3012f26
Compare
Choose a tag to compare

Minor Changes