Skip to content

Update Rust crate worker to 0.7.0#10

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/worker-0.x
Open

Update Rust crate worker to 0.7.0#10
renovate[bot] wants to merge 1 commit intomainfrom
renovate/worker-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Jun 26, 2022

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change
worker dependencies minor 0.0.60.7.0

Release Notes

cloudflare/workers-rs (worker)

v0.7.5

Compare Source

What's Changed

New Contributors

Full Changelog: cloudflare/workers-rs@v0.7.4...v0.7.5

v0.7.4

Compare Source

What's Changed

Full Changelog: cloudflare/workers-rs@v0.7.3...v0.7.4

v0.7.3

Compare Source

What's Changed

New Contributors

Full Changelog: cloudflare/workers-rs@v0.7.2...v0.7.3

v0.7.2

Compare Source

What's Changed

New Contributors

Full Changelog: cloudflare/workers-rs@v0.7.1...v0.7.2

v0.7.1

Compare Source

What's Changed

Full Changelog: cloudflare/workers-rs@v0.7.0...v0.7.1

v0.7.0

Compare Source

For users not updating to this version, make sure to use cargo install worker-build@0.1.14, as the latest 0.7 will no longer work with older versions of the worker library.

Breaking Changes

  • Durable object storage.get now returns an option to handle missing entries instead of an error (#​859)
  • The DurableObject trait now needs to be explicitly imported and won't be brought into scope automatically, which was stopping multiple durable objects in the same file from working correctly (#​872)
  • As of version worker@0.7.0 and worker-build@0.7.0, these toolchains now are majorly versioned together and will throw when using unexpected versions. Attempting to use worker@0.6 with worker-build@0.7.0 will throw an error. It is instead recommended to lock the version of worker-build to the expected semver via cargo install worker-build@^0.7.

Deprecations

  • worker-kv is no longer published, and is instead available as worker::kv
  • data() and get_env() on RouteContext for instead using these fields directly

Features

Bug Fixes & Refactoring

New Contributors

Full Changelog: cloudflare/workers-rs@v0.6.7...v0.7.0

v0.6.7

Compare Source

What's Changed

New Contributors

Full Changelog: cloudflare/workers-rs@v0.6.6...v0.6.7

v0.6.6

Compare Source

Features

New Contributors

Full Changelog: cloudflare/workers-rs@v0.6.5...v0.6.6

v0.6.5

Compare Source

Fixes

Full Changelog: cloudflare/workers-rs@v0.6.4...v0.6.5

v0.6.4

Compare Source

Fixes

Full Changelog: cloudflare/workers-rs@v0.6.3...v0.6.4

v0.6.3

Compare Source

Features

Bug Fixes

Full Changelog: cloudflare/workers-rs@v0.6.2...v0.6.3

v0.6.2

Compare Source

Features

Fixes

  • Fix "hiding a lifetime that's elided elsewhere is confusing" warnings on the Nightly compiler by @​jakubadamw in #​795

New Contributors

Full Changelog: cloudflare/workers-rs@v0.6.1...v0.6.2

v0.6.1

Compare Source

Features

Fixes

New Contributors

Full Changelog: cloudflare/workers-rs@v0.6.0...v0.6.1

v0.6.0

Compare Source

Breaking Changes

Features

Bug Fixes

New Contributors

Full Changelog: cloudflare/workers-rs@v0.5.0...v0.6.0

v0.5.0

Compare Source

What's Changed

Full Changelog: cloudflare/workers-rs@v0.4.2...v0.5.0

v0.4.2

Compare Source

What's Changed

New Contributors

Full Changelog: cloudflare/workers-rs@v0.4.1...v0.4.2

v0.4.1

Compare Source

What's Changed

Full Changelog: cloudflare/workers-rs@v0.4.0...v0.4.1

v0.4.0

Compare Source

What's Changed

[!CAUTION]
Breaking: Make R2 Object::size return u64 by @​lkolbly in #​625

New Contributors

Full Changelog: cloudflare/workers-rs@v0.3.4...v0.4.0

v0.3.4

Compare Source

What's Changed

  • Fix breaking change in js-sys / web-sys. Remove HeaderExt and AbortSignalExt by @​kflansburg in #​621

Full Changelog: cloudflare/workers-rs@v0.3.3...v0.3.4

v0.3.3

Compare Source

What's Changed

New Contributors

Full Changelog: cloudflare/workers-rs@v0.3.2...v0.3.3

v0.3.2

Compare Source

What's Changed

Full Changelog: cloudflare/workers-rs@v0.3.1...v0.3.2

v0.3.1

Compare Source

What's Changed

New Contributors

Full Changelog: cloudflare/workers-rs@v0.3.0...v0.3.1

v0.3.0

Compare Source

What's Changed

[!TIP]
You can now get started in seconds by running cargo generate cloudflare/workers-rs!

[!TIP]
You can now use Workers Hyperdrive to speed up connections to your SQL database using tokio-postgres. Check out our updated example.

[!CAUTION]
Rust 1.75 or greater is now required due to use of impl Trait in trait method return type.

[!CAUTION]
In order to support range requests larger than 4GB, worker_sys::R2Range now accepts f64 instead of u32. worker::Range options have changed to make the functionality more clear and now accept u64 instead of u32.

[!CAUTION]
This change removes ResponseInit, which is replaced by an idiomatic ResponseBuilder pattern, all other APIs should remain unchanged. In addition, the encodeBody property is now available to support returning pre-compressed data.

New Contributors

Full Changelog: cloudflare/workers-rs@v0.2.0...v0.3.0

v0.2.0

Compare Source

What's Changed

R2 Improvements
API Flexibility

[!NOTE]
These changes should not be breaking: they should only expand the set of request, response, and error types supported by the event macro:

  • The error type returned can now be any type which implements Into<Box<dyn std::error::Error>> (including worker::Error).
  • Introduces FromRequest trait, and handler request type can be any type that implements this trait. Implementations are provided for web_sys::Request, worker::Request, and http::Request<worker::Body>.
  • Introduces IntoResponse trait, and handler response type can be any type that implements this trait. Implementations are provided for web_sys::Response, worker::Response, and http::Response<B> where B: http_body::Body.
Workers RPC
General
  • chore(deps): bump rustls from 0.22.3 to 0.22.4 by @​dependabot in #​553
  • 🤽 worker-sys Make all methods catch: this greatly improves error reporting for exceptions which originate in JavaScript by @​Jasper-Bekkers in #​546

[!CAUTION]
Making worker-sys methods catch changes them all to return Result. worker crate APIs should not have breaking changes, but if you use worker-sys APIs directly (including some user-facing APIs such as D1ExecResult), then you may need update your code to handle this change.

New Contributors

Full Changelog: cloudflare/workers-rs@v0.1.0...v0.2.0

v0.1.0

Compare Source

New Versioning Pattern

We will be using 0.x.y as our version pattern going forward so that we can better use semantic versioning. Minor version (x) changes will be used to indicate breaking changes, and patch version (y) changes will indicate non-breaking changes. We will continue be using 0 for our major version.

What's Changed

Sockets
Binary Size
  • Make chrono-tz an optional dependency. This dependency was found to be a major contributor to binary size. By @​kflansburg in #​520

[!CAUTION]
Breaking: You will now need the timezone feature to access Cf.timezone.

[!CAUTION]
Breaking: You will now need axum feature to have From<worker::Response> for http::Response<axum::body::Body>

D1
  • Introduce methods on D1PreparedStatement to access D1PreparedStatementSys and raw JsValue query results, by @​dakom in #​521
HTTP
  • More flexible fetch handler signature allowing any type implementing From<web_sys::Request> for request argument by @​dakom in #​525
Other Fixes
Dependabot

New Contributors

Full Changelog: cloudflare/workers-rs@v0.0.24...v0.1.0

v0.0.24

Compare Source

Major Changes to Queues API

In #​335, major changes were made to the Queues API to bring it to parity with new features that have been introduced to the JavaScript API over time. This includes things like content type, delaying messages, and explicit acknowledgement and retries.

This comes with a few breaking changes:

  • Message fields like body, timestamp, and id are no longer public, and Message can no longer be created from a struct literal. Instead, these fields must be accessed via methods body(), timestamp(), and id().
  • iter() on MessageBatch no longer has a lifetime.
  • MessageBatch::new() has been removed.

New features:

  • ack() and retry() are now available on the individual message
  • retry_with_options() was added to allow specifying the QueueRetryOptions
  • ack_all() is now available on MessageBatch
  • retry_all_with_options() was added to MessageBatch to allow specifying the QueueRetryOptions
  • send_batch() is now available on Queue
  • It's now possible to set QueueSendOptions when sending a message
    • New builder structs MessageBuilder, BatchMessageBuilder, and RawMessageBuilder added to allow for the creation of messages with options.
  • Allow for sending and receiving of the raw JsValue (either Text or V8 content types):
    • Message now has a raw_body function that returns a JsValue.
    • raw_iter() fn has been added to MessageBatch.
    • Queue now has a send_raw and send_raw_batch function that allows sending of JsValue.

Thanks to @​jdon !

Other Changes

Full Changelog: cloudflare/workers-rs@v0.0.23...v0.0.24

v0.0.23

Compare Source

What's Changed

New Contributors

Full Changelog: cloudflare/workers-rs@v0.0.22...v0.0.23

v0.0.22

Compare Source

This release continues our conversion to the http crate. In a number of key ways:

  • Convert test suite to use axum when http feature is enabled. This was a great dogfooding exercise and helped to identify ergonomics issues. Based on this we developed the utilities (see documentation):
    • Introduce worker::send to mark arbitrary async functions as Send (useful for axum handler methods).
    • Introduce SendFuture wrapper for marking a specific Future as Send.
    • Introduce SendWrapper for marking a particular object as Send. This is useful for axum router state.
  • Implement Send, Sync, and Clone for Queue, making it easier to use with axum. Thanks @​avsaase!

We will continue to make ergonomic improvements to simplify usage of axum and other frameworks which generally expect objects to be Send, Sync, and Clone.

Other Changes

  • implement get_tags for hibernatable websockets by @​eric-seppanen in #​484
  • Add tests for Durable + Websocket + Hibernation API by @​j-white in #​495
  • Introduce D1PreparedStatement.bind_refs and batch_bind which does not take ownership of arguments, and enables more ergonomic and performant use of the D1 API. It also introduces D1Type which provides better type safety for these arguments than the previous API which allowed arbitrary JsValue. @​kflansburg in #​493
  • Expose DurableObject Storage's transaction function by @​TannerRogalsky in #​487

New Contributors

Full Changelog: cloudflare/workers-rs@v0.0.21...v0.0.22

v0.0.21

Compare Source

New http feature flag

A feature flag (http) was introduced to begin migrating from custom request and response types to widely used types in the http crate. See the README for more information.

What's Changed

New Contributors

  • [@​NicoZweifel](http

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update Rust crate worker to 0.0.10 Update Rust crate worker to 0.0.11 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 5d279ad to 9d380ca Compare September 25, 2022 22:07
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 9d380ca to 80c47ad Compare November 20, 2022 14:20
@renovate renovate bot changed the title Update Rust crate worker to 0.0.11 Update Rust crate worker to 0.0.12 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 80c47ad to 0b52094 Compare March 16, 2023 12:08
@renovate renovate bot changed the title Update Rust crate worker to 0.0.12 Update Rust crate worker to 0.0.15 Mar 23, 2023
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 0b52094 to e1294ef Compare March 23, 2023 15:49
@renovate renovate bot changed the title Update Rust crate worker to 0.0.15 Update Rust crate worker to 0.0.16 May 28, 2023
@renovate renovate bot force-pushed the renovate/worker-0.x branch from e1294ef to e8a7dee Compare May 28, 2023 23:56
@renovate renovate bot changed the title Update Rust crate worker to 0.0.16 Update Rust crate worker to 0.0.17 Jun 2, 2023
@renovate renovate bot force-pushed the renovate/worker-0.x branch from e8a7dee to dec5ce3 Compare June 2, 2023 02:34
@renovate renovate bot changed the title Update Rust crate worker to 0.0.17 Update Rust crate worker to 0.0.18 Aug 9, 2023
@renovate renovate bot force-pushed the renovate/worker-0.x branch from dec5ce3 to d0e05bb Compare August 9, 2023 05:23
@renovate renovate bot force-pushed the renovate/worker-0.x branch from d0e05bb to 41284e1 Compare March 7, 2024 02:31
@renovate renovate bot changed the title Update Rust crate worker to 0.0.18 Update Rust crate worker to 0.0.19 Mar 7, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 41284e1 to c9e99f8 Compare March 9, 2024 02:32
@renovate renovate bot changed the title Update Rust crate worker to 0.0.19 Update Rust crate worker to 0.0.20 Mar 9, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch from c9e99f8 to dd3b4a5 Compare March 16, 2024 14:47
@renovate renovate bot changed the title Update Rust crate worker to 0.0.20 Update Rust crate worker to 0.0.21 Mar 16, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch from dd3b4a5 to 19a42ed Compare March 27, 2024 05:54
@renovate renovate bot changed the title Update Rust crate worker to 0.0.21 Update Rust crate worker to 0.0.22 Mar 27, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 19a42ed to 12cdb74 Compare March 29, 2024 02:39
@renovate renovate bot changed the title Update Rust crate worker to 0.0.22 Update Rust crate worker to 0.0.23 Mar 29, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 12cdb74 to eab7bdd Compare March 30, 2024 23:56
@renovate renovate bot changed the title Update Rust crate worker to 0.0.23 Update Rust crate worker to 0.0.24 Mar 30, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch from eab7bdd to e37f827 Compare April 6, 2024 08:48
@renovate renovate bot changed the title Update Rust crate worker to 0.0.24 Update Rust crate worker to 0.1.0 Apr 6, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch from e37f827 to 0ec39e8 Compare April 29, 2024 17:41
@renovate renovate bot changed the title Update Rust crate worker to 0.1.0 Update Rust crate worker to 0.2.0 Apr 29, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 0ec39e8 to a7bed53 Compare May 23, 2024 05:31
@renovate renovate bot changed the title Update Rust crate worker to 0.2.0 Update Rust crate worker to 0.3.0 May 23, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch from a7bed53 to 0d0ca94 Compare September 14, 2024 08:47
@renovate renovate bot changed the title Update Rust crate worker to 0.3.0 Update Rust crate worker to 0.4.0 Sep 14, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 0d0ca94 to 344ee3d Compare December 12, 2024 04:23
@renovate renovate bot changed the title Update Rust crate worker to 0.4.0 Update Rust crate worker to 0.5.0 Dec 12, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 344ee3d to efd9720 Compare June 22, 2025 19:58
@renovate renovate bot changed the title Update Rust crate worker to 0.5.0 Update Rust crate worker to 0.6.0 Jun 22, 2025
@renovate renovate bot force-pushed the renovate/worker-0.x branch from efd9720 to e2cc615 Compare July 26, 2025 16:10
@renovate renovate bot force-pushed the renovate/worker-0.x branch from e2cc615 to e4f8584 Compare August 11, 2025 12:11
@renovate renovate bot force-pushed the renovate/worker-0.x branch 4 times, most recently from 6dcf9ef to e22dca7 Compare September 24, 2025 07:47
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Sep 24, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate bot force-pushed the renovate/worker-0.x branch from e22dca7 to 90e93a8 Compare September 26, 2025 00:05
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 90e93a8 to c8bcc3b Compare November 1, 2025 16:13
@renovate renovate bot force-pushed the renovate/worker-0.x branch from c8bcc3b to 47af76a Compare November 25, 2025 22:58
@renovate renovate bot changed the title Update Rust crate worker to 0.6.0 Update Rust crate worker to 0.7.0 Nov 25, 2025
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 47af76a to 9080046 Compare December 1, 2025 22:42
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 9080046 to fa2e357 Compare December 12, 2025 06:54
@renovate renovate bot force-pushed the renovate/worker-0.x branch from fa2e357 to fc65206 Compare December 21, 2025 01:15
@renovate renovate bot force-pushed the renovate/worker-0.x branch from fc65206 to 2abf543 Compare January 1, 2026 00:17
@renovate renovate bot force-pushed the renovate/worker-0.x branch 2 times, most recently from 2406216 to f165360 Compare January 17, 2026 04:14
@renovate renovate bot force-pushed the renovate/worker-0.x branch from f165360 to 82c29ab Compare February 3, 2026 20:16
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 82c29ab to 10e521c Compare February 13, 2026 07:58
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 10e521c to 7d75277 Compare March 1, 2026 10:33
@renovate renovate bot force-pushed the renovate/worker-0.x branch from 7d75277 to 9aa83dc Compare March 14, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants