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 dependencies #217

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 4, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
async-net dependencies minor 1.7.0 -> 1.8.0
base64 dependencies patch 0.21.3 -> 0.21.5
bitflags dependencies patch 2.4.0 -> 2.4.1
bytemuck dependencies minor 1.13.1 -> 1.14.0
byteorder dependencies minor 1.4 -> 1.5
clap dependencies patch 4.4.2 -> 4.4.7
csv dependencies minor 1.2 -> 1.3
enum-map dependencies minor 2.6.1 -> 2.7.0
enumset dependencies patch 1.1.2 -> 1.1.3
flate2 dependencies patch 1.0.27 -> 1.0.28
fontdb dependencies minor 0.14 -> 0.15
hashbrown dependencies patch 0.14.0 -> 0.14.2
indexmap dependencies patch 2.0.0 -> 2.0.2
insta (source) dev-dependencies minor 1.31.0 -> 1.34.0
lru dependencies minor 0.11.0 -> 0.12.0
num-derive dependencies patch 0.4.0 -> 0.4.1
num-traits dependencies patch 0.2.16 -> 0.2.17
proc-macro2 dependencies patch 1.0.66 -> 1.0.69
quick-xml dependencies minor 0.30.0 -> 0.31.0
raw-window-handle dependencies minor 0.5 -> 0.6
rayon dependencies minor 1.7.0 -> 1.8.0
regex dependencies minor 1.9.5 -> 1.10.2
rfd dependencies minor 0.11.4 -> 0.12.1
serde (source) dependencies patch 1.0.188 -> 1.0.189
serde (source) dev-dependencies patch 1.0.188 -> 1.0.189
serde-wasm-bindgen dependencies minor 0.5.0 -> 0.6.1
serde_json dependencies patch 1.0.105 -> 1.0.107
sha2 dependencies patch 0.10.7 -> 0.10.8
smallvec dependencies patch 1.11.0 -> 1.11.1
syn dependencies patch 2.0.31 -> 2.0.38
toml dev-dependencies minor 0.7.6 -> 0.8.4
tracing (source) workspace.dependencies patch 0.1.37 -> 0.1.40
tracing-log (source) dependencies minor 0.1.3 -> 0.2.0
vergen build-dependencies patch 8.2.4 -> 8.2.5
walkdir dev-dependencies minor 2.3.3 -> 2.4.0
walkdir dependencies minor 2.3.3 -> 2.4.0
webbrowser dependencies patch 0.8.11 -> 0.8.12
winit dependencies minor 0.28.6 -> 0.29.2

Release Notes

smol-rs/async-net (async-net)

v1.8.0

Compare Source

marshallpierce/rust-base64 (base64)

v0.21.5

Compare Source

  • Add Debug and Clone impls for the general purpose Engine

v0.21.4

Compare Source

  • Make encoded_len const, allowing the creation of arrays sized to encode compile-time-known data lengths
bitflags/bitflags (bitflags)

v2.4.1

Compare Source

What's Changed

Full Changelog: bitflags/bitflags@2.4.0...2.4.1

Lokathor/bytemuck (bytemuck)

v1.14.0

Compare Source

BurntSushi/byteorder (byteorder)

v1.5.0

Compare Source

v1.4.3

Compare Source

v1.4.2

Compare Source

v1.4.1

Compare Source

clap-rs/clap (clap)

v4.4.7

Compare Source

Performance
  • Reduced code size

v4.4.6

Compare Source

Internal
  • Upgrade anstream

v4.4.5

Compare Source

Fixes
  • (parser) When inferring subcommand name or long_flag, allow ambiguous-looking matches that unambiguously map back to the same command
  • (parser) When inferring subcommand long_flag, don't panic
  • (assert) Clarify what action is causing a positional that doesn't set values which is especially useful for derive users

v4.4.4

Compare Source

Internal
  • Update terminal_size to 0.3

v4.4.3

Compare Source

Documentation
  • (derive) Clarify use of attributes within the tutorial
  • Split sections in the builder and derive tutorials into separate modules
BurntSushi/rust-csv (csv)

v1.3.0

Compare Source

v1.2.2

Compare Source

v1.2.1

Compare Source

xfix/enum-map (enum-map)

v2.7.0

New features

  • Implemented EnumMap::from_fn.

v2.6.3

Compare Source

Other changes

  • Updated the repository URL as the project was migrated from GitHub
    to Codeberg.

  • This project is now compliant with the REUSE Specification.

v2.6.2

Compare Source

Other changes

  • Hide out_of_bounds reexport from documentation.
Lymia/enumset (enumset)

v1.1.3

Compare Source

  • Fix an issue where EnumSet::iter was not properly inlined without LTO
    enabled (such as on debug builds). (thanks @​Fuuzetsu)
  • Added a Display implementation for EnumSet<T> for types where T
    implements Display. (suggested by @​tsheinen)
rust-lang/flate2-rs (flate2)

v1.0.28

Compare Source

What's Changed

New Contributors

Full Changelog: rust-lang/flate2-rs@1.0.27...1.0.28

RazrFalcon/fontdb (fontdb)

v0.15.0

Compare Source

Changed
  • Enable the fontconfig feature by default. Linux-only.
  • MSRV bumped to 1.60 due to log.
Fixed

v0.14.1

Compare Source

Fixed
  • Return valid IDs from Database::load_font_source().
    @​notgull
rust-lang/hashbrown (hashbrown)

v0.14.2

Compare Source

Added
  • HashTable type which provides a low-level but safe API with explicit hashing. (#​466)
Fixed
  • Disabled the use of NEON instructions on big-endian ARM. (#​475)
  • Disabled the use of NEON instructions on Miri. (#​476)

v0.14.1

Compare Source

Added
  • Allow serializing HashMaps that use a custom allocator. (#​449)
Changed
  • Use the Equivalent trait from the equivalent crate. (#​442)
  • Slightly improved performance of table resizing. (#​451)
  • Relaxed MSRV to 1.63.0. (#​457)
  • Removed Clone requirement from custom allocators. (#​468)
Fixed
  • Fixed custom allocators being leaked in some situations. (#​439, #​465)
bluss/indexmap (indexmap)

v2.0.2

Compare Source

v2.0.1

Compare Source

mitsuhiko/insta (insta)

v1.34.0

Compare Source

  • Snapshots are now sorted in the UI on review. (#​413)
  • Re-organized repository to move cargo-insta into a workspace. (#​410)
  • Fixed handling of --manifest-path with regards to virtual workspaces. (#​409)

v1.33.0

Compare Source

  • Added --all-targets parameter support to cargo insta test. (#​408)

v1.32.0

Compare Source

  • Added --profile parameter support to cargo insta test.
jeromefroe/lru-rs (lru)

v0.12.0

Compare Source

  • Add lifetime specifier to try_get_or_insert_mut.
  • Add BuildHasher trait bound to Debug for LruCache.

v0.11.1

Compare Source

  • Add try_get_or_insert_mut method.
rust-num/num-derive (num-derive)

v0.4.1

Compare Source

rust-num/num-traits (num-traits)

v0.2.17

Compare Source

Contributors: @​robamu

dtolnay/proc-macro2 (proc-macro2)

v1.0.69

Compare Source

  • Fix Span::source_text() bug causing panics or incorrect source text (#​410)

v1.0.68

Compare Source

  • Fix panic in Span::source_text() when source contains multibyte characters (#​408)

v1.0.67

Compare Source

  • Special handling for the (/*ERROR*/) placeholder that rustc uses for macros that fail to expand (#​405)
tafia/quick-xml (quick-xml)

v0.31.0

Compare Source

MSRV bumped to 1.56! Crate now uses Rust 2021 edition.

Enum representation was changed (it was buggy anyway) to ensure compatibility with
serde >= 1.0.181

New Features
  • #​545: Resolve well-known namespaces (xml and xmlns) to their appropriate URIs.
    Also, enforce namespace constraints related to these well-known namespaces.
  • #​635: Add support for async ElementWriter operations.
Bug Fixes
  • #​660: Fixed incorrect deserialization of xs:lists from empty tags (<tag/>
    or <tag></tag>). Previously an DeError::UnexpectedEof") was returned in that case
  • #​580: Fixed incorrect deserialization of vectors of newtypes from sequences of tags.
  • #​661: More string handling of serialized primitive values (booleans, numbers, strings,
    unit structs, unit variants). <int>123<something-else/></int> is no longer valid
    content. Previously all data after 123 up to closing tag would be silently skipped.
  • #​567: Fixed incorrect deserialization of vectors of enums from sequences of tags.
  • #​671: Fixed deserialization of empty simpleTypes (for example, attributes) into
    Option fields: now they are always deserialized as Some("").
Misc Changes
  • #​643: Bumped MSRV to 1.56. In practice the previous MSRV was incorrect in many cases.
  • #​643: Adopted Rust 2021 edition.
  • #​545: Added new Error variant -- Error::InvalidPrefixBind.
  • #​651: Relax requirement for version of arbitrary dependency -- we're actually
    compatible with version 1.0.0 and up.
  • #​649: Make features linkable and reference them in the docs.
  • #​619: Allow to raise application errors in ElementWriter::write_inner_content
    (and newly added ElementWriter::write_inner_content_async of course).
  • #​662: Get rid of some allocations during serde deserialization.
  • #​665: Improve serialization of xs:lists when some elements serialized to an empty string.
  • #​630: Fixed compatibility with serde >= 1.0.181
rust-windowing/raw-window-handle (raw-window-handle)

v0.6.0

Compare Source

  • Breaking: Raw pointer handles now use NonNull where appropriate, to avoid null pointer dereferences.
  • Breaking: Renamed empty methods to new, and take parameters in most of those, to better match normal Rust semantics.
  • Breaking: HasRaw(Display/Window)Handle::raw_(display/window)_handle returns a result indicating if fetching the window handle failed (#​122).
  • Breaking: Remove the Active/ActiveHandle types from the public API (#​126).
  • Breaking: Remove AppKitWindowHandle::ns_window and UiKitWindowHandle::ui_window since they can be retrieved from the view (#​129).
  • Breaking: Remove Copy derive from RawWindowHandle and WindowHandle (#​140).
  • Implement PartialEq, Eq and Hash for WindowHandle too. (#​128)
  • Implement the relevant traits for &mut T where T: <trait>. (#​130)
  • Add web handles for wasm-bindgen v0.2. They are locked behind the wasm-bindgen-0-2 feature. (#​134)
  • Deprecate the raw window/display handle traits. They will be removed at the next stable release. (#​139)

v0.5.2

Compare Source

  • Add several types for using raw window handles safely, including HasWindowHandle, WindowHandle, HasDisplayHandle, DisplayHandle and Active (#​110).

v0.5.1

Compare Source

  • Add the rust-version field (1.64).
  • Implemented From for RawWindowHandle and RawDisplayHandle
rayon-rs/rayon (rayon)

v1.8.0

Compare Source

  • The minimum supported rustc is now 1.63.
  • Added ThreadPoolBuilder::use_current_thread to use the builder thread as
    part of the new thread pool. That thread does not run the pool's main loop,
    but it may participate in work-stealing if it yields to rayon in some way.
  • Implemented FromParallelIterator<T> for Box<[T]>, Rc<[T]>, and
    Arc<[T]>, as well as FromParallelIterator<Box<str>> and
    ParallelExtend<Box<str>> for String.
  • ThreadPoolBuilder::build_scoped now uses std::thread::scope.
  • The default number of threads is now determined using
    std::thread::available_parallelism instead of the num_cpus crate.
  • The internal logging facility has been removed, reducing bloat for all users.
  • Many smaller performance tweaks and documentation updates.
rust-lang/regex (regex)

v1.10.2

Compare Source

===================
This is a new patch release that fixes a search regression where incorrect
matches could be reported.

Bug fixes:

  • BUG #​1110:
    Revert broadening of reverse suffix literal optimization introduced in 1.10.1.

v1.10.1

Compare Source

===================
This is a new patch release with a minor increase in the number of valid
patterns and a broadening of some literal optimizations.

New features:

  • FEATURE 04f5d7be:
    Loosen ASCII-compatible rules such that regexes like (?-u:☃) are now allowed.

Performance improvements:

  • PERF 8a8d599f:
    Broader the reverse suffix optimization to apply in more cases.

v1.10.0

Compare Source

===================
This is a new minor release of regex that adds support for start and end
word boundary assertions. That is, \< and \>. The minimum supported Rust
version has also been raised to 1.65, which was released about one year ago.

The new word boundary assertions are:

  • \< or \b{start}: a Unicode start-of-word boundary (\W|\A on the left,
    \w on the right).
  • \> or \b{end}: a Unicode end-of-word boundary (\w on the left, \W|\z
    on the right)).
  • \b{start-half}: half of a Unicode start-of-word boundary (\W|\A on the
    left).
  • \b{end-half}: half of a Unicode end-of-word boundary (\W|\z on the
    right).

The \< and \> are GNU extensions to POSIX regexes. They have been added
to the regex crate because they enjoy somewhat broad support in other regex
engines as well (for example, vim). The \b{start} and \b{end} assertions
are aliases for \< and \>, respectively.

The \b{start-half} and \b{end-half} assertions are not found in any
other regex engine (although regex engines with general look-around support
can certainly express them). They were added principally to support the
implementation of word matching in grep programs, where one generally wants to
be a bit more flexible in what is considered a word boundary.

New features:

Performance improvements:

  • PERF #​1051:
    Unicode character class operations have been optimized in regex-syntax.
  • PERF #​1090:
    Make patterns containing lots of literal characters use less memory.

Bug fixes:

  • BUG #​1046:
    Fix a bug that could result in incorrect match spans when using a Unicode word
    boundary and searching non-ASCII strings.
  • BUG(regex-syntax) #​1047:
    Fix panics that can occur in Ast->Hir translation (not reachable from regex
    crate).
  • BUG(regex-syntax) #​1088:
    Remove guarantees in the API that connect the u flag with a specific HIR
    representation.

regex-automata breaking change release:

This release includes a regex-automata 0.4.0 breaking change release, which
was necessary in order to support the new word boundary assertions. For
example, the Look enum has new variants and the LookSet type now uses u32
instead of u16 to represent a bitset of look-around assertions. These are
overall very minor changes, and most users of regex-automata should be able
to move to 0.4 from 0.3 without any changes at all.

regex-syntax breaking change release:

This release also includes a regex-syntax 0.8.0 breaking change release,
which, like regex-automata, was necessary in order to support the new word
boundary assertions. This release also includes some changes to the Ast
type to reduce heap usage in some cases. If you are using the Ast type
directly, your code may require some minor modifications. Otherwise, users of
regex-syntax 0.7 should be able to migrate to 0.8 without any code changes.

regex-lite release:

The regex-lite 0.1.1 release contains support for the new word boundary
assertions. There are no breaking changes.

v1.9.6

Compare Source

==================
This is a patch release that fixes a panic that can occur when the default
regex size limit is increased to a large number.

  • BUG aa4e4c71:
    Fix a bug where computing the maximum haystack length for the bounded
    backtracker could result underflow and thus provoke a panic later in a search
    due to a broken invariant.
PolyMeilex/rfd (rfd)

v0.12.1

Compare Source

  • Fix FileHandle::inner (under feature file-handle-inner) on wasm

v0.12.0

Compare Source

  • Add title support for WASM (#​132)
  • Add Create folder button to pick_folder on macOS (#​127)
  • Add support for Yes/No/Cancel buttons (#​123)
  • Change a string method signatures #​117
  • WASM save_file (#​134)
  • Update gtk-sys to 0.18 (#​143)
  • Update ashpd to 0.6 (#​133)
  • Replace windows with windows-sys (#​118)
  • Make zenity related deps optional (#​141)
serde-rs/serde (serde)

v1.0.189

Compare Source

  • Fix "cannot infer type" error when internally tagged enum contains untagged variant (#​2613, thanks @​ahl)
cloudflare/serde-wasm-bindgen (serde-wasm-bindgen)

v0.6.1

Compare Source

v0.6.0

Compare Source

serde-rs/json (serde_json)

v1.0.107

Compare Source

  • impl IntoDeserializer for &RawValue (#​1071)

v1.0.106

Compare Source

RustCrypto/hashes (sha2)

v0.10.8

Compare Source

servo/rust-smallvec (smallvec)

v1.11.1

Compare Source

What's Changed
New Contributors

Full Changelog: servo/rust-smallvec@v1.11.0...v1.11.1

dtolnay/syn (syn)

v2.0.38

Compare Source

  • Fix "method 'peek' has an incompatible type for trait" error when defining bool as a custom keyword (#​1518, thanks @​Vanille-N)

v2.0.37

Compare Source

  • Work around incorrect future compatibility warning in rustc 1.74.0-nightly

v2.0.36

Compare Source

  • Restore compatibility with --generate-link-to-definition documentation builds (#​1514)

v2.0.35

Compare Source

  • Make rust-analyzer produce preferred brackets for invocations of Token! macro (#​1510, #​1512)

v2.0.34

Compare Source

  • Documentation improvements

v2.0.33

Compare Source

  • Special handling for the (/*ERROR*/) placeholder that rustc uses for macros that fail to expand

v2.0.32

Compare Source

toml-rs/toml (toml)

v0.8.4

Compare Source

v0.8.3

Compare Source

v0.8.2

Compare Source

v0.8.1

Compare Source

v0.8.0

Compare Source

v0.7.8

Compare Source

v0.7.7

Compare Source

tokio-rs/tracing (tracing)

v0.1.40: tracing 0.1.40

Compare Source

This release fixes a potential stack use-after-free in the
Instrument::into_inner method. Only uses of this method are affected by this
bug.

Fixed
  • Use mem::ManuallyDrop instead of mem::forget in Instrument::into_inner
    (#​2765)

Thanks to @​cramertj and @​manishearth for finding and fixing this issue!

v0.1.39: tracing 0.1.39

Compare Source

This release adds several additional features to the tracing macros. In
addition, it updates the tracing-core dependency to v0.1.32 and
the tracing-attributes dependency to v0.1.27.

Added
  • Allow constant field names in macros (#​2617)
  • Allow setting event names in macros (#​2699)
  • core: Allow ValueSets of any length (#​2508)
Changed
  • tracing-attributes: updated to 0.1.27
  • tracing-core: updated to 0.1.32
  • attributes: Bump minimum version of proc-macro2 to 1.0.60 (#​2732)
  • attributes: Generate less dead code for async block return type hint (#​2709)
Fixed
  • Use fully qualified names in macros for items exported from std prelude
    (#​2621, #​2757)
  • attributes: Allow [clippy::let_with_type_underscore] in macro-generated
    code ([#​2609])
  • attributes: Allow unknown_lints in macro-generated code (#​2626)
  • attributes: Fix a compilation error in #[instrument] when the "log"
    feature is enabled (#​2599)
Documented
  • Add axum-insights to relevant crates. (#​2713)
  • Fix link to RAI pattern crate documentation ([#​2612])
  • Fix docs typos and warnings (#​2581)
  • Add clippy-tracing to related crates (#​2628)
  • Add tracing-cloudwatch to related crates (#​2667)
  • Fix deadlink to tracing-etw repo (#​2602)

v0.1.38: tracing 0.1.38

Compare Source

This tracing release changes the Drop implementation for Instrumented
Futures so that the attached Span is entered when dropping the Future. This
means that events emitted by the Future's Drop implementation will now be
recorded within its Span. It also adds #[inline] hints to methods called in
the event! macro's expansion, for an improvement in both binary size and
performance.

Additionally, this release updates the tracing-attributes dependency to
v0.1.24, which updates the [syn][syn] dependency to v2.x.x.
tracing-attributes v0.1.24 also includes improvements to the #[instrument]
macro; see the tracing-attributes 0.1.24 release notes for
details.

Added
  • Instrumented futures will now enter the attached Span in their Drop
    implementation, allowing events emitted when dropping the future to occur
    within the span (#​2562)
  • #[inline] attributes for methods called by the event! macros, making
    generated code smaller (#​2555)
  • attributes: level argument to #[instrument(err)] and
    #[instrument(ret)] to override the level of
    the generated return value event (#​2335)
  • attributes: Improved compiler error message when #[instrument] is added to a const fn
    (#​2418)
Changed
  • tracing-attributes: updated to 0.1.24
  • Removed unneeded cfg-if dependency (#​2553)
  • attributes: Updated [syn][syn] dependency to 2.0 (#​2516)
Fixed
  • attributes: Fix clippy::unreachable warnings in #[instrument]-generated code (#​2356)
  • attributes: Removed unused "visit" feature flag from syn dependency (#​2530)
Documented
  • attributes: Documented default level for #[instrument(err)] (#​2433)
  • attributes: Improved documentation for levels in #[instrument] (#​2350)

Thanks to @​nitnelave, @​jsgf, @​Abhicodes-crypto, @​LukeMathWalker, @​andrewpollack,
@​quad, @​klensy, @​davidpdrsn, @​dbidwell94, @​ldm0, @​NobodyXu, @​ilsv, and @​daxpedda
for contributing to this release!

rustyhorde/vergen (vergen)

v8.2.5

Compare Source

BurntSushi/walkdir (walkdir)

v2.4.0

Compare Source

amodm/webbrowser-rs (webbrowser)

v0.8.12

Compare Source

Fixed
  • Linux: fix message about BROWSER env variable. See PR #​76
rust-windowing/winit (winit)

v0.29.2

Compare Source

  • Breaking: Bump MSRV from 1.60 to 1.65.
  • Breaking: Add Event::MemoryWarning; implemented on iOS/Android.
  • Breaking: Bump ndk version to 0.8.0, ndk-sys to 0.5.0, android-activity to 0.5.0.
  • Breaking: Change default ControlFlow from Poll to Wait.
  • Breaking: Move Event::RedrawRequested to WindowEvent::RedrawRequested.
  • Breaking: Moved ControlFlow::Exit to EventLoopWindowTarget::exit() and EventLoopWindowTarget::exiting() and removed ControlFlow::ExitWithCode(_) entirely.
  • Breaking: Moved ControlFlow to EventLoopWindowTarget::set_control_flow() and EventLoopWindowTarget::control_flow().
  • Breaking: EventLoop::new and EventLoopBuilder::build now return Result<Self, EventLoopError>
  • Breaking: WINIT_UNIX_BACKEND was removed in favor of standard WAYLAND_DISPLAY and DISPLAY variables.
  • Breaking: on Wayland, dispatching user created Wayland queue won't wake up the loop unless winit has event to send back.
  • Breaking: remove DeviceEvent::Text.
  • Breaking: Remove lifetime parameter from Event and WindowEvent.
  • Breaking: Rename Window::set_inner_size to Window::request_inner_size and indicate if the size was applied immediately.
  • Breaking: ActivationTokenDone event which could be requested with the new startup_notify module, see its docs for more.
  • Breaking: ScaleFactorChanged now contains a writer instead of a reference to update inner size.
  • Breaking run() -> ! has been replaced by run() -> Result<(), EventLoopError> for returning errors without calling std::process::exit() (#​2767)
  • Breaking Removed EventLoopExtRunReturn / run_return in favor of EventLoopExtPumpEvents / pump_events and EventLoopExtRunOnDemand / run_on_demand (#​2767)
  • RedrawRequested is no longer guaranteed to be emitted after MainEventsCleared, it is now platform-specific when the event is emitted after being requested via redraw_request().
    • On Windows, RedrawRequested is now driven by WM_PAINT messages which are requested via redraw_request()
  • Breaking LoopDestroyed renamed to LoopExiting (#​2900)
  • Breaking RedrawEventsCleared removed (#​2900)
  • Breaking MainEventsCleared removed (#​2900)
  • Breaking: Remove all deprecated modifiers fields.
  • Breaking: Rename DeviceEventFilter to DeviceEvents reversing the behavior of variants.
  • Breaking Add AboutToWait event which is emitted when the event loop is about to block and wait for new events (#​2900)
  • Breaking: Rename EventLoopWindowTarget::set_device_event_filter to listen_device_events.
  • Breaking: Rename Window::set_ime_position to Window::set_ime_cursor_area adding a way to set exclusive zone.
  • Breaking: with_x11_visual now takes the visual ID instead of the bare pointer.
  • Breaking MouseButton now supports Back and Forward variants, emitted from mouse events on Wayland, X11, Windows, macOS and Web.
  • Breaking: On Web, instant is now replaced by web_time.
  • Breaking: On Web, dropped support for Safari versions below 13.1.
  • Breaking: On Web, the canvas output bitmap size is no longer adjusted.
  • Breaking: On Web, the canvas size is not controlled by Winit anymore and external changes to the canvas size will be reported through WindowEvent::Resized.
  • Breaking: Updated bitflags crate version to 2, which changes the API on exposed types.
  • Breaking: CursorIcon::Arrow was removed.
  • Breaking: CursorIcon::Hand is now named CursorIcon::Pointer.
  • Breaking: CursorIcon is now used from the cursor-icon crate.
  • Breaking: WindowExtWebSys::canvas() now returns an Option.
  • Breaking: Overhaul keyboard input handling.
    • Replace KeyboardInput with KeyEvent and RawKeyEvent.
      • Change WindowEvent::KeyboardInput to contain a KeyEvent.
      • Change Event::Key to contain a RawKeyEvent.
    • Remove Event::ReceivedCharacter. In its place, you should use
      KeyEvent.text in combination with WindowEvent::Ime.
    • Replace VirtualKeyCode with the Key enum.
    • Replace ScanCode with the KeyCode enum.
    • Rename ModifiersState::LOGO to SUPER and ModifiersState::CTRL to CONTROL.
    • Add PhysicalKey wrapping KeyCode and NativeKeyCode.
    • Add KeyCode to refer to keys (roughly) by their physical location.
    • Add NativeKeyCode to represent raw KeyCodes which Winit doesn't
      understand.
    • Add Key to represent the keys after they've been interpreted by the
      active (software) keyboard layout.
    • Add NamedKey to represent the categorized keys.
    • Add NativeKey to represent raw Keys which Winit doesn't understand.
    • Add KeyLocation to tell apart Keys which usually "mean" the same thing,
      but can appear simultaneously in different spots on the same keyboard
      layout.
    • Add Window::reset_dead_keys to enable application-controlled cancellation
      of dead key sequences.
    • Add KeyEventExtModifierSupplement to expose additional (and less
      portable) interpretations of a given key-press.
    • Add PhysicalKeyExtScancode, which lets you convert between scancodes and
      PhysicalKey.
    • ModifiersChanged now uses dedicated Modifiers struct.
  • Removed platform-specific extensions that should be retrieved through raw-window-handle trait implementations instead:
    • platform::windows::HINSTANCE.
    • WindowExtWindows::hinstance.
    • WindowExtWindows::hwnd.
    • WindowExtIOS::ui_window.
    • WindowExtIOS::ui_view_controller.
    • WindowExtIOS::ui_view.
    • WindowExtMacOS::ns_window.
    • WindowExtMacOS::ns_view.
    • EventLoopWindowTargetExtWayland::wayland_display.
    • WindowExtWayland::wayland_surface.
    • WindowExtWayland::wayland_display.
    • WindowExtX11::xlib_window.
    • WindowExtX11::xlib_display.
    • WindowExtX11::xlib_screen_id.
    • WindowExtX11::xcb_connection.
  • Reexport raw-window-handle in window module.
  • Add ElementState::is_pressed.
  • Add Window::pre_present_notify to notify winit before presenting to the windowing system.
  • Add Window::set_blur to request a blur behind the window; implemented on Wayland for now.
  • Add Window::show_window_menu to request a titlebar/system menu; implemented on Wayland/Windows for now.
  • Implement AsFd/AsRawFd for EventLoop<T> on X11 and Wayland.
  • Implement PartialOrd and Ord for MouseButton.
  • Implement PartialOrd and Ord on types in the dpi module.
  • Make WindowBuilder Send + Sync.
  • Make iOS MonitorHandle and VideoMode usable from other threads.
  • Make iOS windows usable from other threads.
  • On Android, add force data to touch events.
  • On Android, added EventLoopBuilderExtAndroid::handle_volume_keys to indicate that the application will handle the volume keys manually.
  • On Android, fix DeviceId to contain device id's.
  • On Orbital, fix ModifiersChanged not being sent.
  • On Wayland, Window::outer_size now accounts for client side decorations.
  • On Wayland, add Window::drag_resize_window method.
  • On Wayland, remove WINIT_WAYLAND_CSD_THEME variable.
  • On Wayland, fix TouchPhase::Canceled being sent for moved events.
  • On Wayland, fix forward compatibility issues.
  • On Wayland, fix initial window size not restored for maximized/fullscreened on startup window.
  • On Wayland, fix maximized startup not taking full size on GNOME.
  • On Wayland, fix maximized window creation and window geometry handling.
  • On Wayland, fix window not checking that it actually got initial configure event.
  • On Wayland, make double clicking and moving the CSD frame more reliable.
  • On Wayland, support Occluded event with xdg-shell v6
  • On Wayland, use frame callbacks to throttle RedrawRequested events so redraws will align with compositor.
  • On Web, ControlFlow::WaitUntil now uses the Prioritized Task Scheduling API. setTimeout(), with a trick to circumvent throttling to 4ms, is used as a fallback.
  • On Web, EventLoopProxy now implements Send.
  • On Web, Window now implements Send and Sync.
  • On Web, account for CSS padding, border, and margin when getting or setting the canvas position.
  • On Web, add Fullscreen API compatibility for Safari.
  • On Web, add DeviceEvent::Motion, DeviceEvent::MouseWheel, DeviceEvent::Button and DeviceEvent::Key support.
  • On Web, add EventLoopWindowTargetExtWebSys and PollStrategy, which allows to set different strategies for ControlFlow::Poll. By default the Prioritized Task Scheduling API is used, but an option to use Window.requestIdleCallback is available as well. Both use setTimeout(), with a trick to circumvent throttling to 4ms, as a fallback.
  • On Web, add WindowBuilderExtWebSys::with_append() to append the canvas element to the web page on creation.
  • On Web, allow event loops to be recreated with spawn.
  • On Web, enable event propagation.
  • On Web, fix ControlFlow::WaitUntil to never wake up before the given time.
  • On Web, fix DeviceEvent::MouseMotion only being emitted for each canvas instead of the whole window.
  • On Web, fix Window:::set_fullscreen doing nothing when called outside the event loop but during transient activation.
  • On Web, fix pen treated as mouse input.
  • On Web, fix pointer button events not being processed when a buttons is already pressed.
  • On Web, fix scale factor resize suggestion always overwriting the canvas size.
  • On Web, fix some WindowBuilder methods doing nothing.
  • On Web, fix some Window methods using incorrect HTML attributes instead of CSS properties.
  • On Web, fix the bfcache by not using the beforeunload event and map bfcache loading/unloading to Suspended/Resumed events.
  • On Web, fix touch input not gaining or loosing focus.
  • On Web, fix touch location to be as accurate as mouse po

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (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.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/rust-dependencies branch 7 times, most recently from 056b891 to 0ddd222 Compare September 12, 2023 05:50
@renovate renovate bot force-pushed the renovate/rust-dependencies branch 2 times, most recently from 2cc2a5a to 3323209 Compare September 15, 2023 00:00
@renovate renovate bot force-pushed the renovate/rust-dependencies branch 4 times, most recently from 55ca2c6 to ed181bf Compare September 21, 2023 09:06
@renovate renovate bot force-pushed the renovate/rust-dependencies branch 7 times, most recently from 4036c89 to c6e6ee7 Compare October 3, 2023 08:44
@renovate renovate bot force-pushed the renovate/rust-dependencies branch 5 times, most recently from 66ef42a to 7289876 Compare October 9, 2023 22:20
@renovate renovate bot force-pushed the renovate/rust-dependencies branch 4 times, most recently from 444d538 to a46ec25 Compare October 15, 2023 03:07
@renovate renovate bot force-pushed the renovate/rust-dependencies branch 4 times, most recently from 16d6b53 to e648aa4 Compare October 21, 2023 11:31
@renovate renovate bot force-pushed the renovate/rust-dependencies branch from e648aa4 to 3262183 Compare October 23, 2023 22:30
@renovate renovate bot force-pushed the renovate/rust-dependencies branch from 3262183 to 3ba0254 Compare October 24, 2023 21:06
@torokati44 torokati44 closed this Oct 26, 2023
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.

1 participant