fix(deps): update rust crate worker to 0.4.0 #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.0.18
->0.4.0
Release Notes
cloudflare/workers-rs (worker)
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
Router
methods. This uses APIT to allow more types than a function pointer to implement handlers (i.e. async closure) by @compiler-errors in https://github.com/cloudflare/workers-rs/pull/605get_all
function to return non-folding set-cookie headers by @nakamura-shuta in https://github.com/cloudflare/workers-rs/pull/597FormData
conversion intoJsValue
by @thibmeu in https://github.com/cloudflare/workers-rs/pull/634New Contributors
Full Changelog: cloudflare/workers-rs@v0.3.4...v0.4.0
v0.3.4
Compare Source
What's Changed
js-sys
/web-sys
. Remove HeaderExt and AbortSignalExt by @kflansburg in https://github.com/cloudflare/workers-rs/pull/621Full 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
Hyperdrive
from the worker crate by @ramnivas in https://github.com/cloudflare/workers-rs/pull/584D1Result
. by @langyo in https://github.com/cloudflare/workers-rs/pull/591wasm-pack
as crate dependency by @kflansburg in https://github.com/cloudflare/workers-rs/pull/592New Contributors
Full Changelog: cloudflare/workers-rs@v0.3.0...v0.3.1
v0.3.0
Compare Source
What's Changed
axum
ergonomics by @avsaase in https://github.com/cloudflare/workers-rs/pull/563worker
crate by @KianNH in https://github.com/cloudflare/workers-rs/pull/570u64
for R2 range requests by @kflansburg in https://github.com/cloudflare/workers-rs/pull/564encodeBody
andcf
to ResponseInit. Adopt builder pattern. by @kflansburg in https://github.com/cloudflare/workers-rs/pull/568New Contributors
Full Changelog: cloudflare/workers-rs@v0.2.0...v0.3.0
v0.2.0
Compare Source
What's Changed
R2 Improvements
uploadId
for multipart uploads by @Jasper-Bekkers in https://github.com/cloudflare/workers-rs/pull/542API Flexibility
std::error::Error
by @kflansburg in https://github.com/cloudflare/workers-rs/pull/527Workers RPC
General
worker-sys
Make all methodscatch
: this greatly improves error reporting for exceptions which originate in JavaScript by @Jasper-Bekkers in https://github.com/cloudflare/workers-rs/pull/546New 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 using0
for our major version.What's Changed
Sockets
Socket.opened
for checking if socket connection was successful, by @Kakapio in https://github.com/cloudflare/workers-rs/pull/509Socket.closed
getter, by @kflansburg in https://github.com/cloudflare/workers-rs/pull/518Binary Size
axum
feature by @kflansburg in https://github.com/cloudflare/workers-rs/pull/534D1
D1PreparedStatement
to accessD1PreparedStatementSys
and rawJsValue
query results, by @dakom in https://github.com/cloudflare/workers-rs/pull/521HTTP
From<web_sys::Request>
for request argument by @dakom in https://github.com/cloudflare/workers-rs/pull/525Other 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 likebody
,timestamp
, andid
are no longer public, andMessage
can no longer be created from a struct literal. Instead, these fields must be accessed via methodsbody()
,timestamp()
, andid()
.iter()
onMessageBatch
no longer has a lifetime.MessageBatch::new()
has been removed.New features:
ack()
andretry()
are now available on the individual messageretry_with_options()
was added to allow specifying theQueueRetryOptions
ack_all()
is now available onMessageBatch
retry_all_with_options()
was added toMessageBatch
to allow specifying theQueueRetryOptions
send_batch()
is now available onQueue
QueueSendOptions
when sending a messageMessageBuilder
,BatchMessageBuilder
, andRawMessageBuilder
added to allow for the creation of messages with options.JsValue
(eitherText
orV8
content types):Message
now has araw_body
function that returns aJsValue
.raw_iter()
fn has been added toMessageBatch
.Queue
now has asend_raw
andsend_raw_batch
function that allows sending ofJsValue
.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:axum
whenhttp
feature is enabled. This was a great dogfooding exercise and helped to identify ergonomics issues. Based on this we developed the utilities (see documentation):worker::send
to mark arbitraryasync
functions asSend
(useful foraxum
handler methods).SendFuture
wrapper for marking a specificFuture
asSend
.SendWrapper
for marking a particular object asSend
. This is useful foraxum
router state.axum
. Thanks @avsaase!We will continue to make ergonomic improvements to simplify usage of
axum
and other frameworks which generally expect objects to beSend
,Sync
, andClone
.Other Changes
D1PreparedStatement.bind_refs
andbatch_bind
which does not take ownership of arguments, and enables more ergonomic and performant use of the D1 API. It also introducesD1Type
which provides better type safety for these arguments than the previous API which allowed arbitraryJsValue
. @kflansburg in https://github.com/cloudflare/workers-rs/pull/493New Contributors
Full Changelog: cloudflare/workers-rs@v0.0.21...v0.0.22
v0.0.21
Compare Source
New
http
feature flagA feature flag (
http
) was introduced to begin migrating from custom request and response types to widely used types in thehttp
crate. See the README for more information.What's Changed
http
feature forhttp
crate types by @kflansburg in https://github.com/cloudflare/workers-rs/pull/477New Contributors
Full Changelog: cloudflare/workers-rs@v0.0.20...v0.0.21
v0.0.20
Compare Source
What's Changed
response_body
function tor2::ObjectBody
. by @mcnulty in https://github.com/cloudflare/workers-rs/pull/462New Contributors
Full Changelog: cloudflare/workers-rs@v0.0.19...v0.0.20
v0.0.19
Compare Source
Highlights
matchit
introduced some breaking changes in path params.What's Changed
DurableObject
by @eric-seppanen in https://github.com/cloudflare/workers-rs/pull/431text/html; charset=utf-8
by @kpcyrd in https://github.com/cloudflare/workers-rs/pull/447New Contributors
Full Changelog: cloudflare/workers-rs@v0.0.18...v0.0.19
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.