diff --git a/CHANGES.md b/CHANGES.md index 341750ad..4301657e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -45,6 +45,7 @@ - simpcomp - singular - zeromqinterface +- Add `GAP.versioninfo()` - Optimize conversion of GAP strings to Julia strings, symbols or `Vector{UInt8}` ## Version 0.12.3 (released 2025-01-01) diff --git a/Project.toml b/Project.toml index 21094639..56d515ee 100644 --- a/Project.toml +++ b/Project.toml @@ -58,7 +58,7 @@ nauty_jll = "55c6dc9b-343a-50ca-8ff2-b71adb3733d5" AbstractAlgebra = "0.41.11, 0.42.1, 0.43, 0.44" Artifacts = "1.6" BinaryWrappers = "0.1.3" -Compat = "4.4.0" +Compat = "4.11" Downloads = "1.4.3" GAP_jll = "~400.1400.000" GAP_lib_jll = "~400.1400.000" diff --git a/src/GAP.jl b/src/GAP.jl index a09fb859..c8b2d464 100644 --- a/src/GAP.jl +++ b/src/GAP.jl @@ -321,14 +321,14 @@ function randseed!(seed::Union{Integer,Nothing}=nothing) end """ - versioninfo(io::IO = stdout; jll::Bool = false) + versioninfo(io::IO = stdout; jll::Bool = false, full::Bool = false) Print the version numbers of GAP.jl and GAP, and version numbers and installation paths of all currently loaded GAP packages. Note that these paths can be nonstandard because Julia's package manager does not control which available version of a GAP package gets loaded. -If `jll` is `true` then also the underlying binary packages (jll), +If `jll` or `full` is `true` then also the underlying binary packages (jll), if available, of all installed (not necessarily loaded) packages are included in the output. """ diff --git a/test/basics.jl b/test/basics.jl index b6ceace3..cc6a756f 100644 --- a/test/basics.jl +++ b/test/basics.jl @@ -178,7 +178,7 @@ end @testset "versioninfo" begin io = IOBuffer() - GAP.versioninfo(io, jll = true) + GAP.versioninfo(io; full = true) str = String(take!(io)) @test startswith(str, "GAP.jl version") end