swish 0.10.9.0 → 0.10.10.0
raw patch · 8 files changed
+32/−17 lines, 8 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- CHANGELOG +12/−0
- README.md +2/−5
- app/SwishApp.hs +9/−3
- default.nix +1/−1
- flake.lock +3/−3
- shell.nix +1/−1
- stack.yaml +1/−1
- swish.cabal +3/−3
CHANGELOG view
@@ -1,3 +1,15 @@+0.10.10.0:++ Allow building with base version 4.22 (GHC 9.12).++ The -v flag for Swish now includes the GHC version and+ platform information.++ Removed a number of old stack files for testing out older+ versions, as I do not have the time to support them, and+ some were known to fail due to changes in the Haskell+ ecosystem.+ 0.10.9.0: Allow building with hashable version 1.5.
README.md view
@@ -1,7 +1,6 @@ [](https://hackage.haskell.org/package/swish) [](https://gitlab.com/dburke/swish/-/commits/main)-[](http://packdeps.haskellers.com/feed?needle=swish) # Introduction @@ -82,6 +81,8 @@ % cd swish % stack install+ % STACK_YAML=stack-9.10.yaml stack install # this uses a nightly install+ % STACK_YAML=stack-9.8.yaml stack install % STACK_YAML=stack-9.6.yaml stack install % STACK_YAML=stack-9.4.yaml stack install % STACK_YAML=stack-9.2.yaml stack install@@ -89,10 +90,6 @@ % STACK_YAML=stack-8.10.yaml stack install % STACK_YAML=stack-8.8.yaml stack install % STACK_YAML=stack-8.6.yaml stack install- % STACK_YAML=stack-8.4.yaml stack install- % STACK_YAML=stack-8.2.yaml stack install- % STACK_YAML=stack-8.0.yaml stack install- % STACK_YAML=stack-7.10.yaml stack install I do not guarantee they will all work.
app/SwishApp.hs view
@@ -3,7 +3,7 @@ -------------------------------------------------------------------------------- -- | -- Module : SwishApp--- Copyright : (c) 2003, Graham Klyne, 2009 Vasili I Galchin, 2011 Douglas Burke+-- Copyright : (c) 2003, Graham Klyne, 2009 Vasili I Galchin, 2011, 2024 Douglas Burke -- License : GPL V2 -- -- Maintainer : Douglas Burke@@ -16,6 +16,8 @@ module Main where +import qualified System.Info as SI+ import Paths_swish (version) import Data.Version (showVersion) @@ -63,11 +65,15 @@ >> exitWith (ExitFailure $ fromEnum code) displayVersion :: IO ()-displayVersion = putStrLn $ "Swish " ++ showVersion version +displayVersion =+ let msg = "Swish " <> showVersion version <> " (" <>+ SI.compilerName <> " " <> showVersion SI.fullCompilerVersion <>+ " " <> SI.os <> " " <> SI.arch <> ")"+ in putStrLn msg -------------------------------------------------------------------------------- ----- Copyright (c) 2003, Graham Klyne, 2009 Vasili I Galchin, 2011 Douglas Burke +-- Copyright (c) 2003, Graham Klyne, 2009 Vasili I Galchin, 2011, 2024 Douglas Burke -- All rights reserved. -- -- This file is part of Swish.
default.nix view
@@ -1,4 +1,4 @@-{ compiler ? "ghc902"+{ compiler ? "ghc966" }: (import ./release.nix { compiler = compiler; }).exe
flake.lock view
@@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": {- "lastModified": 1720181791,- "narHash": "sha256-i4vJL12/AdyuQuviMMd1Hk2tsGt02hDNhA0Zj1m16N8=",+ "lastModified": 1734435836,+ "narHash": "sha256-kMBQ5PRiFLagltK0sH+08aiNt3zGERC2297iB6vrvlU=", "owner": "NixOS", "repo": "nixpkgs",- "rev": "4284c2b73c8bce4b46a6adf23e16d9e2ec8da4bb",+ "rev": "4989a246d7a390a859852baddb1013f825435cee", "type": "github" }, "original": {
shell.nix view
@@ -1,4 +1,4 @@-{ compiler ? "ghc902"+{ compiler ? "ghc966" }: (import ./release.nix { compiler = compiler; }).shell
stack.yaml view
@@ -2,4 +2,4 @@ packages: - '.' # Match the version used in .gitlab-ci.yml-resolver: lts-19.19+resolver: lts-23.1
swish.cabal view
@@ -1,13 +1,13 @@ Cabal-Version: 2.4 Name: swish-Version: 0.10.9.0+Version: 0.10.10.0 Stability: experimental License: LGPL-2.1-or-later License-file: LICENSE Author: Graham Klyne - GK@ninebynine.org Copyright: (c) 2003, 2004 G. Klyne; 2009 Vasili I Galchin; 2011 - 2024 Doug Burke; All rights reserved.-Maintainer: dburke@cfa.harvard.edu+Maintainer: dburke.gw@gmail.com Category: Semantic Web Synopsis: A semantic web toolkit. @@ -97,7 +97,7 @@ Library Default-Language: Haskell2010 Build-Depends:- base >= 4.8 && < 4.21,+ base >= 4.8 && < 4.22, containers >= 0.5 && < 0.8, directory >= 1.0 && < 1.4, filepath >= 1.1 && < 1.6,