hslua-module-version

Lua module to work with version specifiers.

https://hslua.org/

Version on this page:1.0.3
LTS Haskell 22.43:1.1.1
Stackage Nightly 2024-12-07: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.0.3@sha256:0722de7a187152e182d384c52585e3402a8a3ef7a6da1422a3ebc982576654a1,2666

Module documentation for 1.0.3

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