Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate worker to 0.4.0 #16

Closed
wants to merge 94 commits into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 24, 2022

This PR contains the following updates:

Package Type Update Change
worker dependencies minor 0.0.9 -> 0.4.0

Release Notes

cloudflare/workers-rs (worker)

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 https://github.com/cloudflare/workers-rs/pull/625

New Contributors

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

v0.3.4

Compare Source

What's Changed

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

[!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

[!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
HTTP
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 https://github.com/cloudflare/workers-rs/pull/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

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

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

v0.0.20

Compare Source

What's Changed

New Contributors

Full Changelog: cloudflare/workers-rs@v0.0.19...v0.0.20

v0.0.19

Compare Source

Highlights

What's Changed

New Contributors

Full Changelog: cloudflare/workers-rs@v0.0.18...v0.0.19

v0.0.18

Compare Source

Full Changelog: cloudflare/workers-rs@v0.0.17...v0.0.18

v0.0.17

Compare Source

Full Changelog: cloudflare/workers-rs@v0.0.16...v0.0.17

v0.0.16

Compare Source

Full Changelog: cloudflare/workers-rs@v0.0.15...v0.0.16

v0.0.15

Compare Source

Full Changelog: cloudflare/workers-rs@v0.0.14...v0.0.15

v0.0.14

Compare Source

Full Changelog: cloudflare/workers-rs@v0.0.13...v0.0.14

v0.0.13

Compare Source

Full Changelog: cloudflare/workers-rs@v0.0.12...v0.0.13

v0.0.12

Compare Source

Full Changelog: cloudflare/workers-rs@v0.0.11...v0.0.12

v0.0.11

Compare Source

Full Changelog: cloudflare/workers-rs@v0.0.10...v0.0.11

v0.0.10

Compare Source

Full Changelog: cloudflare/workers-rs@v0.0.9...v0.0.10


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 fix(deps): update rust crate worker to 0.0.16 fix(deps): update rust crate worker to 0.0.17 Jun 2, 2023
@renovate renovate bot changed the title fix(deps): update rust crate worker to 0.0.17 fix(deps): update rust crate worker to 0.0.18 Aug 8, 2023
@renovate renovate bot changed the title fix(deps): update rust crate worker to 0.0.18 fix(deps): update rust crate worker to 0.0.19 Mar 7, 2024
@renovate renovate bot force-pushed the renovate/worker-0.x branch 2 times, most recently from 6122285 to 8fddd0c Compare March 8, 2024 17:46
@renovate renovate bot changed the title fix(deps): update rust crate worker to 0.0.19 fix(deps): update rust crate worker to 0.0.20 Mar 8, 2024
@renovate renovate bot changed the title fix(deps): update rust crate worker to 0.0.20 fix(deps): update rust crate worker to 0.0.21 Mar 15, 2024
@renovate renovate bot changed the title fix(deps): update rust crate worker to 0.0.21 fix(deps): update rust crate worker to 0.0.22 Mar 26, 2024
@renovate renovate bot changed the title fix(deps): update rust crate worker to 0.0.22 fix(deps): update rust crate worker to 0.0.23 Mar 27, 2024
@renovate renovate bot changed the title fix(deps): update rust crate worker to 0.0.23 fix(deps): update rust crate worker to 0.0.24 Mar 29, 2024
@renovate renovate bot changed the title fix(deps): update rust crate worker to 0.0.24 fix(deps): update rust crate worker to 0.1.0 Apr 4, 2024
@renovate renovate bot changed the title fix(deps): update rust crate worker to 0.1.0 fix(deps): update rust crate worker to 0.2.0 Apr 29, 2024
@renovate renovate bot changed the title fix(deps): update rust crate worker to 0.2.0 fix(deps): update rust crate worker to 0.3.0 May 19, 2024
@renovate renovate bot changed the title fix(deps): update rust crate worker to 0.3.0 fix(deps): update rust crate worker to 0.4.0 Sep 13, 2024
@Fuwn Fuwn closed this Oct 30, 2024
Copy link
Author

renovate bot commented Oct 30, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.4.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/worker-0.x branch October 30, 2024 11:05
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.

3 participants