hslua-module-version

Lua module to work with version specifiers.

https://hslua.org/

Version on this page:1.1.0
LTS Haskell 22.36:1.1.1
Stackage Nightly 2024-10-05:1.1.1
Latest on Hackage:1.1.1

See all snapshots hslua-module-version appears in

MIT licensed by Albert Krewinkel
Maintained by Albert Krewinkel
This version can be pinned in stack with:hslua-module-version-1.1.0@sha256:062105bd6453613e2b7bfa59060493fc0cee3b5c27a9451f4581727938c21e29,2629

Module documentation for 1.1.0

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.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.