MIT licensed by Albert Krewinkel
Maintained by Albert Krewinkel
This version can be pinned in stack with:hslua-module-version-1.1.1@sha256:4f7f95f6d55c499153c74ecbbd7376b783e8c3031caec89dcd310177b7a584d2,2697

Module documentation for 1.1.1

hslua-module-version

GitHub CI Hackage Stackage Lts Stackage Nightly MIT license

Lua module to work with version specifiers.

Changes

Changelog

hslua-module-version uses PVP Versioning.

hslua-module-version-1.1.1

Released 2024-01-18.

  • Relaxed upper bound for text, and filepath, allowing text-2.1, filepath-1.5.

hslua-module-version-1.1.0

Released 2023-03-13.

  • Update to hslua-2.3; this includes the addition of type initializers to the module.

hslua-module-version-1.0.3

Released 2022-09-01.

  • Allow equality checks with non-version values: A Version value can now be compared with any value. Previously, comparing a version with a value that cannot be interpreted as a Version would result in an error, violating the principle of least surprise.

hslua-module-version-1.0.2

Released 2022-02-19.

  • Relax upper bounds, allowing hslua-core-2.2.*, hslua-marshalling-2.2.* and hslua-packaging-2.2.*.

hslua-module-version-1.0.1

  • Relaxed upper bound of hslua-core, hslua-marshalling, and hslua-packaging, allowing their respective version 2.1.

  • Version objects are now modifiable; setting a list index modifies the Version object:

    local v = Version '5.3.6'
    v[2] = 2
    v[3] = nil
    assert(v == Version '5.2')
    

hslua-module-version-1.0.0

Released 2021-10-22.