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

chore(deps): update all non-major depedencies #6

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 22, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update Pending
@types/node (source) 20.10.8 -> 20.11.6 age adoption passing confidence devDependencies minor 20.11.7
@types/react (source) 18.2.47 -> 18.2.48 age adoption passing confidence devDependencies patch
anyhow 1.0.75 -> 1.0.79 age adoption passing confidence workspace.dependencies patch
async-channel 2.1.0 -> 2.1.1 age adoption passing confidence dependencies patch
base64 0.21.5 -> 0.21.7 age adoption passing confidence workspace.dependencies patch
crossbeam-channel (source) 0.5.10 -> 0.5.11 age adoption passing confidence workspace.dependencies patch
eslint-config-next (source) 14.0.4 -> 14.1.0 age adoption passing confidence devDependencies minor
futures (source) 0.3.29 -> 0.3.30 age adoption passing confidence dependencies patch
next (source) 14.0.5-canary.65 -> 14.1.0 age adoption passing confidence dependencies minor
node 20.10.0 -> 20.11.0 age adoption passing confidence minor
pnpm (source) 8.14.0 -> 8.14.3 age adoption passing confidence packageManager patch
wgpu (source) 0.17.2 -> 0.19.1 age adoption passing confidence workspace.dependencies minor

Release Notes

dtolnay/anyhow (anyhow)

v1.0.79

Compare Source

  • Work around improperly cached build script result by sccache (#​340)

v1.0.78

Compare Source

  • Reduce spurious rebuilds under RustRover IDE when using a nightly toolchain (#​337)

v1.0.77

Compare Source

v1.0.76

Compare Source

  • Opt in to unsafe_op_in_unsafe_fn lint (#​329)
smol-rs/async-channel (async-channel)

v2.1.1

Compare Source

  • Bump event-listener to v4.0.0. (#​73)
marshallpierce/rust-base64 (base64)

v0.21.7

Compare Source

  • Support getting an alphabet's contents as a str via Alphabet::as_str()

v0.21.6

Compare Source

  • Improved introductory documentation and example
crossbeam-rs/crossbeam (crossbeam-channel)

v0.5.11: crossbeam-channel 0.5.11

Compare Source

  • Remove dependency on cfg-if. (#​1072)
vercel/next.js (eslint-config-next)

v14.1.0

Compare Source

rust-lang/futures-rs (futures)

v0.3.30

Compare Source

  • Add {BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of (#​2797)
  • Fix panic in FuturesUnordered::clear (#​2809)
  • Fix panic in AsyncBufReadExt::fill_buf (#​2801, #​2812)
  • Improve support for targets without atomic CAS (#​2811)
  • Remove build scripts (#​2811)
vercel/next.js (next)

v14.1.0

Compare Source

v14.0.5-canary.68

Compare Source

Core Changes
  • Enable missing suspense bailout by default: #​60840
Credits

Huge thanks to @​huozhi for helping!

v14.0.5-canary.67

Compare Source

Core Changes
  • fix(ts): auto-complete next/headers: #​60817
  • Remove the warning for build worker when custom webpack present: #​60820
  • chore(deps): update browserslist and caniuse-lite: #​60827
  • feat: support custom image loaders in turbopack: #​60736
  • Ensure request specific caches for revalidate are reset: #​60810
  • Add metrics names for unstable_cache: #​60802
  • Fix: respect init.cache if fetch input is request instance: #​60821
  • Revert "Fix: Throw an error for empty array return in generateStaticParams with output:export": #​60831
  • turbopack: rename custom cache handler configs: #​60828
  • dx: warn the deprecated cache configs are used: #​60836
Documentation Changes
  • add authentication docs page: #​60388
  • chore(docs): fix example documentation for Art Direction: #​60823
  • docs: add build worker optout error back with upgrade advice: #​60826
  • Docs: Use JS comment for MDX: #​60825
  • Fix error from the auth docs.: #​60829
Credits

Huge thanks to @​balazsorban44, @​StephDietz, @​huozhi, @​styfle, @​delbaoliveira, @​ForsakenHarmony, @​leerob, and @​ijjk for helping!

v14.0.5-canary.66

Compare Source

Core Changes
  • feat: stabilize unstable_getImgProps() => getImageProps(): #​60739
  • Fix Server Actions compiler bug: #​60794
  • Dev Server: Preserve globals overwrites in the initialization hook: #​60796
  • add missing function call to normalize-catchall-routes test case: #​60777
  • Use snapshots for component-stack tests: #​60768
  • Support next/og usage in ESM nextjs app: #​60818
Misc Changes
  • Update ReactRefreshRegression test snapshot for Turbopack: #​60767
Credits

Huge thanks to @​styfle, @​shuding, @​dvoytenko, @​williamli, @​timneutkens, and @​huozhi for helping!

nodejs/node (node)

v20.11.0

Compare Source

pnpm/pnpm (pnpm)

v8.14.3

Compare Source

Patch Changes

  • pnpm pack should work as expected when "prepack" modifies the manifest #​7558.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v8.14.2

Compare Source

Patch Changes

  • Registry configuration from previous installation should not override current settings #​7507.
  • pnpm dlx should not fail, when executed from package.json "scripts" 7424.
  • A git-hosted dependency should not be added to the store if it failed to be built #​7407.
  • pnpm publish should pack "main" file or "bin" files defined in "publishConfig" #​4195.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v8.14.1

Compare Source

Patch Changes

  • Resolve the current working directory to its real location before doing any operations #​6524.
  • Allow using token helpers in pnpm publish #​7316.
  • Handle Git repository names containing capital letters #​7488.
  • When hoisted-workspace-packages is true don't hoist the root package even if it has a name. Otherwise we would create a circular symlink.

Our Gold Sponsors

Our Silver Sponsors

gfx-rs/wgpu (wgpu)

v0.19.1

Compare Source

This release includes wgpu and wgpu-hal. The rest of the crates are unchanged since 0.19.0.

Bug Fixes
DX12
OpenGL
  • In Surface::configure and Surface::present on Windows, fix the current GL context not being unset when releasing the lock that guards access to making the context current. This was causing other threads to panic when trying to make the context current. By @​Imberflur in #​5087.
WebGPU
  • Improve error message when compiling WebGPU backend on wasm without the web_sys_unstable_apis set. By @​rukai in #​5104
Documentation
  • Document Wayland specific behavior related to SurfaceTexture::present. By @​i509VCB in #​5093.

v0.19.0

Compare Source

This release includes:

  • wgpu
  • wgpu-core
  • wgpu-hal
  • wgpu-types
  • wgpu-info
  • naga (skipped from 0.14 to 0.19)
  • naga-cli (skipped from 0.14 to 0.19)
  • d3d12 (skipped from 0.7 to 0.19)
Improved Multithreading through internal use of Reference Counting

Large refactoring of wgpu’s internals aiming at reducing lock contention, and providing better performance when using wgpu on multiple threads.

Check the blog post!

By @​gents83 in #​3626 and thanks also to @​jimblandy, @​nical, @​Wumpf, @​Elabajaba & @​cwfitzgerald

All Public Dependencies are Re-Exported

All of wgpu's public dependencies are now re-exported at the top level so that users don't need to take their own dependencies.
This includes:

  • wgpu-core
  • wgpu-hal
  • naga
  • raw_window_handle
  • web_sys
Feature Flag Changes
WebGPU & WebGL in the same Binary

Enabling webgl no longer removes the webgpu backend.

Instead, there's a new (default enabled) webgpu feature that allows to explicitly opt-out of webgpu if so desired.
If both webgl & webgpu are enabled, wgpu::Instance decides upon creation whether to target wgpu-core/WebGL or WebGPU.
This means that adapter selection is not handled as with regular adapters, but still allows to decide at runtime whether
webgpu or the webgl backend should be used using a single wasm binary.
By @​wumpf in #​5044

naga-ir Dedicated Feature

The naga-ir feature has been added to allow you to add naga module shaders without guessing about what other features needed to be enabled to get access to it.
By @​cwfitzgerald in #​5063.

expose-ids Feature available unconditionally

This feature allowed you to call global_id on any wgpu opaque handle to get a unique hashable identity for the given resource. This is now available without the feature flag.
By @​cwfitzgerald in #​4841.

dx12 and metal Backend Crate Features

wgpu now exposes backend feature for the Direct3D 12 (dx12) and Metal (metal) backend. These are enabled by default, but don't do anything when not targeting the corresponding OS.
By @​daxpedda in #​4815.

Direct3D 11 Backend Removal

This backend had no functionality, and with the recent support for GL on Desktop, which allows wgpu to run on older devices, there was no need to keep this backend.
By @​valaphee in #​4828.

WGPU_ALLOW_UNDERLYING_NONCOMPLIANT_ADAPTER Environment Variable

This adds a way to allow a Vulkan driver which is non-compliant per VK_KHR_driver_properties to be enumerated. This is intended for testing new Vulkan drivers which are not Vulkan compliant yet.
By @​i509VCB in #​4754.

DeviceExt::create_texture_with_data allows Mip-Major Data

Previously, DeviceExt::create_texture_with_data only allowed data to be provided in layer major order. There is now a order parameter which allows you to specify if the data is in layer major or mip major order.

    let tex = ctx.device.create_texture_with_data(
        &queue,
        &descriptor,
+       wgpu::util::TextureDataOrder::LayerMajor,
        src_data,
    );

By @​cwfitzgerald in #​4780.

Safe & unified Surface Creation

It is now possible to safely create a wgpu::Surface with wgpu::Instance::create_surface() by letting wgpu::Surface hold a lifetime to window.
Passing an owned value window to Surface will return a wgpu::Surface<'static>.

All possible safe variants (owned windows and web canvases) are grouped using wgpu::SurfaceTarget.
Conversion to wgpu::SurfaceTarget is automatic for any type implementing raw-window-handle's HasWindowHandle & HasDisplayHandle traits, i.e. most window types.
For web canvas types this has to be done explicitly:

let surface: wgpu::Surface<'static> = instance.create_surface(wgpu::SurfaceTarget::Canvas(my_canvas))?;

All unsafe variants are now grouped under wgpu::Instance::create_surface_unsafe which takes the
wgpu::SurfaceTargetUnsafe enum and always returns wgpu::Surface<'static>.

In order to create a wgpu::Surface<'static> without passing ownership of the window use
wgpu::SurfaceTargetUnsafe::from_window:

let surface = unsafe {
  instance.create_surface_unsafe(wgpu::SurfaceTargetUnsafe::from_window(&my_window))?
};

The easiest way to make this code safe is to use shared ownership:

let window: Arc<winit::Window>;
// ...
let surface = instance.create_surface(my_window.clone())?;

All platform specific surface creation using points have moved into SurfaceTargetUnsafe as well.
For example:

Safety by @​daxpedda in #​4597
Unification by @​wumpf in #​4984

Add partial Support for WGSL Abstract Types

Abstract types make numeric literals easier to use, by
automatically converting literals and other constant expressions
from abstract numeric types to concrete types when safe and
necessary. For example, to build a vector of floating-point
numbers, Naga previously made you write:

vec3<f32>(1.0, 2.0, 3.0)

With this change, you can now simply write:

vec3<f32>(1, 2, 3)

Even though the literals are abstract integers, Naga recognizes
that it is safe and necessary to convert them to f32 values in
order to build the vector. You can also use abstract values as
initializers for global constants and global and local variables,
like this:

var unit_x: vec2<f32> = vec2(1, 0);

The literals 1 and 0 are abstract integers, and the expression
vec2(1, 0) is an abstract vector. However, Naga recognizes that
it can convert that to the concrete type vec2<f32> to satisfy
the given type of unit_x.
The WGSL specification permits abstract integers and
floating-point values in almost all contexts, but Naga's support
for this is still incomplete. Many WGSL operators and builtin
functions are specified to produce abstract results when applied
to abstract inputs, but for now Naga simply concretizes them all
before applying the operation. We will expand Naga's abstract type
support in subsequent pull requests.
As part of this work, the public types naga::ScalarKind and
naga::Literal now have new variants, AbstractInt and AbstractFloat.

By @​jimblandy in #​4743, #​4755.

Instance::enumerate_adapters now returns Vec<Adapter> instead of an ExactSizeIterator

This allows us to support WebGPU and WebGL in the same binary.

- let adapters: Vec<Adapter> = instance.enumerate_adapters(wgpu::Backends::all()).collect();
+ let adapters: Vec<Adapter> = instance.enumerate_adapters(wgpu::Backends::all());

By @​wumpf in #​5044

device.poll() now returns a MaintainResult instead of a bool

This is a forward looking change, as we plan to add more information to the MaintainResult in the future.
This enum has the same data as the boolean, but with some useful helper functions.

- let queue_finished: bool = device.poll(wgpu::Maintain::Wait);
+ let queue_finished: bool = device.poll(wgpu::Maintain::Wait).is_queue_empty();

By @​cwfitzgerald in #​5053

New Features
General
  • Added DownlevelFlags::VERTEX_AND_INSTANCE_INDEX_RESPECTS_RESPECTIVE_FIRST_VALUE_IN_INDIRECT_DRAW to know if @builtin(vertex_index) and @builtin(instance_index) will respect the first_vertex / first_instance in indirect calls. If this is not present, both will always start counting from 0. Currently enabled on all backends except DX12. By @​cwfitzgerald in #​4722.
  • Added support for the FLOAT32_FILTERABLE feature (web and native, corresponds to WebGPU's float32-filterable). By @​almarklein in #​4759.
  • GPU buffer memory is released during "lose the device". By @​bradwerth in #​4851.
  • wgpu and wgpu-core cargo feature flags are now documented on docs.rs. By @​wumpf in #​4886.
  • DeviceLostClosure is guaranteed to be invoked exactly once. By @​bradwerth in #​4862.
  • Log vulkan validation layer messages during instance creation and destruction: By @​exrook in #​4586.
  • TextureFormat::block_size is deprecated, use TextureFormat::block_copy_size instead: By @​wumpf in #​4647.
  • Rename of DispatchIndirect, DrawIndexedIndirect, and DrawIndirect types in the wgpu::util module to DispatchIndirectArgs, DrawIndexedIndirectArgs, and DrawIndirectArgs. By @​cwfitzgerald in #​4723.
  • Make the size parameter of encoder.clear_buffer an Option<u64> instead of Option<NonZero<u64>>. By @​nical in #​4737.
  • Reduce the info log level noise. By @​nical in #​4769, #​4711 and #​4772
  • Rename features & limits fields of DeviceDescriptor to required_features & required_limits. By @​teoxoy in #​4803.
  • SurfaceConfiguration now exposes desired_maximum_frame_latency which was previously hard-coded to 2. By setting it to 1 you can reduce latency under the risk of making GPU & CPU work sequential. Currently, on DX12 this affects the MaximumFrameLatency, on all other backends except OpenGL the size of the swapchain (on OpenGL this has no effect). By @​emilk & @​wumpf in #​4899
OpenGL
  • @builtin(instance_index) now properly reflects the range provided in the draw call instead of always counting from 0. By @​cwfitzgerald in #​4722.
  • Desktop GL now supports POLYGON_MODE_LINE and POLYGON_MODE_POINT. By @​valaphee in #​4836.
Naga
  • Naga's WGSL front end now allows operators to produce values with abstract types, rather than concretizing thir operands. By @​jimblandy in #​4850 and #​4870.
  • Naga's WGSL front and back ends now have experimental support for 64-bit floating-point literals: 1.0lf denotes an f64 value. There has been experimental support for an f64 type for a while, but until now there was no syntax for writing literals with that type. As before, Naga module validation rejects f64 values unless naga::valid::Capabilities::FLOAT64 is requested. By @​jimblandy in #​4747.
  • Naga constant evaluation can now process binary operators whose operands are both vectors. By @​jimblandy in #​4861.
  • Add --bulk-validate option to Naga CLI. By @​jimblandy in #​4871.
  • Naga's cargo xtask validate now runs validation jobs in parallel, using the jobserver protocol to limit concurrency, and offers a validate all subcommand, which runs all available validation types. By @​jimblandy in #​4902.
  • Remove span and validate features. Always fully validate shader modules, and always track source positions for use in error messages. By @​teoxoy in #​4706.
  • Introduce a new Scalar struct type for use in Naga's IR, and update all frontend, middle, and backend code appropriately. By @​jimblandy in #​4673.
  • Add more metal keywords. By @​fornwall in #​4707.
  • Add a new naga::Literal variant, I64, for signed 64-bit literals. #​4711.
  • Emit and init struct member padding always. By @​ErichDonGubler in #​4701.
  • In WGSL output, always include the i suffix on i32 literals. By @​jimblandy in #​4863.
  • In WGSL output, always include the f suffix on f32 literals. By @​jimblandy in #​4869.
Bug Fixes
General
DX12
  • Fixed D3D12_SUBRESOURCE_FOOTPRINT calculation for block compressed textures which caused a crash with Queue::write_texture on DX12. By @​DTZxPorter in #​4990.
Vulkan
  • Use VK_EXT_robustness2 only when not using an outdated intel iGPU driver. By @​TheoDulka in #​4602.
WebGPU
  • Allow calling BufferSlice::get_mapped_range multiple times on the same buffer slice (instead of throwing a Javascript exception). By @​DouglasDwyer in #​4726.
WGL

Configuration

📅 Schedule: Branch creation - "after 5pm 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/all-minor-patches branch 6 times, most recently from 01e0841 to e85bdc8 Compare January 26, 2024 21:07
@renovate renovate bot force-pushed the renovate/all-minor-patches branch from e85bdc8 to 4edb436 Compare January 26, 2024 22:53
@cs50victor cs50victor closed this Jan 28, 2024
@cs50victor cs50victor deleted the renovate/all-minor-patches branch January 28, 2024 21:59
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