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.4.20
->0.4.21
0.21
->0.23
0.10.0
->0.12.0
0.14.0
->0.16.0
0.13.0
->0.15.0
0.21
->0.23
0.12.1
->0.12.6
0.12.1
->0.12.6
0.11
->0.12
0.2.4
->0.3.0
0.4.6
->0.5.0
1.73
->1.79
0.12.0
->0.12.2
1.34.0
->1.38.0
0.10
->0.11
0.10
->0.11
0.10.2
->0.11.0
0.1.37
->0.1.40
0.22.0
->0.24.0
0.3.16
->0.3.18
1.5.0
->1.8.0
Release Notes
rust-lang/log (log)
v0.4.21
Compare Source
open-telemetry/opentelemetry-rust (opentelemetry)
v0.23.0
: 0.23.0Compare Source
Whats changed?
See individual crate changelogs for details.
New Contributors
@svix-jplatte made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1568
@rex4539 made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1587
@divergentdave made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1584
@pyohannes made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1578
@masato-hi made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1621
@rogercoll made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1624
@LuisOsta made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1638
@svrnm made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1664
@Lev1ty made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1672
@ThomsonTan made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1675
@ramgdev made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1585
@utpilla made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1701
@ChieloNewctle made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1746
v0.22.0
Compare Source
API
Added
https://github.com/open-telemetry/opentelemetry-rust/pull/1410 Add experimental synchronous gauge. This is behind the feature flag, and can be enabled by enabling the feature otel_unstable for opentelemetry crate.
https://github.com/open-telemetry/opentelemetry-rust/pull/1410 Guidelines to add new unstable/experimental features.
Changed
Removed
SDK
Deprecated
Added
#1410 Add experimental synchronous gauge
#1471 Configure batch log record processor via
OTEL_BLRP_*
environment variables and viaOtlpLogPipeline::with_batch_config
#1503 Make the documentation for In-Memory exporters visible.
#1526
Performance Improvement : Creating Spans and LogRecords are now faster, by avoiding expensive cloning of
Resource
for every Span/LogRecord.Changed
Breaking
#1313
#1350
Changes how Span links/events are stored to achieve performance gains. See
below for details:
Behavior Change: When enforcing
max_links_per_span
,max_events_per_span
from
SpanLimits
, links/events are kept in the first-come order. The previous"eviction" based approach is no longer performed.
Breaking Change Affecting Exporter authors:
SpanData
now storeslinks
asSpanLinks
instead ofEvictedQueue
whereSpanLinks
is a struct with aVec
of links anddropped_count
.SpanData
now storesevents
asSpanEvents
instead ofEvictedQueue
whereSpanEvents
is a struct with aVec
of events anddropped_count
.Breaking Remove
TextMapCompositePropagator
#1373. UseTextMapCompositePropagator
in opentelemetry API.#1375 Fix metric collections during PeriodicReader shutdown
Breaking #1480 Remove fine grained
BatchConfig
configurations fromBatchLogProcessorBuilder
andBatchSpanProcessorBuilder
. UseBatchConfigBuilder
to construct aBatchConfig
instance and pass it usingBatchLogProcessorBuilder::with_batch_config
orBatchSpanProcessorBuilder::with_batch_config
.Breaking #1480 Remove mutating functions from
BatchConfig
, useBatchConfigBuilder
to construct aBatchConfig
instance.Breaking #1495 Remove Batch LogRecord&Span Processor configuration via non-standard environment variables. Use the following table to migrate from the no longer supported non-standard environment variables to the standard ones.
Breaking 1455 Make the LoggerProvider Owned
Logger
now takes an Owned Logger instead of aWeak<LoggerProviderInner>
LoggerProviderInner
is no longerpub (crate)
Logger.provider()
now returns&LoggerProvider
instead of anOption<LoggerProvider>
1519 Performance improvements
when calling
Counter::add()
andUpDownCounter::add()
with an empty set of attributes(e.g.
counter.Add(5, &[])
)Fixed
open-telemetry/opentelemetry-rust (opentelemetry-otlp)
v0.16.0
Compare Source
Fixed
OTEL_EXPORTER_OTLP_HEADERS
are now correctly decoded. #1578ExportConfig
#1706/v1/traces
) #1706OTEL_EXPORTER_OTLP_PROTOCOL_DEFAULT
#1746Added
DeltaTemporalitySelector
(#1568)webkpi-roots
features toreqwest
andtonic
backendsChanged
LoggerProvider
instead ofLogger
. Refer to the basic-otlp and basic-otlp-http examples for how to initialize OTLP Log Exporter to use with OpenTelemetryLogBridge and OpenTelemetryTracingBridge respectively.opentelemetry
dependency version to 0.23opentelemetry_sdk
dependency version to 0.23opentelemetry-http
dependency version to 0.12opentelemetry-proto
dependency version to 0.6v0.15.0
Compare Source
Added
Changed
Fixed
tonic()
to the use correct port. #1556Removed
open-telemetry/opentelemetry-rust (opentelemetry-semantic-conventions)
v0.15.0
Compare Source
Changed
#1596
#1681
v0.14.0
Compare Source
Changed
#1334
tokio-rs/prost (prost)
v0.12.6
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
files.This patch update fixes a regression:
error_message_protoc_not_found
,protoc_from_env
&protoc_include_from_env
(#1063)v0.12.5
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
files.This patch update brings new fixes:
Self
after stripping enum type prefix (#998)Documentation
Internal
Syntax
to a separate file (#1029)CodeGenerator::boxed
method (#1019)BytesType and MapType
into acollections
module. (#1030)Config
andModule
into a separate module and files (#1020)taplo
(#1034)v0.12.4
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
files.This patch update brings new features and fixes:
prost-derive
toderive
(#992)Dependencies
Documentation
Internal
v0.12.3
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
files.This patch updates brings a few new fixes:
v0.12.2
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
files.This patch updates brings a few new features and fixes:
seanmonstar/reqwest (reqwest)
v0.12.4
Compare Source
zstd
support, enabled withzstd
Cargo feature.ClientBuilder::read_timeout(Duration)
, which applies the duration for each read operation. The timeout resets after a successful read.v0.12.3
Compare Source
FromStr
fordns::Name
.ClientBuilder::built_in_webpki_certs(bool)
to enable them separately.ClientBuilder::built_in_native_certs(bool)
to enable them separately.content-length: 0
for GET requests.content_length()
to return value when timeout is configured.ClientBuilder::resolve()
to use lowercase domain names.v0.12.2
Compare Source
v0.12.1
Compare Source
ClientBuilder::interface()
when no TLS is enabled.TlsInfo::peer_certificate()
being truncated with rustls.http2
feature disabled but TLS negotiated h2 in ALPN.Display
forError
to not include its source error.v0.12.0
Compare Source
hyper
,http
, andhttp-body
v1.http::Request
andhttp::Response
.http2
optional cargo feature, default on.charset
optional cargo feature, default on.macos-system-configuration
cargo feature, default on.ClientBuilder::interface(str)
to specify the local interface to bind to.http3
feature temporarily.v0.11.27
hickory-dns
feature, deprecatingtrust-dns
.Form::text()
to not set octet-stream for plain text fields.v0.11.26
system-configuration
upgrade, which broke MSRV on macOS.v0.11.25
Certificate::from_pem_bundle()
parsing.v0.11.24
Certificate::from_pem_bundle()
to add a bundle.http3_prior_knowledge()
to blocking client builder.Sync
bounds requirement forBody::wrap_stream()
.REFUSED_STREAM
requests.Url
toUri
that could panic.v0.11.23
Proxy::custom_http_auth(val)
for setting the rawProxy-Authorization
header when connecting to proxies.http://
orhttps://
.nodelay
when TLS is enabled but URL is HTTP.ClientBuilder::user_agent(val)
.multipart::Form::headers(headers)
.v0.11.22
trust-dns
is enabled.v0.11.21
ClientBuilder::tls_info(bool)
, which will puttls::TlsInfo
into the response extensions.v0.11.20
deflate
decompression back to using zlib, as outlined in the spec.v0.11.19
ClientBuilder::http1_ignore_invalid_headers_in_responses()
option.ClientBuilder::http1_allow_spaces_after_header_name_in_responses()
option.ALL_PROXY
environment variable.use_preconfigured_tls
when combined with HTTP/3.deflate
decompression from using the zlib decoder.Response::{text, text_with_charset}()
to strip BOM characters.v0.11.18
RequestBuilder::json()
method from overriding a previously setcontent-type
header. An existing value will be left in place.v0.11.17
v0.11.16
Cargo.toml
.v0.11.15
RequestBuilder
methods to split and reconstruct from its parts.connection_verbose
to logwrite_vectored
calls.v0.11.14
Proxy::no_proxy(url)
that works like the NO_PROXY environment variable.multipart::Part::headers(headers)
method to add custom headers.Response::bytes_stream()
.v0.11.13
ClientBuilder::dns_resolver()
option for custom DNS resolvers.ClientBuilder::tls_sni(bool)
option to enable or disable TLS Server Name Indication.Identity::from_pkcs8_pem()
constructor when usingnative-tls
.redirect::Policy::limited(0)
from following any redirects.v0.11.12
ClientBuilder::resolve_to_addrs()
which allows a slice of IP addresses to be specified for a single host.Response::upgrade()
to await whether the server agrees to an HTTP upgrade.v0.11.11
ClientBuilder
.ClientBuilder::http1_allow_obsolete_multiline_headers_in_responses()
.impl Service<Request>
forClient
and&'_ Client
.RequestBuilder::basic_auth()
.RequestBuilder::header
to not overridesensitive
if user explicitly set on aHeaderValue
.v0.11.10
Error::url()
to access the URL of an error.Response::extensions()
to access thehttp::Extensions
of a response.rustls-native-certs
to log an error instead of panicking when loading an invalid system certificate.v0.11.9
ClientBuilder::http09_responses(bool)
option to allow receiving HTTP/0.9 responses.v0.11.8
v0.11.7
blocking::ClientBuilder::resolve()
option, matching the async builder.From<tokio::fs::File>
forBody
.blocking
request-scoped timeout applying to bodies as well.rustls
to 0.20.v0.11.6
v0.11.5
ClientBuilder::http1_only()
method.tls::Version
type, andClientBuilder::min_tls_version()
andClientBuilder::max_tls_version()
methods.TryFrom<Request>
forhttp::Request
.Clone
forIdentity
.NO_PROXY
environment variable parsing to more closely match curl's. Comma-separated entries are now trimmed for whitespace, and*
is allowed to match everything.https_only
option.Body::as_bytes()
method.JsValue
.v0.11.4
ClientBuilder::resolve()
option to override DNS resolution for specific domains.native-tls-alpn
Cargo feature to use ALPN with the native-tls backend.ClientBuilder::deflate()
option anddeflate
Cargo feature to support decoding response bodies using deflate.RequestBuilder::version()
to allow setting the HTTP version of a request.rustls-tls
backend, when the server uses TLS v1.2 or v1.3.try_clone
toRequest
andRequestBuilder
v0.11.3
impl From<hyper::Body> for reqwest::Body
.RequestBuilder
.v0.11.2
CookieStore
trait to customize the type that stores and retrieves cookies for a session.cookie::Jar
as a defaultCookieStore
, easing creating some session cookies before creating theClient
.ClientBuilder::http2_adaptive_window()
option to configure an adaptive HTTP2 flow control behavior.ClientBuilder::http2_max_frame_size()
option to adjust the maximum HTTP2 frame size that can be received.IntoUrl
forString
, making it more convenient to create requests withformat!
.v0.11.1
ClientBuilder::tls_built_in_root_certs()
option to disable built-in root certificates.rustls-tls
glue to more often support ALPN to upgrade to HTTP/2.http://
if no scheme is found.runtime
feature.Request::new()
constructor.v0.11.27
Compare Source
hickory-dns
feature, deprecatingtrust-dns
.Form::text()
to not set octet-stream for plain text fields.v0.11.26
Compare Source
system-configuration
upgrade, which broke MSRV on macOS.v0.11.25
Compare Source
Certificate::from_pem_bundle()
parsing.v0.11.24
Compare Source
Certificate::from_pem_bundle()
to add a bundle.http3_prior_knowledge()
to blocking client builder.Sync
bounds requirement forBody::wrap_stream()
.REFUSED_STREAM
requests.Url
toUri
that could panic.v0.11.23
Compare Source
Proxy::custom_http_auth(val)
for setting the rawProxy-Authorization
header when connecting to proxies.http://
orhttps://
.nodelay
when TLS is enabled but URL is HTTP.ClientBuilder::user_agent(val)
.multipart::Form::headers(headers)
.v0.11.22
Compare Source
trust-dns
is enabled.v0.11.21
Compare Source
ClientBuilder::tls_info(bool)
, which will puttls::TlsInfo
into the response extensions.v0.11.20
Compare Source
deflate
decompression back to using zlib, as outlined in the spec.v0.11.19
Compare Source
ClientBuilder::http1_ignore_invalid_headers_in_responses()
option.ClientBuilder::http1_allow_spaces_after_header_name_in_responses()
option.ALL_PROXY
environment variable.use_preconfigured_tls
when combined with HTTP/3.deflate
decompression from using the zlib decoder.Response::{text, text_with_charset}()
to strip BOM characters.v0.11.18
Compare Source
RequestBuilder::json()
method from overriding a previously setcontent-type
header. An existing value will be left in place.v0.11.17
Compare Source
v0.11.16
Compare Source
Cargo.toml
.v0.11.15
Compare Source
RequestBuilder
methods to split and reconstruct from its parts.connection_verbose
to logwrite_vectored
calls.v0.11.14
Compare Source
Proxy::no_proxy(url)
that works like the NO_PROXY environment variable.multipart::Part::headers(headers)
method to add custom headers.Response::bytes_stream()
.TrueLayer/reqwest-middleware (reqwest-middleware)
v0.3.1
Fixed
Added
with_retry_log_level
toRetryTransientMiddleware
in reqwest-retryClientBuilder::from_client
v0.3.0
Breaking changes
reqwest
to0.12.0
json
andmultipart
fromreqwest
dependencyjson
andmultipart
features toreqwest-middleware
matchit
to0.8.0
/a/:some_var
to/a/{some_var}
task_local_extensions
in favour ofhttp::Extensions
Clone
now.Changed
RequestBuilder::try_clone
now clones the extensions.Added
Service
forClientWithMiddleware
to have more feature parity withreqwest
.build_split
to have more feature parity withreqwest.
[0.2.5] - 2024-03-15
Changed
reqwest
to0.11.10
. url_mut, with_url, without_url functions are added after0.11.10
.[0.2.4] - 2023-09-21
Added
fetch_mode_no_cors
method toreqwest_middleware::RequestBuilder
v0.2.5
drakulix/simplelog.rs (simplelog)
v0.12.2
Compare Source
v0.12.1
Compare Source
tokio-rs/tokio (tokio)
v1.38.0
: Tokio v1.38.0Compare Source
This release marks the beginning of stabilization for runtime metrics. It
stabilizes
RuntimeMetrics::worker_count
. Future releases will continue tostabilize more metrics.
Added
File::create_new
(#6573)copy_bidirectional_with_sizes
(#6500)AsyncBufRead
forJoin
(#6449)Clone
forNamedPipeInfo
(#6586)Notify::notify_last
(#6520)mpsc::Receiver::{capacity,max_capacity}
(#6511)split
method to the semaphore permit (#6472, #6478)tokio::task::join_set::Builder::spawn_blocking
(#6578)Changed
#[tokio::test]
append#[test]
at the end of the attribute list (#6497)blocking_threads
count (#6551)RuntimeMetrics::worker_count
(#6556)lifo_slot
inblock_in_place
(#6596)global_queue_interval
is zero (#6445)Semaphore
for task dumps (#6499)LocalKey::get
work with Clone types (#6433)true_when
field inTimerShared
(#6563)Fixed
Interval::poll_tick
(#6487)is_empty
on mpsc block boundaries (#6603)Documented
stdin
documentation (#6581)ReadHalf::unsplit()
documentation (#6498)select!
(#6468)NamedPipeServer
example (#6590)SemaphorePermit
,OwnedSemaphorePermit
(#6477)Barrier::wait
is not cancel safe (#6494)watch::Sender::{subscribe,closed}
(#6490)spawn_blocking
tasks (#6571)LocalSet::run_until
(#6599)v1.37.0
: Tokio v1.37.0Compare Source
1.37.0 (March 28th, 2024)
Added
set_max_buf_size
totokio::fs::File
(#6411)try_new
andtry_with_interest
toAsyncFd
(#6345)forget_permits
method to semaphore (#6331)is_closed
,is_empty
, andlen
to mpsc receivers (#6348)rwlock()
method to ownedRwLock
guards (#6418)Clone
forwatch::Sender
(#6388)TaskLocalFuture::take_value
(#6340)FromIterator
forJoinSet
(#6300)Changed
io::split
use a mutex instead of a spinlock (#6403)Fixed
Documented
AsyncBufReadExt::fill_buf
(#6431)AsyncReadExt
's primitive read functions (#6337)Runtime
to#[tokio::main]
(#6366)enter
example deterministic (#6351)mpsc::Sender::downgrade
with#[must_use]
(#6326)const_new
beforenew_with
(#6392)Changed (unstable)
Id
in taskdumps (#6328)unhandled_panic
is enabled when not supported (#6410)v1.36.0
: Tokio v1.36.0Compare Source
1.36.0 (February 2nd, 2024)
Added
tokio::io::Join
(#6220)AsyncWrite
forEmpty
(#6235)UnixSocket
(#6290)TcpSocket
(#6311){Receiver,UnboundedReceiver}::poll_recv_many
(#6236)Sender::{try_,}reserve_many
(#6205)watch::Receiver::mark_unchanged
(#6252)JoinSet::try_join_next
(#6280)Changed
copy
cooperative (#6265)repeat
andsink
cooperative (#6254)Documented
clear_ready
docs (#6304)*Fd
traits onTcpSocket
are unix-only (#6294)tokio::sync::Mutex
(#6279)v1.35.1
: Tokio v1.35.1Compare Source
1.35.1 (December 19, 2023)
This is a forward part of a change that was backported to 1.25.3.
Fixed
tokio::runtime::io::registration::async_io
(#6221)v1.35.0
: Tokio v1.35.0Compare Source
1.35.0 (December 8th, 2023)
Added
Changed
Sized
requirements fromAsyncReadExt.read_buf
(#6169)Runtime
unwind safe (#6189)Fixed
--cfg docsrs
work without net feature (#6166)unsync_load
on miri (#6179)Documented
AsyncWriteExt
examples (#6149)LocalSet::run_until
(#6147)hyperium/tonic (tonic)
v0.11.0
Compare Source
BREAKING CHANGES:
NamedService
from thetransport
module, please import it viatonic::server::NamedService
.1.70
.Features
zstd
compression support.connecto_with_connector_lazy
.v0.22
tonic-reflection
.tokio-rs/tracing (tracing)
v0.1.40
: tracing 0.1.40Compare Source
This release fixes a potential stack use-after-free in the
Instrument::into_inner
method. Only uses of this method are affected by thisbug.
Fixed
mem::ManuallyDrop
instead ofmem::forget
inInstrument::into_inner
(#2765)
Thanks to @cramertj and @manishearth for finding and fixing this issue!
v0.1.39
: tracing 0.1.39[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.