Skip to content

Releases

vk 0.13.5+1.4.365 — development release

Choose a tag to compare

@github-actions github-actions released this 26 Nov 16:08

vk 0.13.5 — Inlined publication and single admission

Development release, 2026-11-26. Cargo package vkrust 0.13.5+1.4.365,
Rust library/import name vk, Git tag v0.13.5, MIT licensed.
The Vulkan header snapshot remains 1.4.365; it is not a minimum driver version.
Public function names, signatures and error payloads are unchanged.

Allocator changes

Publication and its registry insertion were separate calls that received a
caller-built region record by reference and assembled the 248-byte live
record on the stack before copying it into the registry slot with
overlapping 16-byte moves. Those loads read bytes written by narrower stores
and failed store-to-load forwarding. Both are now inlined into their callers;
VTune LD_BLOCKS.STORE_FORWARD counts in vk code fell from 16.8 to 12.8 per
pooled operation on the recorded device.

allocate_native repeated the export admission (allocation_exports) that
every caller — separate storage, pooled growth and custom-pool minimum blocks —
had just performed for the same memory type and chain; the repeat is removed.
Managed creation reserves publication before native effects, and
allocate_storage no longer reserves a second time. The public raw
allocate now reserves before entering the shared storage path. A
partitioned allocator therefore consumes one shared serial per publication
instead of two. Error order for ordinary inputs is unchanged.

Measured results

The complete Surface Laptop 5 report
retains the committed-tree matrix, both backend build identities, the
November 22 comparison, kept and rejected experiments and validation runs.

On the latest matrix (20 fresh-process samples per cell, unlocked clocks,
shared workstation with a crash-looping desktop indexer): 23 of 44 combined
workloads complete below 1.0× VMA
, the same count as v0.13.4. 23 of the 30
native-resource cells improved and their geometric-mean ratio moved from
1.022 to 1.007. Cells more than 5% slower than VMA fall from 9 to 3:
separate-buffer churn moves from 1.100 to 1.033, pooled-buffer TLSF churn
from 1.091 to 1.024 and pooled-buffer reverse/FIFO to 0.923–0.931. The worst
measured gap is pooled-buffer linear shuffle at 1.091 (interval
0.980–1.172), which measured 1.022 on November 22. The below-0.9× target
across the suite is not met.

Correctness

All 44 benchmark cells pass under separate core and synchronization
validation on the committed tree. The 3,463-test workspace suite passes on
the recorded device. Strict workspace Clippy, formatting and
git diff --check pass. These results qualify the named workloads on this
machine, not Vulkan conformance, other devices/drivers or the full feature
set.

vk 0.13.4+1.4.365 — development release

Choose a tag to compare

@github-actions github-actions released this 22 Nov 22:59

vk 0.13.4 — Publication predicate and selection-loop trimming

Development release, 2026-11-22. Cargo package vkrust 0.13.4+1.4.365,
Rust library/import name vk, Git tag v0.13.4, MIT licensed.
The Vulkan header snapshot remains 1.4.365; it is not a minimum driver version.
Public function names, signatures and error payloads are unchanged.

Allocator changes

Publication evaluated margin-guard eligibility twice per operation — two
memory_flags probes and two guard-capability checks producing the
guard_size/guard_offset pair. The predicate now computes once and both
values derive from it. The memory-type selection loop previously re-read
required_flags, preferred_flags, the avoided mask and the per-type heap
record on every admitted-bit iteration; the raw masks and heap record are now
loaded once. Required/rejected-flag, tile-memory, AMD device-coherent,
protected and heap-size decisions keep their existing order and increasing-
index tie behavior. Error order is unchanged.

Measured results

The complete Surface Laptop 5 report
retains the committed-tree matrix, both backend build identities, kept and
rejected experiments and validation runs.

On the latest matrix (20 fresh-process samples per cell, unlocked clocks,
shared workstation): 23 of 44 combined workloads complete below 1.0× VMA,
including every virtual-placement row (0.629–0.894), pooled-buffer
reverse/FIFO (0.951–0.965), single-buffer pooled lifetimes (0.904) and newly
separate-buffer reverse (0.975). Native cells span 0.904–1.100; the worst
measured gap is separate-buffer churn at 1.100. Mapping cycles are
0.998–1.037×. Separate-buffer and image churn retain the largest residual in
their create phase — duplicate-handle detection and association bookkeeping
that VMA does not perform. The below-0.9× target across the suite is not met.

Correctness

All 44 benchmark cells pass under separate core and synchronization
validation on the committed tree. The 3,463-test workspace suite, including
54 native mem tests, passes on the recorded device. Strict library Clippy,
formatting and git diff --check pass. These results qualify the named
workloads on this machine, not Vulkan conformance, other devices/drivers or
the full feature set.

vk 0.13.3+1.4.365 — development release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 09:36

vk 0.13.3 — Host registry split and create-path admission

Development release, 2026-11-16. Cargo package vkrust 0.13.3+1.4.365,
Rust library/import name vk, Git tag v0.13.3, MIT licensed.
The Vulkan header snapshot remains 1.4.365; it is not a minimum driver version.
Public function names, signatures and error payloads are unchanged.

Allocator changes

Host registries no longer store key and value in one bucket: a parallel key
array keeps occupancy and key in a sixteen-byte slot, so the dominant ~1-probe
lookup compares a compact slot instead of an entry bucket up to ~216 bytes
wide for the live-allocation record. Backward-shift deletion, the checked
last-slot hint, the 75% load reserve and panic-atomic lazy publication are
unchanged, and key zero remains a valid key. The bucket index now derives its
shift from leading_zeros rather than count_ones, matching baseline x86-64.

After vkCreateBuffer/vkCreateImage, one registry probe both rejects an
already-live handle and records the new owner under the serial publication
already reserved; every failure path releases the entry and destroys the
handle as before. Imports and partitioned allocators keep the deferred path.
The requirements route preflighted before native creation is passed to the
memory-requirements query instead of being resolved twice, and option
validation admits each pool once for the forced-separate, upper-address and
priority checks. Error order and pool-priority flow are unchanged.

Measured results

The complete Surface Laptop 5 report
retains the candidate/VMA matrix, both candidate builds, rejected experiments,
build identities and validation runs.

On the latest candidate matrix (20 fresh-process samples per cell, unlocked
clocks, shared workstation): 21 of 44 combined workloads complete below
1.0× VMA
, including every virtual-placement row (0.625–0.867), pooled-buffer
reverse/FIFO (0.959–0.964) and single-buffer pooled lifetimes (0.928). Native
cells span 0.928–1.104; the worst measured gap is separate-buffer churn at
1.104, down from 1.162 in the November 15 matrix. Mapping cycles are
1.019–1.061×. Separate-buffer and image allocation retain the largest
residual in their create phase. The below-0.9× target across the suite is not
met.

Correctness

All 44 benchmark cells pass under separate core and synchronization validation
on the candidate build. The 2,777-test library suite and 54 native mem
tests pass on the recorded device. Strict library Clippy, formatting and
git diff --check pass. These results qualify the named workloads on this
machine, not Vulkan conformance, other devices/drivers or the full feature set.

vk 0.13.2+1.4.365 — development release

Choose a tag to compare

@github-actions github-actions released this 15 Nov 15:02

vk 0.13.2 — Allocator create/bind path optimization

Development release, 2026-11-15. Cargo package vkrust 0.13.2+1.4.365,
Rust library/import name vk, Git tag v0.13.2, MIT licensed.
The Vulkan header snapshot remains 1.4.365; it is not a minimum driver version.
Public function names, signatures and error payloads are unchanged.

Allocator changes

Managed creation completes binding through a private prepared operation:
publication already claimed and recorded the exact resource association, so
identity lookup, claim, reservation and bind-chain stages are not repeated.
The backing lease, native call order, publication commit and caller rollback
are unchanged, and public bind entry points keep their complete validation.

Live publication builds its record in place via a builder invoked after the
vacant bucket is found, instead of constructing the full record before
insertion. publish returns only the serial and the public Allocation token
is built once from the published record. Requirements-route selection takes
the API-1.1 core fast path directly, resource-association recording uses a
single probe, and pool admission reuses the already-checked memory type for a
request's first search.

TLSF placement failures use a compact private result expanded at the boundary.
Host registries retain one checked last-slot hint covering hits, misses,
rehash, shifting deletion and partition transfer. A single native block no
longer maintains two mapping-preference groups. The specialized unpadded TLSF
tail path and forced TLSF inlining were measured and removed as regressions.

A semantic edge to note: a Separate-policy create inside a custom pool now
uses the request priority rather than the pool's configured priority. Pooled
placement still applies pool priority; create_pool already gates non-default
priorities behind the EXT feature.

Measured results

The complete Surface Laptop 5 report
retains the release/candidate/VMA matrix, every experiment cohort, the
Mutex/RwLock lock study, build identities and validation runs.

On the latest candidate matrix (20 fresh-process samples per cell, unlocked
clocks, shared workstation): 15 of 44 combined workloads complete below
1.0× VMA
, including every virtual-placement row (0.708–0.893; minimum-offset
churn 0.624). Native cells span 0.937–1.164; the worst measured gap is pooled
TLSF shuffled free at 1.162, down from 1.525 in the November 14 matrix. Mapping
cycles are 1.015–1.028×. Separate-buffer allocation retains the largest
residual at 1.21–1.28× of its alloc phase; contains_memory is verified as an
O(1) handle-index probe, so the remainder is distributed create/publication
bookkeeping. The below-0.9× target across the suite is not met.

Correctness

All 44 benchmark cells pass under separate core and synchronization validation
on the candidate build. The 301-test library suite and 54 native mem tests
pass on the recorded device. Strict library Clippy, formatting and
documentation checks pass. These results qualify the named workloads on this
machine, not Vulkan conformance, other devices/drivers or the full feature set.

vk 0.13.1+1.4.365 — development release

Choose a tag to compare

@github-actions github-actions released this 14 Nov 19:29

vk 0.13.1 — Allocator performance and benchmark coverage

Development release, 2026-11-14. Cargo package vkrust 0.13.1+1.4.365,
Rust library/import name vk, Git tag v0.13.1, MIT licensed.
The Vulkan header snapshot remains 1.4.365; it is not a minimum driver version.
Public function names and signatures are unchanged.

Allocator changes

Native-backing admission now uses a callback-owned handle index rather than a
scan of live allocations. TLSF nodes shrink from 72 to 56 bytes on x86-64 while
retaining full-width generations and checked indexing. Managed creation reuses
its admitted options; unchanged options and internal chain policy are borrowed.
Binding snapshots the authoritative live byte range without reconstructing a
full allocation token. Ordinary and synchronized owners still share binding
execution/publication, with native leases retaining the device before unlocking.

Linear placement checks complete edge generations before interior lookup and
pops retired tails while preserving ring/double-stack cleanup and compaction.
Memory selection visits eligible mask bits in tie-preserving order. Association
retirement reuses its existing probe. Native-output checks, guards, mapped-release
rejection, callback ownership and transactional rollback remain in place.

TLSF free-range visitation no longer reports the tail twice. Independent range,
generation-exhaustion, compaction/reuse, conditional-registry and 32-type mask
tests cover the affected contracts.

Measured results

The complete Surface Laptop 5 report
retains all 44 allocator configurations, four mapping measurements, immutable
before/after/VMA triplets, rejected experiments and historical Ash/Vulkano runs.
On the recorded Intel Iris Xe/Mesa device, the latest pass improves pooled buffer
lifetimes by about 7–13% and linear virtual stack lifetimes by 23% against the
preceding allocator checkpoint. Stack free alone improves about 45%.

Minimum-offset virtual churn measures 0.752× VMA combined host time
(95% interval 0.706–0.769). Default native pooled buffers remain slower, around
1.40× for LIFO and up to 1.61× in this matrix. Mapping cycles are about 3% slower.
The target of below 0.9× across the suite is not met. Shared workstation load
and unlocked clocks limit these exploratory results.

Native VMA uses its default internal mutexes; ordinary vk uses exclusive access.
Virtual placement is externally synchronized on both sides. No individual
safety check is assigned a measured share of the remaining gap. Ash and Vulkano
results retain their November 13 paired implementation and are not presented as
fresh measurements of this patch.

Verification and scope

The runtime implementation passes all 32 named native profiles under each of
core and synchronization validation, with all optional profiles required.
Both benchmark consumers pass all 44 configurations in each validation mode.
Pinned donor and independent models cover 56 virtual traces / 112,344 operations,
1,024 native traces / 756,000 operations and 12 concurrency comparisons, with
zero diagnostics. C++ ASan/UBSan/leak checking covers the donor and synthetic
driver; it does not imply Rust sanitizer coverage.

Workspace tests, strict Clippy, formatting, generation and packaged-consumer
checks gate this release. The exact public CI run and release assets own the
Linux/macOS/Windows and software-Vulkan release evidence. Hardware qualification
remains specific to the recorded device; broader performance, platform and
VMA-equivalence claims remain outside the qualified scope.

vk 0.13.0+1.4.365 — development release

Choose a tag to compare

@github-actions github-actions released this 13 Nov 20:12

vk 0.13.0 — Hardware qualification and association indexing

Development release, 2026-11-13. Cargo package vkrust 0.13.0+1.4.365,
Rust library/import name vk, Git tag v0.13.0, MIT licensed.
The +1.4.365 suffix identifies the pinned Vulkan header snapshot, not a
Vulkan 1.4 driver requirement.

Developer guide ·
Rust API reference ·
Realm

Hardware qualification

This is the first release carrying a physical-hardware record instead of
synthetic fixtures alone. On a Microsoft Surface Laptop 5 (Intel Core
i7-1265U, Iris Xe Alder Lake GT2, Mesa/vulkan-intel 26.2.7, Vulkan 1.4.354
device, loader and validation layer 1.4.363), separate Khronos core and
synchronization-validation runs each passed all 32 named native profiles with
no skips, warnings, errors, VUIDs or synchronization hazards. Coverage includes
instance/device/feature operations, timeline semaphores and buffer device
address; compute/fence/readback and descriptor templates; separate, default,
custom, automatic and linear pool storage plus image and mixed-resource pools;
end-to-end defragmentation with GPU copies, relocation commits, multi-pass
Extensive moves, intra-block Balanced/Full compaction, alias-group recreation
and post-commit descriptor rebind; serialized and parallel host mapping and
binding; and OPAQUE_FD/DMA-BUF imports. An offscreen Vulkan 1.3 dynamic
rendering oracle drew and read back a checked triangle under synchronization
validation. This is not WSI, presentation or Vulkan conformance evidence.

Comparative benchmarks

The new optional sdk/ workspace builds fresh-process timing consumers
against Ash 0.38.0+1.3.281, pinned C++ VMA 3.4.0 and checked Vulkano 0.35.2,
outside the package's dependency and workspace boundary. On the same device,
paired medians place loader and device creation at parity with Ash and the
memory-properties query at 1.52x. The allocator remains slower than VMA on
native creation: pooled create/allocate/bind 2.04x and separate
create/allocate/bind 2.10x, with separate destroy/free near parity (1.06x)
and pooled destroy/free at 1.23x. Host-only virtual placement shows 2.05x
combined. Against Vulkano's managed API, pooled placement is 1.53x slower
while separate storage is approximately 4.1x faster combined. Instance
creation measured bimodally on both backends under the session driver state
and is excluded as evidence. See the
Surface Laptop 5 baseline for
the full methodology, environment and retained artifacts.

Allocator association indexing

Managed resource association checks previously walked every live allocation
on each create/bind, making a pooled batch superlinear in live count. A
per-allocator raw-handle index now carries one owner slot per disjoint image
plane, mirroring the synchronized owner registry; partitioned children record
pending binds locally while committed claims publish into shared scope state.
The pooled operation is flat across 64–2,048 live allocations on the same
harness. The remaining create-side gap versus VMA is constant host
bookkeeping, not live-count-dependent work.

Status

The experimental designation is removed. The scope statement is unchanged:
full VMA equivalence, wider concurrent stress, multi-driver execution and
additional platforms remain unqualified, and the measured create-side
regression above remains open. See the
qualification report for exact limits.

Evidence and limits

The workspace test suite passed 3,454 tests including allocator, pool,
synchronization, import, defragmentation and callback-failure fixtures; 53
native profiles ran on the physical device. Formatting, strict
workspace/all-target/all-feature Clippy, strict rustdoc and native-name
search checks passed.

Release CI gates publication on the exact sanitized snapshot's configured
Linux, macOS and Windows tests, extracted-crate/consumer proofs, pinned C
ABI/PFN and VMA comparisons, and explicit software-Vulkan profiles. The CI
run and release assets own the exact release rerun evidence.

vk 0.12.0+1.4.365 — development release

Choose a tag to compare

@github-actions github-actions released this 06 Nov 11:10

vk 0.12.0 — Unified fluent record construction

Development release, 2026-11-06. Cargo package vkrust 0.12.0+1.4.365,
Rust library/import name vk, Git tag v0.12.0, MIT licensed.
The +1.4.365 suffix identifies the pinned Vulkan header snapshot, not a
Vulkan 1.4 driver requirement.

Developer guide ·
Rust API reference ·
Realm

API and migration

Prefer new(...).set_*() throughout the native bindings and vk::mem.
All 125 public fields across 22 plain allocator records now have consuming,
chainable setters, covering requests, allocation/pool/relocation configuration,
callbacks, imported metadata, cache ranges, budgets and diagnostic snapshots.

use vk::mem as vma;

let options = vma::AllocationCreateInfo::new()
    .set_usage(vma::MemoryUsage::PreferHost)
    .set_host_access(vma::HostAccess::SequentialWrite)
    .set_required_flags(vk::MemoryPropertyFlags::HOST_VISIBLE_BIT)
    .set_policy(vma::AllocationPolicy::Automatic);

Default-backed records retain new() and their existing default values.
Three descriptors gain constructors that preserve required inputs:

  • AllocRequest::new(size, alignment, memory_type_bits) starts with empty
    required/preferred property flags.
  • ImportMemoryInfo::new(allocation_size, memory_type_bits) starts without
    resource-specific dedication. Import calls still require authoritative native
    payload/device metadata.
  • CacheRange::new(&allocation) describes the whole allocation from byte zero,
    without acquiring a mapping hold. Use set_offset and set_size for a range.

These are source-compatible additions. Setters retain borrowed pool, chain and
allocation lifetimes; they only change the named field, without allocating,
invoking callbacks or performing native work. Editing a returned snapshot changes
only that record, never allocator accounting or a live resource. Opaque identities,
validated scalar values and resource owners keep their checked operations.

Public fields, struct literals and Default remain available. A fluent chain
ends with ;; ..Default::default() belongs only to struct-update syntax.
Native layouts, Vulkan dispatch, allocation policies and destruction contracts
are unchanged. No migration is required for existing callers.

Evidence and limits

The implementation checkpoint passed 3,391 runtime tests/doctests, including
pool/chain lifetime rejection, selector validation, import accounting, cache
maintenance, relocation and snapshot-isolation checks. Formatting, strict
workspace/all-target/all-feature Clippy, strict rustdoc and native-name search
checks passed. A source audit verifies every public field in the 22 records has
its corresponding setter. The unchanged generator passed its workspace and
freshness checks.

Release CI gates publication on the exact sanitized snapshot's configured Linux,
macOS and Windows tests, extracted-crate/consumer proofs, pinned C ABI/PFN and
VMA comparisons, and explicit software-Vulkan profiles. The CI run and release
assets own the exact release rerun evidence.

No new sanitizer or physical-hardware qualification was run for these record-only
additions. The allocator remains Experimental. Broader platform, native relocation
copy, hardware, concurrency and comparative performance qualification remain
open; see the qualification report.

vk 0.11.0+1.4.365 — development release

Choose a tag to compare

@github-actions github-actions released this 05 Nov 14:26

vk 0.11.0 — new() record constructors

Development release, 2026-11-05. Cargo package vkrust 0.11.0+1.4.365,
Rust library/import name vk, Git tag v0.11.0, MIT licensed.
The +1.4.365 suffix identifies the unchanged pinned Vulkan header snapshot;
it is not a Vulkan 1.4 driver requirement.

Developer guide ·
Rust API reference ·
Realm

API and migration

This is a source-compatible minor API release: every generated Vulkan record
and every public vk::mem configuration or snapshot record with Default
gains Type::new(), delegating to its existing Default implementation:

let application = vk::ApplicationInfo::new()
    .set_application_name(c"vk example")
    .set_api_version(vk::API_VERSION_1_0);
let info = vk::InstanceCreateInfo::new()
    .set_application_info(&application);

Default remains the single initialization source and trait entry point:
canonical sType tags, null pNext and zeroed fields are identical under
either spelling, and ..Default::default() struct-update syntax is unchanged.
Type::default() stays valid; new() is the crate's construction vocabulary
alongside Type::new(...), new_from_* and new_with_* for owned objects.

The public vk::mem records DebugMemorySettings, DeviceMemoryCallbacks,
AllocationCreateInfo, AllocatorStats, HeapBudget, BudgetSnapshot,
TrimStats, PoolCreateInfo, PoolStats, DefragmentationInfo,
DefragmentationStats, DetailedStatistics and MemoryStatistics carry the
same contract.

Unchanged:

  • existing constructors such as Allocator::new*, MemoryPriority::new,
    VirtualBlock::new*, DefragmentationContext::new and
    AllocationChain::new_from_record*;
  • #[default] enums and records without a Default implementation;
  • Default trait implementations, which new() delegates to rather than
    replaces;
  • signatures, fields, lifetimes, dispatch and the native ABI.

Evidence and limits

The release checkpoint passed the workspace test and doctest suite — including
generated per-record contract tests proving new() signatures and canonical
sType/pNext initial state, and the vk::mem
record_constructors_delegate_to_default proof — plus strict Clippy, rustfmt
and the generator's --check idempotence gate on the private tree. Release CI
reruns the configured tests, package/consumer checks and pinned-header oracles
on this release's exact public snapshot.

No new sanitizer, VMA donor or native-hardware qualification was run for this
delta; new() adds an alias over recorded initialization paths. The allocator
remains Experimental; all existing qualification limits continue to apply —
see the qualification report. No production readiness
claim follows from this release.

vk 0.10.0+1.4.365 — development release

Choose a tag to compare

@github-actions github-actions released this 01 Nov 21:34

vk 0.10.0 — set_* fluent construction setters

Development release, 2026-11-01. Cargo package vkrust 0.10.0+1.4.365,
Rust library/import name vk, Git tag v0.10.0, MIT licensed.
The +1.4.365 suffix identifies the unchanged pinned Vulkan header snapshot;
it is not a Vulkan 1.4 driver requirement.

Developer guide ·
Rust API reference ·
Realm

API and migration

This is a minor API release with a source-breaking, ABI-preserving rename:
every generated fluent record-construction setter gains a set_ prefix on its
existing ergonomic name. Pointer-prefix stripping is unchanged, so raw Khronos
prefixes do not re-enter the public spelling:

  • application_info(&info) → set_application_info(&info)
  • queue_create_infos(&queues) → set_queue_create_infos(&queues)
  • enabled_extension_names(&names) → set_enabled_extension_names(&names)
let application = vk::ApplicationInfo::default()
    .set_application_name(c"vk example")
    .set_api_version(vk::API_VERSION_1_0);
let info = vk::InstanceCreateInfo::default()
    .set_application_info(&application);

Method signatures, lifetimes, checked counts and error propagation are
unchanged; migration is a mechanical call-site rename. There are no legacy
aliases for the former names.

Unchanged:

  • raw #[repr(C)] record fields such as p_application_info;
  • command, loader, dispatch and allocator APIs;
  • typed extension chaining via push_next and the sealed ChainNode
    internals, including the sealed set_p_next trait method;
  • the separate StdVideo set_* bitfield accessors;
  • AllocationCreateInfo and other native Rust configuration records, which
    keep struct-literal construction.

BaseInStructure/BaseOutStructure now carry an inherent set_p_next field
setter alongside the sealed ChainNode::set_p_next trait method. Rust method
resolution keeps the two distinct; chain construction continues to call the
trait method through its bound.

Evidence and limits

The release checkpoint passed the workspace test and doctest suite, strict
Clippy and rustfmt, and the generator's --check idempotence gate on the
private tree. Release CI reruns the configured tests, package/consumer checks
and pinned-header oracles on this release's exact public snapshot.

No new sanitizer, VMA donor or native-hardware qualification was run for this
delta; the rename changes spelling, not construction semantics, and the
recorded allocator profiles carry forward unchanged — see the
qualification report. The allocator remains
Experimental; all existing qualification limits continue to apply. No
production readiness claim follows from this release.

vk 0.9.0+1.4.365 — development release

Choose a tag to compare

@github-actions github-actions released this 31 Oct 07:58

vk 0.9.0 — owned allocator device retention

Development release, 2026-10-31. Cargo package vkrust 0.9.0+1.4.365,
Rust library/import name vk, Git tag v0.9.0, MIT licensed.
The +1.4.365 suffix identifies the unchanged pinned Vulkan header snapshot;
it is not a Vulkan 1.4 driver requirement.

Developer guide ·
Rust API reference ·
Realm

API and migration

This is a minor API release: Allocator gains an internal DeviceRetention
reference-or-Arc<Device> device owner, exported as a public enum in
vk::mem. Three new constructors produce Allocator<'static>:

  • Allocator::new_retained(device: Arc<Device>, properties, block_size)
  • Allocator::new_retained_with_granularity(...) with explicit granularity
  • Allocator::new_retained_from_physical_device(physical_device, ...)

A retained allocator holds its own Arc<Device> clone, so it outlives the
construction scope and can travel to a dedicated cleanup/retirement thread.
SynchronizedAllocator::new_owned adopts a retained allocator directly,
without the borrowed-lifetime adoption contract. Internal BindOperation
and MapOperation storage retains the device through the same enum.

The borrowed new, new_with_granularity and new_from_physical_device
constructors and every existing Allocator, SynchronizedAllocator and
free-function contract are unchanged. Use Cargo requirement
version = "0.9" with feature allocator for memory APIs.

Evidence and limits

The release checkpoint passed 3,439 workspace tests/doctests on the private
tree, including the scoped retention proof
retained_allocator_outlives_scope_and_finishes_on_worker_thread, which
exercises scope-independent lifetime, synchronized worker-thread allocation
and final teardown on a dedicated thread against the native ledger. Strict
Clippy and rustfmt pass. Release CI reruns the configured tests,
package/consumer checks and pinned-header oracles on this release's exact
public snapshot.

No new sanitizer, VMA donor or native-hardware qualification was run for this
delta; the v0.8.0 scoped evidence carries forward unchanged for the borrowed
paths. Retained ownership is exercised by the native-ledger tests and by OA's
consumer migration, not yet by the released hardware profiles. The allocator
remains Experimental; all v0.8.0 qualification limits continue to apply —
see the qualification report. No fastest, full parity
or production readiness claim follows from this release.