Skip to content

qvf v0.5.0 - 2026-10-16

Choose a tag to compare

@mpei mpei released this 22 Oct 17:31
· 55 commits to main since this release

The toolkit APIs below are additive. Archives remain QVF v1, the normative
schema is unchanged, and legacy Python imports and C/C++ entry points remain
available. The Python array APIs now require the optional numpy extra;
install qvf-writer[numpy,validate] for those APIs and full schema validation.

Fixed

  • Typed vector, array and map decoders use explicit loop bodies, avoiding
    GCC misleading-indentation warnings when building with warnings as errors.
    The generated single header carries the same correction.

  • Source archives suppress Python bytecode during staged generated-file checks,
    keeping the tar/ZIP inventory byte-identical to committed source even when
    checking generators that import other local modules.

Added

  • Candidate CI explicitly installs the optional NumPy extra for array tests,
    checks generated Fortran bindings, and exercises the Fortran writer/layout
    checks in the existing Linux GCC job with runtime bounds checking.

  • WP-45 source slice: optional qvf::fortran modules, generated bindings for
    every C ABI entry point, and checked structure, scalar-volume, trajectory
    and restricted-GTO writers. Wrappers convert Fortran array layout explicitly;
    focused gfortran/Python checks cover layout, ownership and refusal behavior.
    Installed modules and sources support CMake consumers.

  • WP-49 packaging slice: relocatable qvf.pc metadata and independent CMake
    test/example switches. Embedded consumers build only the library by default;
    standalone builds retain tests and examples. Installed CMake targets
    propagate C++17 and shared builds expose the C API import definition.

  • WP-48 first slice: standard-library-only qvf.convert and qvf convert
    for scalar cube and geometry-only XYZ/extXYZ, including trajectories and
    variable cells. Converters validate new QVF files, preserve grid ordering
    and explicit periodic endpoint semantics, report losses, refuse unsupported
    fields and publish only completed outputs at a new path.

  • Register the advisory x_ascent namespace for non-critical ASCENT dataset
    exchange beside canonical structures (#13). No format or validator change.

  • WP-44: complete additive C ABI 1 for streaming writers, every canonical
    kind, periodic structures, lazy readers, staged validation and optional
    atomic editing. The original C signatures remain available. Shared builds
    export the API and install with ABI-versioned library names. C examples
    round-trip every canonical kind and are checked by the Python validator.
    Legacy wavefunction overlap/ECP setters can reread streamed metadata.

  • A portable pending-job example and family workflow guide covering queue
    submission, viewer inspection and sketch geometry conversion. The guide
    distinguishes consumer capabilities from format conformance and preserves
    the original archive during conversions. File-identification prose now
    states that the QVF media type is proposed and its registration awaits
    submission approval; identifiers are unchanged.

  • WP-47: qvf / python -m qvf commands for staged validation, archive info,
    JSON display, verified member extraction, numeric diff, repack, reported
    scrubbing to a new archive, conformance and schema output. Existing
    qvf-validate behavior is retained. Python validation stages match the C++
    facade boundaries and preserve the full validator's finding codes. The
    shared installed/script corpus runner no longer requires NumPy.

  • WP-46: the Python qvf package, retaining the qvf-writer distribution
    name. Streaming Writer member sinks support raw buffers, endian
    conversion and ZIP64; lazy typed Reader supports NumPy-free memoryviews;
    Editor appends, commits atomically on request and repacks. The package
    includes the model, units, generated tables and schema. The original
    qvf_writer / qvf_reader modules remain compatible, with deprecation
    warnings, and the existing validator finding codes are unchanged.

  • C++ streaming Writer, optional atomic Editor, and borrowed TensorView
    conversion in bounded chunks, preserving the existing QvfWriter API.
    File, memory and callback sinks share the same backend; updates, run status
    and streaming repack use the established archive lifecycle (WP-42).

  • Schema-generated concrete records and named roles for all 56 canonical
    kinds, with Writer::add / Reader::get<K> and lossless extension fields.
    Owning decoded tensors and borrowed producer views share TensorData.
    Typed writes check schema and sizes before writing; late conversion
    failures remove the new section and its directory entries.

  • C++ qvf::Reader with a lossless typed manifest, lazy JSON/tensor/opaque
    member access, bounded tensor streaming, and the get<K> decoding
    protocol. The existing
    QvfReader API remains available.

  • Cumulative qvf::validate reports for container, manifest, payload,
    semantic and reference stages, using existing finding codes and limits.
    Early stages avoid reading later payloads; complete validation remains
    the default. qvf-inspect and the C++ conformance runner use the facade;
    the read_qvf executable is retained (WP-43).


Download Source code (zip) or Source code (tar.gz) under Assets. These are source archives, not prebuilt installers; follow the included installation instructions. Managed Git-based installers need a clone checked out at this tag.

Documentation: https://vibe-qc.com/ · Desktop downloads: https://vibe-qc.com/download/