PDF Web Viewer
    Preparing search index...

    Versioning

    This document outlines the versioning strategy used by the PDF Web Viewer library.

    The PDF Web Viewer follows Semantic Versioning 2.0.0. This means that version numbers are formatted as MAJOR.MINOR.PATCH:

    • MAJOR version increments indicate incompatible API changes
    • MINOR version increments add functionality in a backward-compatible manner
    • PATCH version increments make backward-compatible bug fixes

    When upgrading your PDF Web Viewer dependency, you can expect:

    • Safe to upgrade: Patch and minor version updates (e.g., 1.0.0 → 1.0.1 or 1.0.0 → 1.1.0)
    • Careful review required: Major version updates (e.g., 1.0.0 → 2.0.0)

    The PDF Web Viewer typically follows these release practices:

    • Patch releases: As needed for bug fixes and performance improvements
    • Minor releases: Regular feature additions (approximately monthly)
    • Major releases: Less frequent, with advance notice for breaking changes

    All notable changes to the PDF Web Viewer are documented in the repository. Each release includes:

    • New features
    • Bug fixes
    • Performance improvements
    • Breaking changes (with migration instructions)

    Static assets used by the PDF Web Viewer (such as worker scripts and WebAssembly files) include hash-based versioning in their filenames to ensure proper cache invalidation when updated.

    You can check the current version of the PDF Web Viewer at runtime:

    import { version } from '@avanquest/pdf-web-viewer';

    console.log(`Using PDF Web Viewer version: ${version}`);

    Features marked as deprecated will:

    1. Continue to work for at least one major version after deprecation
    2. Include warning messages in the console
    3. Have documentation with migration instructions

    Major versions may receive extended support for critical security fixes. For enterprise support options and SLAs, please contact the sales team.